/* ============================================
   EDORY AI - Main Stylesheet
   Primary: #F5A623  Secondary: #FF7043
   Font: Nunito (Google Fonts)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&display=swap');

/* ---- CSS Variables ---- */
:root {
  --primary:        #F5A623;
  --primary-dark:   #E8911A;
  --primary-light:  #FFF3E0;
  --primary-xlight: #FFFBF5;
  --accent:         #FF7043;
  --accent-dark:    #E64A19;
  --success:        #66BB6A;
  --text:           #1A1A2E;
  --text-muted:     #6B7280;
  --border:         #FFE0B2;
  --white:          #FFFFFF;
  --surface:        #FFFFFF;
  --bg:             #FFFBF5;
  --shadow-sm:      0 2px 8px rgba(245,166,35,.12);
  --shadow-md:      0 8px 32px rgba(245,166,35,.18);
  --shadow-lg:      0 20px 60px rgba(245,166,35,.22);
  --radius-sm:      10px;
  --radius-md:      16px;
  --radius-lg:      24px;
  --radius-xl:      32px;
  --radius-full:    9999px;
  --transition:     all .3s cubic-bezier(.4,0,.2,1);
}

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

html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Nunito', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-dark); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }
ul, ol { list-style: none; }
button, input, textarea, select { font-family: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: .5em;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1rem; color: var(--text-muted); }
p:last-child { margin-bottom: 0; }

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.container--narrow { max-width: 780px; }
.container--wide   { max-width: 1400px; }

.section {
  padding: 5rem 0;
}
.section--sm { padding: 3rem 0; }
.section--lg { padding: 7rem 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.btn--primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 18px rgba(245,166,35,.35);
}
.btn--primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245,166,35,.45);
  color: var(--white);
}
.btn--outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn--outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}
.btn--white {
  background: var(--white);
  color: var(--primary-dark);
  border-color: var(--white);
  box-shadow: 0 4px 18px rgba(0,0,0,.12);
}
.btn--white:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  color: var(--primary-dark);
}
.btn--lg { padding: 1.1rem 2.6rem; font-size: 1.1rem; }
.btn--sm { padding: .55rem 1.25rem; font-size: .9rem; }

