/* ========================================
   RESILIENT PATH — WEBSITE STYLES
   ======================================== */

/* -- Design Tokens -- */
:root {
  --color-primary: #1a7a6d;
  --color-primary-light: #2aa393;
  --color-primary-dark: #135e54;
  --color-accent: #c8944a;
  --color-accent-light: #dbb07a;
  --color-accent-dark: #a67530;

  --color-bg: #faf9f7;
  --color-bg-alt: #f0eeea;
  --color-bg-dark: #1a1e2e;
  --color-bg-card: #ffffff;

  --color-text: #2d3142;
  --color-text-light: #5a6073;
  --color-text-muted: #8b90a0;
  --color-text-inverse: #f5f4f1;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.1);
  --shadow-glow: 0 0 60px rgba(26,122,109,0.15);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-primary-light);
}

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

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(250, 249, 247, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.nav-logo-img {
  height: 36px;
  width: auto;
  border-radius: 4px;
}

.footer-logo {
  width: 180px;
  height: auto;
  margin-bottom: 16px;
  border-radius: 6px;
}

.logo-icon {
  color: var(--color-primary);
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-light);
  letter-spacing: 0.01em;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition);
}

.nav-links a:hover {
  color: var(--color-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--color-primary);
  color: white !important;
  padding: 10px 24px;
  border-radius: var(--radius-xl);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--color-primary-light);
  color: white !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(26,122,109,0.3);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

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

.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 SECTION
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1a2a3a 0%, #1a3a3a 30%, #1a2e2e 60%, #2a1a2a 100%);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(26,122,109,0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(200,148,74,0.15) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 80%, rgba(26,122,109,0.1) 0%, transparent 40%);
  z-index: 1;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  animation: float-particle linear infinite;
}

@keyframes float-particle {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  50% { transform: translateY(-80px) scale(1.2); }
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 800px;
}

.hero-eyebrow {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent-light);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 700;
  color: white;
  line-height: 1.15;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--color-primary-light);
  margin-bottom: 24px;
  font-weight: 400;
}

.hero-description {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  max-width: 550px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-tagline {
  margin-top: 8px;
}

.tagline-badge {
  display: inline-block;
  padding: 8px 24px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-xl);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.05em;
  backdrop-filter: blur(10px);
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255,255,255,0.3);
  border-bottom: 2px solid rgba(255,255,255,0.3);
  transform: rotate(45deg);
  animation: scroll-bounce 2s infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.3; }
  50% { transform: rotate(45deg) translateY(8px); opacity: 1; }
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--color-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(26,122,109,0.25);
}

.btn-primary:hover {
  background: var(--color-primary-light);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(26,122,109,0.35);
}

.btn-secondary {
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.2);
  color: white;
  transform: translateY(-2px);
}

.btn-large {
  padding: 18px 40px;
  font-size: 1.05rem;
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
  padding: 100px 0;
}

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

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 16px;
  padding: 6px 16px;
  background: rgba(26,122,109,0.08);
  border-radius: var(--radius-xl);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
  margin-bottom: 20px;
}

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

/* -- About / Pillars -- */
.section-about {
  background: var(--color-bg);
}

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

.pillar-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all var(--transition);
}

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

.pillar-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(26,122,109,0.1), rgba(200,148,74,0.1));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--color-primary);
}

.pillar-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--color-text);
}

.pillar-card p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* -- Book & Workbook Layouts -- */
.section-book {
  background: var(--color-bg-alt);
}

.section-workbook {
  background: var(--color-bg);
}

.book-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.book-layout-reverse {
  direction: rtl;
}

.book-layout-reverse > * {
  direction: ltr;
}

.book-image {
  position: relative;
  display: flex;
  justify-content: center;
}

.book-image-wrapper {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 420px;
}

.book-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,122,109,0.2) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  animation: glow-pulse 4s ease-in-out infinite;
}

.glow-alt {
  background: radial-gradient(circle, rgba(200,148,74,0.2) 0%, transparent 70%);
}

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

.book-content .section-label {
  display: inline-block;
}

.book-content .section-title {
  text-align: left;
}

.book-description {
  font-size: 1.05rem;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 20px;
}

.book-features {
  list-style: none;
  margin: 28px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.book-features svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

/* -- Workbook Structure -- */
.workbook-structure {
  margin: 28px 0;
}

.workbook-structure h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: var(--color-text);
}

.structure-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.structure-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 16px;
  background: rgba(26,122,109,0.04);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--color-primary);
  font-size: 0.95rem;
}

.structure-number {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-primary);
  font-size: 0.9rem;
  min-width: 24px;
}

.workbook-principles {
  display: flex;
  gap: 12px;
  margin: 24px 0 36px;
  flex-wrap: wrap;
}

