/* ═══════════════════════════════════════════════
   Castquill — home.css
   Landing-page styles (extracted from inline <style>
   so the browser can cache them across visits).
   ═══════════════════════════════════════════════ */

/* ── reusable gradient-text helper (was duplicated inline) ── */
.gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ── HERO ── */
.hero { background: var(--ink); color: var(--white); text-align: center; padding: 80px 24px 0; overflow: hidden; position: relative; }
.hero::before { content: ''; position: absolute; top: -80px; left: 50%; transform: translateX(-50%); width: 800px; height: 440px; background: radial-gradient(ellipse, rgba(124,58,237,.26) 0%, rgba(255,122,43,.18) 50%, transparent 75%); pointer-events: none; animation: heroGlow 9s ease-in-out infinite alternate; }
.hero::after { content: ''; position: absolute; bottom: -120px; left: 8%; width: 480px; height: 380px; background: radial-gradient(ellipse, rgba(255,122,43,.14) 0%, transparent 70%); pointer-events: none; animation: heroGlowSide 11s ease-in-out infinite alternate; }
@keyframes heroGlow {
  from { transform: translateX(-50%) translateY(0) scale(1); }
  to   { transform: translateX(-46%) translateY(14px) scale(1.06); }
}
@keyframes heroGlowSide {
  from { transform: translateY(0) scale(1); opacity: 1; }
  to   { transform: translateY(-18px) scale(1.08); opacity: .7; }
}
.hero > * { position: relative; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .05em; color: rgba(255,255,255,.5); text-transform: uppercase; margin-bottom: 24px; }
.hero h1 { font-size: clamp(40px,7vw,84px); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; margin-bottom: 22px; }
.hero h1 em { font-style: italic; font-weight: 300; color: rgba(255,255,255,.4); }
.hero-sub { font-size: clamp(16px,2vw,19px); color: rgba(255,255,255,.58); max-width: 500px; margin: 0 auto 40px; line-height: 1.6; }
.hero-toggle { display: inline-flex; gap: 4px; margin-bottom: 56px; }
.toggle-btn { font-size: 14px; font-weight: 600; padding: 10px 28px; border-radius: 980px; border: none; cursor: pointer; text-decoration: none; display: inline-block; transition: opacity .2s, transform .15s; }
.toggle-btn:hover { opacity: .9; transform: translateY(-1px); }
.toggle-btn-brand { background: var(--violet); color: #fff; }
.toggle-btn-creator { background: var(--brand-gradient); color: #fff; }
.toggle-label { font-size: 12px; color: rgba(255,255,255,.35); display: flex; align-items: center; padding: 0 8px; font-weight: 500; }
.hero-fade { height: 72px; background: linear-gradient(to bottom, var(--ink) 0%, var(--white) 100%); }

/* ── TICKER ── */
.ticker-section { padding: 24px 0 36px; border-bottom: 1px solid var(--border); overflow: hidden; }
.ticker-label { text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; opacity: .6; }
.ticker-viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.ticker-track { display: flex; gap: 52px; align-items: center; animation: ticker 24s linear infinite; width: max-content; }
@keyframes ticker { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.ticker-track:hover { animation-play-state: paused; }
.brand-pill { font-size: 14px; font-weight: 700; color: var(--muted); white-space: nowrap; opacity: .45; }

/* ── SPLIT INTRO ── */
.split-intro { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--border); }
.split-panel { padding: 72px 48px; }
.split-panel:first-child { border-right: 1px solid var(--border); background: linear-gradient(180deg, rgba(124,58,237,.06) 0%, rgba(124,58,237,0) 65%); }
.split-panel:last-child  { background: linear-gradient(180deg, rgba(255,122,43,.06) 0%, rgba(255,122,43,0) 65%); }
.split-panel-icon {
  font-size: 26px; width: 60px; height: 60px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  background: var(--white); border: 1px solid var(--border);
  box-shadow: 0 6px 20px rgba(14,14,16,.06); margin-bottom: 22px;
}
.split-panel h2 { font-size: clamp(24px,3vw,38px); font-weight: 800; letter-spacing: -.03em; margin-bottom: 14px; line-height: 1.1; }
.split-panel p { font-size: 15px; color: var(--muted); line-height: 1.6; margin-bottom: 28px; max-width: 360px; }
.split-perks { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-top: 20px; }
.split-perks li { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 9px; }
.perk-check { width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; flex-shrink: 0; }
.perk-check-violet { background: var(--violet-soft); color: var(--violet); }
.perk-check-coral  { background: var(--coral-soft);  color: var(--coral); }
@media (max-width: 700px) {
  .split-intro { grid-template-columns: 1fr; }
  .split-panel { padding: 48px 28px; }
  .split-panel:first-child { border-right: none; border-bottom: 1px solid var(--border); }
}

/* ── STATS ── */
.stats-section { padding: 64px 24px; border-bottom: 1px solid var(--border); }
.stats-inner { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); }
.stat-item { text-align: center; padding: 16px 12px; border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: none; }
.stat-num { font-size: clamp(32px,4.5vw,52px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.stat-label { font-size: 12.5px; color: var(--muted); margin-top: 10px; }
@media (max-width: 640px) { .stats-inner { grid-template-columns: repeat(2,1fr); } }

/* ── FOR BRANDS ── */
.brands-section { padding: 96px 24px; background: var(--ink); color: var(--white); }
.brands-inner { max-width: 980px; margin: 0 auto; }
.brands-header { margin-bottom: 56px; }
.niches-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 64px; }
.niche-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); border-radius: 16px; padding: 28px 22px; transition: background .2s, border-color .2s, transform .2s, opacity .6s cubic-bezier(.16,1,.3,1); position: relative; overflow: hidden; }
.niche-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--brand-gradient); opacity: 0; transition: opacity .25s; }
.niche-card:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.18); transform: translateY(-3px); }
.niche-card:hover::before { opacity: 1; }
.niche-icon { font-size: 30px; margin-bottom: 14px; }
.niche-name { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.niche-desc { font-size: 13px; color: rgba(255,255,255,.45); line-height: 1.5; }
.brand-pricing-header { margin-bottom: 36px; }
.brand-pricing-header h3 { font-size: 28px; font-weight: 800; letter-spacing: -.025em; color: #fff; margin-bottom: 8px; }
.brand-pricing-header p { font-size: 15px; color: rgba(255,255,255,.5); }
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; align-items: stretch; }
.pricing-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 36px 28px; position: relative; display: flex; flex-direction: column; transition: border-color .2s, transform .2s, opacity .6s cubic-bezier(.16,1,.3,1); }
.pricing-card:hover { border-color: rgba(255,255,255,.24); transform: translateY(-3px); }
.pricing-card.featured { background: linear-gradient(160deg, #8B52F5 0%, var(--violet) 55%, #6D28D9 100%); border-color: transparent; box-shadow: 0 24px 64px rgba(124,58,237,.4); transform: scale(1.035); z-index: 1; }
.pricing-card.featured:hover { transform: scale(1.035) translateY(-3px); }
@media (max-width: 700px) {
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-3px); }
}
.pricing-badge-tag { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: rgba(255,255,255,.18); color: #fff; padding: 4px 10px; border-radius: 6px; display: inline-block; margin-bottom: 18px; }
.pricing-plan { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.pricing-price-range { font-size: 34px; font-weight: 800; letter-spacing: -.03em; color: #fff; line-height: 1.1; margin-bottom: 4px; }
.pricing-period { font-size: 12px; color: rgba(255,255,255,.45); margin-bottom: 24px; }
.pricing-card.featured .pricing-period { color: rgba(255,255,255,.65); }
.pricing-divider { height: 1px; background: rgba(255,255,255,.1); margin-bottom: 20px; }
.pricing-card.featured .pricing-divider { background: rgba(255,255,255,.2); }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 28px; }
.pricing-features li { font-size: 13.5px; color: rgba(255,255,255,.65); display: flex; align-items: flex-start; gap: 9px; line-height: 1.4; }
.pricing-card.featured .pricing-features li { color: rgba(255,255,255,.88); }
.pricing-features li::before { content: '✓'; font-weight: 800; font-size: 11px; color: rgba(255,255,255,.4); flex-shrink: 0; margin-top: 2px; }
.pricing-card.featured .pricing-features li::before { color: rgba(255,255,255,.75); }
.turnaround-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.5); margin-bottom: 24px; }
.turnaround-badge span { background: rgba(255,255,255,.1); padding: 3px 8px; border-radius: 5px; }
.pricing-card.featured .turnaround-badge { color: rgba(255,255,255,.65); }
.pricing-card.featured .turnaround-badge span { background: rgba(255,255,255,.15); }
.pricing-cta-btn { display: block; text-align: center; padding: 13px; border-radius: 980px; font-size: 14px; font-weight: 600; text-decoration: none; transition: opacity .2s, border-color .2s; cursor: pointer; border: none; margin-top: auto; }
.pcta-outline { border: 1.5px solid rgba(255,255,255,.2); color: #fff; background: transparent; }
.pcta-outline:hover { border-color: rgba(255,255,255,.5); }
.pcta-white { background: #fff; color: var(--violet); }
.pcta-white:hover { opacity: .9; }
@media (max-width: 700px) {
  .niches-grid { grid-template-columns: repeat(2,1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ── FOR CREATORS ── */
.creators-section { padding: 96px 24px; }
.creators-inner { max-width: 980px; margin: 0 auto; }
.creators-header { margin-bottom: 56px; }
.creator-value-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 64px; }
.cvalue-card { background: var(--surface); border: 1px solid transparent; border-radius: var(--radius); padding: 36px 28px; transition: transform .22s, box-shadow .22s, border-color .22s, background .22s, opacity .6s cubic-bezier(.16,1,.3,1); }
.cvalue-card:hover { transform: translateY(-4px); box-shadow: 0 16px 44px rgba(0,0,0,.08); border-color: var(--border); background: var(--white); }
.cvalue-icon {
  font-size: 24px; width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--white); border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(14,14,16,.06); margin-bottom: 18px;
}
.cvalue-card h3 { font-size: 18px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 10px; }
.cvalue-card p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.creator-niches { background: var(--surface); border-radius: var(--radius); padding: 36px 32px; margin-bottom: 48px; }
.creator-niches h3 { font-size: 16px; font-weight: 700; margin-bottom: 20px; }
.niche-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.niche-tag { font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: 980px; border: 1.5px solid var(--border); color: var(--ink); cursor: default; transition: border-color .15s, background .15s; }
.niche-tag.active { border-color: var(--violet); background: var(--violet-soft); color: var(--violet); }
.creator-steps { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.cstep { padding: 36px 28px; border-right: 1px solid var(--border); transition: background .2s, opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1); }
.cstep:hover { background: var(--surface); }
.cstep:last-child { border-right: none; }
.cstep-num { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--coral); background: var(--coral-soft); padding: 5px 12px; border-radius: 980px; margin-bottom: 16px; }
.cstep h3 { font-size: 17px; font-weight: 700; margin-bottom: 9px; }
.cstep p { font-size: 14px; color: var(--muted); line-height: 1.6; }
@media (max-width: 700px) {
  .creator-value-grid { grid-template-columns: 1fr; }
  .creator-steps { grid-template-columns: 1fr; }
  .cstep { border-right: none; border-bottom: 1px solid var(--border); }
  .cstep:last-child { border-bottom: none; }
}

/* ── TESTIMONIALS ── */
.testi-section { padding: 88px 24px; background: var(--surface); }
.testi-inner { max-width: 980px; margin: 0 auto; }
.testi-header { text-align: center; margin-bottom: 52px; }
.testi-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.testi-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 28px; position: relative; overflow: hidden; box-shadow: 0 4px 20px rgba(14,14,16,.04); transition: transform .22s, box-shadow .22s, opacity .6s cubic-bezier(.16,1,.3,1); }
.testi-card:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(14,14,16,.08); }
.testi-card::after { content: '\201C'; position: absolute; top: 6px; right: 20px; font-family: Georgia, serif; font-size: 110px; line-height: 1; color: var(--violet); opacity: .08; pointer-events: none; }
.testi-who { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 20px; padding: 5px 10px; border-radius: 6px; }
.testi-who-brand   { background: var(--violet-soft); color: var(--violet); }
.testi-who-creator { background: var(--coral-soft);  color: var(--coral); }
.testi-stars { color: var(--gold); font-size: 13px; letter-spacing: 2px; margin-bottom: 14px; }
.testi-quote { font-size: 15.5px; line-height: 1.65; color: var(--ink); margin-bottom: 24px; font-style: italic; }
.testi-person { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.testi-name { font-size: 13.5px; font-weight: 700; }
.testi-role { font-size: 12px; color: var(--muted); }
@media (max-width: 700px) { .testi-grid { grid-template-columns: 1fr; } }

/* ── SECTION SHARED ── */
.section-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 14px; }
.eyebrow-coral  { color: var(--coral); }
.eyebrow-violet { color: var(--violet); }
.eyebrow-violet-light { color: #b09aff; }
.eyebrow-muted { color: var(--muted); }
.section-title { font-size: clamp(28px,4.5vw,52px); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; margin-bottom: 18px; }
.section-body { font-size: 16.5px; color: var(--muted); line-height: 1.65; max-width: 500px; }
.section-title-light { color: #fff; max-width: 560px; }
.section-title-light em { font-weight: 300; color: rgba(255,255,255,.4); font-style: italic; }
.section-body-light { color: rgba(255,255,255,.5); }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
