/* Verso — Complete Style Sheet */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;600;700;800;900&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --dark: #2C1810;
  --amber: #D4A574;
  --copper: #B8632E;
  --cream: #F5EDE3;
  --light: #FAF6F1;
  --white: #FFFFFF;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

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

/* ========== NAVIGATION ========== */
nav, #navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(245, 237, 227, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(44, 24, 16, 0.08);
  transition: box-shadow 0.3s, background 0.3s;
}

nav.scrolled, #navbar.scrolled {
  background: rgba(250, 246, 241, 0.98);
  box-shadow: 0 2px 20px rgba(44, 24, 16, 0.1);
}

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

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-logo .icon, .nav-logo .logo-icon {
  font-size: 1.3rem;
}

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

.nav-links li a {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(44, 24, 16, 0.7);
  transition: all 0.2s;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--dark);
  background: rgba(44, 24, 16, 0.06);
}

/* Hamburger / mobile toggle */
.hamburger, .mobile-toggle {
  display: none;
  background: none;
  border: none;
  width: 32px;
  height: 32px;
  position: relative;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.hamburger span, .mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s;
}

@media (max-width: 768px) {
  .hamburger, .mobile-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--light);
    flex-direction: column;
    padding: 16px 24px;
    gap: 4px;
    border-bottom: 1px solid rgba(44,24,16,0.1);
    transform: translateY(-120%);
    transition: transform 0.3s;
    box-shadow: 0 8px 24px rgba(44,24,16,0.1);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li a { display: block; padding: 12px 16px; }
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.25s;
  border: 2px solid transparent;
}

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

.btn-primary:hover {
  background: var(--copper);
  border-color: var(--copper);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(184, 99, 46, 0.3);
}

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

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

.btn-secondary {
  background: rgba(44, 24, 16, 0.08);
  color: var(--dark);
  border-color: transparent;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.1rem;
  border-radius: 14px;
}

/* ========== SECTION COMMON ========== */
.section, section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-header p {
  color: rgba(44, 24, 16, 0.6);
  font-size: 1.1rem;
}

.section-tag {
  display: inline-block;
  background: rgba(184, 99, 46, 0.1);
  color: var(--copper);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}

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

.bg-white { background: var(--white); }
.bg-cream { background: var(--cream); }

/* ========== HERO (app.html / index) ========== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 64px;
  background: linear-gradient(135deg, var(--cream) 0%, #EDE0D4 50%, #E8D5C4 100%);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(245,237,227,0.8) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 24px;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  margin-bottom: 20px;
  color: var(--dark);
}

.hero-content .highlight {
  background: linear-gradient(135deg, var(--copper), var(--amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.2rem;
  color: rgba(44, 24, 16, 0.65);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

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

.hero-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
}

.hero-stats .stat {
  text-align: center;
}

.hero-stats .stat strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
}

.hero-stats .stat span {
  font-size: 0.85rem;
  color: rgba(44, 24, 16, 0.5);
  font-weight: 500;
}

/* ========== ABOUT HERO ========== */
.about-hero {
  padding: 140px 0 80px;
  text-align: center;
  background: linear-gradient(135deg, var(--cream), #EDE0D4);
}

.about-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 16px;
  color: var(--dark);
}

.about-hero p {
  font-size: 1.15rem;
  color: rgba(44, 24, 16, 0.65);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ========== BOOKS HERO ========== */
.books-hero {
  padding: 140px 0 60px;
  text-align: center;
  background: linear-gradient(135deg, var(--cream), #EDE0D4);
}

.books-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 16px;
}

.books-hero p {
  font-size: 1.15rem;
  color: rgba(44, 24, 16, 0.65);
  max-width: 600px;
  margin: 0 auto;
}

/* ========== DOWNLOAD HERO ========== */
.download-hero {
  padding: 140px 0 80px;
  text-align: center;
  background: linear-gradient(135deg, var(--cream), #EDE0D4);
  position: relative;
}

.download-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 16px;
  color: var(--dark);
}

/* ========== BOOK CARDS (shared) ========== */
.books-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 24px;
}