/* ---- Badge ---- */
.badge {
  display: inline-block;
  padding: .35rem 1rem;
  border-radius: var(--radius-full);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.badge--orange { background: var(--primary-light); color: var(--primary-dark); }
.badge--white  { background: rgba(255,255,255,.2); color: var(--white); border: 1px solid rgba(255,255,255,.4); }

/* ====================================================
   HEADER / NAV
   ==================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,251,245,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(245,166,35,.12);
  transition: var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(245,166,35,.12);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 1rem;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--text);
  text-decoration: none;
}
.site-logo svg { width: 38px; height: 38px; flex-shrink: 0; }
.site-logo span { color: var(--primary); }

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a {
  font-weight: 600;
  color: var(--text);
  font-size: .95rem;
  padding: .3rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--primary); border-bottom-color: var(--primary); }

.nav-cta { margin-left: .5rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: .5rem;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem;
  flex-direction: column;
  gap: 1rem;
  z-index: 999;
  box-shadow: 0 8px 32px rgba(0,0,0,.1);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  padding: .75rem 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; }

/* ====================================================
   HERO SECTION
   ==================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 70px;
  background: linear-gradient(135deg, var(--bg) 0%, #FFF0D4 60%, #FFE0A0 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,166,35,.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,112,67,.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content { }
.hero-badge { margin-bottom: 1.5rem; }
.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 1.25rem;
  color: var(--text);
}
.hero-title .highlight {
  color: var(--primary);
  position: relative;
  display: inline-block;
}
.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
  opacity: .4;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 3rem;
}
.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.hero-stat {
  display: flex;
  flex-direction: column;
}
.hero-stat-number {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary-dark);
  line-height: 1;
}
.hero-stat-label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-owl-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-owl-bg {
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(245,166,35,.22) 0%, rgba(255,224,128,.15) 60%, transparent 100%);
}
.hero-owl {
  width: 340px;
  filter: drop-shadow(0 20px 40px rgba(245,166,35,.3));
  animation: owlFloat 4s ease-in-out infinite;
  position: relative;
  z-index: 1;
}
.hero-bubble {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: .75rem 1rem;
  box-shadow: var(--shadow-md);
  font-size: .82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: .5rem;
  white-space: nowrap;
  z-index: 2;
}
.hero-bubble--tl { top: 10%; left: -20px; }
.hero-bubble--tr { top: 25%; right: -10px; }
.hero-bubble--bl { bottom: 20%; left: -10px; }
.hero-bubble-icon { font-size: 1.2rem; }

@keyframes owlFloat {
  0%, 100% { transform: translateY(0px) rotate(-2deg); }
  50%       { transform: translateY(-16px) rotate(2deg); }
}

/* ====================================================
   FEATURES SECTION
   ==================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1.5px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 64px; height: 64px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.8rem;
}
.feature-card h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.feature-card p  { font-size: .9rem; }

/* ====================================================
   HOW IT WORKS
   ==================================================== */
.how-it-works { background: linear-gradient(135deg, var(--text) 0%, #2D1B69 100%); }
.how-it-works .section-title,
.how-it-works .section-subtitle { color: var(--white); }
.how-it-works .section-subtitle { color: rgba(255,255,255,.7); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
  position: relative;
}
.steps-grid::after {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(16.66% + 20px);
  right: calc(16.66% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
  z-index: 0;
}
.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-number {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  font-size: 1.8rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 24px rgba(245,166,35,.4);
}
.step-card h3 { color: var(--white); font-size: 1.2rem; margin-bottom: .75rem; }
.step-card p  { color: rgba(255,255,255,.7); font-size: .95rem; }

/* ====================================================
   APP SCREENSHOTS
   ==================================================== */
.screenshots-section { background: var(--white); }
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  align-items: end;
}
.screenshot-card {
  background: var(--bg);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 3px solid var(--border);
  transition: var(--transition);
  aspect-ratio: 9/18;
  display: flex;
  flex-direction: column;
}
.screenshot-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}
.screenshot-card--center {
  transform: scale(1.06);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  z-index: 1;
}
.screenshot-card--center:hover { transform: scale(1.06) translateY(-8px); }

.mock-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1rem;
  gap: .5rem;
}
.mock-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--border);
}
.mock-logo-small {
  font-size: .7rem;
  font-weight: 900;
  color: var(--primary-dark);
}
.mock-credits {
  background: var(--primary-light);
  border-radius: var(--radius-full);
  padding: .2rem .6rem;
  font-size: .65rem;
  font-weight: 700;
  color: var(--primary-dark);
}
.mock-title { font-size: .75rem; font-weight: 800; color: var(--text); margin: .5rem 0 .25rem; }
.mock-input {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .5rem;
  font-size: .6rem;
  color: var(--text-muted);
  margin-bottom: .25rem;
}
.mock-story-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: .75rem;
  border: 1px solid var(--border);
  flex: 1;
}
.mock-story-img {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--primary-light), #FFD080);
  border-radius: var(--radius-sm);
  margin-bottom: .4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.mock-story-title { font-size: .6rem; font-weight: 700; color: var(--text); }
.mock-story-sub   { font-size: .5rem; color: var(--text-muted); margin: 0; }

