/* ============================================================
   TNSAINO TALENT SOLUTIONS — Design System & Styles
   Based on talent-design-system v1.0
   ============================================================ */

/* ---------- DESIGN TOKENS (LIGHT) ---------- */
:root {
  /* Primary — Trust Blue */
  --blue-900: #0D2B5E;
  --blue-800: #133A7A;
  --blue-700: #1B5FBF;
  --blue-600: #2270D4;
  --blue-500: #3182F6;
  --blue-400: #5FA1F8;
  --blue-200: #C6DCFD;
  --blue-100: #E3EEFD;
  --blue-50:  #F0F6FF;

  /* Accent — Opportunity Amber */
  --amber-600: #D97706;
  --amber-500: #F59E0B;
  --amber-400: #FBBF24;
  --amber-100: #FEF3C7;
  --amber-50:  #FFFBEB;

  /* Semantic */
  --green-700: #15803D;
  --green-500: #22C55E;
  --green-100: #DCFCE7;

  /* Neutrals */
  --neutral-900: #111827;
  --neutral-800: #1F2937;
  --neutral-700: #374151;
  --neutral-600: #4B5563;
  --neutral-500: #6B7280;
  --neutral-400: #9CA3AF;
  --neutral-300: #D1D5DB;
  --neutral-200: #E5E7EB;
  --neutral-100: #F3F4F6;
  --neutral-50:  #F9FAFB;

  /* Semantic Aliases — Light */
  --bg-page:     #F7F8FA;
  --bg-surface:  #FFFFFF;
  --bg-elevated: #FFFFFF;
  --bg-subtle:   #F9FAFB;
  --bg-muted:    #F3F4F6;

  --text-primary:   #111827;
  --text-secondary: #4B5563;
  --text-tertiary:  #6B7280;
  --text-disabled:  #9CA3AF;
  --text-inverse:   #FFFFFF;
  --text-link:      #1B5FBF;

  --border-default: #E5E7EB;
  --border-strong:  #D1D5DB;
  --border-subtle:  #F3F4F6;

  --color-primary:       #1B5FBF;
  --color-primary-hover: #133A7A;
  --color-primary-ring:  rgba(27, 95, 191, 0.25);

  /* Spacing — 4px grid */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* Radius */
  --radius-sm:   4px;
  --radius-md:   6px;
  --radius-lg:   8px;
  --radius-xl:   12px;
  --radius-2xl:  16px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs:  0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md:  0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg:  0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
  --shadow-xl:  0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  --shadow-focus: 0 0 0 3px var(--color-primary-ring);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --text-xs:  0.75rem;
  --text-sm:  0.8125rem;
  --text-base: 0.875rem;
  --text-md:  0.9375rem;
  --text-lg:  1rem;
  --text-xl:  1.125rem;
  --text-2xl: 1.25rem;
  --text-3xl: 1.5rem;
  --text-4xl: 1.75rem;
  --text-5xl: 2rem;

  --leading-tight:   1.2;
  --leading-snug:    1.35;
  --leading-normal:  1.5;
  --leading-relaxed: 1.65;

  /* Transitions */
  --duration-fast:   120ms;
  --duration-normal: 180ms;
  --duration-slow:   300ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- DARK THEME OVERRIDES ---------- */
[data-theme="dark"] {
  --bg-page:     #133A7A;
  --bg-surface:  #1A4488;
  --bg-elevated: #254F96;
  --bg-subtle:   #173F82;
  --bg-muted:    #305DA5;

  --text-primary:   #FFFFFF;
  --text-secondary: #CBD5E1;
  --text-tertiary:  #ffffff;
  --text-disabled:  #8A9DB3;
  --text-inverse:   #111827;
  --text-link:      #B8D8FF;

  --color-primary:       #3182F6;
  --color-primary-hover: #5FA1F8;
  --color-primary-ring:  rgba(49, 130, 246, 0.3);

  --border-default: #2A5499;
  --border-strong:  #3566AD;
  --border-subtle:  #1D478F;

  --shadow-xs:  0 1px 2px rgba(0,0,0,0.2);
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.3), 0 1px 2px rgba(0,0,0,0.2);
  --shadow-md:  0 4px 6px -1px rgba(0,0,0,0.3), 0 2px 4px -1px rgba(0,0,0,0.2);
  --shadow-lg:  0 10px 15px -3px rgba(0,0,0,0.3), 0 4px 6px -2px rgba(0,0,0,0.2);
  --shadow-xl:  0 20px 25px -5px rgba(0,0,0,0.4), 0 10px 10px -5px rgba(0,0,0,0.2);
}

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--text-primary);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background var(--duration-slow) var(--ease-out),
              color var(--duration-slow) var(--ease-out);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

ul { list-style: none; }

::selection {
  background: var(--blue-200);
  color: var(--blue-900);
}

