/* ============================================================
   CSS VARIABLES & RESET
   ============================================================ */
:root {
  --blue: #2C74C7;
  --blue-light: #4A90E2;
  --cyan: #00E5FF;
  --amber: #FFB800;
  --navy: #0A0F1E;
  --navy-mid: #111827;
  --navy-card: rgba(20, 30, 60, 0.55);
  --ice: #F0F4FA;
  --ice-card: rgba(255, 255, 255, 0.72);
  --text-dark: #0D1B2A;
  --text-light: #E8F0FE;
  --grid-opacity: 0.18;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
  --bg: var(--ice);
  --bg2: #e4ecf7;
  --section-tag: var(--blue);
  --section-tag-before: var(--blue);
  --card-bg: var(--ice-card);
  --card-border: rgba(44, 116, 199, 0.22);
  --logo:rgb(44, 116, 199);
  /* --logo-filter: drop-shadow(1px 2px 2px var(--blue-light)); */
  --text: var(--text-dark);
  --text-muted: #4a607a;
  --grid-color: rgba(44, 116, 199, 0.1);
  --nav-bg: white;
  --glow: rgba(44, 116, 199, 0.18);
}

[data-theme="dark"] {
  --bg: var(--navy);
  --bg2: #0d1526;
  --section-tag: var(--amber);
  --section-tag-before: var(--amber);
  --card-bg: var(--navy-card);
  --card-border: rgba(44, 116, 199, 0.28);
  --logo:rgb(240, 244, 250);
  --logo-filter: brightness(0) invert(1);
  --text: var(--text-light);
  --text-muted: #7a9cc8;
  --grid-color: rgba(44, 116, 199, 0.18);
  --nav-bg: rgba(20, 30, 60, 0.55);
  --glow: rgba(0, 229, 255, 0.15);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Geist', sans-serif;
  background: var(--bg);
  color: var(--text);
  transition: background var(--transition), color var(--transition);
  overflow-x: hidden;
  /* cursor: none; */
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor-dot {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--amber);
  /* background: var(--cyan); */
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.1s ease;
  transform: translate(-50%, -50%);
}
.cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1.5px solid var(--blue);
  /* border: 1.5px solid rgba(0, 229, 255, 0.5); */
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, border-color 0.3s;
}
body:has(a:hover) .cursor-ring,
body:has(button:hover) .cursor-ring {
  width: 56px; height: 56px;
  border-color: var(--amber);
}
body:has(a:hover) .cursor-dot,
body:has(button:hover) .cursor-dot {
  width: 5px; height: 5px;
  background: var(--blue);
}

/* ============================================================
   BLUEPRINT GRID BACKGROUND
   ============================================================ */
.blueprint-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.blueprint-bg svg {
  width: 100%; height: 100%;
  opacity: var(--grid-opacity);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 5%;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--card-border);
  transition: background var(--transition), border-color var(--transition);
}

.logo {
  position: relative;
  display: flex;
  align-items: center;
  text-decoration: none;
  width: 200px;
}

.logo-video,
.logo-image {
  width: 200px;
  height: auto;
}

.logo-video {
  display: block;
}

.logo-image {
  display: block;
  filter: var(--logo-filter);
}

.logo:not(.is-playing) .logo-video {
  display: none;
}

.logo.is-playing .logo-image {
  display: none;
}

/* .logo-mark {
  width: 38px; height: 38px;
  position: relative;
}
.logo-mark object, .logo-mark img {
  width: 100%; height: 100%;
  display: block;
}
.logo-mark svg {
  width: 100%; height: 100%;
}

.logo-text {
  font-family: 'Geist', monospace;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  color: var(--text);
}
.logo-text span { color: var(--blue); } */

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--blue); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle {
  width: 44px; height: 24px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  cursor: pointer;
  position: relative;
  transition: background var(--transition);
  display: flex;
  align-items: center;
  padding: 2px;
}
.theme-toggle::after {
  content: '';
  width: 18px; height: 18px;
  background: var(--blue);
  border-radius: 50%;
  transition: transform var(--transition);
}
[data-theme="light"] .theme-toggle::after { transform: translateX(20px); }

