/* ============================================================================
   Hey Tuni! Landing Page — Styles
   Light theme, Duolingo-inspired 3D depth buttons, glassmorphism accents
   ============================================================================ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Nunito', sans-serif;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: var(--line-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* === Design Tokens === */
:root {
  /* Brand Colors */
  --color-primary: #58CC02;
  --color-primary-dark: #46A302;
  --color-primary-light: #D7FFB8;
  --color-primary-glow: rgba(88, 204, 2, 0.15);
  --color-primary-subtle: rgba(88, 204, 2, 0.08);
  --color-primary-bg: #F0FFF0;

  /* Light Theme */
  --color-bg: #FFFFFF;
  --color-bg-alt: #F7F7F7;
  --color-bg-hero: #F7F7F7;
  --color-surface: #FFFFFF;

  /* Text */
  --color-text: #4B4B4B;
  --color-text-light: #AFAFAF;
  --color-text-dark: #3C3C3C;
  --color-text-muted: #777777;

  /* Borders */
  --color-border: #E5E5E5;
  --color-border-light: #EEEEEE;

  /* Accents */
  --color-accent-blue: #1CB0F6;
  --color-accent-orange: #FF9600;
  --color-accent-red: #FF4B4B;
  --color-accent-purple: #CE82FF;

  /* Typography */
  --font-family: 'Nunito', sans-serif;
  --font-size-hero: 3.2rem;
  --font-size-h2: 2.25rem;
  --font-size-h3: 1.35rem;
  --font-size-body: 1.05rem;
  --font-size-small: 0.9rem;
  --font-size-xs: 0.8rem;
  --line-height: 1.6;
  --font-weight-bold: 800;
  --font-weight-semibold: 700;
  --font-weight-normal: 600;

  /* Spacing */
  --section-padding: 80px 24px;
  --card-radius: 16px;
  --btn-radius: 16px;
  --max-width: 1200px;
  --max-width-narrow: 800px;

  /* 3D Depth (Duolingo) */
  --depth-shadow: 0 4px 0 var(--color-primary-dark);
  --depth-shadow-gray: 0 4px 0 #D1D1D1;
  --depth-shadow-dark: 0 4px 0 #2B2B2B;
}

/* === Typography === */
h1, h2, h3, h4 {
  color: var(--color-text-dark);
  font-weight: var(--font-weight-bold);
  line-height: 1.15;
}
h1 { font-size: var(--font-size-hero); }
h2 { font-size: var(--font-size-h2); margin-bottom: 16px; }
h3 { font-size: var(--font-size-h3); margin-bottom: 12px; }
p { font-size: var(--font-size-body); font-weight: var(--font-weight-normal); margin-bottom: 16px; }
a { color: var(--color-primary); text-decoration: none; font-weight: var(--font-weight-semibold); transition: color 0.2s; }
a:hover { color: var(--color-primary-dark); }

.gradient-text {
  color: var(--color-primary);
}

.section-tag {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
}

/* === Buttons — Duolingo 3D Depth Pill Style === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border: none;
  border-radius: 9999px; /* Pill shape */
  font-family: var(--font-family);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
  min-height: 52px;
  min-width: 44px;
  position: relative;
}

.btn--primary {
  background-color: var(--color-primary);
  color: #FFFFFF;
  box-shadow: var(--depth-shadow);
}
.btn--primary:hover {
  background-color: var(--color-primary);
  color: #FFFFFF;
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--color-primary-dark);
}
.btn--primary:active {
  transform: translateY(4px);
  box-shadow: none;
}

.btn--secondary, .btn--outline {
  background-color: var(--color-bg);
  color: var(--color-text-dark);
  border: 2px solid var(--color-border);
  box-shadow: var(--depth-shadow-gray);
}
.btn--secondary:hover, .btn--outline:hover {
  background-color: var(--color-bg-alt);
  color: var(--color-text-dark);
  transform: translateY(2px);
  box-shadow: 0 2px 0 #D1D1D1;
}
.btn--secondary:active, .btn--outline:active {
  transform: translateY(4px);
  box-shadow: none;
}