.book-card {
  text-align: center;
  transition: transform 0.25s;
}

.book-card:hover {
  transform: translateY(-6px);
}

.book-cover {
  aspect-ratio: 2/3;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: 0 4px 16px rgba(44, 24, 16, 0.15);
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  background: linear-gradient(135deg, #2C1810, #5D3A2E);
}

.book-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book-spine {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: rgba(0,0,0,0.2);
}

.book-shine {
  position: absolute;
  top: 0;
  left: 10%;
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  pointer-events: none;
}

.book-cover .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4), transparent 60%);
}

.book-card h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.book-card .author, .book-card p, .book-info p {
  font-size: 0.8rem;
  color: rgba(44, 24, 16, 0.6);
}

.book-info h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 2px;
}

/* ========== BOOKS GRID (books.html) ========== */
.books-toolbar {
  margin-bottom: 24px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 2px solid rgba(44, 24, 16, 0.1);
  border-radius: 12px;
  padding: 12px 20px;
  max-width: 500px;
  transition: border-color 0.2s;
}

.search-box:focus-within {
  border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(212, 165, 116, 0.12);
}

.search-box input {
  border: none;
  outline: none;
  font-size: 1rem;
  background: transparent;
  flex: 1;
  font-family: 'Inter', sans-serif;
}

/* Category filter buttons */
.cat-btn {
  padding: 8px 20px;
  border-radius: 50px;
  border: 1.5px solid rgba(44, 24, 16, 0.15);
  background: transparent;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark);
  transition: all 0.2s;
  margin: 4px;
}

.cat-btn:hover, .cat-btn.active {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 28px;
}

/* ========== CATEGORIES GRID (app.html) ========== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  border-radius: 16px;
  background: var(--white);
  border: 2px solid rgba(44, 24, 16, 0.06);
  transition: all 0.25s;
  text-align: center;
}

.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(44, 24, 16, 0.12);
  border-color: var(--cat-color, var(--copper));
}

.cat-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.cat-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.cat-count {
  font-size: 0.8rem;
  color: rgba(44, 24, 16, 0.5);
  font-weight: 500;
}

/* ========== MISSION ========== */
.mission {
  background: var(--dark);
  color: var(--white);
}

.mission-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.mission-content h2 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 20px;
  color: var(--white);
}

.mission-content .section-tag {
  background: rgba(212, 165, 116, 0.2);
  color: var(--amber);
}

.mission-text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 48px;
}

.mission-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}

.value {
  text-align: center;
}

