﻿/* ============================================================
   GENIE FX ACADEMY â€” COMPONENTS STYLESHEET
   Navbar, Footer, Buttons, Cards, Phone Mockup, Forms
   ============================================================ */

/* ========================
   NAVIGATION
   ======================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(10, 10, 15, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.065);
  box-shadow: 0 4px 28px rgba(0,0,0,0.28);
  transition:
    transform var(--t-base),
    background var(--t-base),
    border-color var(--t-base),
    box-shadow var(--t-base),
    backdrop-filter var(--t-base),
    -webkit-backdrop-filter var(--t-base);
  will-change: transform;
}
.nav.nav--hidden {
  transform: translateY(-100%);
}
.nav.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 40px rgba(0,0,0,0.5);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo img {
  height: 38px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.1);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}
.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--t-fast);
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}
.lang-toggle {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-full);
  padding: 3px;
  cursor: pointer;
}
.lang-btn {
  padding: 4px 12px;
  border-radius: var(--r-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: background var(--t-fast), color var(--t-fast);
  cursor: pointer;
  background: none;
}
.lang-btn.active {
  background: var(--clr-primary);
  color: white;
}

/* Mobile menu */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--sp-2);
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-base), background var(--t-base);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-base);
  flex-direction: column;
  padding: var(--sp-8) var(--sp-6);
  padding-bottom: calc(var(--sp-8) + env(safe-area-inset-bottom, 0px));
  gap: var(--sp-2);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  z-index: 999;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: color var(--t-fast);
}
.nav-mobile a:hover { color: var(--text-primary); }
.nav-mobile .btn-ghost-primary { margin-top: var(--sp-6); text-align: center; }
.nav-mobile .btn-primary { text-align: center; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-right .btn-primary { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .nav {
    transition: none;
    will-change: auto;
  }
}





/* Homepage nav: smooth glass materialisation */
.home-page .nav {
  transition:
    transform               var(--t-base),
    background              0.5s cubic-bezier(0.4, 0, 0.2, 1),
    border-color            0.5s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow              0.5s cubic-bezier(0.4, 0, 0.2, 1),
    backdrop-filter         0.5s cubic-bezier(0.4, 0, 0.2, 1),
    -webkit-backdrop-filter 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================
   BUTTONS
   ======================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  max-width: 100%;
  padding: 14px 28px;
  border-radius: var(--r-md);
  font-size: 0.9375rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background var(--t-base), color var(--t-base), border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base);
  cursor: pointer;
  border: none;
  font-family: inherit;
  line-height: 1;
  text-decoration: none;
}
.btn-primary {
  background: var(--clr-primary);
  color: white;
  box-shadow: 0 4px 20px rgba(1, 129, 250, 0.35);
}
.btn-primary:hover {
  background: var(--clr-primary-dark);
  box-shadow: 0 6px 30px rgba(1, 129, 250, 0.5);
  transform: translateY(-1px);
}
.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(1, 129, 250, 0.3);
}
.btn-secondary {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-card);
}
.btn-secondary:hover {
  background: var(--bg-card);
  border-color: var(--border-primary);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}
.btn-ghost:hover {
  color: var(--text-primary);
  border-color: var(--border-card);
}
.btn-ghost-primary {
  background: transparent;
  color: var(--clr-primary);
  border: 1px solid rgba(1,129,250,0.5);
}
.btn-ghost-primary:hover {
  background: rgba(1,129,250,0.10);
  color: var(--clr-primary);
  border-color: rgba(1,129,250,0.65);
  box-shadow: 0 0 18px rgba(1,129,250,0.30);
  transform: translateY(-2px);
}
.btn-accent {
  background: var(--clr-accent);
  color: #0A1A00;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(192, 240, 0, 0.3);
}
.btn-accent:hover {
  background: #d4ff00;
  box-shadow: 0 6px 30px rgba(192, 240, 0, 0.45);
  transform: translateY(-1px);
}
.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
  border-radius: var(--r-lg);
}
.btn-sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}
.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Shared premium SVG icon language for small UI labels and pills */
.has-ui-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.48em;
}
.ui-icon-svg {
  width: 1.08em;
  height: 1.08em;
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.72);
  opacity: 0.9;
  transition: color var(--t-fast), opacity var(--t-fast), transform var(--t-fast);
}
.has-ui-icon:hover .ui-icon-svg,
.has-ui-icon:focus-visible .ui-icon-svg {
  color: var(--clr-primary);
  opacity: 1;
}
.ui-icon-label {
  min-width: 0;
}
.ui-icon-only {
  line-height: 1;
}
.ui-icon-only .ui-icon-svg {
  width: 1em;
  height: 1em;
}
.features-nav-pills .btn .ui-icon-svg {
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.70);
}
.features-nav-pills .btn:hover .ui-icon-svg,
.features-nav-pills .btn:focus-visible .ui-icon-svg {
  color: var(--clr-primary);
}
.blog-cat-icon .ui-icon-svg {
  width: 15.5px;
  height: 15.5px;
  color: rgba(255, 255, 255, 0.70);
}
.blog-cat-btn:hover .blog-cat-icon .ui-icon-svg {
  color: var(--clr-primary);
}
.blog-cat-btn[aria-selected="true"] .blog-cat-icon .ui-icon-svg {
  color: #fff;
  opacity: 1;
}
.news-bullet-icon .ui-icon-svg,
.about-story-icon .ui-icon-svg,
.contact-community-icon .ui-icon-svg {
  width: 58%;
  height: 58%;
  color: var(--clr-primary);
}
.reg-check .ui-icon-svg,
.reg-valid-indicator .ui-icon-svg {
  width: 1em;
  height: 1em;
  color: var(--clr-accent);
}
.contact-form-status .ui-icon-svg {
  color: var(--clr-accent);
}
.reg-privacy.has-ui-icon {
  justify-content: center;
}
.reg-privacy .ui-icon-svg {
  color: var(--clr-accent);
}
.btn:focus-visible,
.lang-btn:focus-visible,
.nav-links a:focus-visible,
.nav-mobile a:focus-visible {
  outline: 2px solid var(--clr-primary);
  outline-offset: 3px;
}

