/* ==========================================================================
   Sunvani — Design System & Core Styles
   ========================================================================== */

:root {
  /* Brand palette */
  --navy-950: #060d1a;
  --navy-900: #0a1628;
  --navy-800: #101f38;
  --navy-700: #172a4a;
  --navy-600: #223a5e;
  --navy-border: #1e2f4d;
  --blue-600: #0b5fff;
  --blue-500: #2f7dff;
  --blue-400: #4f9bff;
  --cyan-400: #33c9e8;
  --white: #ffffff;
  --off-white: #f6f8fb;
  --slate-100: #eef1f6;
  --slate-300: #c7cfdb;
  --slate-500: #7b869b;
  --slate-600: #5b6579;
  --slate-700: #3d4557;
  --success: #1fae6a;

  /* Semantic */
  --bg-body: var(--white);
  --bg-alt: var(--off-white);
  --text-primary: var(--navy-900);
  --text-secondary: var(--slate-600);
  --text-on-dark: var(--white);
  --text-on-dark-secondary: #aeb9cf;
  --border-light: #e4e8f0;
  --accent: var(--blue-600);
  --accent-soft: rgba(11, 95, 255, 0.1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 3px rgba(10, 22, 40, 0.06), 0 1px 2px rgba(10, 22, 40, 0.08);
  --shadow-md: 0 8px 24px rgba(10, 22, 40, 0.08);
  --shadow-lg: 0 24px 60px rgba(10, 22, 40, 0.14);
  --header-h: 84px;
  --font-heading: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --container-w: 1240px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
body, h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
svg { display: block; }

body {
  font-family: var(--font-body);
  background: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--text-primary); font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 4vw + 1rem, 3.75rem); }
h2 { font-size: clamp(1.9rem, 2.4vw + 1rem, 2.75rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }
p { color: var(--text-secondary); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--navy-900); color: var(--white); padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 2px; }

.container { max-width: var(--container-w); margin: 0 auto; padding: 0 24px; }

section { position: relative; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

.section-head { max-width: 680px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 16px; font-size: 1.08rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 10px; font-weight: 700; font-size: 0.95rem;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap; border: 1.5px solid transparent;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.btn-primary { background: var(--accent); color: var(--white); box-shadow: 0 8px 20px rgba(11, 95, 255, 0.28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(11, 95, 255, 0.36); }
.btn-outline { border-color: var(--navy-border); color: var(--text-primary); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-outline-light { border-color: rgba(255,255,255,0.35); color: var(--white); }
.btn-outline-light:hover { border-color: var(--white); background: rgba(255,255,255,0.08); transform: translateY(-2px); }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-sm { padding: 10px 18px; font-size: 0.88rem; }
.btn-block { width: 100%; }
.btn:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 500;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); border-color: var(--border-light); background: rgba(255,255,255,0.97); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; height: var(--header-h); transition: height 0.25s var(--ease); }
.site-header.is-scrolled .header-inner { height: 68px; }

.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 46px; width: auto; transition: height 0.25s var(--ease); }
.site-header.is-scrolled .brand-logo { height: 38px; }

.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav ul { display: flex; align-items: center; gap: 2px; }
.main-nav a, .dropdown-toggle {
  position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 18px; font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em; color: var(--text-primary);
  transition: color 0.2s;
}
.main-nav a::after, .dropdown-toggle::after {
  content: ''; position: absolute; left: 18px; right: 18px; bottom: 5px; height: 2px;
  background: var(--accent); border-radius: 2px;
  transform: scaleX(0); transform-origin: center; transition: transform 0.22s var(--ease);
}
.main-nav a:hover, .dropdown-toggle:hover { color: var(--accent); }
.main-nav a:hover::after, .dropdown-toggle:hover::after { transform: scaleX(1); }
.main-nav a.is-active, .dropdown-toggle.is-active { color: var(--accent); }
.main-nav a.is-active::after, .dropdown-toggle.is-active::after { transform: scaleX(1); }
.icon-chevron { width: 14px; height: 14px; transition: transform 0.2s var(--ease); }

.has-dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(6px);
  background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); padding: 8px; min-width: 300px;
  opacity: 0; visibility: hidden; transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  overflow: hidden;
}
.dropdown-menu::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--cyan-400));
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu,
.has-dropdown.is-open .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.has-dropdown:hover .icon-chevron,
.has-dropdown.is-open .icon-chevron { transform: rotate(180deg); }
.dropdown-eyebrow {
  display: block; padding: 12px 14px 8px; font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--slate-500);
}
.dropdown-menu ul { display: flex; flex-direction: column; gap: 1px; }
.dropdown-menu a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 8px; font-weight: 600; }
.dropdown-menu a::after { display: none; }
.dropdown-menu a:hover { background: var(--bg-alt); color: var(--accent); }
.dropdown-menu .icon-sm { color: var(--accent); flex-shrink: 0; width: 19px; height: 19px; }
.dropdown-footer-link {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: 6px; padding: 12px 14px; border-top: 1px solid var(--border-light);
  font-weight: 700; font-size: 0.88rem; color: var(--accent); border-radius: 0 0 8px 8px;
}
.dropdown-footer-link:hover { background: var(--accent-soft); }
.dropdown-footer-link svg { width: 15px; height: 15px; }

