/* ============================================================
   VELOMAIL LANDING PAGE
   iOS Human Interface Guidelines — aligned to extension design system
   Brand: --sky-surge #5db7de, --black #07020d, --bg-page #f2f2f2
============================================================ */

:root {
  /* Core palette — exact match to src/popup/style.css */
  --black:        #07020d;
  --sky-surge:    #5db7de;
  --sky-dark:     #3a9bc4;
  --sky-light:    #e8f6fc;
  --soft-linen:   #f1e9db;
  --khaki-beige:  #a39b8b;
  --dim-grey:     #716a5c;
  --bg:           #f2f2f2;   /* matches extension --bg-page */
  --white:        #ffffff;
  --border:       rgba(0, 0, 0, 0.08);

  /* iOS-style shadow system — subtle, not dramatic */
  --shadow-xs:   0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm:   0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-md:   0 4px 8px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-lg:   0 4px 16px rgba(0, 0, 0, 0.10), 0 2px 4px rgba(0, 0, 0, 0.06);

  /* Border radius — iOS card system */
  --radius-sm:   8px;
  --radius-md:   10px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-card: 20px;       /* matches extension --radius-card */
  --radius-pill: 100px;

  /* 8pt spacing grid */
  --spacing-1: 4px;
  --spacing-2: 8px;
  --spacing-3: 12px;
  --spacing-4: 16px;
  --spacing-5: 20px;
  --spacing-6: 24px;

  /* iOS spring easing */
  --ease-ios:   cubic-bezier(0.4, 0.0, 0.2, 1);
  --ease-spring: cubic-bezier(0.32, 0.72, 0, 1);

  /* Typography */
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Segoe UI', Roboto, sans-serif;

  /* Glass tokens (match extension) */
  --glass-bg-light: rgba(255, 255, 255, 0.72);
  --glass-border-light: rgba(0, 0, 0, 0.06);
  --glass-blur: blur(20px) saturate(180%);
  --glass-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: linear-gradient(180deg, #f5f5f7 0%, #e8e8ed 100%);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ============================================================
   TYPOGRAPHY — SF Pro feel
============================================================ */

h1, h2, h3 {
  letter-spacing: -0.5px;
  line-height: 1.15;
  font-weight: 700;
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sky-surge);
  margin-bottom: 12px;
  text-align: center;
}

.section-headline {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  color: var(--black);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  text-align: center;
}

.section-sub {
  font-size: 17px;
  color: var(--dim-grey);
  max-width: 560px;
  line-height: 1.6;
  margin-bottom: 48px;
  letter-spacing: -0.1px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   LAYOUT
============================================================ */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 72px 0; }

/* ============================================================
   BUTTONS — iOS spring physics
============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s var(--ease-ios);
  white-space: nowrap;
  letter-spacing: -0.2px;
}

.btn-primary {
  background: var(--sky-surge);
  color: #fff;
}
.btn-primary:hover {
  background: var(--sky-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(93, 183, 222, 0.3);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--black);
  border: 0.5px solid rgba(0, 0, 0, 0.12);
}
.btn-ghost:hover {
  background: var(--white);
  border-color: rgba(0, 0, 0, 0.16);
}

.btn-outline {
  background: transparent;
  color: var(--sky-surge);
  border: 0.5px solid var(--sky-surge);
}
.btn-outline:hover { background: var(--sky-light); }

.btn-sm  { font-size: 14px; padding: 9px 18px; }
.btn-lg  { font-size: 16px; padding: 14px 26px; }
.btn-full { width: 100%; justify-content: center; padding: 14px 24px; font-size: 15px; }

/* ============================================================
   NAV — iOS thin separator
============================================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass-bg-light);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 0.5px solid var(--glass-border-light);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  flex-shrink: 0;
  letter-spacing: -0.3px;
}

.nav-logo img { border-radius: var(--radius-sm); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
  margin-right: auto;
}

.nav-links a {
  text-decoration: none;
  font-size: 14px;
  color: var(--dim-grey);
  font-weight: 500;
  letter-spacing: -0.1px;
  transition: color 0.15s var(--ease-ios);
}
.nav-links a:hover,
.nav-links a.active { color: var(--black); }

/* ============================================================
   HERO — two-column: copy left, phone right
============================================================ */

.hero {
  padding: 80px 0 88px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 72px;
}

/* Left column */
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--sky-light);
  color: var(--sky-dark);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
  border: 0.5px solid rgba(93, 183, 222, 0.25);
  letter-spacing: -0.1px;
}