.btn-nav {
  padding: 0.5rem 1.25rem;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-family: 'Geist', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), transform 0.15s;
}
.btn-nav:hover { background: var(--blue-light); transform: translateY(-1px); }

.hidden {
  display: none;
}

.video-pause-icon {
  width: 50%;
  height: 50%;
  opacity: 0.4;
  position: absolute;
  top: 25%;
  right: 25%;
  cursor: pointer;
  z-index: 1;
}

/* ============================================================
   HERO VIDEO INTRO
   ============================================================ */
.hero-video {
  position: relative;
  height: 100vh;
  min-height: 560px;
  padding: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.96) 65%);
  border-bottom: 1px solid var(--card-border);
  transition: height 0.8s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.8s ease, transform 0.8s cubic-bezier(0.65, 0, 0.35, 1), border-color 0.8s ease;
}
.hero-video-inner {
  width: min(100vw, 1920px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 5%;
}
.hero-video-player {
  width: min(100%, 1920px);
  aspect-ratio: 16 / 9;
  object-fit: contain;
  display: block;
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
}
.hero-video.is-collapsing {
  height: 0;
  opacity: 0;
  transform: translateY(-100%);
  border-color: transparent;
}
.hero-video.is-hidden {
  display: none;
}
body.intro-active {
  overflow: hidden;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 72px 5% 0;
  z-index: 1;
  overflow: hidden;
}

.hero-content {
  max-width: 640px;
  padding-top: 2rem;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  font-family: 'Geist', monospace;
  font-size: 0.75rem;
  color: var(--blue);
  /* color: var(--cyan); */
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
  backdrop-filter: blur(12px);
  animation: fadeSlideUp 0.6s ease both;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--blue);
  /* background: var(--cyan); */
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.hero-headline {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.hero-headline .line {
  display: block;
  overflow: hidden;
}
.hero-headline .line span {
  display: block;
  animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-headline .line:nth-child(1) span { animation-delay: 0.2s; }
.hero-headline .line:nth-child(2) span { animation-delay: 0.35s; }
.hero-headline .line:nth-child(3) span { animation-delay: 0.5s; }
.hero-headline .accent { color: var(--blue); }
.hero-headline .accent-amber { color: var(--amber); }

@keyframes slideUp {
  from { transform: translateY(110%); }
  to   { transform: translateY(0); }
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-sub {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 2.5rem;
  animation: fadeSlideUp 0.8s ease 0.65s both;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.8s ease 0.8s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.875rem 2rem;
  background: var(--amber);
  color: #0D1B2A;
  font-family: 'Geist', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 0 0 rgba(255,184,0,0.4);
  animation: ctaPulse 3s ease 2s infinite;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 184, 0, 0.35);
  animation: none;
}

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,184,0,0.4); }
  50% { box-shadow: 0 0 0 12px rgba(255,184,0,0); }
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.875rem 1.75rem;
  background: transparent;
  color: var(--text);
  font-family: 'Geist', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1.5px solid var(--card-border);
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color var(--transition), color var(--transition), transform 0.2s;
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  /* margin-top: 3.5rem; */
  /* padding-top: 2rem; */
  padding: 2rem;
  /* border-top: 1px solid var(--card-border); */
  animation: fadeSlideUp 0.8s ease 1s both;
}
.stat-num {
  font-family: 'Geist', monospace;
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--text);
  display: block;
}
.stat-num .stat-accent { color: var(--blue); }
/* .stat-num .stat-accent { color: var(--cyan); } */
.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ============================================================
   HERO DASHBOARD MOCKUP
   ============================================================ */