.mock-btn {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-full);
  padding: .5rem;
  font-size: .65rem;
  font-weight: 700;
  text-align: center;
  margin-top: .5rem;
}
.mock-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .4rem;
  flex: 1;
}
.mock-gallery-item {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary-light), #FFD080);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.mock-gallery-item:nth-child(2) { background: linear-gradient(135deg, #E3F2FD, #BBDEFB); }
.mock-gallery-item:nth-child(3) { background: linear-gradient(135deg, #F3E5F5, #E1BEE7); }
.mock-gallery-item:nth-child(4) { background: linear-gradient(135deg, #E8F5E9, #C8E6C9); }

.screenshot-label {
  text-align: center;
  padding: .75rem;
  font-size: .8rem;
  font-weight: 700;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

/* ====================================================
   TESTIMONIALS
   ==================================================== */
.testimonials-section { background: var(--bg); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1.5px solid var(--border);
  transition: var(--transition);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem; right: 1.5rem;
  font-size: 5rem;
  color: var(--primary-light);
  font-family: Georgia, serif;
  line-height: 1;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.testimonial-stars {
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: .75rem;
  letter-spacing: 2px;
}
.testimonial-text {
  font-style: italic;
  color: var(--text);
  margin-bottom: 1.25rem;
  font-size: .95rem;
  line-height: 1.7;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.testimonial-avatar--1 { background: linear-gradient(135deg, #FFE082, #FF8A65); }
.testimonial-avatar--2 { background: linear-gradient(135deg, #80DEEA, #4DD0E1); }
.testimonial-avatar--3 { background: linear-gradient(135deg, #A5D6A7, #66BB6A); }
.testimonial-name  { font-weight: 700; font-size: .9rem; color: var(--text); margin: 0; }
.testimonial-meta  { font-size: .75rem; color: var(--text-muted); margin: 0; }

/* ====================================================
   DOWNLOAD / CTA SECTION
   ==================================================== */
.download-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  position: relative;
  overflow: hidden;
}
.download-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.download-section::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
}
.download-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}
.download-inner h2 { color: var(--white); font-size: clamp(1.8rem, 4vw, 3rem); }
.download-inner p  { color: rgba(255,255,255,.85); font-size: 1.1rem; max-width: 560px; margin: 1rem auto 2.5rem; }
.store-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.store-btn {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.4);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: .9rem 1.6rem;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: var(--transition);
  font-weight: 700;
}
.store-btn:hover {
  background: var(--white);
  color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
}
.store-btn-icon { font-size: 1.8rem; line-height: 1; }
.store-btn-text small { display: block; font-size: .65rem; font-weight: 600; opacity: .8; }
.store-btn-text strong { display: block; font-size: 1rem; }

/* ====================================================
   SECTION HEADER (shared)
   ==================================================== */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.section-badge { margin-bottom: 1rem; }
.section-title { margin-bottom: .75rem; }
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ====================================================
   FEATURES PAGE (page-features)
   ==================================================== */
.page-hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--bg) 0%, #FFF0D4 100%);
  text-align: center;
}
.page-hero .badge { margin-bottom: 1rem; }
.page-hero h1 { max-width: 700px; margin: 0 auto .75rem; }
.page-hero p   { max-width: 560px; margin: 0 auto; font-size: 1.05rem; }

.age-groups { background: var(--white); }
.age-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.age-card {
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  border: 2px solid var(--border);
  transition: var(--transition);
}
.age-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.age-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.age-card h3 { font-size: 1.15rem; }

.subjects-section { background: var(--bg); }
.subjects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.subject-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding: 1.25rem 1rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  text-align: center;
  transition: var(--transition);
  font-size: .85rem;
  font-weight: 700;
}
.subject-pill:hover { border-color: var(--primary); background: var(--primary-light); }
.subject-pill-icon { font-size: 1.6rem; }

/* ====================================================
   PRICING PAGE
   ==================================================== */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
  font-weight: 700;
  font-size: .95rem;
}
.toggle-switch {
  width: 48px; height: 26px;
  background: var(--border);
  border-radius: var(--radius-full);
  cursor: pointer;
  position: relative;
  transition: var(--transition);
  border: none;
}
.toggle-switch.active { background: var(--primary); }
.toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  background: var(--white);
  border-radius: 50%;
  transition: var(--transition);
}
.toggle-switch.active::after { transform: translateX(22px); }
.toggle-badge {
  background: var(--success);
  color: var(--white);
  padding: .2rem .5rem;
  border-radius: var(--radius-full);
  font-size: .7rem;
  font-weight: 700;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  align-items: start;
}
.pricing-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  border: 2px solid var(--border);
  transition: var(--transition);
  position: relative;
}
.pricing-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }
.pricing-card--popular {
  border-color: var(--primary);
  transform: scale(1.04);
  box-shadow: var(--shadow-lg);
}
.pricing-popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--primary), var(--accent));
  color: var(--white);
  padding: .35rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: .75rem;
  font-weight: 800;
  white-space: nowrap;
}
.pricing-icon { font-size: 2rem; margin-bottom: .75rem; }
.pricing-name { font-size: 1.1rem; font-weight: 800; margin-bottom: .25rem; }
.pricing-price-wrap { margin: 1.25rem 0; }
.pricing-price {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--text);
  line-height: 1;
}
.pricing-price sup { font-size: 1.3rem; vertical-align: super; }
.pricing-period { font-size: .85rem; color: var(--text-muted); margin: 0; }
.pricing-credits {
  background: var(--primary-light);
  border-radius: var(--radius-md);
  padding: .6rem 1rem;
  font-size: .85rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 1.25rem 0;
  text-align: center;
}
.pricing-features { margin: 1.25rem 0; }
.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  padding: .5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .9rem;
  color: var(--text);
}
.pricing-feature:last-child { border-bottom: none; }
.pricing-feature-icon { color: var(--success); font-size: 1rem; flex-shrink: 0; margin-top: .1rem; }
.pricing-feature-icon.no { color: var(--text-muted); }

