@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;900&display=swap');
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --red: #8B0000;
  --red-1: #6B0000;
  --red-2: #5C0000;
  --red-3: #4A0000;
  --pink: #FECACA;
  --rose: #E8A5A5;
  --accent: #B91C1C;
  --off-white: #f5f5f5;
}
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--red); color: #fff; overflow-x: hidden; }
section[id] { scroll-margin-top: 76px; }

/* NAV */
nav.site-nav { background: var(--red); padding: 16px 40px; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(254,202,202,0.15); animation: slideDown 0.6s ease; }
@keyframes slideDown { from { transform: translateY(-100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.logo { font-size: 26px; font-weight: 900; color: white; letter-spacing: 2px; text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links > a { color: white; text-decoration: none; font-weight: 600; font-size: 14px; opacity: 0.85; transition: opacity 0.2s; white-space: nowrap; }
.nav-links > a:hover { opacity: 1; }
.nav-dropdown { position: relative; }
.nav-dropdown-btn { background: transparent; color: white; border: 1.5px solid var(--rose); border-radius: 50px; padding: 9px 16px; font: 600 14px 'Inter', sans-serif; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; transition: background 0.2s; }
.nav-dropdown-btn:hover, .nav-dropdown.open .nav-dropdown-btn { background: rgba(232,165,165,0.15); }
.nav-dropdown-btn svg { width: 12px; height: 12px; transition: transform 0.2s; }
.nav-dropdown.open .nav-dropdown-btn svg { transform: rotate(180deg); }
.nav-dropdown-menu { display: none; position: absolute; right: 0; top: calc(100% + 10px); background: var(--red-3); border: 1px solid rgba(232,165,165,0.35); border-radius: 16px; padding: 8px; min-width: 270px; box-shadow: 0 18px 40px rgba(0,0,0,0.35); }
.nav-dropdown.open .nav-dropdown-menu { display: block; animation: fadeInUp 0.2s ease; }
.nav-dropdown-menu a { display: block; color: white; text-decoration: none; padding: 12px 14px; border-radius: 10px; font-size: 14px; font-weight: 600; }
.nav-dropdown-menu a:hover { background: var(--red-1); }
.nav-dropdown-menu a small { display: block; color: var(--pink); font-size: 12px; font-weight: 500; margin-top: 2px; }
.nav-cta { background: white; color: var(--red) !important; opacity: 1 !important; padding: 10px 20px; border-radius: 50px; font-weight: 700 !important; }

/* Small and secondary on purpose — the nav is already busy, this just
   needs to be noticeable, not compete with "Get the App". */
.nav-support { opacity: 0.7 !important; font-size: 13px !important; }
.nav-support:hover { opacity: 1 !important; }
.nav-toggle { display: none; background: transparent; border: 1.5px solid var(--rose); border-radius: 10px; width: 44px; height: 40px; color: white; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }

/* BUTTONS */
.btn-primary { display: inline-block; background: white; color: var(--red); padding: 16px 34px; border-radius: 50px; font-size: 16px; font-weight: 700; text-decoration: none; border: none; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; animation: pulse 2s ease-in-out infinite; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.3); animation: none; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.3); } 50% { box-shadow: 0 0 0 12px rgba(255,255,255,0); } }
.btn-secondary { display: inline-block; background: transparent; color: white; padding: 16px 34px; border-radius: 50px; font-size: 16px; font-weight: 700; text-decoration: none; border: 2px solid var(--rose); cursor: pointer; transition: all 0.2s; }
.btn-secondary:hover { background: rgba(232,165,165,0.12); transform: translateY(-3px); }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* HERO */
.hero { background: var(--red); min-height: 88vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 64px 24px 56px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; width: 500px; height: 500px; border-radius: 50%; background: rgba(255,255,255,0.04); top: -100px; right: -100px; animation: float 6s ease-in-out infinite; pointer-events: none; }
.hero::after { content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,0.04); bottom: -80px; left: -80px; animation: float 8s ease-in-out infinite reverse; pointer-events: none; }
@keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-20px); } }
.hero > * { position: relative; z-index: 1; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 28px; animation: fadeInUp 0.8s ease 0.2s both; }
.pill { border: 1px solid rgba(254,202,202,0.35); color: var(--pink); padding: 8px 16px; border-radius: 50px; font-size: 13px; font-weight: 600; background: rgba(74,0,0,0.35); }
.pill.live { background: white; color: var(--red); border-color: white; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.pill.live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #16a34a; animation: livePulse 1.8s ease-in-out infinite; }
.hero h1 { font-size: clamp(42px, 9vw, 88px); font-weight: 900; line-height: 1.05; margin-bottom: 24px; animation: fadeInUp 0.8s ease 0.4s both; }
.hero h1 span { color: var(--rose); }
.hero-sub { font-size: 18px; color: var(--pink); max-width: 620px; line-height: 1.6; margin-bottom: 34px; animation: fadeInUp 0.8s ease 0.6s both; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-bottom: 48px; animation: fadeInUp 0.8s ease 0.8s both; }

.hero-search-form { display: flex; gap: 10px; width: 100%; max-width: 520px; margin-bottom: 14px; animation: fadeInUp 0.8s ease 0.45s both; }
.hero-search-input { flex: 1; min-width: 0; border: none; border-radius: 50px; padding: 15px 20px; font-size: 15px; font-family: inherit; color: var(--red); background: white; }
.hero-search-input:focus { outline: 3px solid rgba(255,255,255,0.5); }
.hero-search-btn { flex: 0 0 auto; border: none; background: var(--black, #111); color: white; border-radius: 50px; padding: 0 24px; font-size: 14px; font-weight: 700; cursor: pointer; font-family: inherit; }
.hero-search-btn:hover { opacity: 0.85; }

.hero-category-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 560px; margin-bottom: 28px; animation: fadeInUp 0.8s ease 0.5s both; }
.hero-category-row a { border: 1px solid rgba(254,202,202,0.4); color: white; font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 50px; text-decoration: none; background: rgba(255,255,255,0.08); }
.hero-category-row a:hover { background: rgba(255,255,255,0.18); }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; width: 100%; max-width: 920px; animation: fadeInUp 0.8s ease 1s both; }
.stat-card { background: var(--red-1); border: 1px solid rgba(254,202,202,0.18); border-radius: 18px; padding: 22px 16px; }
.stat-card strong { display: block; font-size: clamp(26px, 4vw, 34px); font-weight: 900; margin-bottom: 4px; }
.stat-card span { display: block; font-size: 13px; color: var(--pink); line-height: 1.4; }

/* SECTIONS */
.section { padding: 84px 24px; }
.section-inner { max-width: 1080px; margin: 0 auto; }
.center { text-align: center; }
.section-label { color: var(--pink); font-weight: 700; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
.section h2 { font-size: clamp(28px, 5vw, 46px); font-weight: 900; line-height: 1.15; margin-bottom: 18px; }
.lead { color: var(--pink); font-size: 17px; line-height: 1.6; max-width: 600px; margin: 0 auto 40px; }
.light { background: #fff; color: #111; }
.light .section-label { color: var(--accent); }
.light .lead { color: #555; }

/* QUICK LINKS */
.quick { padding: 0 24px 84px; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.quick-card { display: flex; flex-direction: column; background: var(--red-1); border: 1px solid rgba(254,202,202,0.18); color: white; border-radius: 20px; padding: 26px 22px; text-decoration: none; transition: transform 0.25s, box-shadow 0.25s; }
.quick-card:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(0,0,0,0.25); }
.quick-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; line-height: 1.3; }
.quick-card p { font-size: 14px; color: var(--pink); line-height: 1.55; flex: 1; margin-bottom: 18px; }
.quick-card .go { font-size: 14px; font-weight: 700; color: white; }
.quick-card .go::after { content: ' \2192'; }
.quick-card.main { background: white; color: #111; border-color: white; }
.quick-card.main p { color: #555; }
.quick-card.main .go { color: var(--red); }

/* HOW IT WORKS */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; text-align: left; margin-top: 30px; }
.step { background: var(--off-white); border-radius: 20px; padding: 28px 24px; }
.step-num { width: 42px; height: 42px; background: var(--accent); color: white; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 18px; margin-bottom: 18px; }
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step p { color: #555; font-size: 14px; line-height: 1.6; }

/* BOOK CATEGORIES */
.cats { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 760px; margin: 0 auto; }
.cat { border: 1.5px solid var(--rose); color: white; padding: 11px 20px; border-radius: 50px; font-size: 15px; font-weight: 600; }

/* FOR PROVIDERS */
.providers-banner { background: var(--red-2); border-radius: 28px; padding: 56px 48px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; border: 1px solid rgba(254,202,202,0.12); }
.providers-banner h2 { margin-bottom: 16px; }
.providers-banner p.copy { color: var(--pink); font-size: 17px; line-height: 1.6; margin-bottom: 28px; }
.providers-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.providers-btns .btn-primary { animation: none; }
.mini-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mini-stat { background: var(--red-3); border-radius: 16px; padding: 20px 18px; }
.mini-stat strong { display: block; font-size: 26px; font-weight: 900; margin-bottom: 2px; }
.mini-stat span { font-size: 13px; color: var(--pink); }

/* WHY ATEE */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.card { background: var(--off-white); border-radius: 20px; padding: 30px 26px; text-align: left; transition: transform 0.3s ease; }
.card:hover { transform: translateY(-6px); }
.card-tag { display: inline-block; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 10px; }
.card h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.card p { color: #555; font-size: 14px; line-height: 1.6; }

/* COMING SOON */
.soon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: left; }
.soon-card { background: var(--red-1); border: 2px dashed var(--rose); border-radius: 20px; padding: 28px 24px; display: flex; flex-direction: column; }
.soon-badge { align-self: flex-start; background: var(--red-3); color: var(--pink); font-size: 11px; font-weight: 800; letter-spacing: 1.5px; padding: 6px 12px; border-radius: 50px; margin-bottom: 16px; }
.soon-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.soon-card p { color: var(--pink); font-size: 14px; line-height: 1.6; flex: 1; }
.soon-card a { margin-top: 16px; color: white; font-weight: 700; font-size: 14px; text-decoration: none; border-bottom: 1px solid var(--rose); align-self: flex-start; }
.soon-card a::after { content: ' \2192'; }

/* SUGGESTIONS */
.suggest-box { background: var(--red-2); border-radius: 28px; padding: 56px 40px; max-width: 760px; margin: 0 auto; text-align: center; border: 1px solid rgba(254,202,202,0.12); }
.suggest-box h2, .suggest-box h1 { font-size: clamp(28px, 5vw, 44px); font-weight: 900; margin-bottom: 14px; line-height: 1.15; }
.suggest-box > p { color: var(--pink); font-size: 17px; max-width: 540px; margin: 0 auto 32px; line-height: 1.6; }
.suggestion-form-wrap { max-width: 500px; margin: 0 auto; text-align: left; }
.suggestion-form-wrap input[type="text"],
.suggestion-form-wrap textarea {
  display: block; width: 100%; padding: 16px 20px; margin-bottom: 12px;
  background: var(--red-3); border: 2px solid rgba(232,165,165,0.35); border-radius: 12px;
  color: #fff; font-size: 16px; font-weight: 500; font-family: 'Inter', sans-serif;
  transition: border-color 0.2s;
}
.suggestion-form-wrap input:focus,
.suggestion-form-wrap textarea:focus { outline: none; border-color: var(--rose); }
.suggestion-form-wrap textarea { min-height: 130px; resize: vertical; }
.suggestion-form-wrap input::placeholder,
.suggestion-form-wrap textarea::placeholder { color: var(--pink); opacity: 0.75; }
.suggestion-btn {
  display: block; width: 100%; padding: 18px; background: var(--accent); color: white;
  border: none; border-radius: 12px; font-size: 17px; font-weight: 700; cursor: pointer;
  text-align: center; transition: transform 0.2s, box-shadow 0.2s; font-family: 'Inter', sans-serif; margin-top: 6px;
}
.suggestion-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.suggestion-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }
.suggestion-success { display: none; padding: 28px 24px; background: var(--red-3); border: 2px solid rgba(232,165,165,0.35); border-radius: 16px; text-align: center; }
.suggestion-success.active { display: block; animation: fadeInUp 0.5s ease; }
.suggestion-success h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.suggestion-success p { font-size: 14px; color: var(--pink); line-height: 1.6; }
.suggestion-error { display: none; margin-top: 12px; padding: 12px 16px; background: #FECACA; border-radius: 10px; color: var(--red); font-size: 13px; font-weight: 600; text-align: center; }
.suggestion-error.active { display: block; }

/* GET THE APP */
.download { position: relative; overflow: hidden; }
.live-badge { display: inline-flex; align-items: center; gap: 9px; background: var(--red-3); border: 1px solid rgba(254,202,202,0.3); color: var(--pink); padding: 8px 20px; border-radius: 50px; font-size: 13px; font-weight: 700; letter-spacing: 1px; margin-bottom: 22px; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #4ade80; animation: livePulse 1.8s ease-in-out infinite; }
@keyframes livePulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0.6); } 50% { box-shadow: 0 0 0 8px rgba(74,222,128,0); } }
.store-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin: 30px 0 14px; }
.store-btn { display: inline-flex; align-items: center; gap: 13px; background: white; color: var(--red); padding: 14px 30px; border-radius: 50px; text-decoration: none; min-width: 236px; justify-content: center; transition: transform 0.2s, box-shadow 0.2s; }
.store-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.3); }
.store-btn svg { width: 26px; height: 26px; flex-shrink: 0; }
.store-btn span { display: block; text-align: left; font-size: 11px; font-weight: 600; opacity: 0.65; letter-spacing: 0.6px; text-transform: uppercase; }
.store-btn strong { display: block; text-align: left; font-size: 17px; font-weight: 800; line-height: 1.25; }
.download-note { font-size: 13px; color: var(--pink); }