/* â”€â”€ CTA SEMANTIC CLASS SYSTEM â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   Approved hierarchy mapping â€” use alongside existing .btn modifier classes.
   Visual tokens are intentionally identical to existing .btn-* rules so
   these classes can also be used standalone.
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

/* Level 1 â€” Download App (dominant ecosystem CTA) */
.cta-primary {
  background: var(--clr-primary);
  color: white;
  box-shadow: 0 4px 20px rgba(1, 129, 250, 0.35);
}
.cta-primary:hover {
  background: var(--clr-primary-dark);
  box-shadow: 0 6px 30px rgba(1, 129, 250, 0.5);
  transform: translateY(-1px);
  color: white;
  text-decoration: none;
}
.cta-primary:active { transform: translateY(0); box-shadow: 0 2px 10px rgba(1, 129, 250, 0.3); }

/* Level 2 â€” Join Free (onboarding CTA â€” blue-bordered ghost) */
.cta-secondary {
  background: transparent;
  color: var(--clr-primary);
  border: 1px solid rgba(1, 129, 250, 0.5);
}
.cta-secondary:hover {
  background: rgba(1, 129, 250, 0.10);
  box-shadow: 0 0 18px rgba(1, 129, 250, 0.25);
  transform: translateY(-2px);
  color: var(--clr-primary);
  text-decoration: none;
}
.cta-secondary:active { transform: translateY(0); }

/* Level 4 â€” Explore / Learn More / Read Article / Continue Learning */
.cta-explore {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-card);
}
.cta-explore:hover {
  background: var(--bg-card);
  border-color: var(--border-primary);
  transform: translateY(-1px);
  color: var(--text-primary);
  text-decoration: none;
}
.cta-explore:active { transform: translateY(0); }

/* Level 3 â€” Pricing plan CTAs â€” DO NOT apply generic normalization here.
   Each plan CTA is a psychology anchor and is styled per-plan in pricing2.html. */
.cta-plan {}

/* Level 5 â€” Platform selection (App Store / Google Play) */
.cta-platform {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: var(--text-primary, #fff);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.18s, border-color 0.18s, transform 0.15s;
}
.cta-platform:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
  color: #fff;
  text-decoration: none;
}
.cta-platform:active { transform: translateY(0); }
.cta-platform:focus-visible { outline: 2px solid var(--clr-primary); outline-offset: 2px; }

/* ========================
   CARDS
   ======================== */
.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-card);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  transition: background var(--t-base), border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base);
}
.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}
.card-feature {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border: 1px solid var(--border-card);
}
.card-feature:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow:
    0 0 0 1px rgba(1,129,250,0.4),
    0 20px 60px rgba(1,129,250,0.12),
    0 4px 20px rgba(0,0,0,0.4);
}
.card-featured {
  border-color: rgba(1,129,250,0.3);
  background: linear-gradient(135deg, var(--bg-elevated) 0%, rgba(1,129,250,0.06) 100%);
  box-shadow: 0 0 40px rgba(1,129,250,0.08);
  transform: scale(1.02);
}
.card-featured:hover {
  transform: scale(1.02) translateY(-4px);
}

/* Pricing comparison table â€” Pro column highlight */
.pro-cell {
  color: var(--clr-primary);
  font-weight: 600;
  background: rgba(1,129,250,0.04);
  position: relative;
}
body:not(.pricing-page) thead th:nth-child(3) {
  border-top: 2px solid var(--clr-primary);
  background: rgba(1,129,250,0.06);
}
.card-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-primary-08);
  border: 1px solid var(--border-primary);
  flex-shrink: 0;
}
.card-icon-wrap svg {
  width: 28px;
  height: 28px;
  stroke: var(--clr-primary);
}
.card-icon-wrap.accent {
  background: var(--clr-primary-08);
  border-color: var(--border-primary);
}
.card-icon-wrap.secondary {
  background: var(--clr-primary-08);
  border-color: var(--border-primary);
}
.card-icon-wrap.purple {
  background: var(--clr-primary-08);
  border-color: var(--border-primary);
}

