/* ===========================================
   ChequeVault — Main Stylesheet  v2
   =========================================== */

/* --- Design Tokens --- */
:root {
  --primary:       #4361EE;
  --primary-dark:  #3451D1;
  --primary-light: #6B8EF7;
  --accent:        #00D4AA;
  --accent-dark:   #00B894;
  --navy:          #060B18;
  --dark:          #0F1629;
  --card-dark:     #141E35;
  --muted:         #8895A7;
  --border:        #E4E9F2;
  --border-dark:   rgba(255,255,255,0.07);
  --surface:       #F4F7FD;
  --white:         #FFFFFF;
  --text-body:     #374151;

  /* Gradients */
  --gradient:       linear-gradient(135deg, #3451D1 0%, #00B894 100%);
  --gradient-hero:  linear-gradient(160deg, #060B18 0%, #0A1628 55%, #061A1A 100%);
  --gradient-card:  linear-gradient(135deg, #4361EE15, #00D4AA10);
  --gradient-blue:  linear-gradient(135deg, #4361EE, #6B8EF7);
  --gradient-teal:  linear-gradient(135deg, #00D4AA, #00B894);

  /* Shadows */
  --shadow-sm:  0 1px 4px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:  0 20px 48px rgba(0,0,0,0.14);
  --shadow-xl:  0 32px 64px rgba(0,0,0,0.18);
  --glow-blue:  0 0 32px rgba(67,97,238,0.35);
  --glow-teal:  0 0 24px rgba(0,212,170,0.3);

  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  22px;
  --radius-xl:  32px;

  --transition:  0.22s ease;
  --transition-slow: 0.4s ease;

  --container-max: 1200px;
  --container-pad: 1.5rem;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-body);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Typography --- */
h1 { font-size: clamp(2.1rem, 5vw, 3.75rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.6rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; }
h3 { font-size: clamp(1.05rem, 2vw, 1.3rem); font-weight: 600; line-height: 1.35; }
h4 { font-size: 1rem; font-weight: 600; }
p  { color: #6B7A8D; line-height: 1.75; }

/* --- Layout --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
.section { padding: 5.5rem 0; }
.section-header { text-align: center; margin-bottom: 4rem; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  background: rgba(67,97,238,0.08);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(67,97,238,0.15);
  margin-bottom: 1.1rem;
}
.section-label.light {
  color: var(--accent);
  background: rgba(0,212,170,0.1);
  border-color: rgba(0,212,170,0.2);
}

.section-title { color: #0F1629; margin-bottom: 1rem; }
.section-desc { font-size: 1.05rem; max-width: 580px; margin: 0 auto; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.78rem 1.8rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 1.5px solid transparent;
  font-family: inherit;
  position: relative;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-blue);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(67,97,238,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(67,97,238,0.5);
  filter: brightness(1.08);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 14px rgba(67,97,238,0.3);
}

/* Ghost button — for dark backgrounds */
.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: white;
  border-color: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.35);
  transform: translateY(-1px);
}

.btn-white { background: white; color: var(--primary); border-color: transparent; box-shadow: var(--shadow-md); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-lg { padding: 1rem 2.2rem; font-size: 1.02rem; }
.btn-sm { padding: 0.55rem 1.2rem; font-size: 0.85rem; }

/* =============================================
   NAVIGATION — Dark unified bar
   ============================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 11, 24, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  /* No border — prevents the 1px subpixel line against dark hero */
  border-bottom: none;
  transition: background var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: rgba(6, 11, 24, 0.97);
  /* Shadow only when scrolled over white content; still no hard border line */
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.18rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.01em;
}
.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-blue);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(67,97,238,0.4);
}

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.58);
  transition: color var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--primary-light);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-link:hover { color: white; }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.active { color: white; }
.nav-link.active::after { transform: scaleX(1); }

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

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 0.75rem 0 1.25rem;
  gap: 0.1rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(6,11,24,0.97);
}
.nav-mobile.open { display: flex; }
.nav-mobile .nav-link {
  padding: 0.7rem 0;
  font-size: 0.97rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.65);
}
.nav-mobile .nav-link::after { display: none; }
.nav-mobile .btn { margin-top: 0.75rem; width: 100%; justify-content: center; }

