/* Ratin Special — Apple-style version of the homepage (index-apple.html).
   Loaded AFTER redesign.css. Design only: no JS / API / IDs are touched.
   Change the single accent colour here: --accent / --accent-rgb. */

:root {
  --accent: #ffca0a; --accent-rgb: 255,202,10; --accent-ink: #111100; --accent-dim: #4a3a00;
  --g1: #ffd60a; --g2: #ffca0a; --g3: #efb800;
  --bg: #000; --band: #111113; --band-2: #f5f5f7;
  --surface: #1d1d1f; --surface-2: #2a2a2d; --field: #2a2a2d;
  --line: rgba(255,255,255,.12); --line-strong: rgba(255,255,255,.24);
  --text: #f5f5f7; --muted: #a1a1a6;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
html, body { background: #000; }
body { font-family: var(--font-body); font-size: 17px; letter-spacing: -.01em; }
body::before { background: #000; }
h1, h2, h3, .brand, .price { font-family: var(--font-display); }
.aurora, .cursor-glow, .cursor-ring { display: none !important; }
.progress { height: 2px; background: var(--accent); }

/* ---------- light sections (flip the colour variables, components follow) ---------- */
#features, #reviews, #collabs, #faq, #demo {
  background: #f5f5f7; color: #1d1d1f; border: 0;
  --text: #1d1d1f; --muted: #6e6e73; --surface: #ffffff; --field: #f5f5f7;
  --line: rgba(0,0,0,.08); --line-strong: rgba(0,0,0,.2); }
#buy, #community { background: #000; color: #f5f5f7; border: 0; --surface: #1d1d1f; }
#buy { border: 0; }

/* ---------- buttons: pills ---------- */
.btn { border-radius: 980px; font-weight: 500; font-size: 15px; letter-spacing: -.01em; }
.btn-lg { height: 50px; padding: 0 28px; font-size: 17px; }
.btn-primary, .co-btn { background: var(--accent); color: #111100; box-shadow: none; }
.btn-primary:hover:not(:disabled), .co-btn:hover { background: #ffd60a; transform: none; }
.btn-ghost { background: transparent; color: #ffd60a; border: 1px solid #ffd60a; }
.btn-ghost:hover { background: rgba(255,202,10,.12); border-color: #ffd60a; }
#features .btn-ghost, #reviews .btn-ghost, #collabs .btn-ghost, #faq .btn-ghost { color: #0066cc; border-color: #0066cc; }
#features .btn-ghost:hover, #reviews .btn-ghost:hover { background: rgba(0,102,204,.08); border-color: #0066cc; }
.co-btn { border-radius: 980px; }

/* ---------- nav: slim frosted bar ---------- */
.nav, .nav.scrolled { background: rgba(22,22,23,.8); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(255,255,255,.08); box-shadow: none; }
.nav-links a { font-size: 12px; font-weight: 400; color: rgba(245,245,247,.8); border-radius: 0; letter-spacing: 0; }
.nav-links a:hover { color: #fff; }
.brand { font-weight: 600; letter-spacing: -.02em; }
.brand img { border-radius: 8px; }
.nav-actions .btn { height: 30px; font-size: 12px; padding: 0 14px; }
.nav-actions .btn-ghost { border-radius: 980px; color: #ffd60a; border-color: transparent; }
.nav-actions .btn-ghost:hover { background: transparent; text-decoration: underline; }

/* ---------- hero: centred, huge type ---------- */
.hero { background: #000; padding-top: 80px; text-align: center; }
.hero-grid { grid-template-columns: 1fr; gap: 48px; padding-bottom: 80px; justify-items: center; }
.hero-copy { max-width: 880px; }
.hero h1 { color: #f5f5f7; font-weight: 700; font-size: clamp(40px, 7.4vw, 88px); line-height: 1.04; letter-spacing: -.035em; }
.hero h1 em { display: block; background: linear-gradient(90deg, #ffd60a 0%, #bf5af2 55%, #ff6482 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.hero-lead { font-size: clamp(17px, 2.2vw, 24px); line-height: 1.4; color: #a1a1a6; max-width: 34ch; margin: 0 auto 30px; font-weight: 400; }
.hero-cta { justify-content: center; margin-bottom: 22px; }
.checks { justify-content: center; font-size: 14px; color: #86868b; }
.checks svg { color: #ffd60a; }
.cover { width: 100%; max-width: 640px; }
.cover::before { inset: -6% -10%; background: radial-gradient(55% 50% at 50% 45%, rgba(255,202,10,.30), transparent 70%), radial-gradient(40% 35% at 70% 85%, rgba(191,90,242,.22), transparent 70%); filter: blur(46px); }
.cover img { border: 0; border-radius: 28px; box-shadow: 0 40px 100px -30px rgba(0,0,0,.9); }

/* ---------- trust band ---------- */
.trust-band { background: #111113; border: 0; padding: 36px 0 14px; }
.band-title { color: #f5f5f7; font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.ticker-track { color: #6e6e73; font-weight: 600; font-size: 19px; }
.ticker-track b { color: #ffd60a; -webkit-text-fill-color: #ffd60a; }

/* ---------- section titles ---------- */
.section { padding: 112px 0; }
.section-head h2 { font-size: clamp(32px, 5vw, 56px); font-weight: 700; letter-spacing: -.035em; line-height: 1.07; }
.section-head p { font-size: 19px; color: var(--muted); max-width: 46ch; }

/* ---------- cards ---------- */
.feat, .review, .collab, .faq details, .reviews-empty { border: 0; border-radius: 24px; box-shadow: 0 2px 20px rgba(0,0,0,.05); }
.feat { padding: 30px 28px; }
.feat:hover, .review:hover { transform: translateY(-4px); border: 0; box-shadow: 0 24px 50px -22px rgba(0,0,0,.25); }
.feat-ico { width: 46px; height: 46px; border-radius: 14px; background: rgba(var(--accent-rgb), .1); color: var(--accent); box-shadow: none; }
.feat h3 { font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.feat p { font-size: 15.5px; color: var(--muted); }
.tab-num { color: #86868b; opacity: 1; font-weight: 600; }
.tab-chips li { background: #f5f5f7; color: #424245; border: 0; border-radius: 980px; font-size: 12.5px; padding: 7px 12px; }
.feat-more { color: var(--muted); font-size: 15px; }

.flow-line { background: linear-gradient(90deg, transparent, rgba(0,0,0,.3)); }
.flow-nodes span { background: #fff; border: 0; box-shadow: 0 2px 14px rgba(0,0,0,.08); color: var(--accent); border-radius: 14px; }
.flow-side { font-weight: 700; letter-spacing: -.03em; }

/* ---------- products (dark) ---------- */
.buy, .buy.buy--ae, .buy.buy--pr, .buy.buy--combo { background: #1d1d1f; border: 0; border-radius: 28px; padding: 36px 28px 30px; }
.buy:hover { border: 0; box-shadow: 0 30px 60px -30px rgba(255,202,10,.35); }
.buy .buy-main > h2 { font-size: 24px; font-weight: 700; letter-spacing: -.025em; }
.buy .price, .buy--ae .price, .buy--pr .price, .buy--combo .price { font-size: 48px; letter-spacing: -.04em; }
.buy-side h3 { color: #86868b; }
.buy-side li svg { background: var(--accent); }
.buy .promo, .buy .usd-line { color: #ffd60a; }
.buy .combo-save { background: rgba(255,202,10,.16); color: #ffd60a; }
.buy--ae .btn-primary, .buy--pr .btn-primary, .buy--combo .btn-primary { background: var(--accent) !important; box-shadow: none; }
.buy .btn-ghost, .buy--ae .btn-ghost { color: #ffd60a; border-color: #ffd60a; }
.buy.buy--combo::before { background: var(--accent); }
.prod-badge { background: rgba(var(--accent-rgb), .16); border: 0; color: #ffd60a; border-radius: 12px; }
.prod-tag { color: #ffd60a; }
.plan-card.on { border-color: var(--accent); background: rgba(var(--accent-rgb), .16); }

/* ---------- reviews ---------- */
.review { padding: 28px; }
.review blockquote { color: #1d1d1f; font-size: 15.5px; }
.review-stars { color: #ff9f0a; }
.review-stars span { color: #d2d2d7; }
.review figcaption::before { background: linear-gradient(135deg, #ffd60a, #bf5af2); box-shadow: none; }

/* ---------- demo, community ---------- */
.demo-copy li::marker { color: #ffd60a; }
.community { background: #1d1d1f; border: 0; border-radius: 28px; padding: 44px 48px; }
.community h2 { font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -.03em; }
#community { padding: 0 0 112px; }

/* ---------- editors, FAQ ---------- */
.collab:hover { border: 0; box-shadow: 0 24px 50px -22px rgba(0,0,0,.35); }
#collabs .section-head h2 { font-size: clamp(26px, 3.4vw, 40px); }
.faq { max-width: 780px; }
.faq details { background: #fff; border-radius: 18px; }
.faq details[open] { border: 0; box-shadow: 0 10px 34px -16px rgba(0,0,0,.2); }
.faq summary { font-size: 17px; font-weight: 600; letter-spacing: -.015em; }
.faq summary::after { border-color: #86868b; }
.faq p { font-size: 15.5px; }

/* ---------- footer: light gray like apple.com ---------- */
.foot { background: #f5f5f7; border-top: 1px solid rgba(0,0,0,.1); color: #6e6e73; }
.foot .brand, .foot h4 { color: #1d1d1f; }
.foot-col a { color: #424245; }
.foot-col a:hover { color: var(--accent); text-decoration: underline; }
.foot-bottom { border-top: 1px solid rgba(0,0,0,.1); }
.foot .social a { background: #1d1d1f; }
.foot .social a:hover { background: var(--accent); filter: none; }

/* ---------- inputs / checkout accents ---------- */
input:focus, textarea:focus { box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .25); }
.checks svg { color: #ffd60a; }

/* ---------- phones ---------- */
@media (max-width: 700px) {
  body { font-size: 16px; }
  .hero { padding-top: 40px; }
  .hero-grid { gap: 32px; padding-bottom: 48px; }
  .hero h1 { font-size: 40px; }
  .hero-lead { font-size: 17px; }
  .hero-cta .btn { height: 50px; }
  .checks { align-items: center; }
  .section { padding: 64px 0; }
  .section-head h2 { font-size: 30px; }
  .section-head p { font-size: 16px; }
  .tab-grid .tab-card, .tab-card:last-child { flex-basis: 84%; }
  .buy, .buy.buy--ae, .buy.buy--pr, .buy.buy--combo { padding: 30px 20px 24px; }
  #community { padding: 0 0 64px; }
  .community { padding: 28px 20px; }
  .nav-links a { border-color: rgba(255,255,255,.25); border-radius: 980px; }
  .foot { padding-top: 40px; }
}
