/* ============================================
   SCRIBE - Apple-Inspired Dark Design System
   ============================================ */

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

:root {
  /* Primary - Pure white */
  --primary: #FFFFFF;
  --primary-80: rgba(255, 255, 255, 0.8);
  --primary-60: rgba(255, 255, 255, 0.6);

  /* Backgrounds - Deep blacks */
  --bg: #000000;
  --bg-secondary: #0A0A0A;
  --bg-tertiary: #141414;
  --bg-elevated: rgba(28, 28, 30, 0.8);

  /* Text hierarchy */
  --text: #000000;
  --text-secondary: rgba(0, 0, 0, 0.7);
  --text-tertiary: rgba(0, 0, 0, 0.5);
  --text-quaternary: rgba(0, 0, 0, 0.3);

  /* Glass effects */
  --glass: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-highlight: rgba(255, 255, 255, 0.15);
  --glass-card: rgba(255, 255, 255, 0.13);
  --glass-card-border: rgba(255, 255, 255, 0.17);

  /* Fills */
  --fill: rgba(255, 255, 255, 0.12);
  --fill-secondary: rgba(255, 255, 255, 0.08);
  --fill-tertiary: rgba(255, 255, 255, 0.05);

  /* Separator */
  --separator: rgba(255, 255, 255, 0.08);

  /* System colors - iOS palette */
  --red: #FF453A;
  --orange: #FF9F0A;
  --green: #30D158;
  --mint: #63E6E2;
  --teal: #40CBE0;
  --cyan: #64D2FF;
  --blue: #0A84FF;
  --indigo: #5E5CE6;
  --pink: #FF375F;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 16px;
  --space-xl: 20px;
  --space-2xl: 24px;
  --space-3xl: 32px;
  --space-4xl: 48px;

  /* Border radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 20px;

  /* Pastel palette for background cycle */
  --lavender: #A78BFA;
  --mint-pastel: #34D399;
  --coral: #FB7185;
  --sky: #38BDF8;
  --sunny: #FACC15;
  --peach: #FB9286;
  --teal-pastel: #2DD4BF;
  --grape: #C084FC;
}

/* ============================================
   COLOR CYCLE ANIMATION
   ============================================ */
@keyframes color-cycle {
  0%, 100% {
    background-color: var(--lavender);
  }
  14% {
    background-color: var(--mint-pastel);
  }
  28% {
    background-color: var(--coral);
  }
  42% {
    background-color: var(--sky);
  }
  56% {
    background-color: var(--peach);
  }
  70% {
    background-color: var(--teal-pastel);
  }
  84% {
    background-color: var(--grape);
  }
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', sans-serif;
  color: #000;
  background-color: var(--lavender);
  animation: color-cycle 120s ease-in-out infinite;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   TYPOGRAPHY - Apple SF Pro Scale
   ============================================ */

h1 {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h2 {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

h3 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

p {
  font-size: 19px;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--separator);
}

.nav-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--space-2xl);
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 24px;
  height: 24px;
  color: var(--green);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav-item {
  padding: var(--space-sm) var(--space-md);
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  border-radius: var(--radius-md);
  transition: color 0.2s, background 0.2s;
}

.nav-item:hover {
  color: #fff;
  background: var(--fill-tertiary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.btn-login {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  transition: color 0.2s;
}

.btn-login:hover {
  color: #fff;
}

/* Brutalist Primary Button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: #fff;
  color: #000;
  border: none;
  border-radius: var(--radius-lg);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.1s;
}

.btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 rgba(255, 255, 255, 0.5);
}

.btn-primary:active {
  transform: translate(0, 0);
  box-shadow: none;
}

.btn-large {
  padding: 18px 36px;
  font-size: 19px;
  font-weight: 600;
}

.btn-medium {
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
}

/* Brutalist Outline Button */
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: transparent;
  color: #000;
  border: 2px solid #000;
  border-radius: var(--radius-lg);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.1s;
}

.btn-outline:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--pink);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md) var(--space-xl);
  background: var(--fill);
  color: var(--text);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-secondary:hover {
  background: var(--glass-highlight);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  padding: var(--space-sm);
  cursor: pointer;
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
  color: var(--text);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 52px;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: var(--space-lg);
  border-bottom: 1px solid var(--separator);
}