.hero-visual {
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  width: 54%;
  z-index: 1;
  animation: dropIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

.hero-visual img {
  max-width: 100%;
  height: auto;
}

@keyframes dropIn {
  from { opacity: 0; transform: translateY(calc(-50% - 60px)); }
  to   { opacity: 1; transform: translateY(-50%); }
}

.dashboard-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  backdrop-filter: blur(24px);
  padding: 1.5rem;
  box-shadow: 0 32px 80px rgba(0,0,0,0.3), 0 0 0 1px var(--card-border);
  animation: float 6s ease-in-out infinite;
  max-width: 100%;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.dash-title {
  font-family: 'Geist', monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.dash-dots {
  display: flex; gap: 6px;
}
.dash-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.dash-dots span:nth-child(1) { background: #ff5f57; }
.dash-dots span:nth-child(2) { background: #febc2e; }
.dash-dots span:nth-child(3) { background: #28c840; }

.dash-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.metric-card {
  background: rgba(44, 116, 199, 0.1);
  border: 1px solid rgba(44, 116, 199, 0.2);
  border-radius: 12px;
  padding: 1rem;
}
.metric-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.metric-value {
  font-family: 'Geist', monospace;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text);
}
.metric-value.green { color: #34d399; }
.metric-value.blue  { color: var(--blue); }
/* .metric-value.blue  { color: var(--cyan); } */
.metric-value.amber { color: var(--amber); }
.metric-change {
  font-size: 0.68rem;
  color: #34d399;
  margin-top: 2px;
}

/* Mini bar chart */
.mini-chart {
  margin-bottom: 1.25rem;
}
.mini-chart-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 70px;
}
.bar {
  flex: 1;
  background: linear-gradient(to top, var(--blue), var(--blue));
  /* background: linear-gradient(to top, var(--blue), var(--cyan)); */
  border-radius: 4px 4px 0 0;
  opacity: 0.85;
  transition: opacity 0.2s;
  animation: growBar 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.bar:hover { opacity: 1; }
.bar:nth-child(1) { height: 40%; animation-delay: 0.8s; }
.bar:nth-child(2) { height: 65%; animation-delay: 0.9s; }
.bar:nth-child(3) { height: 50%; animation-delay: 1.0s; }
.bar:nth-child(4) { height: 80%; animation-delay: 1.1s; }
.bar:nth-child(5) { height: 60%; animation-delay: 1.2s; }
.bar:nth-child(6) { height: 90%; animation-delay: 1.3s; }
.bar:nth-child(7) { height: 75%; animation-delay: 1.4s; }

@keyframes growBar {
  from { transform: scaleY(0); transform-origin: bottom; }
  to   { transform: scaleY(1); transform-origin: bottom; }
}

/* Project list */
.project-list { display: flex; flex-direction: column; gap: 8px; }
.project-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: rgba(44, 116, 199, 0.06);
  border-radius: 8px;
  border: 1px solid rgba(44, 116, 199, 0.12);
}
.project-name {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
}
.project-progress {
  flex: 1;
  margin: 0 1rem;
  height: 4px;
  background: rgba(44, 116, 199, 0.15);
  border-radius: 2px;
  overflow: hidden;
}
.project-progress-bar {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(to right, var(--blue), var(--blue));
  /* background: linear-gradient(to right, var(--blue), var(--cyan)); */
}
.project-status {
  font-family: 'Geist', monospace;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 999px;
}
.status-on-track { background: rgba(52, 211, 153, 0.15); color: #34d399; }
.status-delayed  { background: rgba(255,184,0,0.15); color: var(--amber); }
.status-complete { background: rgba(44,116,199,0.15); color: var(--blue); }
/* .status-complete { background: rgba(44,116,199,0.15); color: var(--cyan); } */

/* Floating mini cards */
.float-card {
  position: absolute;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  backdrop-filter: blur(20px);
  padding: 1rem 1.25rem;
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}
.float-card-1 {
  bottom: -2rem;
  left: -4rem;
  animation: float 7s ease-in-out 1s infinite;
  max-width: 80%;
  z-index: 3;
}
.float-card-2 {
  top: -2rem;
  right: -4rem;
  animation: float 5s ease-in-out 0.5s infinite;
  max-width: 70%;
  z-index: 2;
}
.fc-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.fc-value {
  font-family: 'Geist', monospace;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--amber);
}
.fc-sub {
  font-size: 0.7rem;
  color: #34d399;
}

/* ============================================================
   SECTION SHARED
   ============================================================ */
section {
  position: relative;
  z-index: 1;
  padding: 7rem 4%;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Geist', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--section-tag);
  /* color: var(--cyan); */
  margin-bottom: 1rem;
}
.section-tag::before {
  content: '';
  display: block;
  width: 24px; height: 1.5px;
  background: var(--section-tag-before);
  /* background: var(--cyan); */
}
.section-headline {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}
.section-sub {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 540px;
}

/* ============================================================
   PROBLEMS SECTION
   ============================================================ */
.problems {
  background: var(--bg2);
}
.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.problem-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(16px);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.problem-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px var(--glow);
  border-color: var(--blue);
}
.problem-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue) 100%);
  /* background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%); */
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.3rem;
}
.problem-title {
  font-family: 'Geist', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.problem-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ============================================================
   SOLUTIONS SECTION
   ============================================================ */
.solutions-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 4rem;
}