/* Stat card */
.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--sp-8) var(--sp-6);
  background: var(--bg-elevated);
  border: 1px solid var(--border-card);
  border-radius: var(--r-xl);
  gap: var(--sp-2);
}
.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--clr-primary);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Pricing card */
.pricing-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-card);
  border-radius: var(--r-2xl);
  padding: var(--sp-10) var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  position: relative;
  transition: background var(--t-slow), border-color var(--t-slow), box-shadow var(--t-slow), transform var(--t-slow);
}
.pricing-card.featured {
  border-color: var(--clr-primary);
  background: linear-gradient(180deg, rgba(1,129,250,0.08) 0%, var(--bg-elevated) 100%);
  box-shadow: var(--shadow-glow);
}
.pricing-card.featured::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--r-2xl);
  padding: 1px;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-secondary));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--clr-primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--r-full);
  white-space: nowrap;
  letter-spacing: 0.04em;
}
.pricing-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.pricing-price {
  display: flex;
  align-items: flex-end;
  gap: var(--sp-2);
}
.pricing-amount {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}
.pricing-currency {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-secondary);
}
.pricing-period {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.pricing-desc {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}
.pricing-features {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  flex: 1;
}
.pricing-feature-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 0.9375rem;
  color: var(--text-secondary);
}
.pricing-feature-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--clr-primary);
}
.pricing-feature-item.included { color: var(--text-primary); }
.pricing-feature-item.excluded { opacity: 0.4; }
.pricing-feature-item.excluded svg { color: var(--text-muted); }

/* ========================
   PHONE MOCKUP
   ======================== */
.phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone-mockup {
  width: 270px;
  height: 560px;
  background: #0E0E14;
  border-radius: 44px;
  border: 2px solid rgba(1, 129, 250, 0.3);
  box-shadow:
    0 0 0 8px rgba(1, 129, 250, 0.04),
    0 0 60px rgba(1, 129, 250, 0.2),
    0 30px 80px rgba(0, 0, 0, 0.8);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 26px;
  background: #07070A;
  border-radius: 0 0 18px 18px;
  z-index: 10;
}
.phone-screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.phone-home-bar {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: var(--r-full);
}

/* App UI inside phone */
.app-topbar {
  padding: 38px 18px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.app-topbar-title {
  font-size: 16px;
  font-weight: 700;
  color: white;
  letter-spacing: -0.02em;
}
.app-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-secondary));
}
.app-balance-section {
  padding: 8px 18px 14px;
  text-align: center;
}
.app-balance-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.app-balance-value {
  font-size: 32px;
  font-weight: 800;
  color: white;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 6px;
}
.app-balance-change {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  font-weight: 600;
  color: var(--clr-accent);
  background: rgba(192, 240, 0, 0.12);
  padding: 2px 8px;
  border-radius: 20px;
}
.app-chart-area {
  padding: 6px 18px;
  height: 120px;
  position: relative;
}
.app-chart-svg {
  width: 100%;
  height: 100%;
}
.app-mini-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 6px 18px;
}
.app-mini-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 10px 12px;
}
.app-mini-card-label {
  font-size: 9.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.app-mini-card-value {
  font-size: 14px;
  font-weight: 700;
  color: white;
}
.app-mini-card-change {
  font-size: 10px;
  font-weight: 600;
  color: var(--clr-accent);
  margin-top: 2px;
}
.app-mini-card-change.neg { color: #FF5C5C; }
.app-bottom-nav {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px 0 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: #0E0E14;
}
.app-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  opacity: 0.5;
  transition: opacity 0.2s;
}
.app-nav-item.active { opacity: 1; }
.app-nav-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.app-nav-dot {
  width: 20px;
  height: 20px;
  border-radius: 6px;
}
.app-nav-dot-home { background: var(--clr-primary); }
.app-nav-dot-learn { background: rgba(255,255,255,0.2); }
.app-nav-dot-ai { background: rgba(255,255,255,0.2); }
.app-nav-dot-comm { background: rgba(255,255,255,0.2); }
.app-nav-label {
  font-size: 9px;
  font-weight: 600;
  color: white;
}

/* Floating bubbles around phone */
.phone-bubble {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--r-lg);
  padding: var(--sp-3) var(--sp-4);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  backdrop-filter: blur(10px);
}
.phone-bubble-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--clr-primary-08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}
.phone-bubble-text-label {
  font-size: 11px;
  color: var(--text-muted);
}
.phone-bubble-text-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

/* ========================
   STEP CARDS (How it Works)
   ======================== */
.step-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-4);
  padding: var(--sp-8);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  position: relative;
}
.step-number {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--clr-primary-08);
  border: 1px solid var(--border-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--clr-primary);
  flex-shrink: 0;
}
.step-connector {
  position: absolute;
  top: 50%;
  right: -28px;
  transform: translateY(-50%);
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--border-primary), transparent);
  display: flex;
  align-items: center;
}

/* ========================
   TESTIMONIAL CARD
   ======================== */