.header-actions { display: flex; align-items: center; gap: 18px; }
.hamburger { display: none; padding: 8px; border-radius: 8px; }
.hamburger:hover { background: var(--bg-alt); }
.hamburger .icon { width: 24px; height: 24px; }

.mobile-nav { display: none; }

/* ---------- Icons ---------- */
.icon { width: 22px; height: 22px; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  background: radial-gradient(ellipse 900px 500px at 15% -10%, rgba(11,95,255,0.10), transparent 60%), var(--white);
  padding: 72px 0 96px;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: ''; position: absolute; top: 0; right: 0; width: 60%; height: 75%; z-index: 0;
  background-image: url('../images/hero/hero-accent.jpg');
  background-size: cover; background-position: center;
  opacity: 0.09;
  -webkit-mask-image: linear-gradient(135deg, black, transparent 72%);
  mask-image: linear-gradient(135deg, black, transparent 72%);
  pointer-events: none;
}
.hero-grid-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgba(11,95,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(11,95,255,0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 60% at 30% 20%, black, transparent);
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center;
}
.hero-copy h1 { margin-bottom: 22px; }
.hero-copy h1 .accent-text { color: var(--accent); }
.hero-copy .lead { font-size: 1.15rem; max-width: 540px; margin-bottom: 34px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-trust { display: flex; align-items: center; gap: 10px; color: var(--text-secondary); font-size: 0.92rem; font-weight: 600; }
.hero-trust svg { width: 18px; height: 18px; color: var(--success); flex-shrink: 0; }

/* ---------- Hero dashboard visual ---------- */
.hero-visual { position: relative; }
.dashboard-frame { position: relative; z-index: 1; margin-bottom: 56px; }
.hero-glow-img {
  position: absolute;
  top: -20%; left: -20%;
  width: 140%; height: 140%;
  object-fit: contain;
  z-index: -1;
  pointer-events: none;
  user-select: none;
  opacity: 0.85;
  mix-blend-mode: normal;
}
.dashboard-card {
  position: relative;
  background: linear-gradient(160deg, var(--navy-900), var(--navy-950));
  border-radius: var(--radius-lg);
  padding: 26px 26px 22px;
  box-shadow: var(--shadow-lg);
  color: var(--white);
  border: 1px solid var(--navy-border);
}
.dashboard-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.dashboard-head .dot-row { display: flex; gap: 6px; }
.dashboard-head .dot-row span { width: 9px; height: 9px; border-radius: 50%; background: var(--navy-600); }
.dashboard-title { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.95rem; }
.dashboard-title svg { width: 18px; height: 18px; color: var(--cyan-400); }
.dashboard-badge {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  background: rgba(51, 201, 232, 0.14); color: var(--cyan-400); padding: 5px 10px; border-radius: 100px;
  border: 1px solid rgba(51,201,232,0.3);
}

.dashboard-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px;
}
.metric-tile {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; padding: 13px 14px;
}
.metric-tile .metric-label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-on-dark-secondary); margin-bottom: 6px; }
.metric-tile .metric-value { font-family: var(--font-heading); font-size: 1.28rem; font-weight: 800; }
.metric-tile .metric-delta { font-size: 0.72rem; font-weight: 700; color: var(--success); margin-top: 4px; display: flex; align-items: center; gap: 3px; }
.metric-tile .metric-delta svg { width: 12px; height: 12px; }