.badge-star {
  color: #f59e0b;
  font-weight: 700;
  margin-right: 2px;
}

.hero-headline {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  color: var(--black);
  margin-bottom: 18px;
  letter-spacing: -2px;
  line-height: 1.08;
}

.hero-sub {
  font-size: 17px;
  color: var(--dim-grey);
  max-width: 460px;
  margin-bottom: 32px;
  line-height: 1.6;
  letter-spacing: -0.1px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.hero-note {
  font-size: 12px;
  color: var(--khaki-beige);
  letter-spacing: -0.1px;
}

/* Right column */
.hero-phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* Check pills below phone */
.phone-checks {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.phone-check {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f0fdf4;
  color: #15803d;
  border: 0.5px solid rgba(52, 199, 89, 0.25);
  border-radius: var(--radius-pill);
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.1px;
}

/* Phone mockup — matches onboarding (375:812 aspect) */
.phone-frame {
  width: 230px;
  height: 500px;
  background: #1a1a1c;
  border-radius: 48px;
  padding: 10px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,0,0,0.05);
  position: relative;
}

.phone-dark-pill {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 500;
  color: #fff;
  background: rgba(0,0,0,0.6);
  border-radius: 12px;
  border: 0.5px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(12px);
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: 40px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 16px;
  background: #1a1a1c;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}

.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 12px 5px;
  min-height: 27px;
  font-size: 9px;
  font-weight: 600;
  color: #1a1a1a;
  letter-spacing: -0.2px;
  flex-shrink: 0;
}

.phone-status-icons {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #1a1a1a;
}

.phone-status-icons svg {
  display: block;
  width: 10px;
  height: 7px;
}

.phone-status-icons svg:last-child {
  width: 14px;
}

.phone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 32px;
  min-height: 32px;
  padding: 0 10px 8px;
  font-size: 10px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  flex-shrink: 0;
}

.phone-header-cancel {
  display: flex;
  align-items: center;
  gap: 3px;
  color: var(--sky-surge);
  font-size: 10px;
}

.phone-header-cancel svg {
  flex-shrink: 0;
}

.phone-header-title {
  font-size: 10px;
  font-weight: 600;
  color: #1a1a1a;
}

.phone-header-send {
  background: var(--sky-surge);
  color: #fff;
  padding: 4px 10px;
  border-radius: 11px;
  font-size: 9px;
  font-weight: 600;
}

.phone-email {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 0;
}

.phone-row {
  display: flex;
  align-items: center;
  min-height: 27px;
  padding: 7px 10px;
  font-size: 9px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  flex-shrink: 0;
}

.phone-label {
  flex: 0 0 32px;
  margin-right: 5px;
  font-size: 9px;
  color: #8a8a8e;
  font-weight: 400;
}

.phone-value, .phone-from-name {
  font-size: 9px;
  font-weight: 600;
  color: #1a1a1a;
}

.phone-from-row {
  align-items: flex-start;
}

.phone-from-row .phone-from-details {
  display: flex;
  align-items: center;
  gap: 5px;
}

.phone-from-email {
  font-size: 9px;
  font-weight: 400;
  color: #8a8a8e;
}

.phone-subject-row {
  align-items: flex-start;
  padding: 7px 10px;
  flex-wrap: wrap;
}

.phone-subject-row .phone-label {
  flex-shrink: 0;
}