.testimonial-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-card);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}
.testimonial-stars {
  display: flex;
  gap: 4px;
}
.testimonial-star {
  color: #FFB800;
  font-size: 14px;
}
.testimonial-text {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: white;
  flex-shrink: 0;
}
.testimonial-name {
  font-weight: 600;
  font-size: 0.9375rem;
}
.testimonial-role {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ========================
   CTA BANNER
   ======================== */
.cta-banner {
  position: relative;
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--border-primary);
  border-radius: var(--r-2xl);
  padding: var(--sp-16) var(--sp-12);
  min-height: 280px;
  display: flex;
  align-items: center;
  text-align: left;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 15% 100%, rgba(1,129,250,0.20) 0%, transparent 65%),
    radial-gradient(ellipse 45% 55% at 85% 10%,  rgba(70,100,255,0.14) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 75% 90%,  rgba(1,129,250,0.10) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Left column: text content â€” capped so phone has room */
.cta-banner-content {
  position: relative;
  z-index: 2;
  max-width: 56%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-6);
}

/* Phone mockup â€” absolutely placed inside banner, overflows bottom/right */
.cta-banner-mockup {
  position: absolute;
  right: -28px;
  bottom: -44px;
  width: 420px;
  z-index: 1;
  pointer-events: none;
}
.cta-banner-mockup img {
  width: 100%;
  height: auto;
  display: block;
  filter:
    drop-shadow(-14px 0 44px rgba(1, 129, 250, 0.28))
    drop-shadow(0 -8px 24px rgba(1, 129, 250, 0.14));
}

/* CTA buttons left-aligned */
.cta-banner-content .cta-buttons { justify-content: flex-start; }

/* RTL: phone stays on the RIGHT (same as LTR), content forced to physical LEFT */
[dir="rtl"] .cta-banner         { text-align: right; }
[dir="rtl"] .cta-banner-content {
  align-items: flex-end;   /* right-align text/buttons within the content box */
  margin-right: auto;      /* in RTL flex row, this pushes content to physical LEFT */
}
/* phone mockup: no position override â€” stays at right:-28px bottom:-44px like English */
[dir="rtl"] .cta-banner-content .cta-buttons { justify-content: flex-end !important; }

/* Mobile: hide phone, full-width centered text */
@media (max-width: 768px) {
  .cta-banner         { min-height: auto; justify-content: center; text-align: center; }
  .cta-banner-content { max-width: 100%; align-items: center; }
  .cta-banner-mockup  { display: none; }
  .cta-banner-content .cta-buttons { justify-content: center; }
  [dir="rtl"] .cta-banner-content  { margin-right: 0; align-items: center; }
}

.cta-buttons {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
  justify-content: center;
  max-width: 100%;
}

.home-page .hero-cta,
.home-page .cta-buttons {
  max-width: 100%;
}

[dir="rtl"] .home-page .hero-cta .btn,
[dir="rtl"] .home-page .cta-buttons .btn,
[dir="rtl"] .hero-cta .btn {
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  overflow-wrap: anywhere;
}

/* ========================
   FOOTER
   ======================== */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--sp-16);
  padding-bottom: var(--sp-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--sp-10);
  margin-bottom: var(--sp-12);
}
.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-top: var(--sp-4);
  max-width: 280px;
}
.footer-logo {
  height: 34px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.1);
}
.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: var(--sp-5);
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.footer-col ul li a {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  transition: color var(--t-fast);
}
.footer-col ul li a:hover { color: var(--text-primary); }
.footer-social {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}
.footer-social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--r-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast), transform var(--t-fast);
  color: var(--text-secondary);
}
.footer-social-link:hover {
  border-color: var(--border-primary);
  color: var(--clr-primary);
  background: var(--clr-primary-08);
}
.footer-social-link svg { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
}
.footer-bottom p {
  font-size: 0.875rem;
  color: var(--text-muted);
}
.footer-bottom-links {
  display: flex;
  gap: var(--sp-6);
}
.footer-bottom-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--t-fast);
}
.footer-bottom-links a:hover { color: var(--text-secondary); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cta-banner { padding: var(--sp-10) var(--sp-6); }
}

/* ========================
   FORM
   ======================== */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-card);
  border-radius: var(--r-md);
  color: var(--text-primary);
  font-size: 0.9375rem;
  font-family: inherit;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none;
  -webkit-appearance: none;
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(1, 129, 250, 0.15);
}
.form-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

/* ========================
   PAGE HERO (inner pages)
   ======================== */
.page-hero {
  padding-top: 80px;
  padding-bottom: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(1,129,250,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero > :not(.glow-orb) { position: relative; z-index: 1; }

/* ========================
   FEATURE DETAIL SECTION
   ======================== */
.feature-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}
.feature-detail.reverse { direction: rtl; }
.feature-detail.reverse > * { direction: ltr; }
[dir="rtl"] .feature-detail.reverse { direction: ltr; }
[dir="rtl"] .feature-detail.reverse > * { direction: rtl; }
.feature-detail-content {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}
.feature-benefit-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-top: var(--sp-2);
}
.feature-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}
.feature-benefit-item::before {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--clr-primary-08);
  border: 1px solid var(--border-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230181FA' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px;
}
.feature-visual {
  background: var(--bg-elevated);
  border: 1px solid var(--border-card);
  border-radius: var(--r-2xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.feature-visual-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-8);
}

@media (max-width: 900px) {
  .feature-detail, .feature-detail.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .feature-visual { aspect-ratio: 16/9; }
}

/* ========================
   PRICING TOGGLE
   ======================== */
