/* ============================================
   Nivantro India — Design System & Styles
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  /* Brand Palette */
  --primary:        #0D7C66;
  --primary-light:  #11A386;
  --primary-dark:   #095E4E;
  --secondary:      #F98B36;
  --secondary-light:#FBAD6E;
  --accent:         #1EAEC9;
  --accent-dark:    #17869A;

  /* Neutrals */
  --bg:             #FAFBFC;
  --bg-card:        #FFFFFF;
  --bg-dark:        #0B1D26;
  --bg-dark-card:   #112833;
  --text:           #1A2B34;
  --text-muted:     #5A6B76;
  --text-light:     #8A9BA6;
  --text-on-dark:   #E8EDF0;
  --border:         #E2E8ED;

  /* Semantic */
  --success:        #22C55E;
  --warning:        #F59E0B;
  --danger:         #EF4444;
  --info:           #3B82F6;

  /* Shadows */
  --shadow-sm:      0 1px 3px rgba(11,29,38,0.06), 0 1px 2px rgba(11,29,38,0.04);
  --shadow-md:      0 4px 12px rgba(11,29,38,0.08), 0 2px 6px rgba(11,29,38,0.04);
  --shadow-lg:      0 12px 32px rgba(11,29,38,0.12), 0 4px 12px rgba(11,29,38,0.06);
  --shadow-xl:      0 24px 48px rgba(11,29,38,0.16), 0 8px 16px rgba(11,29,38,0.08);
  --shadow-glow:    0 0 40px rgba(13,124,102,0.25);

  /* Spacing */
  --space-xs:   0.25rem;
  --space-sm:   0.5rem;
  --space-md:   1rem;
  --space-lg:   1.5rem;
  --space-xl:   2rem;
  --space-2xl:  3rem;
  --space-3xl:  4rem;
  --space-4xl:  6rem;
  --space-5xl:  8rem;

  /* Border Radius */
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 100px;

  /* Transitions */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast:    0.2s;
  --dur-normal:  0.35s;
  --dur-slow:    0.5s;

  /* Layout */
  --max-width:   1240px;
  --nav-height:  72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  line-height: 1.2;
  font-weight: 700;
  color: var(--text);
}

a { text-decoration: none; color: inherit; transition: color var(--dur-fast) ease; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; outline: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* ---------- Typography ---------- */
.display-xl { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900; letter-spacing: -0.03em; }
.display-lg { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.02em; }
.display-md { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; }
.text-lg    { font-size: 1.125rem; }
.text-md    { font-size: 1rem; }
.text-sm    { font-size: 0.875rem; }
.text-xs    { font-size: 0.75rem; }
.text-muted { color: var(--text-muted); }
.text-center{ text-align: center; }
.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--dur-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity var(--dur-fast);
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  box-shadow: 0 4px 16px rgba(13,124,102,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13,124,102,0.45);
}
.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-secondary:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
.btn-accent {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  color: #fff;
  box-shadow: 0 4px 16px rgba(249,139,54,0.35);
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(249,139,54,0.45);
}
.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: all var(--dur-normal) var(--ease-out);
  background: rgba(250,251,252,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(250,251,252,0.96);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-dark);
}
.nav-logo .logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.5rem 0;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width var(--dur-normal) var(--ease-out);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--dur-fast);
}

/* ---------- Hero Section ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(13,124,102,0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatSlow 20s ease-in-out infinite;
}
.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(30,174,201,0.06) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatSlow 15s ease-in-out infinite reverse;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}
.hero-content { max-width: 600px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(13,124,102,0.08);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
  border: 1px solid rgba(13,124,102,0.15);
}
.hero-badge .pulse {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.hero-title {
  margin-bottom: var(--space-lg);
}
.hero-title span {
  display: block;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: var(--space-2xl);
  max-width: 520px;
}
.hero-actions {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-3xl);
}
.hero-stats {
  display: flex;
  gap: var(--space-3xl);
}
.hero-stat .stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}
.hero-stat .stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* Hero Right — Floating Cards */
.hero-visual {
  position: relative;
  height: 500px;
}
.hero-card {
  position: absolute;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-lg);
  transition: transform var(--dur-slow) var(--ease-out);
}
.hero-card:hover { transform: translateY(-6px); }