/* =============================================
   HERO
   ============================================= */
.hero {
  background: var(--gradient-hero);
  color: white;
  padding: 6rem 0 5.5rem;
  overflow: hidden;
  position: relative;
  /* Close subpixel gap at the bottom edge */
  margin-bottom: -2px;
}

/* Atmospheric glows */
.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(67,97,238,0.18) 0%, transparent 65%);
  pointer-events: none;
  animation: glow-pulse 6s ease-in-out infinite;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,212,170,0.12) 0%, transparent 65%);
  pointer-events: none;
  animation: glow-pulse 8s ease-in-out infinite reverse;
}
@keyframes glow-pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.08); }
}

/* Subtle grid texture */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: rgba(0,212,170,0.12);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(0,212,170,0.25);
  margin-bottom: 1.75rem;
}

.hero-title { color: white; margin-bottom: 1.5rem; }
.hero-title .gradient-text {
  background: linear-gradient(90deg, var(--accent) 0%, #6B8EF7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  color: rgba(255,255,255,0.65);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  max-width: 500px;
  line-height: 1.8;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

.hero-badges { display: flex; align-items: center; gap: 2.5rem; flex-wrap: wrap; }
.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.58);
}
.hero-badge svg { color: var(--accent); flex-shrink: 0; }

/* =============================================
   PHONE MOCKUP
   ============================================= */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Glow ring behind phone */
.hero-visual::before {
  content: '';
  position: absolute;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(67,97,238,0.22) 0%, transparent 70%);
  border-radius: 50%;
  animation: glow-pulse 5s ease-in-out infinite;
}

.phone-mockup {
  width: 258px;
  height: 516px;
  background: #111827;
  border-radius: 40px;
  border: 2px solid rgba(255,255,255,0.1);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 40px 80px rgba(0,0,0,0.6),
    0 0 60px rgba(67,97,238,0.15);
  overflow: hidden;
  position: relative;
  z-index: 1;
  animation: float 5s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}

.phone-notch {
  width: 88px;
  height: 22px;
  background: #070D1A;
  border-radius: 0 0 16px 16px;
  margin: 0 auto;
}

.phone-screen { padding: 0.6rem 0.75rem 0; }

.phone-status {
  display: flex;
  justify-content: space-between;
  font-size: 0.54rem;
  color: rgba(255,255,255,0.38);
  margin-bottom: 0.65rem;
}

.phone-header {
  background: linear-gradient(135deg, #3451D1, #00B894);
  border-radius: 14px;
  padding: 1rem;
  margin-bottom: 0.65rem;
  color: white;
}
.phone-header-label  { font-size: 0.5rem; opacity: 0.7; margin-bottom: 0.18rem; text-transform: uppercase; letter-spacing: 0.05em; }
.phone-header-amount { font-size: 1.15rem; font-weight: 800; margin-bottom: 0.65rem; letter-spacing: -0.02em; }

.phone-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; }
.phone-stat {
  background: rgba(255,255,255,0.14);
  border-radius: 10px;
  padding: 0.45rem 0.55rem;
  backdrop-filter: blur(4px);
}
.phone-stat-label { font-size: 0.42rem; opacity: 0.65; text-transform: uppercase; letter-spacing: 0.04em; }
.phone-stat-value { font-size: 0.65rem; font-weight: 700; margin-top: 1px; }