.btn--nav {
  padding: 8px 20px;
  min-height: 40px;
  font-size: var(--font-size-small);
  text-transform: uppercase;
  background-color: var(--color-primary);
  color: #FFFFFF;
  box-shadow: 0 3px 0 var(--color-primary-dark);
  border-radius: 9999px;
}
.btn--nav:hover { color: #FFFFFF; transform: translateY(2px); box-shadow: 0 1px 0 var(--color-primary-dark); }
.btn--nav:active { transform: translateY(3px); box-shadow: none; }

.btn--lg { padding: 16px 40px; font-size: var(--font-size-body); min-height: 56px; }

.btn--dark {
  background-color: var(--color-text-dark);
  color: #FFFFFF;
  box-shadow: var(--depth-shadow-dark);
}
.btn--dark:hover { color: #FFFFFF; transform: translateY(2px); box-shadow: 0 2px 0 #2B2B2B; }
.btn--dark:active { transform: translateY(4px); box-shadow: none; }

/* Remove glow style — replace with Duolingo depth */
.btn--glow::before { display: none; }

/* === Navigation === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: all 0.3s ease;
  background: var(--color-bg);
  border-bottom: 2px solid var(--color-border);
}

.navbar.scrolled {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.navbar__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-text-dark);
}
.navbar__logo img { width: 40px; height: 40px; }
.navbar__logo span { font-size: 1.3rem; font-weight: var(--font-weight-bold); color: var(--color-text-dark); }

.navbar__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.navbar__links a {
  color: var(--color-text);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-small);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 0;
  transition: color 0.2s;
}
.navbar__links a:hover { color: var(--color-primary); }

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

.navbar__lang {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--color-bg-alt);
  border-radius: 20px;
  padding: 4px;
  border: 2px solid var(--color-border);
}
.navbar__lang button {
  padding: 5px 12px;
  border: none;
  border-radius: 16px;
  font-family: var(--font-family);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  cursor: pointer;
  transition: all 0.2s;
  background: transparent;
  color: var(--color-text-light);
}
.navbar__lang button.active {
  background: var(--color-primary);
  color: #FFFFFF;
}

.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  align-items: center;
}
.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* === Hero Section === */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 100px 24px 40px;
  background: var(--color-bg-alt);
}

.hero__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero__glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(88, 204, 2, 0.08) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
  animation: pulse-glow 4s ease-in-out infinite;
}

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

.hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 2;
}

.hero__content { flex: 1; max-width: 560px; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
}
.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  animation: dot-pulse 2s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero__title {
  font-size: var(--font-size-hero);
  margin-bottom: 24px;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--color-text-dark);
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--color-text);
  margin-bottom: 40px;
  font-weight: var(--font-weight-normal);
  line-height: 1.7;
}

.hero__buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__mascot {
  flex: 0 0 auto;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero__mascot img {
  max-width: 380px;
  width: 100%;
  height: auto;
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(0 16px 32px rgba(88, 204, 2, 0.15));
  position: relative;
  z-index: 2;
}
.hero__mascot-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(88, 204, 2, 0.1) 0%, transparent 70%);
  animation: pulse-glow 4s ease-in-out infinite;
  z-index: 1;
}

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

.hero__scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}
.hero__scroll-arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid var(--color-text-light);
  border-bottom: 2px solid var(--color-text-light);
  transform: rotate(45deg);
  animation: scroll-bounce 2s ease-in-out infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.4; }
  50% { transform: rotate(45deg) translateY(8px); opacity: 0.8; }
}

/* === Features Section === */
.features {
  padding: var(--section-padding);
  background: var(--color-bg);
  position: relative;
}

.features__inner { max-width: var(--max-width); margin: 0 auto; }
.features__header { text-align: center; margin-bottom: 64px; }
.features__title { margin-bottom: 16px; }
.features__subtitle { color: var(--color-text); max-width: 500px; margin: 0 auto; }

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

.feature-card {
  background: var(--color-bg);
  border: 2px solid var(--color-border);
  border-radius: var(--card-radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--depth-shadow-gray);
  transition: all 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 0 #D1D1D1;
}

.feature-card__icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.3s;
}
.feature-card:hover .feature-card__icon-wrap {
  background: var(--color-primary);
  transform: scale(1.1);
}
.feature-card:hover .feature-card__icon-wrap .feature-card__icon {
  color: #FFFFFF;
}

.feature-card__icon { color: var(--color-primary-dark); display: block; }
.feature-card__title { font-size: var(--font-size-h3); margin-bottom: 10px; color: var(--color-text-dark); }
.feature-card__desc { font-size: var(--font-size-small); color: var(--color-text-light); margin-bottom: 0; }

/* === App Showcase Section === */
.showcase {
  padding: 100px 24px;
  background: var(--color-primary-bg);
  position: relative;
  overflow: hidden;
}

.showcase__inner { max-width: var(--max-width); margin: 0 auto; }
.showcase__header { text-align: center; margin-bottom: 72px; }

.showcase__phones {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 32px;
  perspective: 1200px;
}

.phone-mockup { text-align: center; }

.phone-mockup__frame {
  width: 240px;
  height: 500px;
  border-radius: 36px;
  background: var(--color-bg);
  border: 3px solid var(--color-border);
  padding: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1),
              var(--depth-shadow-gray);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.phone-mockup__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

.phone-mockup__notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: var(--color-bg);
  border-radius: 0 0 16px 16px;
  z-index: 10;
}