.mobile-menu a {
  display: block;
  padding: var(--space-md) 0;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 17px;
  border-bottom: 1px solid var(--separator);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu .btn-primary {
  margin-top: var(--space-lg);
  width: 100%;
  justify-content: center;
}

body.mobile-menu-open .mobile-menu {
  display: block;
}

@media (max-width: 768px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }
}

/* ============================================
   SECTION CONTAINERS
   ============================================ */

.section-container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 var(--space-2xl);
}

.section-title {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: var(--space-lg);
  display: inline-block;
  background: linear-gradient(90deg,
    var(--pink) 0%, var(--pink) 20%,
    var(--blue) 20%, var(--blue) 40%,
    var(--cyan) 40%, var(--cyan) 60%,
    var(--green) 60%, var(--green) 80%,
    var(--orange) 80%, var(--orange) 100%
  );
  background-size: 100% 4px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: var(--space-sm);
}

.faq .section-container {
  text-align: center;
}

.section-subtitle {
  font-size: 21px;
  color: var(--text-secondary);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ============================================
   HERO
   ============================================ */

.hero-wrapper {
  padding-top: 52px;
}

.hero {
  min-height: calc(100vh - 52px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4xl) var(--space-2xl);
  text-align: center;
}

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

.hero-title {
  font-size: 72px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: var(--space-2xl);
}

.hero-subtitle {
  font-size: 28px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: var(--space-4xl);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

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

.store-badges {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  margin-top: var(--space-4xl);
}

.store-badge {
  display: block;
  opacity: 0.85;
  transition: opacity 0.2s, transform 0.2s;
}

.store-badge:hover {
  opacity: 1;
  transform: scale(1.02);
}

.store-badge svg {
  display: block;
  height: 40px;
  width: auto;
}

/* ============================================
   PHONE MOCKUP
   ============================================ */

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
  text-align: left;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content {
  max-width: none;
}

.hero-buttons {
  justify-content: flex-start;
}

.store-badges {
  justify-content: flex-start;
}

.phone-mockup-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--space-4xl) 0;
}

.phone-mockup {
  position: relative;
  z-index: 1;
}

.phone-frame {
  width: 280px;
  height: 580px;
  background: var(--bg-tertiary);
  border-radius: 44px;
  padding: 12px;
  box-shadow:
    0 0 0 3px var(--indigo),
    12px 12px 0 rgba(0, 0, 0, 0.8);
  position: relative;
}

.phone-dynamic-island {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 24px;
  background: #1a1a1a;
  border-radius: 50px;
  z-index: 20;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--bg);
  border-radius: 36px;
  overflow: hidden;
  color: #fff;
  display: flex;
  flex-direction: column;
}

.app-header {
  padding: var(--space-lg) var(--space-lg) var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.app-header-left {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.app-header-icon-circle {
  width: 40px;
  height: 40px;
  background: var(--fill);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-header-icon-circle svg {
  width: 20px;
  height: 20px;
  color: #fff;
}

.app-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.app-header-add {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-header-add svg {
  width: 22px;
  height: 22px;
  color: #fff;
}

.app-content {
  flex: 1;
  padding: 0 var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.class-card {
  display: flex;
  flex-direction: row;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.class-info {
  padding: var(--space-md);
  flex: 5;
}

.class-color-bar {
  flex: 1;
  background: var(--card-color);
}

.class-name {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}

.class-meta {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: capitalize;
  margin-bottom: var(--space-sm);
}

.class-stats {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
}

.app-tab-bar {
  display: flex;
  justify-content: space-around;
  padding: var(--space-sm) 0 var(--space-xl);
  border-top: 1px solid var(--separator);
  background: var(--bg);
}

.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 10px;
}

.tab-item svg {
  width: 22px;
  height: 22px;
}

.tab-item.active {
  color: #fff;
}

.tab-profile-icon {
  width: 22px;
  height: 22px;
  border: 2px solid currentColor;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 600;
}

/* Brutalist Floating Card */
.floating-card {
  position: absolute;
  background: var(--mint);
  border: none;
  border-radius: 0;
  padding: var(--space-lg);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.5);
  z-index: 2;
  color: #000;
}

.floating-card-bottom {
  bottom: 20px;
  right: -40px;
  width: 260px;
}

.floating-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #000;
}

.floating-card-header svg {
  display: none;
}

.floating-card-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.grade-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.grade-label {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.7);
}

.grade-score {
  font-size: 20px;
  font-weight: 700;
  color: #000;
}

.grade-feedback {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 0;
  padding: var(--space-md);
}

.feedback-label {
  display: block;
  font-size: 11px;
  color: rgba(0, 0, 0, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-xs);
}

.grade-feedback p {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.8);
  line-height: 1.5;
  font-style: italic;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    order: 1;
  }

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

  .store-badges {
    justify-content: center;
  }

  .phone-mockup-container {
    order: 2;
  }

  .floating-card-bottom {
    right: 10px;
  }
}

