/* ============================================================
   MatchFyn — Design System & Global Styles
   ============================================================ */

/* ---------- Custom Properties ---------- */
:root {
  /* Brand Colors */
  --navy:        #0B1120;
  --navy-light:  #131B2E;
  --navy-mid:    #1A2440;
  --purple:      #7C5CFC;
  --purple-dark: #5B3FD6;
  --purple-glow: rgba(124, 92, 252, .25);
  --teal:        #2DD4BF;
  --coral:       #F97066;
  --amber:       #FBBF24;
  --sky:         #38BDF8;

  /* Neutrals */
  --white:       #FFFFFF;
  --gray-50:     #F8FAFC;
  --gray-100:    #F1F5F9;
  --gray-200:    #E2E8F0;
  --gray-300:    #CBD5E1;
  --gray-400:    #94A3B8;
  --gray-500:    #64748B;
  --gray-600:    #475569;
  --gray-700:    #334155;
  --gray-800:    #1E293B;

  /* Gradients */
  --grad-brand:  linear-gradient(135deg, #7C5CFC 0%, #2DD4BF 100%);
  --grad-hero:   linear-gradient(160deg, #0B1120 0%, #1A2440 40%, #0B1120 100%);
  --grad-card:   linear-gradient(145deg, rgba(26,36,64,.85) 0%, rgba(19,27,46,.95) 100%);
  --grad-purple: linear-gradient(135deg, #7C5CFC 0%, #A78BFA 100%);
  --grad-glow:   radial-gradient(circle at 50% 0%, rgba(124,92,252,.12) 0%, transparent 60%);

  /* Shadows */
  --shadow-sm:   0 2px 8px rgba(0,0,0,.12);
  --shadow-md:   0 8px 32px rgba(0,0,0,.18);
  --shadow-lg:   0 16px 48px rgba(0,0,0,.22);
  --shadow-glow: 0 0 40px rgba(124,92,252,.15);
  --shadow-card: 0 4px 24px rgba(0,0,0,.2);

  /* Typography */
  --font-sans:   'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display:'Outfit', var(--font-sans);

  /* Spacing Scale */
  --space-xs:  .25rem;
  --space-sm:  .5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Radius */
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --radius-full:9999px;

  /* Transitions */
  --ease-out:   cubic-bezier(.22, 1, .36, 1);
  --ease-spring:cubic-bezier(.34, 1.56, .64, 1);
}

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

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

body {
  font-family: var(--font-sans);
  background: var(--navy);
  color: var(--gray-200);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section-pad {
  padding: var(--space-4xl) 0;
}

.text-gradient {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3rem);   font-weight: 800; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 700; }
h4 { font-size: 1.125rem; font-weight: 700; }

p { color: var(--gray-400); }

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-header p {
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 6px 16px;
  background: rgba(124, 92, 252, .1);
  border: 1px solid rgba(124, 92, 252, .2);
  border-radius: var(--radius-full);
  color: var(--purple);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: .875rem 1.75rem;
  border: none;
  border-radius: var(--radius-md);
  font-size: .9375rem;
  font-weight: 600;
  transition: all .3s var(--ease-out);
  text-decoration: none;
}

.btn-primary {
  background: var(--grad-brand);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(124, 92, 252, .3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124, 92, 252, .4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--gray-600);
}

.btn-outline:hover {
  border-color: var(--purple);
  color: var(--purple);
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding: .9rem 1.75rem;
  background: var(--white);
  color: var(--navy);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: .9375rem;
  transition: all .3s var(--ease-out);
  border: none;
  box-shadow: var(--shadow-sm);
}

.btn-store:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-store svg {
  width: 22px;
  height: 22px;
}

.btn-store .btn-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.btn-store .btn-label small {
  font-size: .65rem;
  font-weight: 500;
  opacity: .65;
  letter-spacing: .03em;
}

.btn-store .btn-label span {
  font-size: 1rem;
}

.btn-store-dark {
  background: var(--navy-light);
  color: var(--white);
  border: 1px solid var(--gray-700);
}

.btn-store-dark:hover {
  background: var(--navy-mid);
  border-color: var(--purple);
}

/* ---------- Navigation ---------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: all .35s var(--ease-out);
}

.site-nav.scrolled {
  background: rgba(11, 17, 32, .92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.04);
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
}

.nav-brand img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
}

.nav-brand span {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.03em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-menu a {
  color: var(--gray-400);
  font-size: .9rem;
  font-weight: 500;
  transition: color .25s ease;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--grad-brand);
  border-radius: 1px;
  transition: width .3s var(--ease-out);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--white);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-cta {
  padding: .6rem 1.25rem;
  font-size: .85rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .3s ease;
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 5rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124,92,252,.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(45,212,191,.06) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero-content {
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1rem;
  background: rgba(124,92,252,.08);
  border: 1px solid rgba(124,92,252,.15);
  border-radius: var(--radius-full);
  color: var(--purple);
  font-size: .8125rem;
  font-weight: 600;
  margin-bottom: var(--space-xl);
  animation: fadeInUp .6s var(--ease-out) both;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.5); }
}

.hero h1 {
  margin-bottom: var(--space-lg);
  animation: fadeInUp .6s var(--ease-out) .1s both;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--gray-400);
  margin-bottom: var(--space-2xl);
  max-width: 480px;
  line-height: 1.7;
  animation: fadeInUp .6s var(--ease-out) .2s both;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  animation: fadeInUp .6s var(--ease-out) .3s both;
}

.hero-stats {
  display: flex;
  gap: var(--space-2xl);
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255,255,255,.06);
  animation: fadeInUp .6s var(--ease-out) .4s both;
}

.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
}

.hero-stat span {
  font-size: .8125rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn .8s var(--ease-out) .3s both;
}

.hero-phone {
  position: relative;
  z-index: 2;
}

.hero-phone .phone-frame {
  width: 280px;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 80px rgba(124,92,252,.08);
  border: 2px solid rgba(255,255,255,.08);
}

.hero-phone .phone-frame img {
  width: 100%;
  display: block;
}

.hero-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(124,92,252,.12) 0%, transparent 60%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  animation: breathe 6s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: .5; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: .8; }
}

/* Floating Feature Cards around phone */
.float-card {
  position: absolute;
  background: var(--grad-card);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-md);
  padding: .75rem 1rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  box-shadow: var(--shadow-card);
  z-index: 3;
  animation: floatCard 5s ease-in-out infinite;
  white-space: nowrap;
}

.float-card .fc-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.float-card .fc-text strong {
  display: block;
  font-size: .8125rem;
  font-weight: 700;
  color: var(--white);
}

.float-card .fc-text span {
  font-size: .7rem;
  color: var(--gray-400);
}

.float-card-1 {
  top: 15%;
  left: -8%;
  animation-delay: 0s;
}

.float-card-1 .fc-icon {
  background: rgba(124,92,252,.2);
}

.float-card-2 {
  bottom: 25%;
  right: -5%;
  animation-delay: 1.5s;
}

.float-card-2 .fc-icon {
  background: rgba(45,212,191,.2);
}

.float-card-3 {
  top: 55%;
  left: -12%;
  animation-delay: 3s;
}

.float-card-3 .fc-icon {
  background: rgba(249,112,102,.2);
}

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

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ---------- Features Grid ---------- */
.features-section {
  background: var(--grad-hero);
  position: relative;
}

.features-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-glow);
  pointer-events: none;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  position: relative;
}