.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-10);
}
.pricing-toggle-label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--t-fast);
}
.pricing-toggle-label.active { color: var(--text-primary); }
.toggle-switch {
  position: relative;
  width: 52px;
  height: 28px;
  cursor: pointer;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--r-full);
  transition: background var(--t-base);
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--text-muted);
  border-radius: 50%;
  transition: background var(--t-base), transform var(--t-base);
}
.toggle-switch input:checked + .toggle-slider {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
}
.toggle-switch input:checked + .toggle-slider::before {
  transform: translateY(-50%) translateX(24px);
  background: white;
}
.toggle-switch input:focus-visible + .toggle-slider {
  outline: 2px solid var(--clr-primary);
  outline-offset: 3px;
}
.pricing-save-badge {
  background: var(--clr-accent-20);
  color: var(--clr-accent);
  border: 1px solid var(--border-accent);
  border-radius: var(--r-full);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
}

/* ========================
   TRUST / LOGO STRIP
   ======================== */
.trust-strip {
  padding-block: var(--sp-10);
  border-block: 1px solid var(--border-subtle);
}
.trust-strip-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-10);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.trust-strip-inner::-webkit-scrollbar { display: none; }
.trust-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ========================
   FAQ ACCORDION
   ======================== */
.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-5) 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: start;
  cursor: pointer;
  transition: color var(--t-fast);
  background: none;
  border: none;
  font-family: inherit;
}
.faq-question:hover { color: var(--clr-primary); }
.faq-question:focus-visible {
  outline: 2px solid var(--clr-primary);
  outline-offset: 3px;
}
[dir="rtl"] .faq-question,
[dir="rtl"] .faq-answer-inner {
  text-align: right;
}
.faq-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--t-base), border-color var(--t-base), color var(--t-base), transform var(--t-base);
  color: var(--text-secondary);
}
.faq-item.open .faq-icon {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
  color: white;
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow);
}
.faq-answer-inner {
  padding-bottom: var(--sp-5);
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}
.faq-item.open .faq-answer {
  max-height: 300px;
}

/* ========================
   FOOTER POLISH
   ======================== */
.footer {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 72px;
}

/* Footer trust line */
.footer-trust-line {
  text-align: center;
  padding-bottom: var(--sp-8);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Explore All Platforms pill button */
.footer-explore-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-5);
  padding: 8px 16px;
  border: 1px solid var(--border-primary);
  border-radius: var(--r-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--clr-primary);
  background: var(--clr-primary-08);
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
  text-decoration: none;
  white-space: nowrap;
}
.footer-explore-btn:hover {
  background: var(--clr-primary-15);
  border-color: var(--clr-primary);
  transform: translateY(-1px);
}

/* Footer download CTA bar */
.footer-download-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  padding: var(--sp-5) var(--sp-8);
  margin-block: var(--sp-8);
  background: var(--bg-elevated);
  border: 1px solid var(--border-primary);
  border-radius: var(--r-xl);
}
.footer-download-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.footer-download-label {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
}
.footer-download-sub {
  font-size: 0.8125rem;
  color: var(--text-muted);
}
@media (max-width: 640px) {
  .footer-download-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: var(--sp-5);
  }
  .footer-download-bar .btn { width: 100%; justify-content: center; }
}
.footer-social-link {
  transition: color 0.2s ease, transform 0.2s ease;
}
.footer-social-link:hover {
  color: var(--clr-primary);
  transform: translateY(-2px);
}
.footer-col a {
  transition: color 0.2s ease;
}
.footer-col a:hover {
  color: var(--clr-primary);
}
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ============================================================
   GENIE CHART â€” TWO-COLUMN SPLIT SECTION (gc-*)
   ============================================================ */

.gc-section {
  position: relative;
  padding-block: var(--sp-16);
  background: var(--bg-base);
  overflow: hidden;
}

/* Full-section atmosphere glow â€” lives behind everything */
.gc-atmosphere {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 65% 50%, rgba(1,129,250,0.10) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 20% 60%, rgba(0,212,255,0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Two-column grid: copy left â€” device right */
.gc-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: center;
  gap: var(--sp-16);
}

/* â”€â”€ Copy column â”€â”€ */
.gc-copy {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  max-width: 620px;
}

.gc-copy .section-badge {
  width: fit-content;
}

.gc-copy .text-h2 {
  margin: 0;
  font-size: 3.35rem;
  line-height: 1.06;
  letter-spacing: 0;
}

.gc-subtitle {
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.75;
}

/* Benefit list */
.gc-benefits {
  list-style: none;
  margin: var(--sp-1) 0 0;
  padding: var(--sp-5) var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 620px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-xl);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 60px rgba(0, 0, 0, 0.32);
}

.gc-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  padding-block: var(--sp-4);
  color: var(--text-secondary);
}

