/*
Theme Name: Zoosk AI Dating
Theme URI: https://zoosk-ai.com/
Author: Zoosk AI Dating
Description: Showcase theme for Zoosk AI Dating companion chat.
Version: 1.4.2
Text Domain: zoosk-ai
*/

:root {
  --bg: #07060d;
  --bg-2: #0d0b17;
  --panel: rgba(255, 255, 255, .045);
  --panel-2: rgba(255, 255, 255, .07);
  --line: rgba(255, 255, 255, .1);
  --text: #f4f1fb;
  --muted: #a49fbb;
  --accent: #ff2f7b;
  --accent-2: #ff8a4c;
  --accent-3: #7c4dff;
  --grad: linear-gradient(100deg, #ff2f7b, #ff5f8f 45%, #ff8a4c);
  --grad-soft: linear-gradient(140deg, rgba(255,47,123,.22), rgba(124,77,255,.18));
  --radius: 22px;
  --shadow: 0 30px 70px -30px rgba(0, 0, 0, .85);
  --glow: 0 0 60px -12px rgba(255, 47, 123, .55);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Sora", "Manrope", system-ui, sans-serif;
}

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

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

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 600px at 12% -5%, rgba(255, 47, 123, .22), transparent 60%),
    radial-gradient(800px 620px at 88% 8%, rgba(124, 77, 255, .2), transparent 62%),
    radial-gradient(900px 700px at 50% 105%, rgba(255, 138, 76, .14), transparent 60%),
    var(--bg);
}

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

h1, h2 { font-family: var(--display); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .6em; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 5.4vw, 4.05rem); }
h2 { font-size: clamp(1.55rem, 3.1vw, 2.5rem); }
p { margin: 0 0 1.05em; }