/* FOOTER */
footer.site-footer { background: var(--red); border-top: 1px solid rgba(254,202,202,0.18); padding: 56px 24px 32px; }
.footer-top { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; }
.footer-top .logo { display: block; margin-bottom: 12px; font-size: 24px; }
.footer-tagline { color: var(--pink); font-size: 14px; line-height: 1.6; max-width: 340px; }
.footer-col h4 { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--pink); margin-bottom: 14px; }
.footer-col a { display: block; color: white; text-decoration: none; font-size: 14px; margin-bottom: 10px; opacity: 0.9; overflow-wrap: anywhere; }
.footer-col a:hover { opacity: 1; text-decoration: underline; }
.footer-bottom { max-width: 1080px; margin: 36px auto 0; padding-top: 24px; border-top: 1px solid rgba(254,202,202,0.18); text-align: center; }
.footer-bottom p { color: var(--pink); font-size: 13px; line-height: 1.6; }
.footer-links { margin-top: 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.footer-links a { color: var(--pink); text-decoration: none; font-size: 13px; }
.footer-links a:hover { color: white; }

/* SCROLL REVEAL */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 1100px) {
  nav.site-nav { padding: 14px 20px; }
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--red); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 22px; border-bottom: 1px solid rgba(254,202,202,0.2); max-height: calc(100vh - 70px); overflow-y: auto; box-shadow: 0 18px 30px rgba(0,0,0,0.25); }
  nav.site-nav.open .nav-links { display: flex; }
  .nav-links > a { padding: 14px 4px; font-size: 16px; border-bottom: 1px solid rgba(254,202,202,0.12); }
  .nav-dropdown-btn { display: none; }
  .nav-dropdown-menu { display: block; position: static; background: transparent; border: none; box-shadow: none; padding: 14px 0 6px; min-width: 0; }
  .nav-dropdown-menu::before { content: 'Quick links'; display: block; color: var(--pink); font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 0 4px 6px; }
  .nav-dropdown-menu a { padding: 10px 4px; }
  .nav-cta { text-align: center; margin-top: 12px; padding: 14px 20px; border-bottom: none !important; }
}
@media (max-width: 900px) {
  .quick-grid, .steps { grid-template-columns: 1fr 1fr; }
  .cards, .soon-grid { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .providers-banner { grid-template-columns: 1fr; padding: 44px 28px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .section { padding: 64px 18px; }
  .quick { padding: 0 18px 64px; }
  .hero { padding: 48px 18px 48px; min-height: auto; }
  .hero-sub { font-size: 16px; }
  .hero-btns { flex-direction: column; width: 100%; max-width: 360px; }
  .hero-btns a { text-align: center; }
  .stat-row { gap: 10px; }
  .stat-card { padding: 18px 12px; }
  /* The hero search bar is the single most important thing on this page
     (explicit priority) -- on a phone there isn't room for everything
     above the fold, so the stat row (least actionable of the hero
     content) steps aside here specifically, not removed elsewhere. Hero
     is already min-height:auto on mobile (set above), so dropping this
     shrinks it, it doesn't add empty space. */
  .stat-row { display: none; }
  .hero-category-row { max-width: 320px; }
  .quick-grid, .steps, .cards, .soon-grid { grid-template-columns: 1fr; }
  .providers-banner { padding: 36px 22px; border-radius: 22px; }
  .providers-btns { flex-direction: column; }
  .providers-btns a { text-align: center; }
  .mini-stat { padding: 16px 14px; }
  .mini-stat strong { font-size: 22px; }
  .suggest-box { padding: 40px 20px; border-radius: 22px; }
  .store-btn { width: 100%; max-width: 320px; }
  .cat { font-size: 14px; padding: 10px 16px; }
  .footer-top { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