.phone-subject-text {
  flex: 1;
  min-width: 0;
  font-size: 9px;
  font-weight: 400;
  color: #1a1a1a;
  min-height: 12px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.phone-char-count {
  font-size: 6px;
  font-weight: 500;
  padding: 1px 3px;
  border-radius: 3px;
  background: #d1fae5;
  color: #065f46;
  margin-left: 4px;
  flex-shrink: 0;
  white-space: nowrap;
}

.phone-body {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 11px 10px 14px;
  font-size: 10px;
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.5;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.phone-body p {
  margin: 0 0 9px 0;
  max-width: 100%;
  line-height: 1.5;
}

.phone-body p:last-child {
  margin-bottom: 0;
}

.phone-body a {
  color: var(--sky-surge);
  text-decoration: none;
  word-break: break-word;
  font-weight: 500;
}

.phone-home-bar {
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 82px;
  height: 3px;
  background: rgba(0,0,0,0.25);
  border-radius: 100px;
}



/* ============================================================
   PROOF BAR — iOS 0.5px separator
============================================================ */

.proof-bar {
  padding: 24px 0;
  border-top: 0.5px solid rgba(0, 0, 0, 0.08);
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.08);
  background: var(--white);
}

.proof-bar .container {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.proof-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.proof-stat {
  font-size: 13px;
  color: var(--dim-grey);
  letter-spacing: -0.1px;
}

.proof-stat strong {
  color: var(--black);
  font-weight: 700;
}

/* ============================================================
   HOW IT WORKS
============================================================ */

.proof-bar    { background: var(--white); }
.how-it-works { background: var(--white); }
.features     { background: var(--bg); }
.testimonials { background: var(--white); }
.faq          { background: var(--bg); }
.pricing      { background: var(--white); }

.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 880px;
  margin: 0 auto;
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sky-surge);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(93, 183, 222, 0.25);
}

.step-content h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--black);
  letter-spacing: -0.3px;
}

.step-content p {
  font-size: 14px;
  color: var(--dim-grey);
  line-height: 1.6;
  letter-spacing: -0.1px;
}

.step-connector {
  width: 56px;
  height: 0.5px;
  background: rgba(0, 0, 0, 0.1);
  margin-top: 22px;
  flex-shrink: 0;
}

/* ============================================================
   FEATURES — match .usage-card style
============================================================ */

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

.feature-card {
  background: var(--glass-bg-light);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-card);
  padding: 28px;
  border: 0.5px solid var(--glass-border-light);
  box-shadow: var(--glass-shadow);
  transition: transform 0.2s var(--ease-ios), box-shadow 0.2s var(--ease-ios), border-color 0.2s;
  text-align: left;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  border-color: rgba(93, 183, 222, 0.22);
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--sky-light);
  color: var(--sky-surge);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: background 0.2s, color 0.2s;
}

.feature-card:hover .feature-icon {
  background: var(--sky-surge);
  color: #fff;
}

.feature-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--black);
  letter-spacing: -0.3px;
}

.feature-card p {
  font-size: 13px;
  color: var(--dim-grey);
  line-height: 1.6;
  letter-spacing: -0.1px;
}


/* ============================================================
   FAQ — iOS settings-panel style (.setting-row)
============================================================ */

.faq-list {
  max-width: 680px;
  margin: 48px auto 0;
  background: var(--glass-bg-light);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-card);
  border: 0.5px solid var(--glass-border-light);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  padding: 0 24px;
}

.faq-item {
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.08);
}

.faq-item:last-child { border-bottom: none; }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  color: var(--black);
  text-align: left;
  min-height: 44px; /* iOS tap target */
  padding: 16px 0;
  transition: color 0.15s var(--ease-ios);
  letter-spacing: -0.2px;
}

.faq-q:hover { color: var(--sky-surge); }

.faq-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 0.5px solid rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
  position: relative;
  transition: all 0.2s var(--ease-ios);
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--dim-grey);
  border-radius: 2px;
  transition: all 0.2s var(--ease-ios);
}