.solutions-slide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.solutions-slide .solution-card {
  margin: auto;
  width: 100%;
  max-width: 900px;
}
.solutions-slide video {
  width: 100%;
  margin: auto;
  height: 100%;
  object-fit: cover;
}
.solutions-subsection {
  margin: auto;
}
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}
.solution-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 1rem;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.solution-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue));
  /* background: linear-gradient(90deg, var(--blue), var(--cyan)); */
  opacity: 0;
  transition: opacity 0.3s;
}
.solution-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px var(--glow);
}
.solution-card:hover::before { opacity: 1; }

.solution-card.large {
  grid-column: span 2;
}

.solution-icon-wrap {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}
.fi-blue  { background: rgba(44,116,199,0.15); }
.fi-cyan  { background: rgba(0,229,255,0.12); }
.fi-amber { background: rgba(255,184,0,0.12); }
.fi-green { background: rgba(52,211,153,0.12); }

.solution-title {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}
.solution-desc,
.feature-desc {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.solution-list,
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.solution-list li,
.feature-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.solution-list li::before,
.feature-list li::before {
  content: '▸';
  color: var(--blue);
  /* color: var(--cyan); */
  font-size: 0.75rem;
}

/* ============================================================
   FEATURES SHOWCASE / BREAKDOWN TABS
   ============================================================ */
.features-showcase {
  /* background: var(--bg2); */
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.features-showcase-inner {
  margin: 0 auto;
}

.features-showcase-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 4rem;
}

.breakdown-tabs { margin-top: 2.5rem; }

.tab-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 30px;
  border-bottom: 2px solid var(--card-border);
}

.tab-btn {
  background: transparent;
  border: none;
  padding: 10px 10px;
  font-family: 'Geist', sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  border-radius: 6px 6px 0 0;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--blue);
  background: rgba(44, 116, 199, 0.12);
}

.tab-btn.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
  background: rgba(44, 116, 199, 0.15);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.tab-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.tab-icon-lg {
  width: 56px;
  height: 56px;
  background: rgba(44, 116, 199, 0.15);
  border: 1px solid rgba(44, 116, 199, 0.22);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.tab-icon-lg svg {
  width: 28px;
  height: 28px;
  stroke: var(--blue);
}

.tab-text h3 {
  font-family: 'Geist', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text);
}

.tab-text p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}

.breakdown-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.breakdown-list li {
  font-size: 1rem;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.breakdown-list li::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(44, 116, 199, 0.15);
  border: 2px solid rgba(44, 116, 199, 0.22);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 5l2.5 2.5L8 3' stroke='%232C74C7' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}

.tab-visual {
  min-width: 0;
}

.feature-carousel {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.carousel-viewport {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.carousel-track {
  list-style: none;
  display: flex;
  width: 100%;
  height: 100%;
  transform: translateX(0);
  transition: transform 0.5s ease;
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 2%;
}

.carousel-slide video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 2%;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(14, 21, 34, 0.58);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  font-size: 1.5rem;
  line-height: 1;
  transition: background var(--transition), border-color var(--transition);
}

.carousel-btn:hover {
  background: rgba(14, 21, 34, 0.72);
  border-color: rgba(255, 255, 255, 0.7);
}

.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: transform var(--transition), background var(--transition);
}

.carousel-dot.active {
  background: var(--blue);
  transform: scale(1.1);
}

.feature-carousel:hover {
  /* animation: hoverShadow 0.5s ease; */
  /* box-shadow: 0 16px 40px rgba(0, 0, 0, 0.68); */
  box-shadow: 0 16px 40px var(--glow);
  transition: box-shadow 0.5s ease;
}

/* ============================================================
   SOCIAL PROOF
   ============================================================ */
.proof {
  background: var(--bg2);
}
.proof-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 4rem;
}
.proof-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--card-border);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 4rem;
}
.proof-stat {
  background: var(--card-bg);
  padding: 2.5rem 2rem;
  text-align: center;
  backdrop-filter: blur(16px);
}
.proof-num {
  font-family: 'Bebas Neue', cursive;
  font-size: 3.5rem;
  color: var(--blue);
  letter-spacing: 0.02em;
  line-height: 1;
}
.proof-num span { color: var(--blue); }
/* .proof-num span { color: var(--cyan); } */
.proof-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 4px;
}

