/* ==========================================================================
   WIREFRAME WEB SOLUTION - MICROSOFT STYLE
   Clean, corporate design inspired by microsoft.com
   ========================================================================== */

/* --- Design Tokens --- */
:root {
  --font-main: 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;

  --bg-light: #F2F2F2;
  --bg-white: #FBFDFF;

  --border-subtle: #EDEDED;

  --text-primary: #000000;
  --text-secondary: #242424;
  --text-muted: #616161;

  --brand-orange: #E2582A;
  --brand-orange-dark: #C8481E;

  --accent-blue: #E2582A;
  --accent-blue-dark: #C8481E;
  --accent-emerald: #E2582A;

  --gradient-primary: linear-gradient(135deg, #0B0B0B 0%, #20130E 100%);

  --container-width: 1350px;
  --header-height: 54px;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 4px;

  --shadow-sm: 0 1.2px 3.6px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.14);
  --shadow-lg: 0 8px 28px rgba(0, 0, 0, 0.18);

  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
}

/* --- Base Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-white);
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
}

a {
  color: var(--accent-blue);
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* --- Helpers --- */
.text-gradient {
  background: linear-gradient(135deg, #0078D4 0%, #5C2D91 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Container & Layout --- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding-left: 3%;
  padding-right: 3%;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: var(--bg-white);
  transition: box-shadow var(--transition-normal);
}

.navbar.scrolled {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  height: 48px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: 3rem;
}

.nav-link {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-primary);
  padding: 0.25rem 0.25rem 0.45rem;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  border-bottom-color: var(--accent-blue);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-icon {
  display: inline-flex;
  align-items: center;
  color: var(--text-primary);
  font-size: 1.1rem;
  transition: color var(--transition-fast);
}

.nav-icon:hover {
  color: var(--accent-blue);
}

.nav-signin {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-primary);
  font-size: 0.82rem;
  transition: color var(--transition-fast);
}

.nav-signin:hover {
  color: var(--accent-blue);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.4rem;
  cursor: pointer;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  text-align: center;
  transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.btn-primary {
  background: var(--accent-blue);
  color: #FFFFFF;
}

.btn-primary:hover {
  background: var(--accent-blue-dark);
  color: #FFFFFF;
}

.btn-outline {
  background: transparent;
  border-color: var(--accent-blue);
  color: var(--accent-blue);
}

.btn-outline:hover {
  background: #E5F1FB;
  color: var(--accent-blue-dark);
  border-color: var(--accent-blue-dark);
}

.btn-pill {
  border-radius: var(--radius-sm);
}

/* Hero buttons (on dark backgrounds) */
.btn-hero {
  background: #FFFFFF;
  color: #000000;
}

.btn-hero:hover {
  background: #F2F2F2;
  color: #000000;
}

.btn-hero-outline {
  background: transparent;
  border-color: #FFFFFF;
  color: #FFFFFF;
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}

/* --- Badges --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.badge-light {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
}

/* --- Lucide Icons --- */
.badge svg {
  width: 14px;
  height: 14px;
}

.btn svg {
  width: 16px;
  height: 16px;
}

.ms-card-link svg,
.card-link svg {
  width: 14px;
  height: 14px;
}

.ms-quicklink svg {
  width: 26px;
  height: 26px;
}

.mobile-menu-btn svg {
  width: 26px;
  height: 26px;
}

.detail-icon svg {
  width: 20px;
  height: 20px;
}

.contact-note-card svg {
  width: 26px;
  height: 26px;
}

.highlight-icon {
  width: 18px;
  height: 18px;
  color: var(--accent-blue);
}

.footer-follow svg {
  width: 18px;
  height: 18px;
}

.back-to-top svg {
  width: 14px;
  height: 14px;
}

/* --- Microsoft Hero --- */
.ms-hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  margin-top: var(--header-height);
  overflow: hidden;
}

.ms-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.ms-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.55) 55%, rgba(0, 0, 0, 0.15) 100%);
}

.ms-hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.ms-hero-content {
  max-width: 560px;
  color: #FFFFFF;
}

.hero-title {
  font-size: 2.9rem;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}

.hero-title .text-gradient {
  -webkit-text-fill-color: #FFFFFF;
}

.hero-subtitle {
  font-size: 1rem;
  color: #DADADA;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- Quick Links Row --- */
.ms-quicklinks {
  background: var(--bg-white);
  padding: 1.5rem 0;
}

.ms-quicklinks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.ms-quicklink {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition-fast);
}

.ms-quicklink i {
  font-size: 1.6rem;
  color: var(--accent-blue);
}

.ms-quicklink:hover {
  border-bottom-color: var(--accent-blue);
  color: var(--accent-blue);
}

/* --- Microsoft Cards --- */
.ms-cards-section {
  background: var(--bg-light);
  padding: 4rem 0;
}

.ms-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.ms-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-normal), transform var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.ms-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.ms-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-light);
}

.card-img-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.94);
  color: #111111;
  font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  letter-spacing: 0.2px;
  z-index: 2;
}

.ms-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.ms-card:hover .ms-card-media img {
  transform: scale(1.04);
}

.ms-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ms-card-body h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.ms-card-body p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  flex: 1;
}

.ms-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-blue);
}

.ms-card-link:hover {
  text-decoration: underline;
}