.phone-section-title {
  font-size: 0.5rem;
  font-weight: 700;
  color: rgba(255,255,255,0.38);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.phone-items { display: flex; flex-direction: column; gap: 0.35rem; }
.phone-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 0.48rem 0.55rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.2s;
}
.phone-item-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.dot-green  { background: #00D4AA; box-shadow: 0 0 6px rgba(0,212,170,0.6); }
.dot-yellow { background: #F59E0B; box-shadow: 0 0 6px rgba(245,158,11,0.5); }
.dot-red    { background: #EF4444; box-shadow: 0 0 6px rgba(239,68,68,0.5); }
.dot-blue   { background: #6B8EF7; box-shadow: 0 0 6px rgba(107,142,247,0.5); }

.phone-item-info { flex: 1; min-width: 0; }
.phone-item-name   { font-size: 0.51rem; color: rgba(255,255,255,0.85); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phone-item-date   { font-size: 0.42rem; color: rgba(255,255,255,0.35); margin-top: 1px; }
.phone-item-amount { font-size: 0.58rem; color: rgba(255,255,255,0.9); font-weight: 700; flex-shrink: 0; }

.phone-nav {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(7,13,26,0.96);
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-around;
  padding: 0.5rem 0 0.7rem;
}
.phone-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 0.38rem;
  color: rgba(255,255,255,0.28);
  font-weight: 500;
}
.phone-nav-item.active {
  color: var(--primary-light);
}
.phone-nav-icon { font-size: 0.88rem; line-height: 1; }

/* =============================================
   STATS SECTION
   ============================================= */
.stats-section {
  background: linear-gradient(135deg, #0A1235 0%, #061A22 100%);
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234361EE' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}
.stat-item {
  padding: 1rem 0;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255,255,255,0.08);
}
.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: white;
  line-height: 1;
  margin-bottom: 0.4rem;
  letter-spacing: -0.03em;
}
.stat-number span { color: var(--accent); }
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.52); font-weight: 500; }

/* =============================================
   FEATURE CARDS
   ============================================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.32s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-blue);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.feature-card:hover {
  border-color: rgba(67,97,238,0.2);
  box-shadow: 0 16px 48px rgba(67,97,238,0.12);
  transform: translateY(-6px);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
  font-size: 1.5rem;
  position: relative;
}

/* Icon color variants */
.icon-blue   { background: linear-gradient(135deg, rgba(67,97,238,0.15), rgba(107,142,247,0.08)); color: #4361EE; border: 1px solid rgba(67,97,238,0.15); }
.icon-green  { background: linear-gradient(135deg, rgba(0,212,170,0.15), rgba(0,184,148,0.08));  color: #00B894; border: 1px solid rgba(0,212,170,0.15); }
.icon-purple { background: linear-gradient(135deg, rgba(139,92,246,0.15), rgba(124,58,237,0.08)); color: #8B5CF6; border: 1px solid rgba(139,92,246,0.15); }
.icon-orange { background: linear-gradient(135deg, rgba(249,115,22,0.15), rgba(234,88,12,0.08));  color: #F97316; border: 1px solid rgba(249,115,22,0.15); }
.icon-teal   { background: linear-gradient(135deg, rgba(20,184,166,0.15), rgba(13,148,136,0.08)); color: #14B8A6; border: 1px solid rgba(20,184,166,0.15); }
.icon-red    { background: linear-gradient(135deg, rgba(239,68,68,0.15), rgba(220,38,38,0.08));   color: #EF4444; border: 1px solid rgba(239,68,68,0.15); }
.icon-yellow { background: linear-gradient(135deg, rgba(245,158,11,0.15), rgba(217,119,6,0.08)); color: #D97706; border: 1px solid rgba(245,158,11,0.15); }
.icon-indigo { background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(79,70,229,0.08));  color: #6366F1; border: 1px solid rgba(99,102,241,0.15); }
.icon-pink   { background: linear-gradient(135deg, rgba(236,72,153,0.15), rgba(219,39,119,0.08)); color: #EC4899; border: 1px solid rgba(236,72,153,0.15); }

.feature-card h3 { color: #0F1629; margin-bottom: 0.55rem; font-size: 1.1rem; }
.feature-card p  { font-size: 0.9rem; line-height: 1.7; }

/* =============================================
   HOW IT WORKS / STEPS
   ============================================= */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}
/* Connecting dashed line */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.66% + 28px);
  right: calc(16.66% + 28px);
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--primary) 0, var(--primary) 8px, transparent 8px, transparent 16px);
  opacity: 0.25;
  pointer-events: none;
}

.step-card { text-align: center; padding: 1.5rem 1.5rem 2rem; }
.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-blue);
  color: white;
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 24px rgba(67,97,238,0.4);
  position: relative;
  z-index: 1;
}
.step-card h3 { color: #0F1629; margin-bottom: 0.6rem; }
.step-card p  { font-size: 0.9rem; }

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.testimonial-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
}
.testimonial-card:hover {
  border-color: rgba(67,97,238,0.2);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
/* Quote icon */
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 5rem;
  line-height: 1;
  color: rgba(67,97,238,0.08);
  font-family: Georgia, serif;
}

.testimonial-stars { color: #F59E0B; font-size: 0.88rem; margin-bottom: 1rem; letter-spacing: 0.05em; }
.testimonial-text  { font-size: 0.92rem; line-height: 1.78; color: #374151; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gradient-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.88rem;
  flex-shrink: 0;
}
.author-name { font-weight: 700; color: #0F1629; font-size: 0.88rem; }
.author-role { font-size: 0.78rem; color: #8895A7; }

/* =============================================
   PRICING
   ============================================= */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  transition: all 0.3s ease;
}
.pricing-card:hover { box-shadow: var(--shadow-lg); }
.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(67,97,238,0.08), var(--shadow-xl);
  background: linear-gradient(to bottom, #FAFBFF, white);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-blue);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.28rem 1.1rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(67,97,238,0.4);
  letter-spacing: 0.03em;
}

.pricing-plan  { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: #8895A7; margin-bottom: 0.75rem; }
.pricing-price { font-size: 3rem; font-weight: 800; color: #0F1629; line-height: 1; margin-bottom: 0.3rem; letter-spacing: -0.03em; }
.pricing-price span { font-size: 1rem; font-weight: 500; color: #8895A7; }
.pricing-desc  { margin-bottom: 2rem; font-size: 0.9rem; }

.pricing-features { margin-bottom: 2.5rem; display: flex; flex-direction: column; gap: 0.8rem; }
.pricing-feature { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.9rem; color: #374151; }
.pricing-feature svg { flex-shrink: 0; margin-top: 2px; color: var(--accent); }
.pricing-feature.disabled { color: #CBD5E1; }
.pricing-feature.disabled svg { color: #CBD5E1; }

.pricing-cta { width: 100%; justify-content: center; }

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  background: linear-gradient(160deg, #060B18 0%, #0A1235 50%, #061A22 100%);
  color: white;
  text-align: center;
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(67,97,238,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 { color: white; margin-bottom: 1rem; position: relative; z-index: 1; }
.cta-section p  { color: rgba(255,255,255,0.62); max-width: 580px; margin: 0 auto 3rem; font-size: 1.05rem; position: relative; z-index: 1; }
.cta-actions    { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* Store buttons */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.8rem;
  color: white;
  transition: all var(--transition);
  backdrop-filter: blur(8px);
}
.store-btn:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.store-btn-icon { font-size: 1.8rem; line-height: 1; }
.store-btn-text small  { display: block; font-size: 0.6rem; opacity: 0.6; text-transform: uppercase; letter-spacing: 0.06em; }
.store-btn-text strong { font-size: 0.97rem; font-weight: 700; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: #040912;
  color: rgba(255,255,255,0.5);
  padding: 5rem 0 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}
.footer-brand .nav-logo { margin-bottom: 1.1rem; }
.footer-brand p { color: rgba(255,255,255,0.38); font-size: 0.88rem; line-height: 1.75; max-width: 260px; }

.footer-heading {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.28);
  margin-bottom: 1.35rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-link  { font-size: 0.87rem; color: rgba(255,255,255,0.48); transition: color var(--transition); }
.footer-link:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
}
.footer-bottom-links { display: flex; gap: 1.5rem; }

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero {
  background: var(--gradient-hero);
  color: white;
  padding: 5.5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
  /* Close subpixel gap at the bottom edge */
  margin-bottom: -2px;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(67,97,238,0.15) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero h1 { color: white; margin-bottom: 1rem; position: relative; z-index: 1; font-size: clamp(1.9rem, 4vw, 2.9rem); }
.page-hero p  { color: rgba(255,255,255,0.62); font-size: 1.05rem; max-width: 600px; position: relative; z-index: 1; }

/* Breadcrumb-style label for inner pages */
.page-hero .section-label {
  background: rgba(0,212,170,0.1);
  color: var(--accent);
  border-color: rgba(0,212,170,0.2);
  margin-bottom: 1.1rem;
  display: inline-flex;
  position: relative;
  z-index: 1;
}

/* =============================================
   PRIVACY POLICY
   ============================================= */
.policy-section { padding: 5rem 0; }
.policy-content { max-width: 780px; margin: 0 auto; }

.policy-date {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  color: #8895A7;
  margin-bottom: 2.5rem;
}

.policy-content h2 {
  color: #0F1629;
  font-size: 1.25rem;
  margin: 2.75rem 0 0.9rem;
  padding-top: 2.75rem;
  border-top: 1px solid var(--border);
}
.policy-content h2:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }
.policy-content p  { margin-bottom: 1rem; color: #374151; }
.policy-content ul { list-style: none; padding: 0; margin-bottom: 1rem; }
.policy-content li {
  color: #374151;
  margin-bottom: 0.55rem;
  line-height: 1.75;
  padding-left: 1.5rem;
  position: relative;
}
.policy-content li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary-light);
  font-size: 0.85rem;
}
.policy-content a { color: var(--primary); text-decoration: underline; text-decoration-color: rgba(67,97,238,0.3); }
.policy-content a:hover { text-decoration-color: var(--primary); }

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.7fr; gap: 4rem; align-items: start; }
.contact-info h3 { color: #0F1629; margin-bottom: 0.6rem; font-size: 1.7rem; }
.contact-info > p { margin-bottom: 2.5rem; }

.contact-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: flex-start; }
.contact-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: rgba(67,97,238,0.08);
  border: 1px solid rgba(67,97,238,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.contact-item-label { font-size: 0.76rem; color: #8895A7; margin-bottom: 0.2rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.contact-item-value { font-weight: 600; color: #0F1629; font-size: 0.95rem; }

.contact-form {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}
.contact-form h4 { color: #0F1629; font-size: 1.25rem; margin-bottom: 0.4rem; font-weight: 700; }
.contact-form > p { margin-bottom: 2rem; font-size: 0.9rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.2rem; }
.form-label { display: block; font-size: 0.82rem; font-weight: 600; color: #374151; margin-bottom: 0.45rem; }
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-family: inherit;
  color: #0F1629;
  background: white;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(67,97,238,0.1);
}
.form-control::placeholder { color: #B0BAC9; }
textarea.form-control { resize: vertical; min-height: 135px; }
select.form-control { appearance: none; cursor: pointer; }

.form-submit { width: 100%; justify-content: center; margin-top: 0.5rem; }

.alert { padding: 0.9rem 1.1rem; border-radius: var(--radius-sm); font-size: 0.9rem; margin-bottom: 1.25rem; }
.alert-success { background: rgba(0,212,170,0.08); color: #065F46; border: 1px solid rgba(0,212,170,0.25); }
.alert-error   { background: rgba(239,68,68,0.08); color: #991B1B; border: 1px solid rgba(239,68,68,0.25); }

/* =============================================
   FEATURES PAGE
   ============================================= */
.feature-category { margin-bottom: 5rem; }
.feature-category-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.feature-category-icon { width: 50px; height: 50px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.feature-category h2 { font-size: 1.6rem; color: #0F1629; margin: 0; }

.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.feature-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  transition: all var(--transition);
}
.feature-item:hover {
  border-color: rgba(67,97,238,0.25);
  box-shadow: 0 8px 24px rgba(67,97,238,0.08);
  transform: translateY(-2px);
}
.feature-item-icon { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.feature-item h4 { color: #0F1629; margin-bottom: 0.25rem; }
.feature-item p  { font-size: 0.84rem; }

/* =============================================
   SECTION BACKGROUNDS
   ============================================= */
.bg-surface { background: var(--surface); }
.bg-white   { background: white; }
.bg-dark    { background: var(--dark); }

/* Sections that follow a hero — z-index seals the -2px overlap gap */
.hero + section,
.hero + .stats-section,
.page-hero + section {
  position: relative;
  z-index: 1;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item::after { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 4rem 0; }
  .hero { padding: 4rem 0 3.5rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { order: -1; }
  .hero-visual::before { width: 260px; height: 260px; }
  .phone-mockup { width: 220px; height: 440px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .hero-badges { gap: 1.5rem; }
}

@media (max-width: 480px) {
  :root { --container-pad: 1rem; }
  .hero-actions { flex-direction: column; }
  .pricing-card { padding: 1.75rem; }
  .contact-form { padding: 1.5rem; }
  .store-btn { width: 100%; justify-content: center; }
}

/* =============================================
   PHONE MOCKUP — real screenshot
   ============================================= */
.phone-mockup .phone-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* =============================================
   SCREENSHOTS SECTION
   ============================================= */
.screenshots-section {
  /* Dark background — blends with hero gradient */
  background: linear-gradient(160deg, #060B18 0%, #0B1525 60%, #071A1A 100%);
  position: relative;
  /* Do NOT use overflow:hidden — it clips phone frames with translateY offset */
  overflow: visible;
  padding-top: 5.5rem;
  /* Extra bottom padding so offset frames and rounded corners breathe */
  padding-bottom: calc(5.5rem + 36px);
}

/* Hairline gradient accent at the top edge */
.screenshots-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(67,97,238,0.5) 30%,
    rgba(0,212,170,0.4) 70%,
    transparent 100%);
  pointer-events: none;
}

/* Ambient glow at the bottom */
.screenshots-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(67,97,238,0.3) 50%,
    transparent 100%);
  pointer-events: none;
}

/* Section heading overrides for dark background */
.screenshots-section .section-title { color: var(--white); }
.screenshots-section .section-desc  { color: rgba(255,255,255,0.58); }
.screenshots-section .section-header { margin-bottom: 3rem; }

.screenshots-strip {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  /* align left edge with the container on large screens */
  padding-top: 0.75rem;
  /* Extra room so translateY(18px) bottom corners are never clipped */
  padding-bottom: calc(2.5rem + 36px);
  padding-left: max(var(--container-pad), calc((100vw - var(--container-max)) / 2 + var(--container-pad)));
  padding-right: max(var(--container-pad), calc((100vw - var(--container-max)) / 2 + var(--container-pad)));
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  align-items: flex-end;
}
.screenshots-strip::-webkit-scrollbar { display: none; }
.screenshots-strip.grabbing { cursor: grabbing; user-select: none; }

.screenshot-frame {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* Alternating heights — visual rhythm */
.screenshot-frame:nth-child(even) .screenshot-phone-frame { transform: translateY(18px); }

.screenshot-phone-frame {
  width: 188px;
  /* Height based on screenshot aspect ratio 1466:3101 */
  height: 398px;
  background: #0F1629;
  border-radius: 32px;
  border: 2px solid rgba(255,255,255,0.10);
  box-shadow:
    0 24px 52px rgba(0,0,0,0.45),
    0 0 0 1px rgba(0,0,0,0.25),
    0 0 28px rgba(67,97,238,0.07);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  flex-shrink: 0;
}
.screenshot-phone-frame:hover {
  transform: translateY(-10px) scale(1.025) !important;
  box-shadow:
    0 40px 64px rgba(0,0,0,0.55),
    0 0 0 1px rgba(67,97,238,0.25),
    0 0 40px rgba(67,97,238,0.18);
}


.screenshot-phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  pointer-events: none;
  /* placeholder colour while image loads */
  background: #141E35;
}

.screenshot-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.48);
  text-align: center;
  letter-spacing: 0.01em;
  margin-bottom: 0.5rem;
}

/* scroll hint */
.screenshots-hint {
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.32);
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

/* =============================================
   STORE BUTTON ICONS (real SVG images)
   ============================================= */
.store-btn-icon-img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex-shrink: 0;
}
/* Apple SVG is black — invert to white for dark button bg */
.store-btn-icon-img.apple-icon {
  filter: brightness(0) invert(1);
}