.credits-explainer {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1.5px solid var(--border);
  margin-top: 3rem;
}
.credits-explainer h3 { margin-bottom: 1rem; }
.credits-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.5rem; }
.credit-item {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  border: 1px solid var(--border);
}
.credit-item-cost {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}
.credit-item-label { font-size: .85rem; color: var(--text-muted); margin: .25rem 0 0; }

/* ====================================================
   BLOG
   ==================================================== */
.blog-page { padding-top: 130px; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--border);
  transition: var(--transition);
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.blog-card img, .blog-card .blog-img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.blog-img-placeholder {
  background: linear-gradient(135deg, var(--primary-light), #FFD080);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}
.blog-card-body { padding: 1.5rem; }
.blog-card-cat {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--primary);
  margin-bottom: .5rem;
}
.blog-card h3 { font-size: 1rem; line-height: 1.4; margin-bottom: .5rem; }
.blog-card h3 a { color: var(--text); }
.blog-card h3 a:hover { color: var(--primary); }
.blog-excerpt { font-size: .875rem; margin-bottom: 1rem; }
.blog-card-meta {
  font-size: .75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.single-post { padding-top: 130px; max-width: 800px; margin: 0 auto; }
.post-header { margin-bottom: 2.5rem; }
.post-category {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--primary);
  margin-bottom: .75rem;
}
.post-featured-img { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 2.5rem; }
.post-content { font-size: 1.05rem; line-height: 1.85; color: var(--text); }
.post-content h2, .post-content h3 { color: var(--text); margin: 1.75em 0 .75em; }
.post-content p { color: var(--text); margin-bottom: 1.25em; }
.post-content ul, .post-content ol { margin: 1em 0 1.25em 1.5em; list-style: disc; }
.post-content ul li, .post-content ol li { margin-bottom: .4em; }
.post-content a { color: var(--primary-dark); text-decoration: underline; }
.post-content blockquote {
  border-left: 4px solid var(--primary);
  padding: 1rem 1.5rem;
  background: var(--primary-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5em 0;
  font-style: italic;
}

/* ====================================================
   FOOTER
   ==================================================== */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,.7);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand {}
.footer-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-logo span { color: var(--primary); }
.footer-desc { font-size: .9rem; line-height: 1.7; max-width: 280px; }
.footer-social {
  display: flex;
  gap: .75rem;
  margin-top: 1.5rem;
}
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,.15);
}
.footer-social a:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

.footer-col h4 {
  color: var(--white);
  font-size: .9rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.footer-links { display: flex; flex-direction: column; gap: .6rem; }
.footer-links a {
  color: rgba(255,255,255,.65);
  font-size: .875rem;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--primary); padding-left: 4px; }