.value-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.value h4 {
  color: var(--white);
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.value p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* ========== APP SECTION ========== */
.app-section {
  background: var(--white);
}

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

.app-info .section-tag { margin-bottom: 16px; }

.app-info h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.app-info p {
  color: rgba(44, 24, 16, 0.65);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.app-features {
  margin-bottom: 32px;
}

.app-features li {
  padding: 10px 0;
  font-size: 0.95rem;
  color: rgba(44, 24, 16, 0.75);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.app-features li i {
  color: var(--copper);
  margin-top: 3px;
}

/* Phone mockup */
.phone-frame, .phone-mockup, .phone-mockup-sm {
  background: var(--dark);
  border-radius: 28px;
  padding: 12px;
  max-width: 280px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(44, 24, 16, 0.2);
}

.phone-mockup-sm {
  max-width: 240px;
}

.phone-screen {
  background: var(--cream);
  border-radius: 18px;
  overflow: hidden;
  min-height: 400px;
}

.phone-header {
  background: var(--dark);
  padding: 14px 16px 10px;
  color: var(--white);
}

.phone-header-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 0.85rem;
}

.phone-header-logo {
  font-size: 0.55rem;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}

.shelf-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  padding: 10px 10px 0;
  min-height: 120px;
}

.mini-book {
  border-radius: 3px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 4px 2px;
  font-size: 0.4rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  box-shadow: 2px 2px 6px rgba(0,0,0,0.2);
}

.shelf-wood {
  height: 8px;
  background: linear-gradient(180deg, #A8905F, #8B7355, #A8905F);
  margin: 0 8px;
  border-radius: 0 0 2px 2px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}

.mock-header {
  background: var(--dark);
  color: var(--white);
  padding: 14px 16px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 0.9rem;
}

.mock-books {
  display: flex;
  gap: 8px;
  padding: 16px;
  justify-content: center;
}

.mock-cover {
  width: 50px;
  height: 70px;
  border-radius: 4px;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.15);
}

.mock-text {
  height: 8px;
  background: rgba(44, 24, 16, 0.1);
  border-radius: 4px;
  margin: 8px 16px;
}

.mock-text.short { width: 60%; }

@media (max-width: 768px) {
  .app-grid { grid-template-columns: 1fr; }
  .app-mockup { order: -1; }
}

/* ========== BLOG ========== */
.blog-section { background: var(--cream); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.blog-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(44, 24, 16, 0.08);
  transition: transform 0.25s, box-shadow 0.25s;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(44, 24, 16, 0.14);
}

.blog-img {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  overflow: hidden;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-body {
  padding: 24px;
}

.blog-date {
  font-size: 0.8rem;
  color: rgba(44, 24, 16, 0.45);
  font-weight: 500;
}

.blog-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 8px 0;
}

.blog-body p {
  font-size: 0.9rem;
  color: rgba(44, 24, 16, 0.6);
  line-height: 1.6;
  margin-bottom: 12px;
}

.blog-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--copper);
  transition: color 0.2s;
}

.blog-link:hover { color: var(--dark); }

/* ========== FOOTER ========== */
footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand h3, .footer-brand .logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

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

.social-links a, .footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.2s;
  font-size: 0.85rem;
}

.social-links a:hover, .footer-social a:hover {
  background: var(--copper);
  color: var(--white);
}

.footer-links h4, .footer-grid > div h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-links a, .footer-grid > div ul li a, .footer-grid > div a {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  padding: 4px 0;
  transition: color 0.2s;
}

.footer-links a:hover, .footer-grid > div a:hover { color: var(--amber); }

.footer-grid > div ul { list-style: none; padding: 0; }
.footer-grid > div ul li { padding: 0; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ========== FEATURE SHOWCASE (about) ========== */
.feature-showcase {
  padding: 60px 0;
}

.showcase-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.showcase-text h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.showcase-text p {
  color: rgba(44, 24, 16, 0.65);
  line-height: 1.7;
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  .showcase-item { grid-template-columns: 1fr; }
}

/* ========== HOW IT WORKS (about) ========== */
.how-it-works {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.step {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(44, 24, 16, 0.06);
}

.step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step p {
  font-size: 0.9rem;
  color: rgba(44, 24, 16, 0.6);
  line-height: 1.6;
}

/* ========== VALUES GRID (about) ========== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.value-card {
  background: var(--light);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(44, 24, 16, 0.1);
}

.value-card .emoji {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.value-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 0.9rem;
  color: rgba(44, 24, 16, 0.6);
  line-height: 1.6;
}

/* ========== TIMELINE (about) ========== */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(44, 24, 16, 0.15);
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -33px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--copper);
  border: 3px solid var(--cream);
}

.timeline-item .year {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--copper);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.timeline-item h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.timeline-item p {
  font-size: 0.9rem;
  color: rgba(44, 24, 16, 0.6);
  line-height: 1.6;
}

/* ========== CTA BANNER ========== */
.cta-banner {
  background: linear-gradient(135deg, var(--dark), #4A2E20);
  color: var(--white);
  text-align: center;
  padding: 60px 40px;
  border-radius: 24px;
}

.cta-banner h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--white);
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.cta-banner .btn-primary {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--dark);
}

.cta-banner .btn-primary:hover {
  background: var(--white);
  border-color: var(--white);
}