.phone-mockup__frame--featured {
  width: 270px;
  height: 560px;
  border-color: var(--color-primary);
  box-shadow: 0 24px 64px rgba(88, 204, 2, 0.15),
              0 4px 0 var(--color-primary-dark);
}

.phone-mockup--left .phone-mockup__frame { transform: rotateY(8deg); }
.phone-mockup--right .phone-mockup__frame { transform: rotateY(-8deg); }
.phone-mockup--left:hover .phone-mockup__frame,
.phone-mockup--right:hover .phone-mockup__frame {
  transform: rotateY(0) translateY(-8px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.15);
}
.phone-mockup--center:hover .phone-mockup__frame {
  transform: translateY(-8px);
  box-shadow: 0 32px 80px rgba(88, 204, 2, 0.2),
              0 4px 0 var(--color-primary-dark);
}

.phone-mockup__label {
  margin-top: 20px;
  font-size: var(--font-size-small);
  color: var(--color-text);
  font-weight: var(--font-weight-semibold);
}

/* === How It Works Section === */
.how-it-works {
  padding: var(--section-padding);
  background: var(--color-bg);
  position: relative;
}

.how-it-works__inner { max-width: var(--max-width); margin: 0 auto; }
.how-it-works__header { text-align: center; margin-bottom: 64px; }

.how-it-works__steps {
  display: flex;
  justify-content: center;
  gap: 32px;
}

.step {
  background: var(--color-bg);
  border: 2px solid var(--color-border);
  border-radius: var(--card-radius);
  box-shadow: var(--depth-shadow-gray);
  text-align: center;
  padding: 36px 28px;
  max-width: 340px;
  flex: 1;
  position: relative;
}

.step__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #FFF;
  font-size: 1.4rem;
  font-weight: var(--font-weight-bold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 3px 0 var(--color-primary-dark);
  position: relative;
  z-index: 2;
}

.step__connector {
  position: absolute;
  top: 63px;
  right: -16px;
  width: 32px;
  height: 3px;
  background: var(--color-border);
  border-radius: 2px;
  z-index: 1;
}
.step:last-child .step__connector { display: none; }

.step__title { font-size: var(--font-size-h3); margin-bottom: 10px; color: var(--color-text-dark); }
.step__desc { font-size: var(--font-size-small); color: var(--color-text); margin-bottom: 0; }

/* === CTA Section === */
.cta {
  padding: 80px 24px;
  background: var(--color-primary-bg);
  position: relative;
  overflow: hidden;
}

.cta__inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.cta__mascot { margin-bottom: 24px; }
.cta__mascot img {
  width: 100px;
  height: 100px;
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(0 8px 16px rgba(88, 204, 2, 0.15));
}

.cta__title { font-size: var(--font-size-h2); margin-bottom: 16px; }
.cta__subtitle { color: var(--color-text); margin-bottom: 36px; }
.cta__buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* === Footer === */
.footer {
  background: var(--color-text-dark);
  color: #FFFFFF;
  padding: 48px 24px 24px;
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  flex-wrap: wrap;
}

.footer__brand { max-width: 280px; }
.footer__brand-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer__brand-logo img { width: 36px; height: 36px; }
.footer__brand-logo span { font-size: 1.2rem; font-weight: var(--font-weight-bold); color: #FFFFFF; }
.footer__brand p { color: #AFAFAF; font-size: var(--font-size-small); }

.footer__links h4 {
  color: #FFFFFF;
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}
.footer__links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__links a { color: #AFAFAF; font-weight: var(--font-weight-normal); font-size: var(--font-size-small); transition: color 0.2s; }
.footer__links a:hover { color: var(--color-primary-light); }

.footer__bottom {
  max-width: var(--max-width);
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: #AFAFAF;
  font-size: var(--font-size-xs);
}

/* === Inner Pages (Privacy, Terms, Support) === */
.page-header {
  background: var(--color-bg-alt);
  padding: 120px 24px 60px;
  text-align: center;
}
.page-header__icon {
  max-width: 180px;
  max-height: 180px;
  width: auto;
  height: auto;
  margin: 0 auto 20px;
  display: block;
}
.page-header__title { font-size: var(--font-size-h2); margin-bottom: 8px; color: var(--color-text-dark); }
.page-header__date { color: var(--color-text-light); font-size: var(--font-size-small); }

/* === Policy / Terms Content — LIMITED WIDTH === */
.policy-content {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  padding: 48px 24px 80px;
  background: var(--color-bg);
}
.policy-content h2 {
  font-size: 1.4rem;
  margin-top: 40px;
  margin-bottom: 16px;
  padding-left: 16px;
  border-left: 4px solid var(--color-primary);
  color: var(--color-text-dark);
}
.policy-content h3 { font-size: 1.15rem; margin-top: 24px; margin-bottom: 12px; }
.policy-content p, .policy-content li { font-size: var(--font-size-body); color: var(--color-text); line-height: 1.8; }
.policy-content ul, .policy-content ol { margin-left: 24px; margin-bottom: 16px; }
.policy-content li { margin-bottom: 8px; }
.policy-content table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: var(--font-size-small); }
.policy-content th, .policy-content td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--color-border); }
.policy-content th { background: var(--color-bg-alt); font-weight: var(--font-weight-bold); color: var(--color-text-dark); }