.footer-app-btns { display: flex; flex-direction: column; gap: .75rem; }
.footer-store-btn {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-md);
  padding: .65rem 1rem;
  color: var(--white);
  font-size: .8rem;
  font-weight: 700;
  transition: var(--transition);
}
.footer-store-btn:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }
.footer-store-btn-icon { font-size: 1.2rem; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  font-size: .8rem;
  flex-wrap: wrap;
  gap: .75rem;
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--primary); }
.footer-bottom-links { display: flex; gap: 1.5rem; }

/* ====================================================
   UTILITIES
   ==================================================== */
.text-center  { text-align: center; }
.text-primary { color: var(--primary); }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.d-flex { display: flex; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.w-full { width: 100%; }

/* ====================================================
   RESPONSIVE
   ==================================================== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .subjects-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .credits-items { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
  .hero-visual { order: -1; }
  .hero-owl { width: 220px; }
  .hero-owl-bg { width: 280px; height: 280px; }
  .hero-bubble--tl, .hero-bubble--bl { display: none; }
  .hero-bubble--tr { right: 5%; }
  .hero-stats { justify-content: center; }
  .hero-actions { justify-content: center; }

  .steps-grid { grid-template-columns: 1fr; gap: 2rem; }
  .steps-grid::after { display: none; }

  .screenshots-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 2rem auto 0;
  }
  .screenshot-card--center { transform: none; }

  .testimonials-grid { grid-template-columns: 1fr; }
  .age-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card--popular { transform: none; }
  .blog-grid { grid-template-columns: 1fr; }
  .subjects-grid { grid-template-columns: repeat(2, 1fr); }
  .credits-items { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .site-nav { display: none; }
  .nav-cta.desktop { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 480px) {
  .store-buttons { flex-direction: column; align-items: center; }
  .hero-stat-number { font-size: 1.4rem; }
  .features-grid { grid-template-columns: 1fr; }
}


/* =============================================
   LOGO IMG
   ============================================= */
.logo-img {
  width: auto;
  height: 44px;
  display: block;
  border-radius: 10px;
}

/* =============================================
   PHONE FRAME (App Screenshots)
   ============================================= */
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  align-items: start;
}

.screenshot-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.phone-frame {
  background: #1a1a2e;
  border-radius: 32px;
  padding: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25), 0 0 0 2px rgba(255,255,255,0.08);
  width: 100%;
  max-width: 260px;
  overflow: hidden;
}

.phone-frame img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  display: block;
}

.screenshot-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted, #666);
  text-align: center;
}

/* =============================================
   MOBILE FIXES
   ============================================= */
@media (max-width: 768px) {
  .screenshots-grid {
    grid-template-columns: 1fr;
    max-width: 280px;
    margin: 2rem auto 0;
    gap: 2.5rem;
  }

  .phone-frame {
    max-width: 100%;
  }

  .site-logo .logo-img {
    height: 36px;
  }

  .hero-inner {
    flex-direction: column;
    gap: 2rem;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
  }

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

  .hero-visual {
    max-width: 280px;
    margin: 0 auto;
  }

  .nav-links {
    display: none;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .store-buttons {
    flex-direction: column;
    align-items: center;
  }

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

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


/* =============================================
   MOBILE NAV FIXES (overrides)
   ============================================= */
@media (max-width: 768px) {

  /* Show hamburger on mobile */
  .hamburger {
    display: flex !important;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
    z-index: 1001;
  }

  .hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text, #1A1A2E);
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  /* Hide desktop nav on mobile */
  .site-nav {
    display: none !important;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 999;
  }

  .site-nav.is-open {
    display: flex !important;
  }

  .site-nav a {
    font-size: 1.1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
  }

  /* Hide desktop CTA button */
  .header-cta {
    display: none !important;
  }

  /* Hero layout fixes */
  .hero-inner {
    flex-direction: column !important;
    gap: 2rem;
    padding: 2rem 0;
  }

  .hero-content {
    text-align: center;
    max-width: 100%;
  }

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

  .hero-title {
    font-size: 2rem !important;
  }

  .hero-visual {
    max-width: 260px;
    margin: 0 auto;
  }

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

  /* Stats row */
  .hero-stats {
    justify-content: center;
    gap: 1.5rem;
  }

  /* Section headings */
  .section-header h2 {
    font-size: 1.5rem;
  }
}


/* =============================================
   STORE BUTTONS — clearly visible
   ============================================= */
.store-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 1.2rem;
  background: #1A1A2E;
  color: #ffffff !important;
  border-radius: 12px;
  text-decoration: none !important;
  font-family: inherit;
  transition: background 0.2s, transform 0.15s;
  border: 1.5px solid rgba(255,255,255,0.12);
  min-width: 148px;
}

.store-btn:hover {
  background: #F5A623;
  color: #1A1A2E !important;
  transform: translateY(-2px);
}

.store-btn__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: currentColor;
}

