/*
Theme Name: Zoosk Dating AI
Theme URI: https://zoosk-ai.net
Description: Landing theme for Zoosk Dating AI - AI girlfriend chat and flirty companion conversations.
Version: 1.4.0
Text Domain: zoosk-dating-ai
*/

:root {
  --bg: #08060f;
  --bg-2: #0e0a1c;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-2: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f4f1fb;
  --muted: #b0a8c8;
  --brand: #ff3d7f;
  --brand-2: #ff8a4c;
  --violet: #8b5cff;
  --cyan: #35e0d6;
  --grad: linear-gradient(115deg, #ff3d7f 0%, #ff6a4d 48%, #ffb14c 100%);
  --grad-cool: linear-gradient(120deg, #8b5cff 0%, #ff3d7f 60%, #ff8a4c 100%);
  --glow: 0 24px 70px -22px rgba(255, 61, 127, 0.6);
  --radius: 22px;
  --font-h: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-b: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-b);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }

h1, h2 { font-family: var(--font-h); line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.3rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.7rem); }

.wrap { width: min(1200px, 92%); margin-inline: auto; }
.section { padding: clamp(64px, 8vw, 120px) 0; position: relative; }
.section--tint { background: radial-gradient(120% 100% at 50% 0%, rgba(139, 92, 255, 0.16), transparent 62%); }
.center { text-align: center; }
.lede { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.16rem); max-width: 64ch; }
.center .lede { margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-h); font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface);
  color: #ffd0e0; margin-bottom: 20px;
}
.eyebrow::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand); box-shadow: 0 0 12px var(--brand);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.35; transform: scale(0.7); } }

.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-h); font-weight: 600; font-size: 1rem;
  padding: 16px 32px; border-radius: 999px; border: 0; cursor: pointer;
  position: relative; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease;
}
.btn--primary { background: var(--grad); color: #17040d; box-shadow: var(--glow); }
.btn--primary::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.55) 50%, transparent 80%);
  transform: translateX(-120%); transition: transform .8s ease;
}
.btn--primary:hover::after { transform: translateX(120%); }
.btn--primary:hover { transform: translateY(-3px) scale(1.02); }
.btn--ghost { background: var(--surface); color: var(--text); border: 1px solid var(--line); backdrop-filter: blur(12px); }
.btn--ghost:hover { background: var(--surface-2); transform: translateY(-3px); }
.btn--lg { padding: 19px 42px; font-size: 1.06rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60; padding: 16px 0;
  transition: background .3s ease, padding .3s ease, box-shadow .3s ease;
}
.site-header.is-stuck {
  background: rgba(8, 6, 15, 0.82); backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--line); padding: 9px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-h); font-weight: 700; font-size: 1.08rem; letter-spacing: -0.01em; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 12px; background: var(--grad);
  display: grid; place-items: center; font-size: 1.1rem; box-shadow: var(--glow);
}
.main-navigation ul { display: flex; align-items: center; gap: 28px; list-style: none; }
.main-navigation a { font-size: 0.95rem; color: var(--muted); transition: color .2s ease; }
.main-navigation a:hover { color: var(--text); }
.header-cta { display: flex; gap: 10px; align-items: center; }
.header-cta .btn { padding: 12px 24px; font-size: 0.92rem; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); cursor: pointer; }
.menu-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--text); transition: .3s; }
.menu-toggle.is-active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.menu-toggle.is-active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(120px, 16vw, 190px) 0 clamp(70px, 8vw, 110px); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; width: 780px; height: 780px; border-radius: 50%;
  top: -280px; left: 50%; translate: -50% 0;
  background: radial-gradient(circle, rgba(255, 61, 127, .38), transparent 62%);
  filter: blur(30px); transform: translate(var(--px, 0), var(--py, 0));
  transition: transform .5s ease-out;
}
.hero::after {
  content: ''; position: absolute; width: 620px; height: 620px; border-radius: 50%;
  bottom: -300px; right: -160px;
  background: radial-gradient(circle, rgba(139, 92, 255, .34), transparent 64%); filter: blur(24px);
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 66px); align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero .lede { margin-bottom: 30px; font-size: clamp(1.02rem, 1.5vw, 1.2rem); }
.hero-proof { display: flex; align-items: center; gap: 14px; margin-top: 30px; color: var(--muted); font-size: 0.92rem; }
.avatars { display: flex; }
.avatars img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid var(--bg-2); margin-left: -12px; }
.avatars img:first-child { margin-left: 0; }
.stars { color: #ffc14c; letter-spacing: 2px; }

.hero-media { position: relative; }
.hero-card {
  position: relative; border-radius: 30px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .85);
  animation: float 7s ease-in-out infinite;
}
.hero-card img { width: 100%; aspect-ratio: 7 / 5; object-fit: cover; }
.hero-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,6,15,.75), transparent 55%); }
@keyframes float { 50% { transform: translateY(-16px); } }
.float-chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: 16px; font-size: 0.86rem; font-weight: 600;
  background: rgba(14, 10, 28, .78); border: 1px solid var(--line); backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.9);
}
.float-chip--a { top: 8%; left: -26px; animation: float 5.5s ease-in-out infinite; }
.float-chip--b { bottom: 12%; right: -18px; animation: float 6.5s ease-in-out .6s infinite; }
.dot-live { width: 9px; height: 9px; border-radius: 50%; background: #35e08a; box-shadow: 0 0 10px #35e08a; }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: rgba(255,255,255,.03); overflow: hidden; padding: 16px 0; }
.marquee-track { display: flex; gap: 46px; width: max-content; animation: slide 26s linear infinite; }
.marquee-track span { font-family: var(--font-h); font-size: 0.9rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { padding: 30px 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); text-align: center; transition: transform .3s ease, background .3s ease; }
.stat:hover { transform: translateY(-6px); background: var(--surface-2); }
.stat b { display: block; font-family: var(--font-h); font-size: clamp(1.9rem, 3.4vw, 2.7rem); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat small { color: var(--muted); font-size: 0.9rem; }

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.head-block { margin-bottom: clamp(32px, 4vw, 56px); }

.card {
  padding: 32px 28px; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--surface); position: relative; overflow: hidden;
  transition: transform .35s ease, border-color .35s ease, background .35s ease;
}
.card:hover { transform: translateY(-8px); border-color: rgba(255, 61, 127, .5); background: var(--surface-2); }
.card::before {
  content: ''; position: absolute; inset: -1px -1px auto -1px; height: 2px; background: var(--grad);
  opacity: 0; transition: opacity .35s ease;
}
.card:hover::before { opacity: 1; }
.card-ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem; background: var(--grad-cool); margin-bottom: 18px; }
.card h2 { font-size: 1.18rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.98rem; }
.step-num { font-family: var(--font-h); font-size: 3.4rem; font-weight: 700; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px; }