/* ========== TEAM ========== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.team-card {
  background: var(--light);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(44, 24, 16, 0.1);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 16px;
  box-shadow: 0 4px 12px rgba(44, 24, 16, 0.12);
}

.team-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.team-card .role {
  font-size: 0.85rem;
  color: var(--copper);
  font-weight: 600;
  margin-bottom: 12px;
}

.team-card p {
  font-size: 0.9rem;
  color: rgba(44, 24, 16, 0.6);
  line-height: 1.6;
  margin-bottom: 16px;
}

.team-social {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.team-social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(44, 24, 16, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: all 0.2s;
}

.team-social a:hover {
  background: var(--copper);
  color: var(--white);
}

/* ========== DOWNLOAD CARDS ========== */
.download-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 40px auto 0;
}

.download-card {
  background: var(--white);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  border: 2px solid rgba(44, 24, 16, 0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}

.download-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(44, 24, 16, 0.12);
}

.download-card.featured {
  border-color: var(--copper);
  box-shadow: 0 4px 20px rgba(184, 99, 46, 0.15);
}

.platform-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.download-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-available {
  background: rgba(39, 174, 96, 0.1);
  color: #27AE60;
}

.badge-soon {
  background: rgba(44, 24, 16, 0.08);
  color: rgba(44, 24, 16, 0.5);
}

/* ========== REQUIREMENTS (download) ========== */
.requirements {
  background: var(--light);
  border-radius: 20px;
  padding: 36px 40px;
  max-width: 600px;
  margin: 0 auto;
}

.requirements h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
}

.requirements ul {
  list-style: none;
}

.requirements li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.95rem;
  color: rgba(44, 24, 16, 0.7);
  border-bottom: 1px solid rgba(44, 24, 16, 0.06);
}

.requirements li:last-child { border-bottom: none; }

.requirements li span { font-size: 1.2rem; }

/* ========== STEPS (download) ========== */
.steps-container {
  max-width: 700px;
  margin: 0 auto;
}

.step-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(44, 24, 16, 0.08);
}

.step-row:last-child { border-bottom: none; }

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.step-content p {
  font-size: 0.9rem;
  color: rgba(44, 24, 16, 0.6);
}

.step-phone {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.step-phone-inner {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

/* ========== CONTACT ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-form {
  background: var(--white);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 4px 16px rgba(44, 24, 16, 0.06);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid rgba(44, 24, 16, 0.1);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  background: var(--white);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--amber);
  outline: none;
  box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.12);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(44, 24, 16, 0.06);
}

.contact-info-item:last-child { border-bottom: none; }

.ci-icon {
  font-size: 1.3rem;
  width: 36px;
  text-align: center;
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.contact-info-item p {
  font-size: 0.9rem;
  color: rgba(44, 24, 16, 0.6);
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ========== FAQ ========== */
.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(44, 24, 16, 0.1);
}

.faq-question {
  padding: 20px 0;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-question .arrow {
  font-size: 0.75rem;
  transition: transform 0.3s;
  color: rgba(44, 24, 16, 0.4);
}

.faq-item.open .faq-question .arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding-bottom: 20px;
  font-size: 0.9rem;
  color: rgba(44, 24, 16, 0.65);
  line-height: 1.7;
}

.faq-answer a {
  color: var(--copper);
  font-weight: 500;
}

/* ========== LEGAL CONTENT ========== */
.legal-content {
  padding-top: 100px;
  padding-bottom: 60px;
}

.legal-content h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 32px;
}

.legal-content h2, .legal-content h3 {
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-content p, .legal-content li {
  font-size: 0.95rem;
  color: rgba(44, 24, 16, 0.7);
  line-height: 1.7;
  margin-bottom: 12px;
}

.legal-content ul {
  list-style: disc;
  padding-left: 24px;
}

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

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .hero { min-height: 70vh; }
  .hero-content h1 { font-size: 2.2rem; }
  .hero-stats { gap: 24px; }
  .books-row { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 16px; }
  .categories-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .section, section { padding: 60px 0; }
  .section-header h2 { font-size: 1.8rem; }
  .blog-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .books-row { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
  .download-cards { grid-template-columns: 1fr; }
  .cta-banner { padding: 40px 24px; }
}