@media (max-width: 480px) {
  .phone-frame {
    width: 240px;
    height: 500px;
  }

  .floating-card-bottom {
    display: none;
  }
}

/* ============================================
   STATS SECTION
   ============================================ */

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

.stats-container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 var(--space-2xl);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3xl);
  text-align: center;
}

/* Brutalist stats - solid color blocks */
.stat {
  text-align: center;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
}

.stat:nth-child(1) { background: var(--red); }
.stat:nth-child(2) {
  background: var(--teal);
  transform: translateY(-12px);
}
.stat:nth-child(3) { background: var(--green); }

.stat-number {
  display: block;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-xs);
  color: #fff;
}

.stat-label {
  font-size: 15px;
  color: #fff;
}

@media (max-width: 768px) {
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2xl);
  }

  .stat-number {
    font-size: 36px;
  }
}

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

.how-it-works {
  padding: 120px 0;
}

.how-it-works .section-container {
  text-align: center;
}

.how-it-works-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: start;
}

.how-it-works-header {
  text-align: left;
  background: var(--glass-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-card-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-3xl);
}

.section-tagline {
  font-size: 56px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: -0.02em;
  color: #000;
  text-align: center;
  margin-bottom: var(--space-4xl);
  background: rgba(255, 255, 255, 0.7);
  padding: var(--space-lg) var(--space-xl);
  border-radius: var(--radius-lg);
  display: inline-block;
}

.highlight-blue {
  color: var(--blue);
}

.highlight-red {
  color: var(--red);
  font-weight: 600;
}

.highlight-green {
  color: var(--green);
}

.how-it-works-header h2 {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-lg);
  display: inline-block;
  background: linear-gradient(90deg,
    var(--blue) 0%, var(--blue) 33%,
    var(--cyan) 33%, var(--cyan) 66%,
    var(--green) 66%, var(--green) 100%
  );
  background-size: 100% 4px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: var(--space-sm);
}

.how-it-works-header p {
  font-size: 19px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.steps-vertical {
  display: flex;
  flex-direction: column;
  gap: var(--space-3xl);
}

.step-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xl);
  background: var(--glass-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-card-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl);
}

.step-content {
  flex: 1;
  text-align: left;
  max-width: 700px;
}

.step-content h3 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.step-content p {
  font-size: 21px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Brutalist step icons - solid color blocks */
.step-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 32px;
  font-weight: 700;
  color: #000;
}

.step-icon svg {
  display: none;
}

.step-row:nth-child(1) .step-icon {
  background: var(--blue);
}
.step-row:nth-child(1) .step-icon::after { content: "1"; }

.step-row:nth-child(2) .step-icon {
  background: var(--cyan);
}
.step-row:nth-child(2) .step-icon::after { content: "2"; }

.step-row:nth-child(3) .step-icon {
  background: var(--green);
}
.step-row:nth-child(3) .step-icon::after { content: "3"; }

@media (max-width: 768px) {
  .how-it-works-layout {
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
  }

  .how-it-works-header {
    text-align: center;
  }

  .how-it-works-header h2 {
    font-size: 34px;
  }
}

/* ============================================
   FEATURES PAGE - SEO Optimized Sections
   ============================================ */

.features-page {
  padding: 80px 0 0;
}

.feature-section {
  padding: 100px 0;
}

.feature-section-highlight {
  background: rgba(255, 255, 255, 0.05);
  text-align: center;
  padding: 120px 0;
}