.feature-card {
  background: var(--grad-card);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  transition: all .4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity .3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124,92,252,.15);
  box-shadow: var(--shadow-glow);
}

.feature-card:hover::before {
  opacity: 1;
}

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

.fi-purple  { background: rgba(124,92,252,.15); }
.fi-teal    { background: rgba(45,212,191,.15); }
.fi-coral   { background: rgba(249,112,102,.15); }
.fi-amber   { background: rgba(251,191,36,.15); }
.fi-sky     { background: rgba(56,189,248,.15); }

.feature-card h3 {
  margin-bottom: var(--space-sm);
}

.feature-card p {
  font-size: .9375rem;
  line-height: 1.65;
}

/* ---------- App Screenshots ---------- */
.screenshots-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.screenshots-track {
  display: flex;
  gap: var(--space-xl);
  padding: var(--space-xl) 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
  scroll-padding: 0 var(--space-xl);
}

.screenshots-track::-webkit-scrollbar {
  display: none;
}

.screenshot-item {
  flex: 0 0 auto;
  width: 260px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255,255,255,.06);
  scroll-snap-align: center;
  transition: transform .4s var(--ease-out);
}

.screenshot-item:hover {
  transform: scale(1.03);
}

.screenshot-item img {
  width: 100%;
  display: block;
}

/* ---------- How It Works ---------- */
.how-section {
  background: var(--navy-light);
  position: relative;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  counter-reset: step;
}

.how-step {
  text-align: center;
  position: relative;
}

.how-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: .3;
  margin-bottom: var(--space-md);
}

.how-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-lg);
  background: rgba(124,92,252,.1);
  border: 1px solid rgba(124,92,252,.15);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.how-step h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.1rem;
}

.how-step p {
  font-size: .875rem;
}

/* connector lines */
.how-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 5.5rem;
  right: -1.25rem;
  width: 2.5rem;
  height: 2px;
  background: var(--grad-brand);
  opacity: .2;
}

/* ---------- Testimonials / Social Proof ---------- */
.social-section {
  background: var(--navy);
}

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

.social-card {
  background: var(--grad-card);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: all .4s var(--ease-out);
}

.social-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124,92,252,.12);
}

.social-stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-md);
  color: var(--amber);
  font-size: .875rem;
}

.social-card blockquote {
  font-size: .9375rem;
  color: var(--gray-300);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  font-style: normal;
}

.social-author {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.social-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .8125rem;
  color: var(--white);
}

.social-author-info strong {
  display: block;
  font-size: .875rem;
  color: var(--white);
}

.social-author-info span {
  font-size: .75rem;
  color: var(--gray-500);
}