.dashboard-graph {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; padding: 16px; margin-bottom: 14px;
}
.dashboard-graph .graph-label { display: flex; justify-content: space-between; font-size: 0.72rem; color: var(--text-on-dark-secondary); margin-bottom: 8px; font-weight: 600; }
.graph-line-path {
  stroke: var(--cyan-400); stroke-width: 2.5; fill: none;
  stroke-dasharray: 480; stroke-dashoffset: 480;
  transition: stroke-dashoffset 1.6s var(--ease);
}
.dashboard-graph.in-view .graph-line-path { stroke-dashoffset: 0; }
.graph-area-fill { fill: url(#graphGradient); opacity: 0; transition: opacity 1s var(--ease) 0.6s; }
.dashboard-graph.in-view .graph-area-fill { opacity: 1; }

.dashboard-bars { display: flex; align-items: flex-end; gap: 8px; }
.dashboard-bars .bar-wrap { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.dashboard-bars .bar { width: 100%; background: linear-gradient(180deg, var(--blue-400), var(--blue-600)); border-radius: 5px 5px 2px 2px; height: 4px; transition: height 1.1s var(--ease); }
.dashboard-bars.in-view .bar { height: var(--bar-h); }
.dashboard-bars .bar-label { font-size: 0.62rem; color: var(--text-on-dark-secondary); font-weight: 600; }

.dashboard-footer-row { display: flex; align-items: center; justify-content: space-between; font-size: 0.72rem; color: var(--text-on-dark-secondary); }
.dashboard-footer-row .live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); display: inline-block; margin-right: 6px; box-shadow: 0 0 0 3px rgba(31,174,106,0.2); animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.floating-card {
  position: absolute; background: var(--white); border-radius: 14px; padding: 12px 16px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border-light);
  display: flex; align-items: center; gap: 10px;
  opacity: 0; transform: translateY(14px);
  animation: float-in 0.8s var(--ease) forwards;
}
@keyframes float-in { to { opacity: 1; transform: translateY(0); } }
.floating-card .fc-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.floating-card .fc-icon svg { width: 19px; height: 19px; }
.floating-card .fc-label { font-size: 0.7rem; color: var(--text-secondary); font-weight: 600; }
.floating-card .fc-value { font-family: var(--font-heading); font-weight: 800; font-size: 1.05rem; color: var(--text-primary); }
.floating-card-1 { top: -48px; left: -34px; animation-delay: 0.9s; z-index: 2; }
.floating-card-1 .fc-icon { background: rgba(11,95,255,0.1); color: var(--accent); }
.floating-card-2 { bottom: -48px; right: -34px; animation-delay: 1.15s; z-index: 2; }
.floating-card-2 .fc-icon { background: rgba(31,174,106,0.12); color: var(--success); }
@media (prefers-reduced-motion: reduce) {
  .floating-card { opacity: 1; transform: none; animation: none; }
  .graph-line-path { stroke-dashoffset: 0; }
  .graph-area-fill { opacity: 1; }
}

.dashboard-caption { text-align: center; font-size: 0.78rem; color: var(--slate-500); margin-top: 18px; }

/* ==========================================================================
   TRUST STRIP
   ========================================================================== */
.trust-strip { padding: 40px 0; border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.trust-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.trust-strip h3 { font-size: 1.05rem; max-width: 300px; }
.trust-items { display: flex; gap: 32px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.95rem; }
.trust-item svg { width: 20px; height: 20px; color: var(--accent); }

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services-section { padding: 110px 0; background: var(--bg-alt); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius-lg);
  padding: 34px 30px; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-icon { width: 54px; height: 54px; border-radius: 13px; background: var(--navy-900); color: var(--cyan-400); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { margin-bottom: 18px; font-size: 0.96rem; }
.service-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--accent); font-size: 0.92rem; }
.service-link svg { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.service-card:hover .service-link svg { transform: translateX(4px); }

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */
.process-section { padding: 110px 0; }
.process-track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; margin-top: 20px; }
.process-track::before {
  content: ''; position: absolute; top: 34px; left: 10%; right: 10%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--border-light) 0 8px, transparent 8px 16px);
}
.process-step { position: relative; text-align: left; }
.process-num {
  width: 68px; height: 68px; border-radius: 50%; background: var(--white); border: 2px solid var(--border-light);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 800; font-size: 1.3rem;
  color: var(--accent); margin-bottom: 20px; position: relative; z-index: 1; transition: border-color .3s, transform .3s;
}
.process-step:hover .process-num { border-color: var(--accent); transform: scale(1.06); }
.process-step h4 { text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.95rem; margin-bottom: 10px; }
.process-step p { font-size: 0.92rem; }