.gc-benefit-item + .gc-benefit-item {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.gc-benefit-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(1,129,250,0.14);
  border: 1px solid rgba(1,129,250,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gc-benefit-icon svg {
  display: block;
}

.gc-benefit-copy {
  min-width: 0;
}

.gc-benefit-copy .text-h4 {
  margin: 0 0 var(--sp-2);
  color: var(--text-primary);
  font-size: 1.03rem;
  line-height: 1.3;
  letter-spacing: 0;
}

.gc-benefit-copy .text-body {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.65;
}

/* â”€â”€ Device column â”€â”€ */
.gc-device {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Radial glow behind the device â€” fixed px so it spreads wide */
.gc-device-glow {
  position: absolute;
  width: 560px;
  height: 560px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center,
    rgba(1,129,250,0.22) 0%,
    rgba(0,212,255,0.06) 45%,
    transparent 70%);
  filter: blur(64px);
  pointer-events: none;
  z-index: 0;
  animation: glowPulse 6s ease-in-out infinite;
}

.gc-device-img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
  border-radius: 20px;
  border: 1px solid rgba(1,129,250,0.20);
  box-shadow:
    0 0 0 1px rgba(1,129,250,0.08),
    0 8px 32px rgba(1,129,250,0.16),
    0 32px 80px rgba(0,0,0,0.72);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gc-device-img--chart-phone {
  max-width: 380px;
}

.gc-device-img:hover {
  transform: translateY(-6px);
  box-shadow:
    0 0 0 1px rgba(1,129,250,0.14),
    0 14px 42px rgba(1,129,250,0.22),
    0 42px 90px rgba(0,0,0,0.75);
}

/* â”€â”€ RTL: flip columns so copy is on right, device on left â”€â”€ */
[dir="rtl"] .gc-grid {
  direction: rtl;
}

[dir="rtl"] .gc-subtitle {
  margin-inline-start: 0;
}

@media (min-width: 961px) {
  [dir="rtl"] .gc-device {
    margin-left: -60px;
    margin-right: 60px;
  }
}

/* â”€â”€ Responsive â”€â”€ */
@media (max-width: 960px) {
  .gc-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-10);
    text-align: center;
  }

  .gc-copy {
    align-items: center;
    max-width: none;
  }

  .gc-copy .text-h2 {
    font-size: 2.65rem;
  }

  .gc-subtitle {
    max-width: 520px;
    text-align: center;
    font-size: 1.0625rem;
  }

  .gc-benefits {
    align-items: stretch;
    max-width: 560px;
    margin-inline: auto;
    text-align: start;
  }

  .gc-device {
    order: -1; /* device appears above copy on mobile */
  }

  .gc-device-img {
    max-width: 280px;
  }

  .gc-device-img--chart-phone {
    max-width: 340px;
  }

  .gc-device-glow {
    width: 400px;
    height: 400px;
  }

  [dir="rtl"] .gc-benefits {
    text-align: right;
  }
}

@media (max-width: 480px) {
  .gc-section {
    padding-block: var(--sp-12);
  }

  .gc-copy .text-h2 {
    font-size: 2.2rem;
  }

  .gc-benefits {
    padding: var(--sp-4);
  }

  .gc-benefit-icon {
    width: 36px;
    height: 36px;
  }

  .gc-device-img {
    max-width: 240px;
  }

  .gc-device-img--chart-phone {
    max-width: min(310px, 86vw);
  }
}


/* ============================================================
   FEATURES CARD GRID â€” FLAGSHIP + SECONDARY ROW
   ============================================================ */

.features-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}

/* Flagship card */
.card-flagship {
  padding: var(--sp-8) var(--sp-10);
  min-height: 430px;
  overflow: visible;
}

.card-flagship-inner {
  display: flex;
  align-items: center;
  gap: clamp(var(--sp-6), 3vw, var(--sp-10));
  height: 100%;
}

.card-flagship-content {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  flex: 1 1 350px;
  max-width: 460px;
  min-width: 0;
}

.card-flagship-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-primary);
  background: rgba(1, 129, 250, 0.12);
  border: 1px solid rgba(1, 129, 250, 0.25);
  border-radius: 100px;
  padding: 4px 12px;
  width: fit-content;
}

.card-flagship-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--clr-primary);
  text-decoration: none;
  margin-top: var(--sp-2);
  transition: gap 0.2s ease, opacity 0.2s ease;
}
.card-flagship-link:hover {
  gap: 12px;
  opacity: 0.85;
}

.card-flagship-visual {
  position: relative;
  flex: 0 1 clamp(500px, 50vw, 680px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: clamp(500px, 50vw, 680px);
  margin-block: -40px -30px;
  margin-inline-end: -34px;
  overflow: visible;
}

.card-flagship-glow {
  position: absolute;
  width: 108%;
  height: 118%;
  top: 56%;
  left: 50%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(ellipse at center, rgba(1, 129, 250, 0.16) 0%, rgba(1, 129, 250, 0.07) 36%, transparent 70%);
  filter: blur(46px);
  pointer-events: none;
  z-index: 0;
}

/* Product screenshot wrapper — block context keeps width scaling predictable */
.card-flagship-visual picture {
  display: block;
  width: 100%;
  max-width: 680px;
  line-height: 0;
}

.card-flagship-img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  max-width: 680px;
  object-fit: contain;
  object-position: center center;
  filter:
    drop-shadow(0 30px 54px rgba(0, 0, 0, 0.46))
    drop-shadow(0 12px 28px rgba(1, 129, 250, 0.16));
  /* Never mirror in RTL — trading charts always read left-to-right */
  transform: none !important;
  transform-origin: center center;
  direction: ltr;
  user-select: none;
  pointer-events: none;
}

