/* ============================================
   VERSED LEARN — Marketing Website Styles
   ============================================ */

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

:root {
  --cream: #FFF9F0;
  --cream-dark: #F5EDE0;
  --teal: #4ECDC4;
  --teal-dark: #3BA99E;
  --teal-light: #A8E6CF;
  --teal-subtle: rgba(78, 205, 196, 0.08);
  --coral: #FF6B6B;
  --coral-dark: #E55A5A;
  --coral-light: #FFB3B3;
  --text: #2D3436;
  --text-light: #636E72;
  --text-lighter: #95A5A6;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--teal);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 600;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 16px;
}

/* --- Container --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 50px;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.btn-primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(78, 205, 196, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}

.btn-outline:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
}

.nav.scrolled {
  background: rgba(255, 249, 240, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
  padding: 10px 0;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-light);
  transition: all var(--transition);
}

.nav-links a:hover {
  color: var(--teal-dark);
  background: rgba(78, 205, 196, 0.08);
}

.nav-links .btn-primary {
  color: var(--white);
}

.nav-links .btn-primary:hover {
  color: var(--white);
  background: var(--teal-dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

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

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.5;
}

.shape-1 {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -200px;
  background: radial-gradient(circle, rgba(78, 205, 196, 0.12) 0%, transparent 70%);
}

.shape-2 {
  width: 400px;
  height: 400px;
  bottom: -100px;
  left: -100px;
  background: radial-gradient(circle, rgba(255, 107, 107, 0.08) 0%, transparent 70%);
}

.shape-3 {
  width: 300px;
  height: 300px;
  top: 30%;
  right: 20%;
  background: radial-gradient(circle, rgba(78, 205, 196, 0.06) 0%, transparent 70%);
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-subtle);
  color: var(--teal-dark);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--text);
}

.hero-title-accent {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--text);
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.store-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  background: #1a1a2e;
}

.store-btn small {
  font-size: 0.7rem;
  opacity: 0.8;
  display: block;
  line-height: 1;
}

.store-btn strong {
  font-size: 1.05rem;
  display: block;
  line-height: 1.2;
}

.store-btn-light {
  background: var(--white);
  color: var(--text);
}

.store-btn-light:hover {
  background: var(--white);
  box-shadow: var(--shadow-xl);
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-light);
}

.hero-stars {
  display: flex;
  gap: 2px;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-lighter);
  animation: bounce-down 2s ease-in-out infinite;
}

@keyframes bounce-down {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* --- Phone Mockup (CSS-only, iPhone 15 Pro style) --- */
.phone-mockup {
  position: relative;
  width: 280px;
  background: linear-gradient(145deg, #2a2a3e, #1a1a2e);
  border-radius: 48px;
  padding: 6px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 0 3px #1a1a2e,
    var(--shadow-xl),
    0 32px 80px rgba(0, 0, 0, 0.18);
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: #000;
  border-radius: 20px;
  z-index: 2;
}

.phone-screen {
  border-radius: 44px;
  overflow: hidden;
  background: var(--cream);
  aspect-ratio: 9/19.5;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.phone-mockup-hero {
  width: 320px;
  margin: 0 auto;
}

.phone-mockup-tilted {
  transform: perspective(1000px) rotateY(-8deg) rotateX(2deg);
  width: 300px;
  margin: 0 auto;
}

.hero-phone {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-phone::before {
  content: '';
  position: absolute;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(78, 205, 196, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

/* --- Section Common --- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* --- Features Section --- */
.features {
  padding: 120px 0;
  background: var(--white);
}

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

.feature-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(78, 205, 196, 0.15);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
  transition: transform var(--transition);
}

.feature-icon {
  transition: transform var(--transition);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon-ai { background: linear-gradient(135deg, #E8F5E9, #C8E6C9); color: #2E7D32; }
.feature-icon-spaced { background: linear-gradient(135deg, #E3F2FD, #BBDEFB); color: #1565C0; }
.feature-icon-access { background: linear-gradient(135deg, #FFF3E0, #FFE0B2); color: #E65100; }
.feature-icon-parent { background: linear-gradient(135deg, #F3E5F5, #E1BEE7); color: #7B1FA2; }
.feature-icon-analytics { background: linear-gradient(135deg, #E0F2F1, #B2DFDB); color: #00695C; }
.feature-icon-achieve { background: linear-gradient(135deg, #FFF8E1, #FFECB3); color: #F57F17; }

.feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* --- Screenshots Section --- */
.screenshots {
  padding: 120px 0;
  overflow: hidden;
}

.screenshots-track-wrapper {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}

.screenshots-track {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 20px 24px 40px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

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

.screenshot-item {
  flex: 0 0 auto;
  scroll-snap-align: center;
  text-align: center;
  transition: transform var(--transition);
}

.screenshot-item:hover {
  transform: translateY(-8px);
}

.screenshot-item:hover .screenshot-label {
  color: var(--teal);
}

.screenshot-label {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
  transition: color var(--transition);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  color: var(--text);
  transition: all var(--transition);
}

.carousel-btn:hover {
  background: var(--teal);
  color: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translateY(-50%) scale(1.08);
}

.carousel-btn-prev { left: 8px; }
.carousel-btn-next { right: 8px; }

/* --- Accessibility Section --- */
.accessibility {
  padding: 120px 0;
  background: var(--white);
}

.access-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.access-list {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.access-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 12px;
  border-radius: var(--radius-md);
  transition: background var(--transition);
}

.access-item:hover {
  background: var(--teal-subtle);
}

.access-item:hover .access-item-icon {
  background: var(--teal);
  color: var(--white);
  transition: all var(--transition);
}

.access-item-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--teal-subtle);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.access-item strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--text);
}

.access-item p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.6;
}

.access-visual {
  display: flex;
  justify-content: center;
}

/* --- Pricing Section --- */
.pricing {
  padding: 120px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
  align-items: start;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  border: 2px solid var(--cream-dark);
  position: relative;
  transition: all var(--transition);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 50px;
  white-space: nowrap;
}

.pricing-save-badge {
  display: inline-block;
  background: var(--coral);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  position: absolute;
  top: -14px;
  right: 24px;
  letter-spacing: 0.02em;
}

.pricing-card-premium {
  border-color: var(--teal);
  box-shadow: var(--shadow-lg);
  transform: scale(1.04);
}

.pricing-card-premium:hover {
  box-shadow: var(--shadow-xl);
  transform: scale(1.04) translateY(-4px);
}

.pricing-header {
  text-align: center;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--cream-dark);
}

.pricing-plan {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: 8px;
}

.pricing-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.pricing-amount {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text);
}

.pricing-amount-decimal {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.pricing-period {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-left: 4px;
}

.pricing-desc {
  font-size: 0.92rem;
  color: var(--text-light);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-light);
}

.pricing-features li svg {
  flex-shrink: 0;
}

.pricing-features li strong {
  color: var(--text);
}

/* --- Testimonials Section --- */
.testimonials {
  padding: 120px 0;
  background: var(--white);
}

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

.testimonial-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.testimonial-card:hover .testimonial-avatar {
  transform: scale(1.08);
  transition: transform var(--transition);
}

.testimonial-avatar {
  transition: transform var(--transition);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
}

.testimonial-quote {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 24px;
  font-style: normal;
}

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

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.testimonial-name {
  display: block;
  font-size: 0.95rem;
  color: var(--text);
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* --- FAQ Section --- */
.faq {
  padding: 120px 0;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  transition: all var(--transition);
}

.faq-item:hover {
  border-color: rgba(78, 205, 196, 0.2);
}

.faq-item.active {
  box-shadow: var(--shadow-sm);
  border-color: rgba(78, 205, 196, 0.2);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  transition: color var(--transition);
}

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

.faq-chevron {
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--text-lighter);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--teal);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* --- CTA Section --- */
.cta-section {
  padding: 40px 0 120px;
}

.cta-card {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border-radius: var(--radius-xl);
  padding: 80px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.cta-card::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 240px;
  height: 240px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.cta-card .hero-cta {
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* --- Footer --- */
.footer {
  background: #1a1a2e;
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer .nav-logo span {
  color: var(--white);
}

.footer-tagline {
  margin-top: 12px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  color: rgba(255, 255, 255, 0.6);
}

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

.footer-links-group h4 {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 18px;
}

.footer-links-group li {
  margin-bottom: 10px;
}

.footer-links-group a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
}

.footer-links-group a:hover {
  color: var(--teal-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
}

/* --- Animations --- */
.animate-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-delay-1 { transition-delay: 0.12s; }
.animate-delay-2 { transition-delay: 0.24s; }
.animate-delay-3 { transition-delay: 0.36s; }

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html { scroll-behavior: auto; }

  .animate-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-grid {
    gap: 40px;
  }

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

  .access-grid {
    gap: 48px;
  }

  .pricing-grid {
    max-width: 900px;
  }

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

  .testimonials-grid .testimonial-card:last-child {
    grid-column: span 2;
    max-width: 480px;
    justify-self: center;
  }

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

  .footer-brand {
    grid-column: span 3;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
    z-index: 10000 !important;
    position: relative;
  }

  .nav-links {
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    background: #FFF9F0 !important;
    padding: 24px !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    gap: 12px !important;
    z-index: 9999 !important;
  }

  .nav-links.open {
    opacity: 1 !important;
    visibility: visible !important;
  }

  .nav-links a {
    padding: 14px 16px;
    font-size: 1rem;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero {
    min-height: auto;
    padding: 120px 0 60px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

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

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

  .hero-phone {
    order: -1;
  }

  .phone-mockup-hero {
    width: 260px;
  }

  .hero-scroll-hint {
    display: none;
  }

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

  .access-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .access-visual {
    order: -1;
  }

  .phone-mockup-tilted {
    transform: none;
    width: 260px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .pricing-card-premium {
    transform: none;
    order: -1;
  }

  .pricing-card-premium:hover {
    transform: translateY(-4px);
  }

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

  .testimonials-grid .testimonial-card:last-child {
    grid-column: span 1;
    max-width: none;
  }

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

  .footer-brand {
    grid-column: span 2;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .carousel-btn {
    display: none;
  }

  .screenshots-track-wrapper {
    padding: 0;
  }

  .cta-card {
    padding: 48px 24px;
  }

  .store-btn {
    padding: 11px 18px;
  }

  .store-btn small {
    font-size: 0.65rem;
  }

  .store-btn strong {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .store-btn {
    width: 100%;
    max-width: 260px;
    justify-content: center;
  }

  .pricing-card {
    padding: 32px 24px;
  }

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

  .footer-brand {
    grid-column: span 1;
  }
}

/* --- Subpage Styles --- */
.page-hero {
  padding: 140px 0 60px;
  text-align: center;
}

.page-hero .section-title,
.page-hero .section-subtitle {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.page-content {
  padding: 0 0 120px;
}

.content-block {
  max-width: 720px;
  margin: 0 auto 48px;
}

.content-block:last-child {
  margin-bottom: 0;
}

.content-block h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.content-block h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 24px;
  margin-bottom: 8px;
}

.content-block p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 12px;
}

.content-block p:last-child {
  margin-bottom: 0;
}

.content-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.content-list li {
  position: relative;
  padding-left: 24px;
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.65;
}

.content-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.content-block code {
  background: var(--teal-subtle);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.9em;
  color: var(--teal-dark);
}

.text-link {
  color: var(--teal-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

.text-link:hover {
  color: var(--teal);
}