/* ==========================================================================
   ANALYTICS DASHBOARD SECTION
   ========================================================================== */
.analytics-section { padding: 110px 0; background: var(--navy-900); color: var(--white); position: relative; overflow: hidden; }
.analytics-section::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 46px 46px;
}
.analytics-section .container { position: relative; z-index: 1; }
.analytics-section .section-head h2, .analytics-section .section-head p { color: var(--white); }
.analytics-section .section-head p { color: var(--text-on-dark-secondary); }

.analytics-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 26px; align-items: stretch; }
.analytics-panel {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09); border-radius: var(--radius-lg); padding: 28px;
}
.analytics-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 22px; }
.analytics-metric-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 16px;
}
.analytics-metric-card .metric-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-on-dark-secondary); margin-bottom: 8px; }
.analytics-metric-card .metric-value { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; }
.analytics-metric-card .metric-value small { font-size: 0.9rem; font-weight: 700; opacity: 0.7; }

.bar-chart-large { display: flex; align-items: flex-end; gap: 14px; height: 170px; padding: 0 4px; }
.bar-chart-large .bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 8px; }
.bar-chart-large .bar-fill { width: 100%; max-width: 40px; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--cyan-400), var(--blue-600)); height: 3px; transition: height 1.2s var(--ease); }
.bar-chart-large.in-view .bar-fill { height: var(--h); }
.bar-chart-large .bar-col-label { font-size: 0.68rem; color: var(--text-on-dark-secondary); font-weight: 600; }

.analytics-side { display: flex; flex-direction: column; gap: 18px; }
.donut-wrap { display: flex; align-items: center; gap: 18px; }
.donut-wrap .donut-ring circle { fill: none; stroke-width: 10; }
.donut-figure { display: flex; flex-direction: column; }
.donut-figure .donut-value { font-family: var(--font-heading); font-size: 1.7rem; font-weight: 800; }
.donut-figure .donut-label { font-size: 0.78rem; color: var(--text-on-dark-secondary); }

.mini-stat-list { display: flex; flex-direction: column; gap: 12px; }
.mini-stat-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); border-radius: 10px; }
.mini-stat-row .mini-stat-name { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; font-weight: 600; color: var(--text-on-dark-secondary); }
.mini-stat-row .mini-stat-name svg { width: 16px; height: 16px; color: var(--cyan-400); }
.mini-stat-row .mini-stat-num { font-family: var(--font-heading); font-weight: 800; }