/* ---------- CTA Banner ---------- */
.cta-section {
  padding: var(--space-4xl) 0;
}

.cta-card {
  background: var(--grad-brand);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl) var(--space-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,.08) 0%, transparent 60%);
  pointer-events: none;
}

.cta-card h2 {
  margin-bottom: var(--space-md);
  position: relative;
}

.cta-card p {
  color: rgba(255,255,255,.8);
  font-size: 1.125rem;
  margin-bottom: var(--space-2xl);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.cta-buttons .btn-store {
  background: var(--white);
  color: var(--navy);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-light);
  border-top: 1px solid rgba(255,255,255,.04);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  padding: var(--space-3xl) 0;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand-name {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: var(--space-md);
}

.footer-brand-name img {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
}

.footer-brand-name span {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
}

.footer-brand p {
  font-size: .875rem;
  line-height: 1.7;
  color: var(--gray-500);
}

.footer-col h4 {
  font-size: .8125rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray-400);
  margin-bottom: var(--space-lg);
}

.footer-col a {
  display: block;
  font-size: .9rem;
  color: var(--gray-500);
  padding: .35rem 0;
  transition: color .25s ease;
}

.footer-col a:hover {
  color: var(--purple);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.04);
  padding: var(--space-lg) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-bottom p {
  font-size: .8125rem;
  color: var(--gray-600);
}

.footer-socials {
  display: flex;
  gap: var(--space-sm);
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  transition: all .3s ease;
}

.footer-socials a:hover {
  background: var(--purple);
  color: var(--white);
  transform: translateY(-2px);
}

/* ---------- Page Header (Subpages) ---------- */
.page-header {
  padding: 10rem 0 4rem;
  background: var(--grad-hero);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-glow);
  pointer-events: none;
}

.page-header h1 {
  position: relative;
  margin-bottom: var(--space-md);
}

.page-header p {
  position: relative;
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- Contact / Support Page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
}

.contact-card {
  background: var(--grad-card);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  transition: all .3s var(--ease-out);
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124,92,252,.12);
}

.contact-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-lg);
  background: rgba(124,92,252,.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.contact-card h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.1rem;
}

.contact-card p,
.contact-card a {
  font-size: .9375rem;
  color: var(--gray-400);
}

.contact-card a:hover {
  color: var(--purple);
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  padding: 1.25rem 0;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--white);
  text-align: left;
  cursor: pointer;
  transition: color .25s ease;
}

.faq-question:hover {
  color: var(--purple);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--gray-500);
  transition: transform .3s var(--ease-out);
  flex-shrink: 0;
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
  color: var(--purple);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease-out), padding .35s var(--ease-out);
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding-bottom: 1.25rem;
}

.faq-answer p {
  font-size: .9375rem;
  line-height: 1.7;
}

/* ---------- Legal Page ---------- */
.legal-tabs {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: var(--space-2xl);
}

.legal-tab {
  padding: .7rem 1.25rem;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-full);
  color: var(--gray-400);
  font-size: .875rem;
  font-weight: 600;
  transition: all .3s ease;
}

.legal-tab:hover {
  color: var(--white);
  border-color: rgba(255,255,255,.12);
}

.legal-tab.active {
  background: var(--purple);
  border-color: var(--purple);
  color: var(--white);
}

.legal-body {
  max-width: 800px;
  margin: 0 auto;
  background: var(--grad-card);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
}

.legal-section {
  display: none;
}

.legal-section.active {
  display: block;
}

.legal-section h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-lg);
}

.legal-section h4 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
  color: var(--gray-200);
}

.legal-section p {
  font-size: .9375rem;
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.legal-section ul {
  padding-left: 1.5rem;
  margin-bottom: var(--space-md);
  list-style: disc;
}

.legal-section li {
  font-size: .9375rem;
  color: var(--gray-400);
  margin-bottom: var(--space-xs);
  line-height: 1.6;
}

.legal-section a {
  color: var(--purple);
  transition: opacity .2s;
}

.legal-section a:hover {
  opacity: .8;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-content { max-width: 100%; }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .how-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2xl);
  }

  .how-step:not(:last-child)::after {
    display: none;
  }

  .social-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .float-card { display: none; }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--navy-light);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    transition: right .35s var(--ease-out);
    border-left: 1px solid rgba(255,255,255,.05);
    z-index: 200;
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-menu a {
    font-size: 1.125rem;
  }

  .nav-toggle {
    display: flex;
    z-index: 201;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .how-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .hero-phone .phone-frame {
    width: 240px;
  }
}

@media (max-width: 480px) {
  :root {
    --space-4xl: 4rem;
  }

  .hero {
    padding: 6rem 0 3rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--space-md);
    align-items: center;
  }

  .cta-card {
    padding: var(--space-2xl) var(--space-lg);
  }

  .hero-phone .phone-frame {
    width: 220px;
  }
}

/* ---------- Mobile Nav Overlay ---------- */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 199;
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease;
}

.nav-overlay.open {
  opacity: 1;
  visibility: visible;
}