/* Secondary row */
.cards-secondary-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.cards-secondary-row .card-feature {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

/* Responsive */
@media (max-width: 900px) {
  .card-flagship {
    min-height: auto;
    overflow: hidden;
  }
  .card-flagship-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-6);
  }
  .card-flagship-visual {
    width: 100%;
    max-width: 500px;
    flex-basis: auto;
    margin-block: 0 -14px;
    margin-inline-end: 0;
    align-self: center;
  }
  .card-flagship-img {
    max-width: 500px;
    filter:
      drop-shadow(0 22px 38px rgba(0, 0, 0, 0.44))
      drop-shadow(0 8px 18px rgba(1, 129, 250, 0.14));
  }
  .cards-secondary-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .card-flagship {
    padding: var(--sp-6);
  }
  .card-flagship-inner {
    gap: var(--sp-5);
  }
  .card-flagship-visual {
    max-width: min(360px, 100%);
    margin-bottom: -8px;
  }
  .card-flagship-img {
    max-width: min(360px, 100%);
  }
}


/* ============================================================
   STORY / VISION SECTION
   ============================================================ */

.story-section {
  position: relative;
  padding-block: 6rem;
  overflow: hidden;
}

.story-bg-glow {
  position: absolute;
  width: 70%;
  height: 80%;
  top: 10%;
  left: 15%;
  background: radial-gradient(ellipse at center, rgba(1, 129, 250, 0.07) 0%, rgba(0, 212, 255, 0.03) 45%, transparent 70%);
  pointer-events: none;
  animation: glowPulse 8s ease-in-out infinite;
  z-index: 0;
}

.story-headline-block {
  margin-bottom: 3.5rem;
}
.story-headline-block .section-badge {
  margin-inline: auto;
  margin-bottom: var(--sp-4);
}
.story-headline-block .text-h2 {
  margin-bottom: var(--sp-4);
}
.story-subline {
  margin-top: 0;
}

/* Video wrap */
.story-video-wrap {
  position: relative;
  max-width: 800px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

.story-video-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(ellipse at 50% 60%, rgba(1, 129, 250, 0.22) 0%, transparent 65%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}

/* Frame: the cinematic inline video container */
.story-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(1, 129, 250, 0.2);
  box-shadow:
    0 0 0 1px rgba(1, 129, 250, 0.08),
    0 8px 32px rgba(1, 129, 250, 0.12),
    0 40px 100px rgba(0, 0, 0, 0.65);
  background: #000;
  z-index: 1;
}

/* Video fills frame â€” contain preserves full frame, no cropping */
.story-video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Overlay: shown before play, hidden after.
   Genie mascot is the cinematic cover â€” layered under a dark gradient
   so the play button and label remain clearly readable.               */
.story-video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  background:
    linear-gradient(rgba(7,7,10,0.42) 0%, rgba(7,7,10,0.62) 100%),
    url('../images/story-poster.png') center / contain no-repeat,
    var(--bg-base);
  z-index: 2;
  transition: opacity 0.4s ease;
  cursor: pointer;
}
.story-video-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.story-play-btn {
  position: relative;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(1, 129, 250, 0.92);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, background 0.25s ease;
  flex-shrink: 0;
}
.story-play-btn:hover {
  transform: scale(1.1);
  background: var(--clr-primary);
}
.story-play-btn svg {
  margin-inline-start: 4px;
}

.story-play-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(1, 129, 250, 0.45);
  animation: playRingPulse 2.5s ease-in-out infinite;
}

@keyframes playRingPulse {
  0%, 100% { transform: scale(1);    opacity: 0.7; }
  50%       { transform: scale(1.18); opacity: 0.15; }
}

.story-video-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.05em;
  pointer-events: none;
}

/* Story points */
.story-points {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 860px;
  margin-inline: auto;
  padding: var(--sp-8) var(--sp-6);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
}

.story-point {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  flex: 1;
  padding-inline: var(--sp-6);
}
.story-point:first-child { padding-left: 0; }
.story-point:last-child  { padding-right: 0; }

.story-point-divider {
  width: 1px;
  align-self: stretch;
  background: var(--border-subtle);
  flex-shrink: 0;
  margin-block: var(--sp-2);
}

/* Video Modal */
.story-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-6);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.story-modal.open {
  opacity: 1;
  pointer-events: all;
}

.story-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 7, 10, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}

.story-modal-inner {
  position: relative;
  width: 100%;
  max-width: 860px;
  z-index: 1;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.story-modal.open .story-modal-inner {
  transform: translateY(0) scale(1);
}

.story-modal-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: color 0.2s ease, background 0.2s ease;
}
.story-modal-close:hover {
  color: white;
  background: var(--bg-elevated);
}

/* Responsive */
@media (max-width: 768px) {
  .story-section {
    padding-block: 4rem;
  }
  .story-points {
    flex-direction: column;
    gap: var(--sp-5);
    padding: var(--sp-6);
  }
  .story-point {
    padding-inline: 0;
  }
  .story-point-divider {
    width: 100%;
    height: 1px;
    margin-block: 0;
    align-self: auto;
  }
  .story-modal-close {
    top: -12px;
    right: -8px;
  }
}