[data-theme="dark"] ::selection {
  background: var(--blue-700);
  color: #fff;
}

/* ---------- LAYOUT ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* ---------- TYPOGRAPHY UTILITIES ---------- */
.text-gradient {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="dark"] .text-gradient {
  background: linear-gradient(135deg, var(--blue-400), var(--amber-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-2xl);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
}

.section-label--center { justify-content: center; }

[data-theme="dark"] .section-label {
  color: var(--text-link);
}

[data-theme="dark"] .section-label__line {
  background: var(--text-link);
}

.section-label__line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: var(--radius-full);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: var(--leading-tight);
  color: var(--text-primary);
  margin-top: var(--space-4);
}

.section-title--center { text-align: center; }

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  text-align: center;
  margin-top: var(--space-3);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.section-header {
  margin-bottom: var(--space-16);
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-sans);
  font-weight: 600;
  border-radius: var(--radius-lg);
  transition: all var(--duration-normal) var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-sm), 0 0 0 0 transparent;
}

.btn--primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-strong);
}

.btn--secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--blue-50);
}

[data-theme="dark"] .btn--secondary {
  border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .btn--secondary:hover {
  border-color: var(--text-link);
  color: var(--text-link);
  background: rgba(255, 255, 255, 0.08);
}

.btn--lg {
  font-size: var(--text-md);
  padding: var(--space-3) var(--space-6);
  height: 48px;
  border-radius: var(--radius-xl);
}

.btn--full { width: 100%; }

/* ---------- NAVIGATION ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 64px;
  background: rgba(247, 248, 250, 0.8);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border-default);
  transition: background var(--duration-slow) var(--ease-out),
              border-color var(--duration-slow) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

[data-theme="dark"] .nav {
  background: rgba(19, 58, 122, 0.92);
}

.nav--scrolled {
  box-shadow: var(--shadow-sm);
}

.nav__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.nav__logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav__link {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  transition: all var(--duration-fast) var(--ease-out);
}

.nav__link:hover {
  color: var(--text-primary);
  background: var(--bg-muted);
}

.nav__link--active {
  color: var(--color-primary);
  font-weight: 600;
}

[data-theme="dark"] .nav__link--active {
  color: var(--text-link);
}

/* Nav Dropdown */
.nav__dropdown {
  position: relative;
}

.nav__dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  border: none;
  background: none;
  font-family: inherit;
  cursor: pointer;
}

.nav__dropdown-arrow {
  transition: transform var(--duration-fast) var(--ease-out);
}

.nav__dropdown.open .nav__dropdown-arrow {
  transform: rotate(180deg);
}

.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + var(--space-2));
  right: 0;
  min-width: 180px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all var(--duration-normal) var(--ease-out);
  z-index: 100;
}

.nav__dropdown.open .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__dropdown-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--text-tertiary);
  transition: color var(--duration-fast) var(--ease-out);
}

.nav__dropdown-item:hover .nav__dropdown-icon {
  color: var(--color-primary);
}

[data-theme="dark"] .nav__dropdown-item:hover .nav__dropdown-icon {
  color: var(--text-link);
}

.nav__dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  transition: all var(--duration-fast) var(--ease-out);
}

.nav__dropdown-item:hover {
  color: var(--color-primary);
  background: var(--bg-muted);
}

[data-theme="dark"] .nav__dropdown-item:hover {
  color: var(--text-link);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* Theme Toggle */
.theme-toggle {
  position: relative;
  width: 44px;
  height: 28px;
  background: var(--bg-muted);
  border: 1.5px solid var(--border-default);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  padding: 0 4px;
  transition: all var(--duration-normal) var(--ease-out);
}

.theme-toggle:hover {
  border-color: var(--color-primary);
}

[data-theme="dark"] .theme-toggle:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

.theme-toggle__icon {
  width: 16px;
  height: 16px;
  position: absolute;
  transition: all var(--duration-slow) var(--ease-out);
}

.theme-toggle__icon--sun {
  left: 5px;
  opacity: 1;
  transform: scale(1) rotate(0deg);
  color: var(--amber-500);
}

.theme-toggle__icon--moon {
  right: 5px;
  opacity: 0;
  transform: scale(0.5) rotate(-90deg);
  color: var(--blue-400);
}

[data-theme="dark"] .theme-toggle {
  background: var(--bg-muted);
}

[data-theme="dark"] .theme-toggle__icon--sun {
  opacity: 0;
  transform: scale(0.5) rotate(90deg);
}

[data-theme="dark"] .theme-toggle__icon--moon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  color: #fff;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  padding: 4px 0;
}

.nav__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: var(--radius-full);
  transition: all var(--duration-normal) var(--ease-out);
}

.nav__hamburger--open span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 5px);
}

.nav__hamburger--open span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger--open span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -5px);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 64px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.5;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 70%);
}