.logos-scroll {
  overflow: hidden;
  position: relative;
}
.logos-scroll::before,
.logos-scroll::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
}
.logos-scroll::before {
  left: 0;
  background: linear-gradient(to right, var(--bg2), transparent);
}
.logos-scroll::after {
  right: 0;
  background: linear-gradient(to left, var(--bg2), transparent);
}
.logos-track {
  display: flex;
  gap: 4rem;
  animation: scrollLogos 28s linear infinite;
  width: max-content;
}
.logo-item {
  font-family: 'Geist', monospace;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  padding: 0.5rem 1.5rem;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  background: var(--card-bg);
  backdrop-filter: blur(8px);
}
@keyframes scrollLogos {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   ENGAGEMENT SECTION
   ============================================================ */
.engagement {
  background: var(--bg2);
}
.engagement-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.engagement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1440px;
  margin: 0 auto;
}
.engagement-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  backdrop-filter: blur(20px);
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.engagement-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px var(--glow);
  border-color: var(--blue);
}
.engagement-card.featured {
  border-color: var(--blue);
  box-shadow: 0 0 40px rgba(44,116,199,0.2), 0 0 80px rgba(44,116,199,0.08);
}
.featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--blue), var(--blue));
  /* background: linear-gradient(90deg, var(--blue), var(--cyan)); */
  color: #fff;
  font-family: 'Geist', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 999px;
}
.plan-name {
  font-family: 'Geist', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.plan-price {
  font-family: 'Bebas Neue', cursive;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--text);
  margin-bottom: 0.25rem;
}
.plan-price sup {
  font-size: 1.5rem;
  vertical-align: super;
  color: var(--text-muted);
}
.plan-period {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}
.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 2rem;
}
.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.plan-features li::before {
  content: '✓';
  color: var(--blue);
  /* color: var(--cyan); */
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}
.btn-plan {
  width: 100%;
  padding: 0.875rem;
  border: 1.5px solid var(--blue);
  background: transparent;
  color: var(--blue);
  border-radius: 10px;
  font-family: 'Geist', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform 0.2s;
}
.btn-plan:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.btn-plan.featured-btn {
  background: var(--blue);
  color: #fff;
}
.btn-plan.featured-btn:hover { background: var(--blue-light); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  margin: 0 5% 5rem;
  border-radius: 24px;
  padding: 5rem 4rem;
  background: linear-gradient(135deg, #0d2b5e 0%, #1a4f9e 35%, #0e3d7a 65%, #0a2950 100%);
  background-size: 300% 300%;
  animation: gradientShift 8s ease infinite;
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-align: center;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 0h60v60H0z' fill='none'/%3E%3Cpath d='M0 30h60M30 0v60' stroke='%23ffffff' stroke-width='0.3' stroke-opacity='0.12'/%3E%3C/svg%3E");
  opacity: 0.5;
}
.cta-banner::after {
  content: '';
  position: absolute;
  top: -50%; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,229,255,0.15) 0%, transparent 70%);
}
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.cta-banner .section-tag::before {
  background: var(--amber) !important; 
}
.cta-banner .section-tag {
  justify-content: center; 
  color: var(--amber) !important; 
}
.cta-headline {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(2.5rem, 5vw, 5rem);
  color: #fff;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.cta-sub {
  font-size: 1.05rem;
  color: rgba(232,240,254,0.75);
  margin-bottom: 2.5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ============================================================
   CONTACT US FORM
   ============================================================ */
.contact-us-form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(72px + 2rem) 5% 3rem;
  position: relative;
  z-index: 1;
  background:
    radial-gradient(circle at center,
      rgba(44, 116, 199, 0) 0%,
      rgba(44, 116, 199, 0.03) 35%,
      rgba(44, 116, 199, 0.14) 70%,
      rgba(44, 116, 199, 0.26) 100%);
}