.hero-card--trust {
  top: 5%;
  right: 0;
  width: 280px;
  animation: floatCard 6s ease-in-out infinite;
}
.hero-card--rcp {
  top: 42%;
  left: 0;
  width: 260px;
  animation: floatCard 7s ease-in-out infinite 1s;
}
.hero-card--checklist {
  bottom: 2%;
  right: 10%;
  width: 240px;
  animation: floatCard 5s ease-in-out infinite 2s;
}
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: var(--space-sm);
}
.card-icon--green  { background: rgba(13,124,102,0.1); color: var(--primary); }
.card-icon--orange { background: rgba(249,139,54,0.1); color: var(--secondary); }
.card-icon--blue   { background: rgba(30,174,201,0.1); color: var(--accent); }

.card-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.card-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.card-score {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--space-sm);
}
.score-bar {
  flex: 1;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}
.score-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 1.5s var(--ease-out);
}
.score-bar-fill--green  { background: linear-gradient(90deg, var(--primary), var(--primary-light)); }
.score-bar-fill--orange { background: linear-gradient(90deg, var(--secondary), var(--secondary-light)); }
.score-bar-fill--blue   { background: linear-gradient(90deg, var(--accent), #5ED4E8); }

/* ---------- Section Layouts ---------- */
.section {
  padding: var(--space-5xl) 0;
}
.section-dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}
.section-dark h2,
.section-dark h3,
.section-dark h4 { color: #fff; }
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-4xl);
}
.section-header .label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: var(--space-sm);
}
.section-header .section-title {
  margin-bottom: var(--space-md);
}
.section-header .section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}
.section-dark .section-header .section-desc {
  color: var(--text-light);
}

/* ---------- Problem / Solution Cards ---------- */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}
.problem-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--dur-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.problem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform var(--dur-normal) var(--ease-out);
  transform-origin: left;
}
.problem-card:hover::before { transform: scaleX(1); }
.problem-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.problem-card .card-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(13,124,102,0.08);
  line-height: 1;
  margin-bottom: var(--space-sm);
}
.problem-card h3 {
  font-size: 1.2rem;
  margin-bottom: var(--space-sm);
}
.problem-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---------- Video Explainer ---------- */
.video-wrapper {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  background: var(--surface);
}
.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(13,124,102,0.08), rgba(30,174,201,0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--dur-normal) var(--ease-out);
}
.video-container:hover {
  background: linear-gradient(135deg, rgba(13,124,102,0.12), rgba(30,174,201,0.08));
}
.video-placeholder {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--primary);
}
.play-button {
  width: 80px;
  height: 80px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto var(--space-md);
  box-shadow: 0 10px 30px rgba(13,124,102,0.3);
  transition: all var(--dur-normal) var(--ease-out);
  padding-left: 5px; /* Visual optical centering */
}
.video-container:hover .play-button {
  transform: scale(1.05);
  background: var(--accent);
  box-shadow: 0 15px 40px rgba(30,174,201,0.4);
}
.video-placeholder p {
  font-weight: 600;
  font-size: 1.1rem;
}

/* ---------- How It Works (Steps) ---------- */
.steps-container {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-4xl);
}
.step-row {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: var(--space-xl);
  align-items: center;
}
.step-row:nth-child(even) .step-content { order: 3; }
.step-row:nth-child(even) .step-visual { order: 1; }

.step-number-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 4px 20px rgba(13,124,102,0.3);
  position: relative;
  z-index: 2;
}
.step-line {
  width: 2px;
  height: 100px;
  background: linear-gradient(180deg, var(--primary), transparent);
}

.step-content h3 {
  font-size: 1.4rem;
  margin-bottom: var(--space-sm);
}
.step-content p {
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}
.step-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.step-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.step-features li .check {
  color: var(--primary);
  font-weight: 700;
}

.step-visual {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Feature Modules Grid ---------- */
.features-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}
.feature-module {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--dur-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.feature-module::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,124,102,0.02), rgba(30,174,201,0.02));
  opacity: 0;
  transition: opacity var(--dur-normal);
}
.feature-module:hover::after { opacity: 1; }
.feature-module:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(13,124,102,0.2);
}
.feature-module .module-number {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: var(--space-sm);
}
.feature-module .module-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
}
.feature-module h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}
.feature-module p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
}
.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.feature-tag {
  padding: 0.25rem 0.75rem;
  background: rgba(13,124,102,0.06);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}