.dashboard-disclaimer {
  margin-top: 28px; text-align: center; font-size: 0.82rem; color: var(--text-on-dark-secondary);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.dashboard-disclaimer svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ==========================================================================
   WHY SUNVANI
   ========================================================================== */
.why-section { padding: 110px 0; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 32px; }
.why-item { display: flex; gap: 18px; }
.why-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.why-icon svg { width: 24px; height: 24px; }
.why-item h4 { margin-bottom: 8px; }
.why-item p { font-size: 0.94rem; }

/* ==========================================================================
   INDUSTRIES
   ========================================================================== */
.industries-section { padding: 110px 0; background: var(--bg-alt); }
.industries-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.industry-card {
  background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius-md);
  overflow: hidden; text-align: center; transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.industry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.industry-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-900); }
.industry-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s var(--ease); }
.industry-card:hover .industry-photo img { transform: scale(1.07); }
.industry-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,13,26,0) 45%, rgba(6,13,26,0.6) 100%);
}
.industry-icon {
  position: absolute; left: 14px; bottom: -16px; z-index: 1;
  width: 42px; height: 42px; border-radius: 10px; background: var(--navy-900); color: var(--cyan-400);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md);
  border: 3px solid var(--white);
}
.industry-icon svg { width: 20px; height: 20px; }
.industry-card h4 { font-size: 0.96rem; padding: 26px 16px 20px; }

/* ==========================================================================
   ABOUT PREVIEW / PARTNERS PREVIEW (split sections)
   ========================================================================== */
.split-section { padding: 100px 0; }
.split-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-inner.reverse .split-copy { order: 2; }
.split-inner.reverse .split-visual { order: 1; }
.split-copy h2 { margin-bottom: 18px; }
.split-copy p { font-size: 1.05rem; margin-bottom: 28px; }

.abstract-graphic { position: relative; aspect-ratio: 4/3.2; border-radius: var(--radius-lg); background: linear-gradient(155deg, var(--navy-900), var(--navy-800)); overflow: hidden; border: 1px solid var(--navy-border); }
.abstract-graphic svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.abstract-graphic .ag-node { fill: var(--cyan-400); }
.abstract-graphic .ag-line { stroke: rgba(255,255,255,0.16); stroke-width: 1.5; }
.abstract-graphic .ag-pulse { stroke: var(--blue-400); stroke-width: 2; fill: none; stroke-dasharray: 6 8; animation: dash-move 3.4s linear infinite; }
@keyframes dash-move { to { stroke-dashoffset: -140; } }
@media (prefers-reduced-motion: reduce) { .abstract-graphic .ag-pulse { animation: none; } }

.partner-graphic { position: relative; aspect-ratio: 4/3.2; border-radius: var(--radius-lg); background: var(--bg-alt); border: 1px solid var(--border-light); overflow: hidden; }
.partner-graphic svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- Real photography frame (About / Partners) ---------- */
.photo-frame {
  position: relative; aspect-ratio: 4/3.2; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--border-light);
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-frame::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(200deg, rgba(11,95,255,0.16), rgba(6,13,26,0.06) 45%, rgba(6,13,26,0.28));
  mix-blend-mode: multiply;
}
.photo-frame::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: 1;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15);
  pointer-events: none;
}

/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.final-cta-strip { background: linear-gradient(120deg, var(--navy-950), var(--navy-800)); padding: 76px 0; position: relative; overflow: hidden; }
.final-cta-strip::before {
  content: ''; position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(11,95,255,0.35), transparent 70%);
  top: -300px; right: -150px;
}
.final-cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.final-cta-inner h2 { color: var(--white); margin-bottom: 10px; }
.final-cta-inner p { color: var(--text-on-dark-secondary); font-size: 1.05rem; }
.cta-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--navy-950); color: var(--text-on-dark-secondary); padding: 76px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand-col p { margin-top: 16px; font-size: 0.92rem; max-width: 320px; color: var(--text-on-dark-secondary); }
.brand-logo-footer { height: 40px; }
.footer-col h3 { color: var(--white); font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 0.92rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 26px 0; font-size: 0.85rem; flex-wrap: wrap; gap: 10px; }

