/* ===== RESET & VARIABLES ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #4ECDC4;
  --primary-dark: #2C8C87;
  --primary-light: rgba(78, 205, 196, 0.12);
  --bg: #FFF9F0;
  --bg-white: #FFFFFF;
  --text: #1A1A2E;
  --text-secondary: #6B7280;
  --coral: #FF6B6B;
  --border: rgba(0,0,0,0.06);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 249, 240, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  padding: 16px 0;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-weight: 800;
  font-size: 22px;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 102;
}
.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  font-weight: 900;
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--primary) !important;
  color: white !important;
  padding: 10px 24px;
  border-radius: 12px;
  font-weight: 600 !important;
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(78, 205, 196, 0.3);
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 102;
}
.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
  padding: 160px 24px 60px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  border: 1px solid rgba(78, 205, 196, 0.2);
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 32px;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero h1 span { color: var(--primary); }
.hero p {
  font-size: 19px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.7;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--primary);
  color: white;
  padding: 16px 36px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 4px 24px rgba(78, 205, 196, 0.25);
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(78, 205, 196, 0.35);
}
.btn-secondary {
  background: var(--bg-white);
  color: var(--text);
  padding: 16px 36px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: all 0.2s;
  cursor: pointer;
  font-family: inherit;
}
.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

/* ===== APP MOCKUP ===== */
.phone-frame-img {
  width: 280px;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(26, 26, 46, 0.2);
  border: 8px solid var(--text);
  transform: rotateY(-2deg) rotateX(2deg);
  transition: transform 0.4s ease;
}
.phone-frame-img:hover {
  transform: rotateY(0) rotateX(0);
}
.phone-frame-img img {
  width: 100%;
  height: auto;
  display: block;
}
.app-mockup {
  padding: 20px 24px 40px;
  display: flex;
  justify-content: center;
}
.mockup-container {
  perspective: 1000px;
}
.phone-frame {
  width: 280px;
  height: 560px;
  background: var(--text);
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 32px 80px rgba(26, 26, 46, 0.2), 0 0 0 1px rgba(255,255,255,0.1) inset;
  position: relative;
  transform: rotateY(-2deg) rotateX(2deg);
  transition: transform 0.4s ease;
}
.phone-frame:hover {
  transform: rotateY(0) rotateX(0);
}
.phone-notch {
  width: 100px;
  height: 24px;
  background: var(--text);
  border-radius: 0 0 16px 16px;
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--bg);
  border-radius: 26px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.mock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 36px 16px 12px;
  font-size: 13px;
  font-weight: 600;
}
.mock-back { color: var(--primary); font-size: 18px; }
.mock-title { font-weight: 700; }
.mock-count { color: var(--text-secondary); font-size: 12px; }
.mock-card {
  flex: 1;
  padding: 16px;
  display: flex;
  align-items: center;
}
.mock-card-inner {
  width: 100%;
  background: white;
  border-radius: 16px;
  padding: 28px 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  text-align: center;
}
.mock-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.mock-question {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text);
}
.mock-progress {
  padding: 0 16px;
  margin-bottom: 12px;
}
.mock-progress-bar {
  height: 4px;
  background: rgba(78, 205, 196, 0.2);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.mock-progress-bar::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 25%;
  background: var(--primary);
  border-radius: 4px;
}
.mock-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 0 12px 20px;
}
.mock-btn {
  padding: 10px 0;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
}
.mock-btn-again { background: rgba(255, 107, 107, 0.12); color: var(--coral); }
.mock-btn-hard { background: rgba(255, 165, 0, 0.12); color: #E6930A; }
.mock-btn-good { background: rgba(78, 205, 196, 0.12); color: var(--primary-dark); }
.mock-btn-easy { background: rgba(78, 205, 196, 0.2); color: var(--primary-dark); }

/* ===== SOCIAL PROOF ===== */
.social-proof {
  text-align: center;
  padding: 20px 24px 60px;
}
.social-proof p {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}
.proof-tags {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 16px;
  flex-wrap: wrap;
}
.proof-tag {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ===== FEATURES ===== */
.features {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px;
}
.features-header {
  text-align: center;
  margin-bottom: 64px;
}
.features-header h2 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.features-header p {
  color: var(--text-secondary);
  font-size: 17px;
  max-width: 500px;
  margin: 0 auto;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--bg-white);
  border-radius: 20px;
  padding: 36px;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

/* ===== ACCESSIBILITY SECTION ===== */
.accessibility {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px;
}
.access-card {
  background: var(--text);
  color: white;
  border-radius: 24px;
  padding: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.access-card h2 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.access-card h2 span { color: var(--primary); }
.access-card > div:first-child p {
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 32px;
}
.access-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.access-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 500;
}
.access-check {
  width: 28px;
  height: 28px;
  background: rgba(78, 205, 196, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 14px;
  flex-shrink: 0;
}

/* ===== PRICING ===== */
.pricing {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
}
.pricing h2 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.pricing > p {
  color: var(--text-secondary);
  font-size: 17px;
  margin-bottom: 48px;
}
.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 640px;
  margin: 0 auto;
}
.price-card {
  background: var(--bg-white);
  border-radius: 20px;
  padding: 36px;
  border: 1px solid var(--border);
  text-align: left;
}
.price-card.featured {
  border: 2px solid var(--primary);
  position: relative;
}
.price-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--primary);
  color: white;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.price-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.price-amount {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.price-amount span {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
}
.price-card ul {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.price-card li {
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}
.price-card li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
}
.free-note {
  margin-top: 32px;
  padding: 20px;
  background: var(--primary-light);
  border-radius: 14px;
  font-size: 14px;
  color: var(--primary-dark);
  font-weight: 500;
}

/* ===== FINAL CTA ===== */
.final-cta {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 24px 100px;
}
.cta-card {
  background: linear-gradient(135deg, var(--text) 0%, #2d2d4e 100%);
  color: white;
  border-radius: 24px;
  padding: 64px 48px;
  text-align: center;
}
.cta-card h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 16px;
}
.cta-card p {
  color: rgba(255,255,255,0.7);
  font-size: 17px;
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.cta-card .btn-secondary {
  background: rgba(255,255,255,0.1);
  color: white;
  border-color: rgba(255,255,255,0.2);
}
.cta-card .btn-secondary:hover {
  background: rgba(255,255,255,0.15);
}

/* ===== FOOTER ===== */
footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}
.footer-brand p {
  color: var(--text-secondary);
  font-size: 13px;
  margin-top: 12px;
  max-width: 280px;
  line-height: 1.6;
}
.footer-links {
  display: flex;
  gap: 48px;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  color: var(--text);
}
.footer-col a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--primary); }
.copyright {
  width: 100%;
  text-align: center;
  padding-top: 40px;
  color: var(--text-secondary);
  font-size: 13px;
}