/* ---------- Trust Score Visualization ---------- */
.trust-section { position: relative; }
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}
.trust-visual {
  position: relative;
}
.trust-circle-wrap {
  width: 300px;
  height: 300px;
  margin: 0 auto;
  position: relative;
}
.trust-circle-bg {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 12px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
}
.trust-circle-bg::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 6px solid transparent;
  border-top-color: var(--primary);
  border-right-color: var(--primary-light);
  animation: spinSlow 3s linear infinite;
}
.trust-score-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 4rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}
.trust-score-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.3rem;
}
.trust-dimensions {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.trust-dim {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.trust-dim-label {
  width: 180px;
  font-size: 0.9rem;
  font-weight: 500;
}
.trust-dim-bar {
  flex: 1;
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.trust-dim-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 1.5s var(--ease-out);
}
.trust-dim-value {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  min-width: 40px;
  text-align: right;
}

/* ---------- RCP / Credit Score Section ---------- */
.rcp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}
.rcp-score-card {
  background: linear-gradient(135deg, var(--bg-dark), #1A3A48);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.rcp-score-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(13,124,102,0.1), transparent, rgba(30,174,201,0.1), transparent);
  animation: spinSlow 10s linear infinite;
}
.rcp-score-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 5rem;
  font-weight: 900;
  color: #fff;
  position: relative;
  z-index: 1;
}
.rcp-score-badge {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-top: var(--space-md);
  position: relative;
  z-index: 1;
}
.rcp-bands {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.rcp-band {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: all var(--dur-normal) var(--ease-out);
}
.rcp-band:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}
.rcp-band-color {
  width: 4px;
  height: 40px;
  border-radius: 2px;
}
.rcp-band .band-range {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  min-width: 80px;
}
.rcp-band .band-name {
  font-weight: 600;
  flex: 1;
}
.rcp-band .band-benefit {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 250px;
}

/* ---------- User Personas ---------- */
.personas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}
.persona-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--dur-normal) var(--ease-out);
}
.persona-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.persona-header {
  padding: var(--space-xl) var(--space-xl) var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.persona-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.persona-name {
  font-size: 1.15rem;
  font-weight: 700;
}
.persona-type {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.persona-body {
  padding: 0 var(--space-xl) var(--space-xl);
}
.persona-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}
.pain-points {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.pain-point {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.pain-point .icon { color: var(--danger); flex-shrink: 0; margin-top: 2px; }

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--accent-dark));
  padding: var(--space-5xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
}
.cta-section h2 {
  color: #fff;
  margin-bottom: var(--space-md);
}
.cta-section p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
}
.cta-section .btn-primary {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.cta-section .btn-primary:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.cta-section .btn-secondary {
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}
.cta-section .btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: var(--space-4xl) 0 var(--space-xl);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}
.footer-brand {
  max-width: 320px;
}
.footer-brand .nav-logo {
  color: #fff;
  margin-bottom: var(--space-md);
}
.footer-brand p {
  color: var(--text-light);
  font-size: 0.9rem;
}
.footer-col h4 {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-lg);
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-col a {
  color: var(--text-light);
  font-size: 0.9rem;
  transition: color var(--dur-fast);
}
.footer-col a:hover {
  color: var(--primary-light);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-light);
}
.footer-socials {
  display: flex;
  gap: var(--space-md);
}
.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: all var(--dur-fast);
}
.footer-socials a:hover {
  background: var(--primary);
  color: #fff;
}