/* ==========================================================================
   PAGE HERO (inner pages)
   ========================================================================== */
.page-hero { background: linear-gradient(160deg, var(--navy-950), var(--navy-900)); color: var(--white); padding: 130px 0 90px; position: relative; overflow: hidden; }
.page-hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 46px 46px; mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, black, transparent);
}
.page-hero::after {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background-image: url('../images/shared/page-hero-texture.jpg');
  background-size: cover; background-position: center;
  opacity: 0.22;
  mix-blend-mode: screen;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero-inner { max-width: 760px; }
.page-hero h1 { color: var(--white); margin-bottom: 18px; }
.page-hero p.lead { font-size: 1.15rem; color: var(--text-on-dark-secondary); max-width: 620px; margin-bottom: 30px; }
.page-hero .eyebrow { color: var(--cyan-400); }
.page-hero .eyebrow::before { background: var(--cyan-400); }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.85rem; color: var(--text-on-dark-secondary); margin-bottom: 24px; }
.breadcrumb a { color: var(--text-on-dark-secondary); }
.breadcrumb a:hover { color: var(--white); }

/* ---------- Content sections used across inner pages ---------- */
.content-section { padding: 90px 0; }
.content-section.alt { background: var(--bg-alt); }
.content-section .section-head { margin-bottom: 44px; }

.feature-list-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature-list-item {
  display: flex; gap: 16px; padding: 24px; border: 1px solid var(--border-light); border-radius: var(--radius-md); background: var(--white);
  transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}
.feature-list-item:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.feature-list-item .fli-icon { width: 42px; height: 42px; border-radius: 10px; background: var(--navy-900); color: var(--cyan-400); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature-list-item .fli-icon svg { width: 21px; height: 21px; }
.feature-list-item h4 { margin-bottom: 6px; }
.feature-list-item p { font-size: 0.92rem; margin: 0; }

.checklist { display: flex; flex-direction: column; gap: 16px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { width: 20px; height: 20px; color: var(--success); flex-shrink: 0; margin-top: 2px; }
.checklist strong { color: var(--text-primary); }

.step-number-list { display: flex; flex-direction: column; gap: 0; }
.step-number-item { display: flex; gap: 22px; padding: 26px 0; border-bottom: 1px solid var(--border-light); }
.step-number-item:last-child { border-bottom: none; }
.step-number-item .snl-num { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 800; color: var(--accent); min-width: 52px; }
.step-number-item h4 { margin-bottom: 6px; }
.step-number-item p { margin: 0; font-size: 0.94rem; }

/* ---------- Lead funnel visual ---------- */
.funnel-wrap { display: flex; flex-direction: column; align-items: center; gap: 0; max-width: 480px; margin: 0 auto; }
.funnel-stage {
  width: 100%; text-align: center; padding: 20px; border-radius: 12px; color: var(--white); font-weight: 700;
  font-family: var(--font-heading); position: relative; box-shadow: var(--shadow-sm);
}
.funnel-stage small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.8rem; margin-top: 4px; opacity: 0.85; }
.funnel-stage-1 { background: var(--navy-900); width: 100%; }
.funnel-stage-2 { background: #163461; width: 86%; }
.funnel-stage-3 { background: #1c4a8a; width: 72%; }
.funnel-stage-4 { background: var(--blue-600); width: 58%; }
.funnel-stage-5 { background: linear-gradient(120deg, var(--cyan-400), var(--blue-500)); width: 44%; }
.funnel-arrow { color: var(--slate-500); margin: 4px 0; }
.funnel-arrow svg { width: 18px; height: 18px; }

/* ---------- Comparison / feature table style blocks ---------- */
.two-col-media { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }

/* ==========================================================================
   PARTNER CARDS
   ========================================================================== */
.partner-types-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.partner-type-card { background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 30px; text-align: center; transition: transform .22s var(--ease), box-shadow .22s var(--ease); }
.partner-type-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.partner-type-card .service-icon { margin: 0 auto 20px; }
.partner-type-card p { font-size: 0.92rem; }

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.contact-section { padding: 90px 0 110px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 50px; align-items: flex-start; }
.contact-info-card { background: var(--navy-950); color: var(--white); border-radius: var(--radius-lg); padding: 36px; }
.contact-info-card h3 { color: var(--white); margin-bottom: 14px; }
.contact-info-card p { color: var(--text-on-dark-secondary); margin-bottom: 26px; font-size: 0.95rem; }
.contact-info-list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 26px; }
.contact-info-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.92rem; }
.contact-info-list svg { width: 19px; height: 19px; color: var(--cyan-400); flex-shrink: 0; margin-top: 2px; }
.contact-info-list .cil-label { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-on-dark-secondary); margin-bottom: 2px; }
.contact-info-list .cil-value { color: var(--white); font-weight: 600; }