.principle-badge {
  padding: 8px 20px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(200,148,74,0.1), rgba(200,148,74,0.05));
  border: 1px solid rgba(200,148,74,0.2);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent-dark);
  letter-spacing: 0.03em;
}

/* -- App Section -- */
.section-app {
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
}

.app-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}

.app-features {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.app-feature {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--color-bg-card);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all var(--transition);
}

.app-feature:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon-1 { background: linear-gradient(135deg, #e0f2f0, #c8e6e2); color: var(--color-primary); }
.feature-icon-2 { background: linear-gradient(135deg, #fef3e2, #fde6c5); color: var(--color-accent); }
.feature-icon-3 { background: linear-gradient(135deg, #fce4ec, #f8bbd0); color: #c62828; }
.feature-icon-4 { background: linear-gradient(135deg, #e3f2fd, #bbdefb); color: #1565c0; }

.app-feature h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: var(--color-text);
}

.app-feature p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* Phone Frame */
.app-phone {
  display: flex;
  justify-content: center;
}

.phone-frame {
  max-width: 320px;
  border-radius: 36px;
  overflow: hidden;
  box-shadow:
    0 25px 80px rgba(0,0,0,0.15),
    0 0 0 8px rgba(0,0,0,0.08);
  border: 3px solid rgba(0,0,0,0.1);
}

.phone-frame img {
  width: 100%;
  display: block;
}

/* App Download */
.app-download {
  text-align: center;
}

.app-pricing {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.pricing-trial {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1rem;
}

.pricing-amount {
  font-weight: 600;
  color: var(--color-text);
  font-size: 1rem;
}

.pricing-cancel {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.pricing-separator {
  color: var(--color-text-muted);
}

.app-store-badges {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: var(--color-bg-dark);
  color: white;
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.store-badge:hover {
  background: #2a2e3e;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.store-badge small {
  display: block;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.02em;
}

.store-badge strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

/* ========================================
   AUTHORS
   ======================================== */
.section-authors {
  background: var(--color-bg-alt);
}

.authors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.author-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all var(--transition);
}

.author-card:hover {
  box-shadow: var(--shadow-md);
}

.author-avatar {
  margin-bottom: 24px;
}

.avatar-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.05em;
}

.avatar-alt {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
}

.author-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-text);
  margin-bottom: 4px;
}

.author-credentials {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.author-bio {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.author-bio:last-child {
  margin-bottom: 0;
}

/* ========================================
   CTA SECTION
   ======================================== */
.section-cta {
  background: linear-gradient(135deg, var(--color-bg-dark) 0%, #1a3a3a 50%, #2a1a2a 100%);
  position: relative;
  overflow: hidden;
}

.section-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(26,122,109,0.2) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(200,148,74,0.1) 0%, transparent 50%);
}

.cta-content {
  position: relative;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: white;
  margin-bottom: 20px;
  line-height: 1.2;
}

.cta-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  margin-bottom: 36px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--color-bg-dark);
  color: var(--color-text-inverse);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 12px;
}

.footer-publisher a {
  color: var(--color-accent-light);
}

.footer-publisher a:hover {
  color: var(--color-accent);
}

.footer-links h4,
.footer-social h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.footer-links a:hover {
  color: white;
}

.social-links {
  display: flex;
  gap: 12px;
}

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

.social-links a:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
  margin-bottom: 8px;
}

.footer-disclaimer {
  font-size: 0.8rem !important;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ========================================
   ANIMATIONS
   ======================================== */
[data-animate] {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate="fade-up"] {
  transform: translateY(40px);
}

[data-animate="fade-right"] {
  transform: translateX(-40px);
}

[data-animate="fade-left"] {
  transform: translateX(40px);
}

[data-animate].animated {
  opacity: 1;
  transform: translate(0, 0);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .book-layout {
    gap: 48px;
  }

  .authors-grid {
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-bg-card);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 24px;
    box-shadow: -10px 0 40px rgba(0,0,0,0.1);
    transition: right var(--transition);
  }

  .nav-links.active {
    right: 0;
  }

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

  .book-layout,
  .book-layout-reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .book-layout-reverse {
    direction: ltr;
  }

  .book-content .section-title {
    text-align: center;
  }

  .book-content .section-label {
    text-align: center;
    display: block;
  }

  .book-description {
    text-align: center;
  }

  .book-features {
    align-items: center;
  }

  .book-content .btn {
    display: flex;
    justify-content: center;
    margin: 0 auto;
  }

  .workbook-structure h4 {
    text-align: center;
  }

  .workbook-principles {
    justify-content: center;
  }

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

  .app-phone {
    order: -1;
  }

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

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

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

  .hero-content {
    padding: 100px 20px 60px;
  }
}

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

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

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

  .app-pricing {
    flex-direction: column;
    gap: 4px;
  }

  .pricing-separator {
    display: none;
  }

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

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

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

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