.hero__gradient {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, rgba(27, 95, 191, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

[data-theme="dark"] .hero__gradient {
  background: radial-gradient(circle, rgba(49, 130, 246, 0.12) 0%, transparent 70%);
}

.hero__container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-16) var(--space-6);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary);
  background: var(--blue-50);
  border: 1px solid var(--blue-200);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}

[data-theme="dark"] .hero__badge {
  color: var(--text-link);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  background: var(--green-500);
  border-radius: var(--radius-full);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero__title {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: var(--space-6);
}

.hero__subtitle {
  font-size: var(--text-xl);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  max-width: 520px;
  margin-bottom: var(--space-8);
}

.hero__cta {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.hero__stat-number {
  display: block;
  font-size: var(--text-3xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.hero__stat-label {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  font-weight: 500;
}

.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-default);
}

/* Hero Visual */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__image-wrapper {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-default);
}

.hero__image {
  width: 100%;
  height: auto;
  display: block;
}

.hero__image-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27, 95, 191, 0.1), transparent 60%);
  pointer-events: none;
}

[data-theme="dark"] .hero__image-glow {
  background: linear-gradient(135deg, rgba(49, 130, 246, 0.15), transparent 60%);
}

/* Scroll indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--color-primary), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
  100% { opacity: 1; transform: scaleY(1); }
}

/* ---------- ABOUT ---------- */
.about {
  padding: var(--space-24) 0;
}

.about__grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--space-16);
}

.about__label-col {
  padding-top: var(--space-1);
}

.about__text {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-top: var(--space-6);
  max-width: 640px;
}

.about__highlights {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-top: var(--space-10);
}

.about__highlight {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  transition: all var(--duration-normal) var(--ease-out);
}

.about__highlight:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.about__highlight-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-50);
  border-radius: var(--radius-lg);
  color: var(--color-primary);
}

[data-theme="dark"] .about__highlight-icon {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-link);
}

.about__highlight-icon svg {
  width: 20px;
  height: 20px;
}

.about__highlight strong {
  display: block;
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--text-primary);
}

.about__highlight span {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
}

/* ---------- PRODUCTS ---------- */
.products {
  padding: var(--space-24) 0;
  background: var(--bg-subtle);
}

[data-theme="dark"] .products {
  background: var(--bg-subtle);
}

.product-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  margin-bottom: var(--space-20);
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.product-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

.product-card:last-child {
  margin-bottom: 0;
}

.product-card--reverse {
  direction: rtl;
}

.product-card--reverse > * {
  direction: ltr;
}

.product-card__visual {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-md);
  transition: all var(--duration-slow) var(--ease-out);
}

.product-card__visual:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.product-card__image {
  width: 100%;
  height: auto;
  display: block;
}

.product-card__content {
  padding: var(--space-4) 0;
}

.product-card__badge {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue-700);
  background: var(--blue-50);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-5);
}

[data-theme="dark"] .product-card__badge {
  color: var(--blue-200);
  background: rgba(255, 255, 255, 0.1);
}

.product-card__badge--amber {
  color: var(--amber-600);
  background: var(--amber-50);
}

[data-theme="dark"] .product-card__badge--amber {
  color: var(--amber-400);
  background: rgba(255, 255, 255, 0.1);
}

.product-card__badge--green {
  color: var(--green-700);
  background: var(--green-100);
}

[data-theme="dark"] .product-card__badge--green {
  color: var(--green-500);
  background: rgba(255, 255, 255, 0.1);
}

.product-card__name {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.product-card__tagline {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

[data-theme="dark"] .product-card__tagline {
  color: var(--text-link);
}

.product-card__desc {
  font-size: var(--text-md);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
  max-width: 480px;
}

.product-card__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.product-card__features li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
}

.product-card__features li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background: var(--blue-50);
  border-radius: var(--radius-full);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 8l3 3 5-5' stroke='%231B5FBF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

[data-theme="dark"] .product-card__features li::before {
  background-color: rgba(255, 255, 255, 0.1);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 8l3 3 5-5' stroke='%23B8D8FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ---------- WHY US ---------- */
.why-us {
  padding: var(--space-24) 0;
}

.why-us__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.why-us__card {
  padding: var(--space-10) var(--space-8);
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-2xl);
  text-align: center;
  transition: all var(--duration-slow) var(--ease-out);
  opacity: 0;
  transform: translateY(24px);
}

.why-us__card.revealed {
  opacity: 1;
  transform: translateY(0);
}

.why-us__card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.why-us__card.revealed:hover {
  transform: translateY(-4px);
}

.why-us__card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-6);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-50);
  border-radius: var(--radius-xl);
}

[data-theme="dark"] .why-us__card-icon {
  background: rgba(255, 255, 255, 0.1);
}