/* === FAQ (Support Page) — LIMITED WIDTH === */
.faq-section {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.faq-section__title { text-align: center; margin-bottom: 36px; }
.faq-item {
  border: 2px solid var(--color-border);
  border-radius: var(--card-radius);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 2px 0 var(--color-border);
}
.faq-item__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: var(--color-bg);
  border: none;
  font-family: var(--font-family);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-dark);
  cursor: pointer;
  text-align: left;
  min-height: 56px;
  transition: background 0.2s;
}
.faq-item__question:hover { background: var(--color-bg-alt); }
.faq-item__question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--color-primary);
  font-weight: var(--font-weight-bold);
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.3s;
}
.faq-item.active .faq-item__question::after { content: '−'; }
.faq-item__answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
.faq-item.active .faq-item__answer { max-height: 500px; padding: 0 20px 20px; }
.faq-item__answer p { color: var(--color-text); font-size: var(--font-size-body); }

/* === Contact (Support Page) — LIMITED WIDTH === */
.contact-section {
  background: var(--color-bg-alt);
  padding: var(--section-padding);
  text-align: center;
}
.contact-section__email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.2rem;
  color: var(--color-primary);
  font-weight: var(--font-weight-bold);
}

/* === Language Toggle === */
[lang="vi"] { display: none; }
.lang-vi [lang="en"] { display: none; }
.lang-vi [lang="vi"] { display: block; }
.lang-vi span[lang="vi"], .lang-vi a[lang="vi"] { display: inline; }

/* === Scroll Reveal Animations === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal--left { transform: translateX(-40px); }
.reveal--right { transform: translateX(40px); }
.reveal--up { transform: translateY(30px); }
.reveal.revealed {
  opacity: 1;
  transform: translateY(0) translateX(0);
}

/* === Responsive Design === */
@media (max-width: 1024px) {
  :root { --font-size-hero: 2.6rem; --font-size-h2: 1.9rem; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .how-it-works__steps { flex-wrap: wrap; }
  .phone-mockup__frame { width: 200px; height: 420px; }
  .phone-mockup__frame--featured { width: 230px; height: 480px; }
}

@media (max-width: 768px) {
  :root {
    --font-size-hero: 2rem;
    --font-size-h2: 1.5rem;
    --section-padding: 48px 16px;
  }

  .navbar__links, .navbar__actions { display: none; }
  .navbar__hamburger { display: flex; }

  /* Mobile menu */
  .navbar__links.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-bg);
    padding: 32px 24px;
    gap: 4px;
    z-index: 999;
    border-top: 2px solid var(--color-border);
  }
  .navbar__links.active a { font-size: 1.1rem; padding: 12px 0; }

  .navbar__actions.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    bottom: 80px;
    left: 24px;
    right: 24px;
    z-index: 1000;
    gap: 12px;
    align-items: stretch;
  }

  .hero { padding: 100px 20px 40px; min-height: auto; }
  .hero__inner { flex-direction: column-reverse; text-align: center; gap: 32px; }
  .hero__content { max-width: 100%; }
  .hero__mascot img { max-width: 250px; }
  .hero__mascot-glow { width: 200px; height: 200px; }
  .hero__buttons { justify-content: center; }
  .hero__scroll-indicator { display: none; }

  .features__grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }

  .showcase__phones { flex-direction: column; align-items: center; gap: 40px; }
  .phone-mockup--left .phone-mockup__frame,
  .phone-mockup--right .phone-mockup__frame { transform: none; }
  .phone-mockup__frame { width: 220px; height: 460px; }
  .phone-mockup__frame--featured { width: 250px; height: 520px; }

  .how-it-works__steps { flex-direction: column; align-items: center; gap: 24px; }
  .step__connector { display: none; }

  .footer__inner { flex-direction: column; gap: 32px; }

  .page-header__icon { width: 80px; height: 80px; }
}

/* === Print Styles === */
@media print {
  .navbar, .footer, .hero__particles, .hero__glow, .hero__scroll-indicator { display: none !important; }
  .hero { min-height: auto; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .page-header { background: none; padding: 20px 0; }
  body { font-size: 12pt; }
}