.features-combined {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px var(--space-2xl);
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 80px;
  align-items: start;
}

.features-text-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-3xl);
}

.features-visual-block {
  position: sticky;
  top: 100px;
}

.feature-block-vertical {
  width: 100%;
  height: 600px;
  border-radius: var(--radius-2xl);
  background: #0A84FF;
  transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-row-centered {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-4xl);
  background: var(--glass-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-card-border);
  border-radius: var(--radius-2xl);
  text-align: left;
}

.feature-label {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--cyan);
  margin-bottom: var(--space-lg);
}

.feature-text {
  background: var(--glass-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-card-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-3xl);
}

.feature-text h2 {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-xl);
  line-height: 1.1;
  color: #000;
}

.feature-text p {
  font-size: 21px;
  color: rgba(0, 0, 0, 0.7);
  line-height: 1.7;
}

.feature-label {
  color: #000;
}

.feature-row-centered h2 {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-xl);
  line-height: 1.1;
}

.feature-row-centered p {
  font-size: 21px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 100%;
  margin: 0;
}

.feature-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-block {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-xl);
}

@media (max-width: 768px) {
  .features-combined {
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
  }

  .features-visual-block {
    position: relative;
    top: 0;
    order: -1;
  }

  .feature-block-vertical {
    height: 200px;
  }

  .feature-row-reverse {
    direction: ltr;
  }

  .feature-text h2,
  .feature-row-centered h2 {
    font-size: 34px;
  }

  .feature-text p,
  .feature-row-centered p {
    font-size: 17px;
  }

  .feature-block {
    max-width: 400px;
  }
}

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

.testimonials {
  padding: 120px 0;
  background: var(--bg-secondary);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
  margin-top: var(--space-4xl);
}

.testimonial {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl);
}

.testimonial-content {
  margin-bottom: var(--space-xl);
}

.testimonial-content p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--fill);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-secondary);
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}

.author-role {
  font-size: 13px;
  color: var(--text-tertiary);
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   FAQ
   ============================================ */

.faq {
  padding: 120px 0;
}

.faq-list {
  max-width: 680px;
  margin: var(--space-4xl) auto 0;
}

.faq-item {
  background: var(--glass-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-card-border);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: var(--space-xl) var(--space-2xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
}

.faq-question span {
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
}

.faq-question svg {
  display: none;
}

.faq-question::after {
  content: "+";
  font-size: 24px;
  font-weight: 700;
  color: var(--blue);
  transition: transform 0.2s;
}

.faq-item.open .faq-question::after {
  content: "−";
  color: var(--pink);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-item.open .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  padding: 0 var(--space-2xl) var(--space-xl);
}

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

.final-cta {
  padding: 120px 0 80px;
  text-align: center;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.4) 30%,
    rgba(0, 0, 0, 0.4) 100%
  );
  margin-bottom: 0;
}

.final-cta h2 {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.final-cta p {
  font-size: 21px;
  color: var(--text-secondary);
  margin-bottom: var(--space-3xl);
}

.final-cta .btn-primary {
  background: var(--green);
  color: #000;
}

.final-cta .btn-primary:hover {
  box-shadow: 4px 4px 0 var(--teal);
}

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

.footer {
  padding: var(--space-4xl) 0 var(--space-2xl);
  background: rgba(0, 0, 0, 0.4);
  margin-top: 0;
}

.footer-contact {
  font-size: 15px;
  color: var(--text-tertiary);
  margin-top: var(--space-sm);
}

.footer-contact a {
  color: var(--text-secondary);
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--text);
}

.footer-container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 var(--space-2xl);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-4xl);
}

.footer-brand .logo {
  margin-bottom: var(--space-md);
}

.footer-tagline {
  font-size: 15px;
  color: var(--text-tertiary);
}

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

.footer-column h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-lg);
}

.footer-column a {
  display: block;
  font-size: 15px;
  color: var(--text-secondary);
  text-decoration: none;
  padding: var(--space-xs) 0;
  transition: color 0.2s;
}

.footer-column a:hover {
  color: var(--text);
}

.footer-bottom {
  max-width: 980px;
  margin: var(--space-4xl) auto 0;
  padding: var(--space-2xl) var(--space-2xl) 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-quaternary);
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
  }

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