.contact-form-card { background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 38px; box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 700; font-size: 0.88rem; margin-bottom: 8px; }
.form-group .required { color: var(--accent); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--border-light); border-radius: 9px; font-size: 0.95rem;
  background: var(--white); transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group.has-error input, .form-group.has-error select, .form-group.has-error textarea { border-color: #e0483f; }
.field-error { display: none; color: #e0483f; font-size: 0.82rem; margin-top: 6px; font-weight: 600; }
.form-group.has-error .field-error { display: block; }
.form-honeypot { position: absolute; left: -9999px; top: -9999px; }

.form-alert { padding: 16px 18px; border-radius: 10px; margin-bottom: 24px; font-weight: 600; font-size: 0.92rem; display: flex; gap: 10px; align-items: flex-start; }
.form-alert svg { width: 20px; height: 20px; flex-shrink: 0; }
.form-alert-success { background: rgba(31,174,106,0.1); color: #16824f; border: 1px solid rgba(31,174,106,0.25); }
.form-alert-error { background: rgba(224,72,63,0.08); color: #b8342b; border: 1px solid rgba(224,72,63,0.22); }

/* ==========================================================================
   ABOUT PAGE VALUES / TIMELINE-STYLE
   ========================================================================== */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { padding: 30px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--border-light); }
.value-card .why-icon { margin-bottom: 18px; }

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */
.legal-section { padding: 60px 0 110px; }
.legal-content { max-width: 780px; }
.legal-content h2 { margin-top: 44px; margin-bottom: 14px; font-size: 1.35rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--text-secondary); margin-bottom: 14px; }
.legal-content ul { list-style: disc; padding-left: 22px; }
.legal-content ul li { margin-bottom: 8px; }
.legal-updated { color: var(--slate-500); font-size: 0.9rem; margin-bottom: 30px; }
.legal-notice { background: var(--bg-alt); border-left: 3px solid var(--accent); padding: 18px 20px; border-radius: 0 10px 10px 0; margin: 30px 0; font-size: 0.92rem; }

/* ==========================================================================
   404 / 500
   ========================================================================== */
.error-page { min-height: 66vh; display: flex; align-items: center; padding: 90px 0; background: var(--bg-alt); }
.error-page-inner { max-width: 620px; margin: 0 auto; text-align: center; }
.error-page h1 { margin: 14px 0 16px; }
.error-page p { font-size: 1.05rem; margin-bottom: 34px; }
.error-page .cta-buttons { justify-content: center; }

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-stagger.in-view > * { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
}

/* Counters */
[data-counter] { font-variant-numeric: tabular-nums; }
