/* ── DESIGN TOKENS ── */
:root {
  --primary: #1B2A4A;
  --accent: #0D9488;
  --highlight: #5EEAD4;
  --bg: #F9FAFB;
  --bg-alt: #F0FDF9;
  --fg: #1B2A4A;
  --fg-muted: #374151;
  --white: #FFFFFF;
  --shadow: rgba(27, 42, 74, 0.08);
  --shadow-deep: rgba(27, 42, 74, 0.16);
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── WCAG AA FOCUS ── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 3px;
}
:focus:not(:focus-visible) { outline: none; }

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2.5rem;
  background: rgba(249, 250, 251, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(13, 148, 136, 0.12);
}

.nav-brand {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 8px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.2s ease;
}
.nav-cta:hover { background: #0b7d70; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 7rem 5rem 5rem;
  background: var(--bg);
}

.hero::before {
  content: '';
  position: absolute;
  top: -15%;
  right: -5%;
  width: 55%;
  height: 115%;
  background: radial-gradient(ellipse at 80% 50%, rgba(13, 148, 136, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero { position: relative; overflow: hidden; }
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 40%;
  background: linear-gradient(to top, rgba(249, 250, 251, 0.9) 0%, transparent 100%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; }

.hero-headline {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 48ch;
  margin-bottom: 2.5rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.hero-cta-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.85rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.2s;
  min-width: 180px;
  text-align: center;
}
.hero-cta-primary:hover { background: #0b7d70; }

.hero-cta-secondary {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.85rem 0.25rem;
  border-bottom: 1px solid var(--accent);
  border-radius: 0;
  transition: opacity 0.2s;
}
.hero-cta-secondary:hover { opacity: 0.75; }

/* ── CARD STACK ── */
.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-stack {
  position: relative;
  width: 300px;
  height: 400px;
}

.swipe-card {
  position: absolute;
  width: 280px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 8px 40px var(--shadow);
}

.swipe-card-back {
  top: 12px; left: 12px;
  transform: rotate(-4deg) scale(0.96);
  background: #EDF4F4;
  opacity: 0.7;
}

.swipe-card-front {
  top: 0; left: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(13, 148, 136, 0.12);
}

.card-inner { padding: 1.5rem; flex: 1; }

.card-photo {
  position: relative;
  height: 160px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #1B2A4A 0%, #2d3f66 60%, #3a5280 100%);
}

.cp-teal-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 80%, rgba(13, 148, 136, 0.35) 0%, transparent 65%);
}

.cp-illustration { width: 100%; height: 100%; display: block; }

.card-info { padding: 0 0.25rem; }

.card-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.25rem;
}

.card-type {
  font-size: 0.78rem;
  color: var(--fg-muted);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.card-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; }

.ctag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(13, 148, 136, 0.12);
  color: #0D9488;
}
.ctag-alt { background: rgba(27, 42, 74, 0.1); color: #1B2A4A; }

.card-pricing {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1B2A4A;
  margin: 0.25rem 0;
}
.card-pricing-unit { font-size: 0.75rem; font-weight: 400; color: #6B7280; margin-left: 3px; }

.card-actions {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(13, 148, 136, 0.1);
  justify-content: center;
}

.ca-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ca-pass {
  background: #EDF4F4;
  color: var(--fg-muted);
  border-color: rgba(13, 148, 136, 0.2);
}
.ca-pass:hover { background: #e0efef; border-color: rgba(13, 148, 136, 0.4); }

.ca-love {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.ca-love:hover { background: #0b7d70; border-color: #0b7d70; }

/* Card silhouette (back card) */
.card-silhouette { padding: 1.5rem; height: 100%; display: flex; flex-direction: column; gap: 1rem; opacity: 0.5; }
.cs-header { display: flex; gap: 0.75rem; align-items: center; }
.cs-photo-placeholder { width: 40px; height: 40px; border-radius: 8px; background: rgba(13,148,136,0.15); flex-shrink: 0; }
.cs-meta { flex: 1; display: flex; flex-direction: column; gap: 0.4rem; }
.cs-name-shimmer { height: 10px; width: 80px; background: rgba(13,148,136,0.25); border-radius: 4px; }
.cs-type-shimmer { height: 7px; width: 55px; background: rgba(13,148,136,0.15); border-radius: 4px; }
.cs-body { display: flex; flex-direction: column; gap: 0.5rem; }
.cs-line { height: 7px; width: 100%; background: rgba(13,148,136,0.12); border-radius: 3px; }
.cs-line-short { width: 70%; }
.cs-tags { display: flex; gap: 0.4rem; margin-top: 0.25rem; }
.cs-tag { height: 18px; width: 55px; background: rgba(13,148,136,0.1); border-radius: 999px; }
.cs-tag-alt { background: rgba(27,42,74,0.08); }

/* ── 3-STEP SECTION ── */
.steps {
  padding: 5rem 5rem;
  background: var(--white);
  border-top: 1px solid rgba(13, 148, 136, 0.1);
}

.steps-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
  max-width: 900px;
  margin: 0 auto;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}

.step-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: rgba(13, 148, 136, 0.1);
  border: 1px solid rgba(13, 148, 136, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.step-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1.3;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.6;
  max-width: 28ch;
}

/* ── FOOTER ── */
.footer {
  padding: 2rem 5rem;
  background: var(--primary);
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-link {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--white); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 6rem 2rem 4rem;
    text-align: center;
  }
  .hero-content { order: 2; }
  .hero-visual { order: 1; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta-primary { width: 100%; }
  .steps { padding: 3.5rem 2rem; }
  .steps-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer { padding: 2rem; flex-direction: column; align-items: flex-start; gap: 0.75rem; }
}

@media (max-width: 600px) {
  .nav { padding: 1rem 1.25rem; }
  .nav-brand { font-size: 0.95rem; }
}