/* ============================================
   PRICING PAGE
   ============================================ */

/* Pricing Section */
.pricing-section {
  padding: 60px 0 80px;
}

.pricing-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.pricing-header {
  text-align: left;
}

.free-coins-section {
  padding: 120px 0 0;
  text-align: center;
}

.free-coins-banner {
  font-size: 42px;
  font-weight: 700;
  color: #000;
  letter-spacing: -0.02em;
}

.pricing-header h1 {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
}

.pricing-header p {
  font-size: 21px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Calculator - Apple style */
.calculator {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-xl);
  background: var(--glass-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-card-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-3xl);
}

.calculator-inner {
  display: flex;
  align-items: center;
  gap: var(--space-3xl);
}

.calculator-input {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

.calculator input {
  width: 140px;
  padding: var(--space-sm);
  font-size: 48px;
  font-weight: 700;
  text-align: center;
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(0, 0, 0, 0.3);
  color: #000;
  outline: none;
  transition: border-color 0.2s;
}

.calculator input:focus {
  border-color: #000;
}

.calculator input::-webkit-outer-spin-button,
.calculator input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.calculator-label {
  font-size: 15px;
  color: rgba(0, 0, 0, 0.7);
}

.calculator-output {
  display: flex;
  gap: var(--space-2xl);
}

.output-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-md);
}

.output-row span:first-child {
  font-size: 28px;
  font-weight: 700;
  color: #000;
}

.output-label {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.calculator .btn-primary {
  background: #fff;
  color: #000;
  padding: var(--space-md) var(--space-3xl);
}

.calculator .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
  .pricing-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .pricing-header {
    text-align: center;
  }

  .pricing-header h1 {
    font-size: 34px;
  }

  .calculator-inner {
    flex-direction: column;
    gap: var(--space-xl);
  }

  .calculator-output {
    gap: var(--space-xl);
  }
}

/* ============================================
   FEATURES PAGE
   ============================================ */

.features-hero {
  padding: 140px var(--space-2xl) 80px;
  text-align: center;
}

.features-grid {
  padding: 0 var(--space-2xl) 120px;
}

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

.feature-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-3xl);
  transition: border-color 0.2s;
}

.feature-card:hover {
  border-color: var(--glass-highlight);
}

.feature-card .feature-icon {
  width: 48px;
  height: 48px;
  background: var(--fill);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-xl);
}

.feature-card .feature-icon svg {
  width: 24px;
  height: 24px;
  color: var(--text);
}

.feature-card h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.feature-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .features-grid .section-container {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   CHECKOUT PAGE
   ============================================ */

.checkout-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.checkout-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px var(--space-2xl) var(--space-4xl);
}

.checkout-card {
  width: 100%;
  max-width: 400px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-3xl);
}

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

.checkout-header h1 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-sm);
}

.checkout-header p {
  font-size: 15px;
  color: var(--text-secondary);
}

.checkout-summary {
  background: var(--fill-tertiary);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.checkout-summary-row {
  display: flex;
  justify-content: space-between;
  padding: var(--space-sm) 0;
  font-size: 15px;
  color: var(--text-secondary);
}

.checkout-summary-row.total {
  border-top: 1px solid var(--separator);
  margin-top: var(--space-sm);
  padding-top: var(--space-md);
  font-weight: 600;
  color: var(--text);
}

.checkout-btn {
  width: 100%;
  padding: var(--space-lg);
  font-size: 17px;
  border-radius: var(--radius-lg);
}

.checkout-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
  margin-top: var(--space-2xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--separator);
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.trust-badge svg {
  width: 20px;
  height: 20px;
  color: var(--text-tertiary);
}

.trust-badge span {
  font-size: 11px;
  color: var(--text-quaternary);
  text-align: center;
}

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

@media (max-width: 768px) {
  h1, .section-title {
    font-size: 34px;
  }

  h2 {
    font-size: 28px;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-subtitle {
    font-size: 17px;
  }

  .final-cta h2 {
    font-size: 34px;
  }

  .final-cta p {
    font-size: 17px;
  }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px 16px;
  z-index: 10000;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
}

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

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