.why-us__card-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

/* Recolor SVG icons for dark mode */
[data-theme="dark"] .why-us__card-icon img {
  filter: brightness(0) saturate(100%) invert(53%) sepia(71%) saturate(2000%) hue-rotate(200deg) brightness(100%) contrast(96%);
}

.why-us__card-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}

.why-us__card-desc {
  font-size: var(--text-md);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

/* ---------- STATEMENT ---------- */
.statement {
  position: relative;
  padding: var(--space-24) 0;
  overflow: hidden;
}

.statement__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.statement__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue-900) 0%, #0D1B3E 50%, var(--neutral-900) 100%);
}

.statement__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.statement__quote-mark {
  width: 48px;
  height: 48px;
  color: rgba(255, 255, 255, 0.15);
  margin: 0 auto var(--space-6);
}

.statement__quote {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: var(--leading-snug);
  color: #FFFFFF;
  margin-bottom: var(--space-6);
  font-style: italic;
}

.statement__sub {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-10);
}

.statement .btn--primary {
  background: #fff;
  color: var(--blue-900);
}

.statement .btn--primary:hover {
  background: var(--blue-50);
}

/* ---------- CONTACT ---------- */
.contact {
  padding: var(--space-24) 0;
  background: var(--bg-subtle);
}

[data-theme="dark"] .contact {
  background: var(--bg-subtle);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

.contact__text {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-top: var(--space-6);
  max-width: 440px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-10);
}

.contact__detail {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  transition: all var(--duration-normal) var(--ease-out);
}

.contact__detail:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.contact__detail-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-50);
  border-radius: var(--radius-lg);
  color: var(--color-primary);
}

[data-theme="dark"] .contact__detail-icon {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-link);
}

.contact__detail-icon svg {
  width: 20px;
  height: 20px;
}

.contact__detail-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
}

.contact__detail-value {
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--text-primary);
}

/* Contact Form */
.contact__form-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-md);
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.contact__form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.contact__form-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
}

.contact__form-input {
  width: 100%;
  height: 44px;
  padding: 0 var(--space-4);
  font-family: var(--font-sans);
  font-size: var(--text-md);
  color: var(--text-primary);
  background: var(--bg-page);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-lg);
  outline: none;
  transition: all var(--duration-fast) var(--ease-out);
}

.contact__form-input::placeholder {
  color: var(--text-disabled);
}

.contact__form-input:hover {
  border-color: var(--border-strong);
}

[data-theme="dark"] .contact__form-input:hover {
  border-color: var(--text-link);
}

.contact__form-input:focus {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-focus);
}

.contact__form-textarea {
  height: auto;
  padding: var(--space-3) var(--space-4);
  resize: vertical;
  min-height: 100px;
}

/* ---------- FOOTER ---------- */
.footer {
  padding: var(--space-8) 0;
  border-top: 1px solid var(--border-default);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.footer__logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.footer__brand-name {
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.footer__copy {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
}

/* ---------- REVEAL ANIMATIONS ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger for why-us cards */
.why-us__card:nth-child(2) { transition-delay: 0.1s; }
.why-us__card:nth-child(3) { transition-delay: 0.2s; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero__container {
    grid-template-columns: 1fr;
    gap: var(--space-10);
    text-align: center;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__cta {
    justify-content: center;
  }

  .hero__stats {
    justify-content: center;
  }

  .hero__visual {
    max-width: 560px;
    margin: 0 auto;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .product-card,
  .product-card--reverse {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    direction: ltr;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
}

@media (max-width: 768px) {
  :root {
    --space-16: 48px;
    --space-20: 56px;
    --space-24: 64px;
  }

  .nav__links {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-default);
    flex-direction: column;
    padding: var(--space-4);
    box-shadow: var(--shadow-lg);
  }

  .nav__links--open {
    display: flex;
  }

  .nav__link {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-md);
    border-radius: var(--radius-lg);
  }

  .nav__dropdown {
    width: 100%;
  }

  .nav__dropdown-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .nav__dropdown-menu {
    position: static;
    opacity: 1;
    visibility: hidden;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 var(--space-6);
    background: transparent;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--duration-normal) var(--ease-out),
                visibility var(--duration-normal);
  }

  .nav__dropdown.open .nav__dropdown-menu {
    visibility: visible;
    max-height: 200px;
  }

  .nav__hamburger {
    display: flex;
  }

  .hero__title {
    font-size: clamp(2rem, 8vw, 2.75rem);
  }

  .hero__stats {
    flex-direction: column;
    gap: var(--space-4);
  }

  .hero__stat-divider {
    width: 40px;
    height: 1px;
  }

  .why-us__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .footer__inner {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }

  .section-header {
    margin-bottom: var(--space-10);
  }

  .contact__form-wrapper {
    padding: var(--space-6);
  }
}