.store-btn__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.store-btn__text small {
  font-size: 0.65rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.store-btn__text strong {
  font-size: 0.95rem;
  font-weight: 700;
}

/* Hero visual — replace SVG owl area with logo */
.hero-owl-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-img {
  width: 280px;
  height: 280px;
  border-radius: 56px;
  box-shadow: 0 24px 64px rgba(245,166,35,0.35), 0 8px 24px rgba(0,0,0,0.12);
  object-fit: cover;
}

@media (max-width: 768px) {
  .store-buttons {
    justify-content: center;
  }
  .hero-logo-img {
    width: 200px;
    height: 200px;
    border-radius: 40px;
  }
}


/* =============================================
   HERO LOGO + FLOATING BADGES
   ============================================= */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-logo-bg {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,166,35,0.18) 0%, rgba(245,166,35,0.04) 70%, transparent 100%);
  z-index: 0;
}

.hero-logo-img {
  position: relative;
  z-index: 1;
  animation: heroFloat 4s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

.hero-badge-float {
  position: absolute;
  background: #fff;
  border-radius: 50px;
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #1A1A2E;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  white-space: nowrap;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-badge-float--1 { top: 10%;  left: -10%; animation: badgeFloat1 3.5s ease-in-out infinite; }
.hero-badge-float--2 { top: 30%;  right: -8%; animation: badgeFloat2 4s ease-in-out infinite 0.5s; }
.hero-badge-float--3 { bottom: 8%; left: -5%; animation: badgeFloat1 3.8s ease-in-out infinite 1s; }

@keyframes badgeFloat1 {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%       { transform: translateY(-6px) rotate(2deg); }
}
@keyframes badgeFloat2 {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50%       { transform: translateY(-8px) rotate(-1deg); }
}

@media (max-width: 768px) {
  .hero-badge-float { display: none; }
  .hero-logo-bg { width: 220px; height: 220px; }
}


/* =============================================
   HERO OWL-WRAP: position for badge overlay
   ============================================= */
.hero-owl-wrap {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 340px;
  height: 340px;
}

/* =============================================
   STORE BUTTONS: force visible (override old styles)
   ============================================= */
.store-buttons .store-btn,
.hero-actions__stores .store-btn,
a.store-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  padding: 0.9rem 1.5rem !important;
  background: #1A1A2E !important;
  color: #fff !important;
  border-radius: 14px !important;
  text-decoration: none !important;
  border: none !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.22) !important;
  min-width: 170px !important;
  transition: background 0.2s, transform 0.15s;
  cursor: pointer;
}
.store-btn:hover,
.store-buttons .store-btn:hover,
.hero-actions__stores .store-btn:hover {
  background: #F5A623 !important;
  color: #1A1A2E !important;
  transform: translateY(-2px) !important;
}
.store-btn svg,
.store-btn .store-btn__icon {
  width: 26px !important;
  height: 26px !important;
  fill: currentColor !important;
  flex-shrink: 0 !important;
}
.store-btn .store-btn__text {
  display: flex !important;
  flex-direction: column !important;
  line-height: 1.25 !important;
  text-align: left !important;
}
.store-btn .store-btn__text small {
  font-size: 0.72rem !important;
  font-weight: 400 !important;
  opacity: 0.85 !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
}
.store-btn .store-btn__text strong {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
}