.faq-icon::before {
  width: 9px; height: 1.5px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 1.5px; height: 9px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.faq-q[aria-expanded="true"] .faq-icon {
  border-color: var(--sky-surge);
  background: var(--sky-light);
}

.faq-q[aria-expanded="true"] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-q[aria-expanded="true"] .faq-icon::before {
  background: var(--sky-surge);
}

.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s var(--ease-ios), padding 0.3s var(--ease-ios);
}

.faq-a.open { max-height: 400px; }

.faq-a p {
  padding-bottom: 18px;
  font-size: 14px;
  color: var(--dim-grey);
  line-height: 1.65;
  letter-spacing: -0.1px;
}

.faq-a a { color: var(--sky-surge); text-decoration: none; }
.faq-a a:hover { text-decoration: underline; }

.faq-a code {
  background: var(--sky-light);
  color: var(--sky-dark);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 12px;
}


/* ============================================================
   TESTIMONIALS
============================================================ */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.testimonial-card {
  background: var(--glass-bg-light);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-card);
  padding: 28px;
  border: 0.5px solid var(--glass-border-light);
  box-shadow: var(--glass-shadow);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.2s var(--ease-ios), box-shadow 0.2s var(--ease-ios);
}

.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.testimonial-quote {
  font-size: 14px;
  line-height: 1.7;
  color: var(--black);
  font-style: italic;
  letter-spacing: -0.1px;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.2px;
}

.testimonial-role {
  font-size: 12px;
  color: var(--khaki-beige);
  letter-spacing: -0.1px;
  margin-top: 1px;
}

/* ============================================================
   TRUST STRIP
============================================================ */

.trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 0.5px solid rgba(0, 0, 0, 0.07);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--dim-grey);
  font-weight: 500;
  letter-spacing: -0.1px;
}

.trust-item svg {
  color: var(--sky-surge);
  flex-shrink: 0;
}

/* ============================================================
   BILLING TOGGLE
============================================================ */

.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}

.toggle-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--dim-grey);
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: -0.1px;
}

.toggle-save {
  background: #dcfce7;
  color: #15803d;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
}

.toggle-switch {
  width: 51px;
  height: 31px;
  background: var(--khaki-beige);
  border: none;
  border-radius: 31px;
  cursor: pointer;
  position: relative;
  transition: background 0.3s var(--ease-ios);
  flex-shrink: 0;
  padding: 0;
}

.toggle-switch::after {
  content: '';
  position: absolute;
  width: 27px;
  height: 27px;
  background: #fff;
  border-radius: 50%;
  top: 2px;
  left: 2px;
  transition: transform 0.3s var(--ease-ios);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 1px 2px rgba(0, 0, 0, 0.1);
}

.toggle-switch.active { background: var(--sky-surge); }
.toggle-switch.active::after { transform: translateX(20px); }

/* ============================================================
   PRICING — white card system
============================================================ */

.pricing { background: var(--bg); text-align: center; }
.pricing .section-label,
.pricing .section-headline,
.pricing .section-sub { text-align: center; margin-left: auto; margin-right: auto; }

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 680px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--glass-bg-light);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  border: 0.5px solid var(--glass-border-light);
  box-shadow: var(--glass-shadow);
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pricing-card--pro {
  background: rgba(28, 28, 30, 0.85);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-color: rgba(93, 183, 222, 0.4);
  box-shadow: 0 0 0 1px rgba(93, 183, 222, 0.3), 0 4px 24px rgba(0, 0, 0, 0.2);
}

.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--sky-surge);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.plan-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--dim-grey);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pricing-card--pro .plan-name { color: rgba(255, 255, 255, 0.45); }

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-amount {
  font-size: 48px;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -3px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.pricing-card--pro .price-amount { color: #fff; }

.price-period {
  font-size: 15px;
  color: var(--khaki-beige);
  letter-spacing: -0.1px;
}

.plan-desc {
  font-size: 13px;
  color: var(--dim-grey);
  line-height: 1.5;
  letter-spacing: -0.1px;
}

.pricing-card--pro .plan-desc { color: rgba(255, 255, 255, 0.45); }

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--black);
  letter-spacing: -0.1px;
}