/* --- Inner Page Header --- */
.page-header {
  padding-top: calc(var(--header-height) + 3.5rem);
  padding-bottom: 1rem;
  text-align: center;
}

.page-header .badge {
  margin-left: auto;
  margin-right: auto;
}

.page-title {
  font-size: 2.2rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.page-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
}

/* --- Section Formatting --- */
section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem auto;
}

.section-title {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* --- Services (inner page) --- */
.services-section {
  background: var(--bg-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-normal);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-blue);
}

.card-link:hover {
  text-decoration: underline;
}

/* --- How We Work --- */
.steps-section {
  background: var(--bg-white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.step-card {
  background: #ffffff;
  text-align: center;
  padding: 2rem 1.5rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.step-number {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-blue);
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 300px;
  margin: 0 auto;
}

/* --- Microsoft Banner CTA --- */
.ms-banner {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--gradient-primary);
}

.ms-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.ms-banner-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.ms-banner-inner {
  position: relative;
  z-index: 1;
  padding-top: 4rem;
  padding-bottom: 4rem;
  max-width: 680px;
  color: #FFFFFF;
}

.ms-banner-inner h2 {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin-bottom: 1rem;
}

.ms-banner-inner p {
  font-size: 0.95rem;
  color: #DADADA;
  margin-bottom: 2rem;
  max-width: 520px;
}

/* --- Legacy CTA Section (inner pages) --- */
.cta-section {
  background: var(--gradient-primary);
  padding: 4rem 0;
}

.cta-box {
  text-align: center;
  color: #FFFFFF;
  max-width: 640px;
  margin: 0 auto;
}

.cta-box h2 {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin-bottom: 1rem;
}

.cta-box p {
  font-size: 0.95rem;
  color: #DADADA;
  margin-bottom: 2rem;
}

.cta-box .btn-outline {
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: #000000;
}

.cta-box .btn-outline:hover {
  background: #F2F2F2;
  color: #000000;
}

/* --- Contact Section --- */
.contact-section {
  background: var(--bg-white);
  color: #000000;
  padding-bottom: 5rem;
}

.contact-card {
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

.contact-intro {
  color: #000000;
  font-size: 0.95rem;
  margin-bottom: 2rem;
  max-width: 460px;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-detail-card {
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: #000000;
}

.detail-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.detail-icon svg,
.detail-icon [data-lucide] {
  color: #000000;
  stroke: #000000;
}

.contact-detail-card strong {
  font-size: 0.9rem;
  font-weight: 600;
  color: #000000;
}

.contact-detail-card p {
  color: #000000;
  font-size: 0.85rem;
  margin-top: 0.2rem;
}

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-note-card {
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  padding: 1.75rem;
  text-align: center;
  color: #000000;
}

.contact-note-card i,
.contact-note-card svg,
.contact-note-card [data-lucide] {
  font-size: 1.4rem;
  color: #000000;
  stroke: #000000;
  margin-bottom: 0.75rem;
}

.contact-note-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #000000;
  margin-bottom: 0.5rem;
}

.contact-note-card p {
  color: #000000;
  font-size: 0.85rem;
}

.about-section {
  background: var(--bg-white);
}

.about-points {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.hero-image {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  object-fit: cover;
}

/* --- Footer --- */
.site-footer {
  background: var(--bg-light);
  padding-top: 2.5rem;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.footer-follow {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #E6E6E6;
}

.footer-follow span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.footer-follow a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-white);
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
  transition: color var(--transition-fast);
}

.footer-follow a:hover {
  color: var(--accent-blue);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding: 2.5rem 0 2rem;
}

.footer-brand-col .brand-logo {
  filter: none;
}

.footer-brand-col p {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  max-width: 300px;
}

.footer-col h5 {
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col ul a {
  color: var(--text-muted);
  font-size: 0.8rem;
  transition: color var(--transition-fast);
}

.footer-col ul a:hover {
  color: var(--accent-blue);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid #E6E6E6;
  padding: 1.25rem 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-legal a:hover {
  color: var(--accent-blue);
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-blue);
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  transition: background-color var(--transition-fast);
}

/* --- Legal Pages (Privacy / Terms) --- */
.legal-section {
  padding-top: 2rem;
}

.legal-layout {
  max-width: 860px;
  margin: 0 auto;
}

.legal-content {
  max-width: 860px;
}

.legal-content .legal-block {
  margin-bottom: 2.25rem;
}

.legal-content h2 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
}

.legal-content p,
.legal-content li {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.legal-content p {
  margin-bottom: 0.85rem;
}

.legal-content ul {
  margin: 0 0 0.85rem 1.25rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-content a {
  color: var(--accent-blue);
  text-decoration: underline;
}

.legal-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.back-to-top:hover {
  background: var(--accent-blue-dark);
  color: #FFFFFF;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .split-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .ms-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ms-quicklinks-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-links {
    gap: 1.25rem;
    margin-left: 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.1rem;
  }
  .ms-hero {
    min-height: 460px;
  }
  .nav-links {
    display: none;
  }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: #FFFFFF;
    padding: 2rem;
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-md);
    margin-left: 0;
  }
  .nav-signin-text {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .contact-card {
    padding: 1.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .ms-cards-grid {
    grid-template-columns: 1fr;
  }
}