.wrap { width: min(1200px, 100% - 2.6rem); margin-inline: auto; }
.narrow { width: min(820px, 100% - 2.6rem); }
.center { text-align: center; }
.muted { color: var(--muted); }
.lede { font-size: clamp(1.02rem, 1.6vw, 1.24rem); color: #ded9ee; max-width: 62ch; }
.screen-reader-text { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; position: fixed; background: #fff; color: #000; padding: .6rem 1rem; z-index: 99; }

.eyebrow {
  text-transform: uppercase; letter-spacing: .3em; font-size: .7rem;
  color: var(--accent); font-weight: 700; margin: 0 0 .9rem;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.7rem; border-radius: 999px; font-weight: 700; font-size: .97rem;
  border: 1px solid transparent; cursor: pointer; letter-spacing: .01em;
  transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s, background .28s, border-color .28s;
  will-change: transform;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 14px 40px -14px rgba(255, 47, 123, .8); }
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 22px 55px -14px rgba(255, 47, 123, .95); }
.btn-glass { background: var(--panel-2); color: var(--text); border-color: var(--line); backdrop-filter: blur(14px); }
.btn-glass:hover { background: rgba(255, 255, 255, .13); transform: translateY(-3px); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: #fff; }
.btn-lg { padding: 1.12rem 2.2rem; font-size: 1.03rem; }
.btn-sm { padding: .68rem 1.25rem; font-size: .87rem; }
.pulse::after {
  content: ""; position: absolute; inset: -2px; border-radius: 999px;
  border: 1px solid rgba(255, 47, 123, .7); animation: pulse 2.6s ease-out infinite;
}
@keyframes pulse { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(1.22); } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  transition: background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(7, 6, 13, .78); backdrop-filter: blur(18px) saturate(1.3);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1.4rem; padding: 1rem 0; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-family: var(--display); font-weight: 800; font-size: 1.06rem; letter-spacing: -.01em; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 12px; background: var(--grad);
  display: grid; place-items: center; color: #fff; font-size: 1.1rem;
  box-shadow: var(--glow);
}
.brand-name em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.main-navigation { margin-left: auto; }
.menu { display: flex; gap: 1.9rem; list-style: none; margin: 0; padding: 0; font-size: .95rem; font-weight: 500; }
.menu a { position: relative; color: #cec9e4; transition: color .25s; }
.menu a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px;
  background: var(--grad); transition: right .3s;
}
.menu a:hover { color: #fff; }
.menu a:hover::after, .current-menu-item a::after { right: 0; }
.current-menu-item a { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: transform .3s, opacity .3s; }
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Aurora ---------- */
.aurora {
  position: absolute; inset: -30% -10%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(closest-side, rgba(255, 47, 123, .38), transparent) 20% 30% / 45% 55% no-repeat,
    radial-gradient(closest-side, rgba(124, 77, 255, .34), transparent) 78% 22% / 42% 50% no-repeat,
    radial-gradient(closest-side, rgba(255, 138, 76, .26), transparent) 55% 80% / 40% 46% no-repeat;
  filter: blur(30px); animation: drift 22s ease-in-out infinite alternate; opacity: .85;
}
@keyframes drift {
  0% { transform: translate3d(-2%, -1%, 0) scale(1); }
  50% { transform: translate3d(3%, 2%, 0) scale(1.08); }
  100% { transform: translate3d(-3%, 3%, 0) scale(1.04); }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(4.5rem, 11vh, 9rem) 0 clamp(4rem, 9vh, 7rem); isolation: isolate; }
.hero-bg {
  position: absolute; inset: -8% 0 0; z-index: -1; background-size: cover; background-position: center;
  transform: scale(1.08); opacity: .34; filter: saturate(1.15);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(7, 6, 13, .55) 0%, rgba(7, 6, 13, .8) 55%, var(--bg) 100%);
}
.hero-inner { position: relative; z-index: 1; text-align: center; display: grid; justify-items: center; }
.hero h1 { max-width: 20ch; }
.hero h1 { background: linear-gradient(180deg, #fff, #d8cfe8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { margin-inline: auto; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin: 2rem 0 2.6rem; }
.hero-stats { list-style: none; display: flex; flex-wrap: wrap; gap: clamp(1.2rem, 4vw, 3.4rem); padding: 0; margin: 0; justify-content: center; }
.hero-stats li { display: grid; }
.hero-stats strong { font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2.1rem); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats span { font-size: .78rem; text-transform: uppercase; letter-spacing: .18em; color: var(--muted); }
.scroll-hint {
  position: absolute; left: 50%; bottom: 18px; width: 22px; height: 36px; border: 1px solid var(--line);
  border-radius: 20px; transform: translateX(-50%);
}
.scroll-hint::before {
  content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; border-radius: 3px;
  background: var(--accent); transform: translateX(-50%); animation: dropdown 1.8s ease-in-out infinite;
}
@keyframes dropdown { 0%, 100% { opacity: 0; transform: translate(-50%, 0); } 50% { opacity: 1; transform: translate(-50%, 12px); } }

/* ---------- Marquee ---------- */
.strip { border-block: 1px solid var(--line); background: rgba(255, 255, 255, .025); overflow: hidden; }
.marquee { overflow: hidden; padding: .95rem 0; }
.marquee-track {
  display: flex; gap: 1.6rem; white-space: nowrap; width: max-content;
  animation: scrollx 34s linear infinite; font-size: .82rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--muted);
}
.marquee-track span:nth-child(even) { color: var(--accent); }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(3.6rem, 8vh, 6.6rem) 0; position: relative; }
.section.alt { background: linear-gradient(180deg, rgba(255, 255, 255, .028), transparent); border-block: 1px solid var(--line); }
.section-head { max-width: 46rem; margin: 0 auto clamp(2rem, 4vw, 3.2rem); text-align: center; }
.section-sub { color: var(--muted); margin: 0; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Model cards ---------- */
.model-grid { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(285px, 1fr)); }
.model-card {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); overflow: hidden; box-shadow: var(--shadow);
  transition: transform .45s cubic-bezier(.2,.8,.2,1), border-color .45s, box-shadow .45s;
}
.model-card::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 47, 123, .16), transparent 60%);
  transition: opacity .4s;
}
.model-card:hover { transform: translateY(-8px); border-color: rgba(255, 47, 123, .45); box-shadow: 0 40px 80px -32px rgba(255, 47, 123, .5); }
.model-card:hover::before { opacity: 1; }
.model-media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; }
.model-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1), filter .6s; }
.model-card:hover .model-media img { transform: scale(1.07); }
.model-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(7, 6, 13, .85));
}
.badge {
  position: absolute; z-index: 3; left: 14px; top: 14px; padding: .38rem .8rem; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(7, 6, 13, .6); border: 1px solid var(--line); backdrop-filter: blur(10px);
}
.model-body { padding: 1.25rem 1.35rem 1.5rem; position: relative; z-index: 3; }
.model-name { font-family: var(--display); font-weight: 700; font-size: 1.12rem; margin: 0 0 .5rem; }
.dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #3ddc84; vertical-align: middle; box-shadow: 0 0 10px #3ddc84; }
.model-desc { color: var(--muted); font-size: .95rem; margin-bottom: 1.1rem; }
.model-actions { display: flex; gap: .6rem; flex-wrap: wrap; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-bottom: 2.6rem; }
.step {
  position: relative; padding: 2rem 1.6rem; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--grad-soft); overflow: hidden;
}
.step-num { font-family: var(--display); font-size: 2.6rem; font-weight: 800; opacity: .28; }
.step-title, .feature-title, .compare-title, .footer-title, .chat-name, .callout-title {
  font-family: var(--display); font-weight: 700; font-size: 1.08rem; margin: .4rem 0 .5rem;
}
.step p:last-child, .feature p:last-child { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- Features ---------- */
.feature-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(265px, 1fr)); }
.feature {
  position: relative; padding: 1.7rem 1.5rem; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--panel); transition: transform .4s, border-color .4s, background .4s;
}
.feature:hover { transform: translateY(-6px); border-color: rgba(124, 77, 255, .5); background: var(--panel-2); }
.ico { width: 34px; height: 34px; margin-bottom: .6rem; }
.ico svg { width: 100%; height: 100%; }