/* ---------- Companions ---------- */
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.model {
  position: relative; border-radius: 26px; overflow: hidden; border: 1px solid var(--line);
  transition: transform .4s ease, box-shadow .4s ease;
}
.model img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .8s ease, filter .5s ease; }
.model:hover { transform: translateY(-10px); box-shadow: 0 44px 80px -40px rgba(255, 61, 127, .55); }
.model:hover img { transform: scale(1.07); }
.model-body {
  position: absolute; inset: auto 0 0 0; padding: 26px 24px;
  background: linear-gradient(to top, rgba(8,6,15,.94) 12%, rgba(8,6,15,.55) 55%, transparent);
}
.model-body h2 { font-size: 1.24rem; margin-bottom: 4px; }
.model-body p { color: var(--muted); font-size: .92rem; margin-bottom: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.tags i { font-style: normal; font-size: .76rem; padding: 5px 11px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); color: #ffd0e0; }
.model .btn { width: 100%; padding: 13px 20px; font-size: .93rem; }
.badge-online {
  position: absolute; top: 16px; left: 16px; z-index: 2; display: flex; align-items: center; gap: 7px;
  font-size: .76rem; font-weight: 600; padding: 7px 13px; border-radius: 999px;
  background: rgba(8,6,15,.7); border: 1px solid var(--line); backdrop-filter: blur(10px);
}

/* ---------- Moods ---------- */
.moods { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.mood {
  padding: 14px 24px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  font-family: var(--font-h); font-size: .95rem; cursor: pointer; transition: .3s ease;
}
.mood:hover { background: var(--grad); color: #17040d; transform: translateY(-4px) rotate(-1.5deg); box-shadow: var(--glow); }

/* ---------- Chat demo ---------- */
.chat-shell { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 62px); align-items: center; }
.phone {
  border-radius: 34px; border: 1px solid var(--line); background: linear-gradient(170deg, rgba(255,255,255,.09), rgba(255,255,255,.03));
  padding: 20px; box-shadow: 0 50px 100px -46px rgba(0,0,0,.9); backdrop-filter: blur(16px);
}
.phone-top { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.phone-top img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.phone-top b { font-family: var(--font-h); font-size: .98rem; display: block; }
.phone-top small { color: #35e08a; font-size: .8rem; }
.chat-thread { display: flex; flex-direction: column; gap: 12px; min-height: 300px; }
.bubble {
  max-width: 82%; padding: 13px 18px; border-radius: 18px; font-size: .96rem;
  opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease;
}
.bubble.is-shown { opacity: 1; transform: none; }
.bubble--her { background: var(--surface-2); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.bubble--me { align-self: flex-end; background: var(--grad); color: #17040d; border-bottom-right-radius: 6px; font-weight: 500; }
.check-list { list-style: none; display: grid; gap: 14px; margin: 26px 0 30px; }
.check-list li { display: flex; gap: 12px; color: var(--muted); }
.check-list li::before { content: '✦'; color: var(--brand); font-size: 1.1rem; line-height: 1.4; }

/* ---------- Editorial text blocks ---------- */
.story { border-radius: 28px; border: 1px solid var(--line); padding: clamp(28px, 4vw, 56px); background: linear-gradient(150deg, rgba(139,92,255,.14), rgba(255,61,127,.07)); }
.story h2 { margin-bottom: 18px; }
.story p { color: #d8d2e8; margin-bottom: 16px; }
.story p:last-child { margin-bottom: 0; }
.story--split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 54px); align-items: center; }
.story--split img { border-radius: 22px; aspect-ratio: 4 / 5; object-fit: cover; }
.pull { font-family: var(--font-h); font-size: clamp(1.1rem, 1.8vw, 1.4rem); line-height: 1.45; color: var(--text); border-left: 3px solid var(--brand); padding-left: 20px; margin: 22px 0; }

/* ---------- Reviews ---------- */
.review { padding: 30px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); transition: transform .3s ease; }
.review:hover { transform: translateY(-7px); }
.review p { color: #ded8ee; font-size: 1rem; margin: 12px 0 18px; }
.review-who { display: flex; align-items: center; gap: 12px; }
.review-who span { width: 42px; height: 42px; border-radius: 50%; background: var(--grad-cool); display: grid; place-items: center; font-family: var(--font-h); font-weight: 700; }
.review-who b { display: block; font-size: .95rem; }
.review-who small { color: var(--muted); font-size: .84rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); overflow: hidden; transition: border-color .3s ease; }
.faq-item.is-open { border-color: rgba(255,61,127,.55); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 26px; background: none; border: 0; cursor: pointer; color: var(--text); text-align: left;
}
.faq-question h2 { font-size: 1.05rem; }
.faq-question::after { content: '+'; font-size: 1.6rem; line-height: 1; color: var(--brand); transition: transform .3s ease; }
.faq-item.is-open .faq-question::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .45s ease; }
.faq-item.is-open .faq-answer { max-height: 460px; }
.faq-answer p { padding: 0 26px 24px; color: var(--muted); }

/* ---------- Final CTA ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: 32px; padding: clamp(40px, 6vw, 80px) clamp(26px, 5vw, 64px);
  text-align: center; border: 1px solid var(--line);
  background: radial-gradient(120% 130% at 50% 0%, rgba(255,61,127,.32), rgba(139,92,255,.16) 55%, transparent 75%);
}
.cta-band::after {
  content: ''; position: absolute; inset: -40%; background: conic-gradient(from 0deg, transparent, rgba(255,138,76,.18), transparent 40%);
  animation: spin 14s linear infinite; z-index: -1;
}
@keyframes spin { to { transform: rotate(1turn); } }
.cta-band h2 { margin-bottom: 16px; }

/* ---------- Legal pages ---------- */
.page-hero { padding: clamp(130px, 15vw, 180px) 0 40px; position: relative; }
.page-hero::before {
  content: ''; position: absolute; width: 640px; height: 640px; top: -300px; left: 50%; translate: -50% 0;
  border-radius: 50%; background: radial-gradient(circle, rgba(139,92,255,.3), transparent 62%); filter: blur(24px);
}
.crumbs { color: var(--muted); font-size: .88rem; margin-bottom: 18px; position: relative; }
.crumbs a:hover { color: var(--brand); }
.legal { max-width: 900px; margin-inline: auto; padding-bottom: 90px; }
.legal .updated { color: var(--muted); font-size: .9rem; margin-bottom: 34px; }
.legal-item { padding: 24px 0; border-top: 1px solid var(--line); }
.legal-item h2 { font-size: 1.16rem; margin-bottom: 10px; }
.legal-item p { color: var(--muted); }
.legal-item ul { color: var(--muted); margin: 10px 0 0 20px; }
.legal-item li { margin-bottom: 6px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 62px 0 34px; background: rgba(255,255,255,.02); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; margin-bottom: 42px; }
.footer-grid p { color: var(--muted); font-size: .95rem; max-width: 44ch; margin-top: 14px; }
.footer-col b { font-family: var(--font-h); font-size: .95rem; display: block; margin-bottom: 14px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: var(--muted); font-size: .94rem; }
.footer-col a:hover { color: var(--brand); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: var(--muted); font-size: .86rem; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }
.reveal[data-delay="5"] { transition-delay: .5s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .models { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .chat-shell, .story--split { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .float-chip--a { left: 8px; }
  .float-chip--b { right: 8px; }
}

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .main-navigation {
    position: absolute; inset: 100% 4% auto 4%; display: none;
    background: rgba(14,10,28,.97); border: 1px solid var(--line); border-radius: 20px; padding: 22px;
    backdrop-filter: blur(20px);
  }
  .main-navigation.is-open { display: block; }
  .main-navigation ul { flex-direction: column; align-items: flex-start; gap: 18px; }
  .header-cta .btn--ghost { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .models, .stats { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-proof { flex-direction: column; align-items: flex-start; }
}