/* ===== LEGAL PAGE STYLES ===== */
.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 140px 24px 100px;
}
.legal-page h1 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.legal-page .legal-date {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 48px;
}
.legal-page h2 {
  font-size: 22px;
  font-weight: 700;
  margin-top: 48px;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.legal-page h3 {
  font-size: 17px;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
}
.legal-page p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
}
.legal-page ul, .legal-page ol {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
  padding-left: 24px;
}
.legal-page li { margin-bottom: 8px; }
.legal-page a {
  color: var(--primary-dark);
  text-decoration: underline;
  text-decoration-color: rgba(78, 205, 196, 0.4);
  text-underline-offset: 2px;
}
.legal-page a:hover { color: var(--primary); }
.legal-page strong { color: var(--text); }

/* ===== SUPPORT PAGE ===== */
.support-hero {
  text-align: center;
  padding: 140px 24px 60px;
  max-width: 600px;
  margin: 0 auto;
}
.support-hero h1 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.support-hero p {
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.7;
}
.support-contacts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 760px;
  margin: 0 auto 80px;
  padding: 0 24px;
}
.contact-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
}
.contact-card .contact-icon {
  font-size: 28px;
  margin-bottom: 12px;
}
.contact-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}
.contact-card p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.contact-card a {
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.contact-card a:hover { color: var(--primary); }

.faq-section {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px 100px;
}
.faq-section h2 {
  font-size: 28px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 48px;
}
.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 16px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  gap: 16px;
}
.faq-question:hover { color: var(--primary-dark); }
.faq-chevron {
  font-size: 18px;
  color: var(--text-secondary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer-inner {
  padding: 0 28px 24px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}
.faq-answer-inner ol, .faq-answer-inner ul {
  padding-left: 20px;
  margin-top: 8px;
}
.faq-answer-inner li { margin-bottom: 6px; }

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
  .mobile-menu-btn { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #FFF9F0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 101;
    padding: 80px 24px 40px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 18px; }
  .nav-cta { padding: 14px 36px; font-size: 16px !important; }

  .hero { padding: 120px 20px 32px; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 15px; margin-bottom: 28px; }
  .hero-badge { font-size: 12px; padding: 6px 16px; margin-bottom: 24px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; max-width: 300px; text-align: center; }

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

  .features { padding: 60px 20px; }
  .features-header h2 { font-size: 28px; }
  .features-grid { grid-template-columns: 1fr; }

  .access-card {
    grid-template-columns: 1fr;
    padding: 40px 24px;
  }
  .access-card h2 { font-size: 28px; }

  .pricing { padding: 60px 20px; }
  .pricing h2 { font-size: 28px; }
  .pricing-cards { grid-template-columns: 1fr; }

  .cta-card { padding: 48px 24px; }
  .cta-card h2 { font-size: 26px; }

  .footer-links { gap: 32px; flex-wrap: wrap; }

  .support-hero { padding: 130px 20px 40px; }
  .support-contacts { grid-template-columns: 1fr; }

  .legal-page { padding: 120px 20px 80px; }
  .legal-page h1 { font-size: 28px; }
  .legal-page h2 { font-size: 20px; }
}