/* ---------- Split ---------- */
.split-inner { display: grid; gap: clamp(1.8rem, 5vw, 4rem); grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; }
.split-media { position: relative; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); }
.split-media img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.split-media::after {
  content: ""; position: absolute; inset: 0; border-radius: 26px;
  box-shadow: inset 0 0 90px rgba(255, 47, 123, .3);
}
.split-copy p { color: #cfc9e2; }

/* ---------- Chat window ---------- */
.chat-window {
  max-width: 620px; margin-inline: auto; border: 1px solid var(--line); border-radius: 26px;
  background: rgba(13, 11, 23, .82); backdrop-filter: blur(16px); box-shadow: var(--shadow); overflow: hidden;
}
.chat-top { display: flex; align-items: center; gap: .8rem; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); }
.chat-top img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.chat-name { margin: 0; font-size: 1rem; }
.chat-status { margin: 0; font-size: .78rem; color: #3ddc84; }
.chat-body { padding: 1.2rem; display: grid; gap: .7rem; }
.bubble { margin: 0; padding: .78rem 1.05rem; border-radius: 18px; max-width: 82%; font-size: .95rem; }
.bubble.them { background: var(--panel-2); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.bubble.me { background: var(--grad); color: #fff; justify-self: end; border-bottom-right-radius: 6px; }
.chat-input {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .85rem 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem;
}

/* ---------- Compare ---------- */
.compare { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.compare-col { padding: 1.9rem 1.7rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.compare-col.hi { background: var(--grad-soft); border-color: rgba(255, 47, 123, .45); box-shadow: 0 30px 70px -34px rgba(255, 47, 123, .6); }
.compare ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; font-size: .96rem; }
.compare li { position: relative; padding-left: 1.9rem; color: #d6d0e8; }
.list-x li::before { content: "\2715"; position: absolute; left: 0; color: #ff6b6b; font-weight: 700; }
.list-check li::before { content: "\2713"; position: absolute; left: 0; color: #3ddc84; font-weight: 700; }

/* ---------- Quotes ---------- */
.quote-grid { display: grid; gap: 1.3rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.quote {
  margin: 0; padding: 1.9rem 1.7rem; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--panel); position: relative; transition: transform .4s, border-color .4s;
}
.quote:hover { transform: translateY(-6px); border-color: rgba(255, 138, 76, .5); }
.quote p { font-size: 1.02rem; color: #e6e1f4; }
.quote footer { color: var(--accent); font-weight: 700; font-size: .88rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .75rem; }
.faq-item {
  border: 1px solid var(--line); border-radius: 16px; background: var(--panel); padding: 0 1.25rem;
  transition: border-color .3s, background .3s;
}
.faq-item[open] { border-color: rgba(255, 47, 123, .45); background: var(--panel-2); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1.05rem 0; font-family: var(--display); font-weight: 600;
  font-size: 1rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--accent); font-size: 1.35rem; line-height: 1; transition: transform .3s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--muted); padding-bottom: 1.05rem; margin: 0; font-size: .96rem; }

/* ---------- Final CTA ---------- */
.cta-final { position: relative; overflow: hidden; padding: clamp(3.6rem, 9vh, 6.4rem) 0; border-top: 1px solid var(--line); }
.cta-final .wrap { position: relative; z-index: 1; display: grid; justify-items: center; }
.cta-final .lede { margin-inline: auto; }

/* ---------- Page hero / single ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(3.4rem, 9vh, 6rem) 0 clamp(2.4rem, 5vh, 3.4rem); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero.small { padding-bottom: 2rem; }
.page-hero .btn { margin-top: 1.4rem; }
.breadcrumbs { font-size: .84rem; color: var(--muted); margin-bottom: 1.1rem; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span { opacity: .6; }

.single-hero { position: relative; overflow: hidden; padding: clamp(2.6rem, 7vh, 5rem) 0 clamp(2rem, 5vh, 3.4rem); }
.single-inner { position: relative; z-index: 1; display: grid; gap: clamp(1.8rem, 5vw, 3.6rem); grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; }
.single-media { position: relative; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); }
.single-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.spec { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .55rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.spec li { display: grid; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.spec span { font-size: .72rem; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }
.spec strong { font-family: var(--display); font-size: .98rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; }
.chip { padding: .45rem .95rem; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); font-size: .84rem; color: #ddd7ee; }

.callout {
  margin: 2.2rem 0; padding: 1.7rem; border-radius: var(--radius);
  border: 1px solid rgba(255, 47, 123, .4); background: var(--grad-soft);
}
.callout p { margin-bottom: .8rem; }
.pager { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.pager-link { padding: .85rem 1.4rem; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); font-weight: 600; font-size: .92rem; transition: border-color .3s, transform .3s; }
.pager-link:hover { border-color: var(--accent); transform: translateY(-3px); }

/* ---------- Legal ---------- */
.legal h2 { font-size: clamp(1.05rem, 1.9vw, 1.28rem); margin-top: 2rem; }
.legal p { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .03)); padding-top: clamp(2.6rem, 6vh, 4rem); }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1.6fr 1fr 1fr 1fr; }
.footer-col .brand { margin-bottom: .9rem; }
.footer-col .muted { font-size: .94rem; max-width: 34ch; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; font-size: .94rem; color: var(--muted); }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 2.6rem; padding: 1.3rem 0; }
.footer-bottom p { margin: 0; font-size: .84rem; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .split-inner, .single-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: block; order: 3; }
  .main-navigation {
    order: 4; flex-basis: 100%; margin-left: 0; max-height: 0; overflow: hidden;
    transition: max-height .4s ease;
  }
  .main-navigation.is-open { max-height: 320px; }
  .menu { flex-direction: column; gap: .2rem; padding: .8rem 0 1rem; }
  .menu a { display: block; padding: .7rem 0; border-bottom: 1px solid var(--line); }
  .header-inner { flex-wrap: wrap; }
  .header-inner .btn-sm { margin-left: auto; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.4rem 2.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}