@media (max-width: 480px) {
  .story-play-btn {
    width: 58px;
    height: 58px;
  }
  .story-headline-block {
    margin-bottom: var(--sp-8);
  }
}

/* ============================================================
   TRACK YOUR GROWTH â€” DASHBOARD STATS SECTION
   ============================================================ */
.tg-section {
  background: var(--bg-base);
  position: relative;
  overflow: hidden;
}

/* Subtle atmospheric glow behind the cards */
.tg-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 60% at 80% 50%, rgba(1,129,250,0.08) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 20% 80%, rgba(70,100,255,0.06) 0%, transparent 65%);
  pointer-events: none;
}

.tg-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Left: text content */
.tg-content {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}

/* Right: 2x2 stats card grid */
.tg-cards {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tg-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  width: 100%;
  max-width: 480px;
}

/* Each card image */
.tg-card {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r-xl);
  transition: transform var(--t-base), filter var(--t-base);
  filter:
    drop-shadow(0 8px 20px rgba(0, 0, 0, 0.5))
    drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.tg-card:hover {
  transform: translateY(-5px) scale(1.02);
  filter:
    drop-shadow(0 16px 36px rgba(1, 129, 250, 0.25))
    drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

/* Stagger even-column cards down for a floating mosaic feel */
.tg-cards-grid .tg-card:nth-child(even) {
  margin-top: var(--sp-6);
}

/* Each card gets a subtle reveal delay */
.tg-card:nth-child(1) { animation-delay: 0s; }
.tg-card:nth-child(2) { animation-delay: 0.1s; }
.tg-card:nth-child(3) { animation-delay: 0.2s; }
.tg-card:nth-child(4) { animation-delay: 0.3s; }

/* RTL: grid and text direction stay consistent */
[dir="rtl"] .tg-layout   { direction: rtl; }
[dir="rtl"] .tg-content  { direction: rtl; align-items: flex-start; text-align: right; }
[dir="rtl"] .tg-content .feature-benefit-list { align-items: flex-start; }
[dir="rtl"] .tg-content .feature-benefit-item { text-align: right; }

/* Mobile */
@media (max-width: 900px) {
  .tg-layout {
    grid-template-columns: 1fr;
    gap: var(--sp-10);
  }
  .tg-cards { order: -1; }          /* cards on top, text below on mobile */
  .tg-cards-grid { max-width: 360px; margin-inline: auto; }
  .tg-cards-grid .tg-card:nth-child(even) { margin-top: var(--sp-4); }
  [dir="rtl"] .tg-content { align-items: center; }
}
@media (max-width: 480px) {
  .tg-cards-grid { max-width: 300px; gap: var(--sp-3); }
}

/* ============================================================
   DOWNLOAD MODAL / BOTTOM SHEET
   Desktop: centered glass dialog  |  Mobile â‰¤640px: bottom sheet
   ============================================================ */
.download-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
.download-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* Backdrop */
.dm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  cursor: pointer;
}

/* Glass panel */
.dm-sheet {
  position: relative;
  z-index: 1;
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2.5rem 2rem 2rem;
  width: min(420px, calc(100vw - 2rem));
  text-align: center;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255,255,255,0.04);
  transform: translateY(16px) scale(0.97);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1), opacity 0.22s ease;
}
.download-modal.is-open .dm-sheet {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Close button */
.dm-close {
  position: absolute;
  top: 0.875rem;
  inset-inline-end: 0.875rem;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: 50%;
  color: var(--text-secondary, #9ca3af);
  cursor: pointer;
  transition: background var(--t-base, 0.2s), color var(--t-base, 0.2s);
}
.dm-close:hover { background: rgba(255,255,255,0.16); color: #fff; }
.dm-close:focus-visible { outline: 2px solid var(--clr-primary, #3b82f6); outline-offset: 2px; }

/* Content */
.dm-logo { margin-bottom: 1.25rem; }

.dm-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary, #fff);
  margin: 0 0 0.4rem;
  letter-spacing: -0.01em;
}

.dm-sub {
  font-size: 0.875rem;
  color: var(--text-secondary, #9ca3af);
  margin: 0 0 1.75rem;
  line-height: 1.5;
}

/* Platform buttons */
.dm-platforms {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.dm-platform-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex: 1;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: var(--text-primary, #fff);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.18s, border-color 0.18s, transform 0.15s;
  min-width: 120px;
}
.dm-platform-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
  color: #fff;
  text-decoration: none;
}
.dm-platform-btn:active { transform: translateY(0); }
.dm-platform-btn:focus-visible {
  outline: 2px solid var(--clr-primary, #3b82f6);
  outline-offset: 2px;
}

/* Prevent body scroll when modal is open */
body.dm-open { overflow: hidden; }

/* â”€â”€ Mobile: bottom sheet â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 640px) {
  .download-modal { align-items: flex-end; }

  .dm-sheet {
    width: 100%;
    border-radius: 20px 20px 0 0;
    padding: 2rem 1.5rem 2.5rem;
    transform: translateY(100%);
    opacity: 1;
  }
  .download-modal.is-open .dm-sheet { transform: translateY(0); }

  .dm-platforms { flex-direction: column; gap: 0.625rem; }
  .dm-platform-btn { min-width: unset; }
}