.contact-success-message {
  max-width: 860px;
  font-family: 'Geist', sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  line-height: 1.5;
  font-weight: 600;
  color: var(--text);
  text-wrap: balance;
}

.contact-form-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.contact-form-header .section-tag { justify-content: center; }
.contact-form-header .section-sub { margin: 0 auto; }

.contact-form-card {
  width: 100%;
  max-width: 680px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 2.5rem;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}
.contact-form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue));
  /* background: linear-gradient(90deg, var(--blue), var(--cyan)); */
}

.visitor-details-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-family: 'Geist', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-group label .required {
  color: var(--amber);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(44, 116, 199, 0.06);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  font-family: 'Geist', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.5;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(44, 116, 199, 0.15);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234a607a' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-error {
  margin-top: 0.2rem;
  font-size: 0.8rem;
  color: #d14343;
}

.form-divider {
  height: 1px;
  background: var(--card-border);
  margin: 0.5rem 0;
}

.visitor-details-form .btn-primary {
  align-self: flex-start;
  margin-top: 0.5rem;
}

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  .contact-form-card { padding: 1.75rem; }
  .contact-us-form { padding-top: 7rem; }
  .contact-success-page { min-height: calc(100vh - 1rem); }
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--card-border);
  padding: 4rem 5% 2.5rem;
  position: relative;
  z-index: 1;
}
.footer-inner {
  display: grid;
  grid-template-columns: 5fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .logo-text { font-size: 1.1rem; }
.footer-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  /* margin-top: 1rem; */
  max-width: 260px;
}
.footer-col-title {
  font-family: 'Geist', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a {
  text-decoration: none;
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--blue); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--card-border);
  font-size: 0.8rem;
  color: var(--text-muted);
}
.logo-color {
  fill:var(--logo);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1900px) {
  .solutions-grid {display: grid; grid-template-columns: auto auto;}
  .solution-card.large { grid-column: span 1; }

}
@media (max-width: 1024px) {
  .hero-visual { display: none; }
  .hero-headline { font-size: clamp(5.5rem, 10vw, 7rem); }
  .hero-content { max-width: 100%; }
  .solutions-grid {display: grid; grid-template-columns: auto;}
  .solutions-slide {display: flex; flex-direction: column;}
  .proof-stats { grid-template-columns: repeat(2, 1fr); }
  .tab-content-grid { grid-template-columns: 1fr; }
  .tab-icon-lg {display: none;}
}
@media (max-width: 885px) {
  .nav-links { display: none; }
}
@media (max-width: 860px) {
  .engagement-grid { grid-template-columns: auto;}
  .problems-grid { grid-template-columns: auto;}
  .carousel-btn {
    width: 36px;
    height: 36px;
  }
  .footer-inner { grid-template-columns: 1fr 1fr; text-align: center; }
  .footer-brand .logo-image { margin: auto; }
  .footer-desc { max-width: 100%; }
}
@media (max-width: 640px) {
  .btn-nav { padding: 0.5rem 0.25rem; }
  .section-headline { font-size: clamp(4rem, 5vw, 4.5rem); }
  .hero-video { min-height: 420px; }
  .hero-video-player { border-radius: 10px; }
  .hero-ctas { gap: none; }
  .hero-ctas a { margin: auto; }
  .hero-stats { gap: 1.5rem; }
  .proof-stats { grid-template-columns: 1fr 1fr; }
  .cta-banner { padding: 3rem 2rem; margin: 0 1rem 3rem; }
  .footer-inner { grid-template-columns: 1fr;}
  .footer-brand { display: flex; flex-direction: column;}
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
}