/* ---------- Feature Detail Page ---------- */
.feature-detail-hero {
  padding: calc(var(--nav-height) + var(--space-4xl)) 0 var(--space-4xl);
  background: linear-gradient(180deg, rgba(13,124,102,0.04), transparent);
}
.feature-detail-content {
  padding: var(--space-4xl) 0;
}
.feature-detail-content .container {
  max-width: 900px;
}
.detail-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-xl) 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.detail-table thead th {
  background: var(--primary);
  color: #fff;
  padding: 0.8rem 1.2rem;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.detail-table tbody td {
  padding: 0.8rem 1.2rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}
.detail-table tbody tr:hover {
  background: rgba(13,124,102,0.03);
}
.detail-table tbody tr:last-child td {
  border-bottom: none;
}

/* ---------- About Page ---------- */
.about-hero {
  padding: calc(var(--nav-height) + var(--space-4xl)) 0 var(--space-4xl);
  background: linear-gradient(135deg, rgba(13,124,102,0.05), rgba(30,174,201,0.04));
  text-align: center;
}
.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}
.mission-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  text-align: center;
  transition: all var(--dur-normal) var(--ease-out);
}
.mission-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.mission-card .mission-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto var(--space-md);
}
.mission-card h3 { margin-bottom: var(--space-sm); }
.mission-card p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Stats Bar ---------- */
.stats-bar {
  background: var(--bg-dark);
  padding: var(--space-3xl) 0;
}
.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  text-align: center;
}
.stat-item .stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary-light);
}
.stat-item .stat-text {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-top: 0.3rem;
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}
.testimonial-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--dur-normal) var(--ease-out);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.testimonial-stars {
  color: var(--warning);
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
}
.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.testimonial-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}
.testimonial-author-name {
  font-weight: 600;
  font-size: 0.9rem;
}
.testimonial-author-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---------- Feature Tabs (Features Page) ---------- */
.feature-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: var(--space-3xl);
  flex-wrap: wrap;
}
.feature-tab {
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  transition: all var(--dur-fast);
}
.feature-tab.active,
.feature-tab:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ---------- Animations ---------- */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}
@keyframes floatSlow {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -30px); }
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes spinSlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s var(--ease-out);
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-content { max-width: 100%; margin: 0 auto; }
  .hero-subtitle { margin: 0 auto var(--space-2xl); }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .trust-grid, .rcp-grid { grid-template-columns: 1fr; }
  .rcp-score-card { max-width: 400px; margin: 0 auto; }
  .features-showcase { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .step-row { grid-template-columns: 1fr; gap: var(--space-md); }
  .step-row:nth-child(even) .step-content { order: unset; }
  .step-row:nth-child(even) .step-visual { order: unset; }
  .step-number-col { flex-direction: row; }
  .step-line { width: 40px; height: 2px; }
}

@media (max-width: 768px) {
  .container { padding: 0 var(--space-md); }
  .section { padding: var(--space-3xl) 0; }
  .problems-grid, .personas-grid, .testimonials-grid, .mission-grid, .stats-bar .container {
    grid-template-columns: 1fr;
  }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(250,251,252,0.98);
    backdrop-filter: blur(16px);
    padding: var(--space-xl);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .hamburger { display: flex; }
  .nav-cta .btn { display: none; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-stats { flex-direction: column; gap: var(--space-md); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: var(--space-md); text-align: center; }
  .cta-actions { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .display-xl { font-size: 2rem; }
  .display-lg { font-size: 1.6rem; }
  .section-header { margin-bottom: var(--space-2xl); }
}

/* ---------- Contact Form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--bg-card);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13,124,102,0.1);
  outline: none;
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}
.contact-info-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}
.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(13,124,102,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
  flex-shrink: 0;
}
.contact-info-item h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}
.contact-info-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* Roadmap */
.roadmap-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  position: relative;
}
.roadmap-container::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--accent), transparent);
}
.roadmap-item {
  display: flex;
  gap: var(--space-xl);
  padding-left: 12px;
}
.roadmap-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 3px solid var(--primary);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  margin-top: 4px;
}
.roadmap-dot.active {
  background: var(--primary);
  box-shadow: 0 0 16px rgba(13,124,102,0.4);
}
.roadmap-content {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  flex: 1;
}
.roadmap-content h4 {
  margin-bottom: 0.3rem;
}
.roadmap-content .phase-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.roadmap-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: var(--space-sm);
}

@media (max-width: 768px) {
  .roadmap-container::before { left: 16px; }
  .roadmap-item { padding-left: 4px; }
}

/* ========== MODAL STYLES ========== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  width: 90%;
  max-width: 600px;
  padding: var(--space-xl);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.modal-overlay.active .modal-dialog {
  transform: translateY(0);
  opacity: 1;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
}

.modal-header h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  color: var(--text-primary);
}

.modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: var(--danger);
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.role-card-select {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-md);
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text-primary);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.role-card-select:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.role-card-select .role-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.role-card-select h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.role-card-select p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .role-grid {
    grid-template-columns: 1fr;
  }
}