.pricing-card--pro .plan-features li { color: rgba(255, 255, 255, 0.8); }

.check { color: var(--sky-surge); font-size: 15px; flex-shrink: 0; }
.muted { color: #ccc; font-size: 15px; flex-shrink: 0; }
.pricing-card--pro .muted { color: rgba(255, 255, 255, 0.2); }

.plan-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
  margin-top: -6px;
  letter-spacing: -0.1px;
}

/* ============================================================
   FINAL CTA
============================================================ */

.cta-section {
  background: var(--sky-surge);
  padding: 88px 0;
  text-align: center;
}

.cta-quote {
  font-size: 18px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.55;
  letter-spacing: -0.2px;
  border: none;
  padding: 0;
}

.cta-quote cite {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  font-style: normal;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: -0.1px;
}

.cta-logo {
  border-radius: var(--radius-card);
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.cta-section h2 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -1px;
}

.cta-section p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 32px;
  letter-spacing: -0.1px;
}

.cta-section .btn-primary {
  background: #fff;
  color: var(--sky-surge);
  font-size: 16px;
  padding: 14px 28px;
}

.cta-section .btn-primary:hover {
  background: #f0f9ff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* ============================================================
   FOOTER
============================================================ */

.footer {
  background: var(--black);
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: -0.2px;
}

.footer-logo img { border-radius: 6px; }

.footer-links {
  display: flex;
  list-style: none;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.15s var(--ease-ios);
  letter-spacing: -0.1px;
}
.footer-links a:hover { color: rgba(255, 255, 255, 0.75); }

.footer-copy {
  margin-left: auto;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.22);
}

/* ============================================================
   STICKY MOBILE CTA
============================================================ */

.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(242, 242, 242, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 0.5px solid rgba(0, 0, 0, 0.08);
  transform: translateY(100%);
  transition: transform 0.3s var(--ease-ios);
}

.mobile-sticky-cta.visible { transform: translateY(0); }

/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 960px) {
  .hero-inner          { grid-template-columns: 1fr; gap: 56px; }
  .hero-copy           { align-items: center; text-align: center; }
  .hero-sub            { max-width: 520px; }
  .hero-actions        { justify-content: center; }
  .testimonials-grid   { grid-template-columns: 1fr; }
  .steps               { flex-direction: column; align-items: center; gap: 28px; }
  .step-connector      { width: 0.5px; height: 28px; margin-top: 0; }
}

@media (max-width: 640px) {
  section                 { padding: 60px 0; }
  .hero                   { padding: 60px 0 72px; }
  .nav-links              { display: none; }
  .hero-headline          { font-size: 36px; letter-spacing: -1.5px; }
  .features-grid          { grid-template-columns: 1fr; }
  .pricing-grid           { grid-template-columns: 1fr; }
  .footer-inner           { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-copy            { margin-left: 0; }
  .proof-bar .container   { justify-content: center; }
  .mobile-sticky-cta      { display: block; }
  .phone-frame            { width: 195px; height: 423px; padding: 8px; border-radius: 40px; }
  .phone-frame .phone-screen { border-radius: 34px; }
  .phone-checks           { gap: 6px; }
  .phone-check            { font-size: 11px; padding: 4px 9px; }
  .trust-strip            { gap: 20px; }
  .cta-quote              { font-size: 16px; }
}

/* ============================================================
   ANIMATIONS — iOS spring physics
============================================================ */

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

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

/* Hero entrance */
.hero-copy  { animation: iosSlideUp 0.55s var(--ease-ios) both; }
.hero-phone { animation: iosSlideUp 0.55s var(--ease-ios) 0.12s both; }
