/*
Theme Name: Tipsy Chat
Theme URI: https://tipsychats.com/
Author: Tipsy Chat
Author URI: https://tipsychats.com/
Description: Bold, modern landing theme for Tipsy Chat — AI girlfriend chat and flirty AI companions.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: tipsy-chat
*/

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --ink: #07060d;
  --ink-2: #0d0b18;
  --surface: rgba(255, 255, 255, .045);
  --surface-2: rgba(255, 255, 255, .08);
  --line: rgba(255, 255, 255, .12);
  --text: #f4f1fb;
  --muted: #a9a2c4;
  --brand: #ff3d8b;
  --brand-2: #ff8a3d;
  --violet: #8b5cff;
  --cyan: #35e0e8;
  --grad: linear-gradient(115deg, #ff3d8b 0%, #ff6a4d 45%, #8b5cff 100%);
  --grad-soft: linear-gradient(140deg, rgba(255, 61, 139, .22), rgba(139, 92, 255, .18));
  --radius: 22px;
  --shadow: 0 30px 80px -30px rgba(255, 61, 139, .45);
  --wrap: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2 { font-family: 'Sora', system-ui, sans-serif; line-height: 1.08; letter-spacing: -.02em; margin: 0 0 18px; }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.9rem); font-weight: 700; }
p { margin: 0 0 18px; color: var(--muted); }
strong { color: #fff; font-weight: 700; }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }
.section { position: relative; padding: clamp(72px, 9vw, 130px) 0; }
.center { text-align: center; }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.22rem); color: #cfc8e6; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .74rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: #ffd7e6; background: var(--surface-2); border: 1px solid var(--line);
  padding: 8px 16px; border-radius: 999px; margin-bottom: 20px;
}
.eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 12px var(--brand); }
.gradient-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Background atmosphere */
.aurora { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.aurora span {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5;
  animation: drift 22s ease-in-out infinite alternate;
}
.aurora span:nth-child(1) { width: 520px; height: 520px; background: #ff3d8b; top: -140px; left: -120px; }
.aurora span:nth-child(2) { width: 480px; height: 480px; background: #8b5cff; top: 30%; right: -160px; animation-delay: -6s; }
.aurora span:nth-child(3) { width: 420px; height: 420px; background: #35e0e8; bottom: -160px; left: 30%; opacity: .28; animation-delay: -12s; }
@keyframes drift { to { transform: translate3d(60px, -50px, 0) scale(1.15); } }
.grain { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .35;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 3px 3px; }
main, .site-header, .site-footer { position: relative; z-index: 2; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 60; transition: .3s; padding: 14px 0; }
.site-header.is-stuck { background: rgba(7, 6, 13, .78); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.22rem; letter-spacing: -.02em; color: #fff; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 13px; background: var(--grad);
  display: grid; place-items: center; font-size: 1.05rem; box-shadow: var(--shadow);
}
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { font-size: .94rem; font-weight: 600; color: #d9d3ee; transition: .2s; }
.site-nav a:hover { color: #fff; }
.nav-toggle { display: none; background: var(--surface-2); border: 1px solid var(--line); color: #fff; width: 44px; height: 42px; border-radius: 12px; font-size: 1.1rem; cursor: pointer; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1rem;
  padding: 15px 32px; border-radius: 999px; border: 0; cursor: pointer; position: relative;
  transition: transform .25s cubic-bezier(.2,.8,.3,1), box-shadow .25s, filter .25s; overflow: hidden;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow); }
.btn-primary::after {
  content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.45) 50%, transparent 80%);
  transform: translateX(-120%); animation: sheen 3.4s infinite;
}
@keyframes sheen { 0%,60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.btn-primary:hover { transform: translateY(-3px) scale(1.02); filter: saturate(1.15); }
.btn-ghost { background: var(--surface-2); color: #fff; border: 1px solid var(--line); backdrop-filter: blur(8px); }
.btn-ghost:hover { transform: translateY(-3px); background: rgba(255,255,255,.14); }
.btn-sm { padding: 11px 22px; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }

/* Cards */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; backdrop-filter: blur(10px); transition: .35s; position: relative; overflow: hidden;
}
.card::before { content: ''; position: absolute; inset: 0; background: var(--grad-soft); opacity: 0; transition: .35s; }
.card:hover { transform: translateY(-8px); border-color: rgba(255, 61, 139, .45); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card h2 { font-size: 1.22rem; margin-bottom: 10px; }
.card p { margin: 0; font-size: .97rem; }
.card-ico { width: 50px; height: 50px; border-radius: 15px; background: var(--grad); display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 18px; }
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

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

/* Hero */
.hero { position: relative; padding: clamp(50px, 7vw, 90px) 0 clamp(60px, 8vw, 110px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.hero p.lead { max-width: 560px; }
.hero-cursor-glow {
  position: absolute; width: 420px; height: 420px; margin: -210px 0 0 -210px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,61,139,.22), transparent 65%); pointer-events: none; transition: transform .18s ease-out;
}
.hero-media { position: relative; }
.hero-media img { border-radius: 30px; border: 1px solid var(--line); box-shadow: 0 50px 120px -40px rgba(255, 61, 139, .55); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-16px); } }
.hero-badge {
  position: absolute; background: rgba(12, 10, 22, .85); border: 1px solid var(--line); border-radius: 18px;
  padding: 13px 18px; backdrop-filter: blur(12px); font-size: .86rem; font-weight: 600; box-shadow: 0 20px 50px -25px #000;
}
.hero-badge span { display: block; color: var(--muted); font-size: .74rem; font-weight: 500; }
.hb-1 { left: -18px; top: 16%; animation: float 6s ease-in-out infinite; }
.hb-2 { right: -14px; bottom: 14%; animation: float 8s ease-in-out infinite reverse; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 34px; margin-top: 34px; }
.hero-stats b { display: block; font-family: 'Sora', sans-serif; font-size: 1.85rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats small { color: var(--muted); font-size: .84rem; letter-spacing: .04em; }

/* Marquee */
.marquee { border-block: 1px solid var(--line); background: rgba(255,255,255,.03); padding: 16px 0; overflow: hidden; }
.marquee-track { display: flex; gap: 46px; width: max-content; animation: slide 26s linear infinite; }
.marquee-track span { font-family: 'Sora', sans-serif; font-weight: 600; color: #b9b1d6; white-space: nowrap; font-size: .95rem; }
.marquee-track span::before { content: '✦'; color: var(--brand); margin-right: 14px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Companion cards */
.model-card { position: relative; border-radius: 26px; overflow: hidden; border: 1px solid var(--line); transition: .4s; }
.model-card img { aspect-ratio: 4/5; object-fit: cover; width: 100%; transition: transform .7s cubic-bezier(.2,.8,.3,1); }
.model-card:hover { transform: translateY(-10px); box-shadow: var(--shadow); border-color: rgba(255,61,139,.5); }
.model-card:hover img { transform: scale(1.07); }
.model-info { position: absolute; inset: auto 0 0 0; padding: 22px; background: linear-gradient(transparent, rgba(6,5,12,.92) 55%); }
.model-info h2 { font-size: 1.2rem; margin-bottom: 4px; }
.model-info p { margin: 0 0 14px; font-size: .88rem; color: #cbc3e4; }
.pill { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); color: #ffd7e6; margin: 0 6px 8px 0; }
.model-online { position: absolute; top: 16px; left: 16px; display: inline-flex; align-items: center; gap: 7px; font-size: .74rem; font-weight: 700; background: rgba(6,5,12,.7); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(8px); }
.model-online::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #3ce88a; box-shadow: 0 0 10px #3ce88a; animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { opacity: .35; } }

/* Chat mockup */
.chat-window { background: rgba(13,11,24,.9); border: 1px solid var(--line); border-radius: 26px; padding: 22px; box-shadow: var(--shadow); backdrop-filter: blur(14px); }
.chat-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.chat-head img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.chat-head b { font-family: 'Sora', sans-serif; }
.chat-head small { display: block; color: #3ce88a; font-size: .78rem; }
.bubble { max-width: 82%; padding: 13px 18px; border-radius: 20px; margin-bottom: 12px; font-size: .95rem; line-height: 1.55; }
.bubble.her { background: var(--surface-2); border: 1px solid var(--line); border-bottom-left-radius: 6px; color: #efeafd; }
.bubble.me { background: var(--grad); margin-left: auto; border-bottom-right-radius: 6px; color: #fff; }
.bubble.typing { color: #cbc3e4; min-height: 22px; }
.bubble.typing::after { content: '|'; animation: pulse 1s infinite; }

/* Steps */
.step { position: relative; padding-left: 68px; }
.step-num { position: absolute; left: 0; top: 0; width: 48px; height: 48px; border-radius: 16px; background: var(--grad); display: grid; place-items: center; font-family: 'Sora', sans-serif; font-weight: 800; box-shadow: var(--shadow); }
.step h2 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { font-size: .97rem; margin: 0; }

/* Editorial text blocks */
.editorial { background: var(--surface); border: 1px solid var(--line); border-radius: 30px; padding: clamp(28px, 4vw, 56px); backdrop-filter: blur(10px); }
.editorial p { font-size: 1.05rem; color: #cec7e6; }
.editorial p:last-child { margin-bottom: 0; }
.columns2 { column-count: 2; column-gap: 48px; }

/* Testimonials */
.quote { font-size: 1rem; color: #ded7f2; font-style: italic; }
.quote-by { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.quote-by img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.quote-by b { display: block; font-size: .93rem; }
.quote-by small { color: var(--muted); }
.stars { color: #ffc861; letter-spacing: 3px; margin-bottom: 12px; }

/* Plans */
.plan { text-align: center; }
.plan .price { font-family: 'Sora', sans-serif; font-size: 2.4rem; font-weight: 800; color: #fff; margin: 8px 0 4px; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 26px; text-align: left; }
.plan li { padding: 9px 0 9px 28px; position: relative; color: #cbc3e4; font-size: .95rem; border-bottom: 1px dashed rgba(255,255,255,.08); }
.plan li::before { content: '♥'; position: absolute; left: 0; color: var(--brand); }
.plan.featured { border-color: rgba(255,61,139,.5); box-shadow: var(--shadow); }
.plan.featured::before { opacity: 1; }

/* CTA banner */
.cta-banner {
  border-radius: 34px; padding: clamp(40px, 6vw, 84px) clamp(24px, 5vw, 70px); text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(rgba(7,6,13,.72), rgba(7,6,13,.85)), url('/wp-content/uploads/2026/08/cta-background.jpg') center/cover;
  border: 1px solid var(--line);
}

/* FAQ */
.faq-item { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); margin-bottom: 14px; overflow: hidden; transition: .3s; }
.faq-item.is-open { border-color: rgba(255,61,139,.45); background: rgba(255,61,139,.07); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; color: #fff; cursor: pointer;
  font-family: 'Sora', sans-serif; font-weight: 600; font-size: 1.03rem; padding: 20px 56px 20px 24px; position: relative;
}
.faq-q::after { content: '+'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--brand); transition: .3s; }
.faq-item.is-open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .3s; padding: 0 24px; }
.faq-item.is-open .faq-a { max-height: 340px; padding: 0 24px 20px; }
.faq-a p { margin: 0; font-size: .97rem; }

/* Legal pages */
.legal-hero { padding: clamp(60px, 8vw, 110px) 0 30px; }
.legal { max-width: 900px; }
.legal ol { counter-reset: item; list-style: none; padding: 0; margin: 0; }
.legal ol > li { counter-increment: item; position: relative; padding: 0 0 26px 54px; }
.legal ol > li::before {
  content: counter(item); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 12px;
  background: var(--grad); display: grid; place-items: center; font-family: 'Sora', sans-serif; font-weight: 700; font-size: .92rem;
}
.legal ol > li b { display: block; font-family: 'Sora', sans-serif; font-size: 1.08rem; margin-bottom: 6px; color: #fff; }
.legal ol > li span { color: var(--muted); font-size: .99rem; }
.legal-note { border-left: 3px solid var(--brand); padding: 4px 0 4px 20px; margin: 30px 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 60px 0 34px; background: rgba(255,255,255,.02); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: var(--muted); font-size: .94rem; }
.footer-grid a:hover { color: #fff; }
.footer-title { font-family: 'Sora', sans-serif; font-weight: 700; margin-bottom: 16px; font-size: 1rem; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: var(--muted); font-size: .86rem; }

@media (max-width: 1024px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 520px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .columns2 { column-count: 1; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 76px; left: 20px; right: 20px; flex-direction: column; align-items: stretch; gap: 6px;
    background: rgba(12,10,22,.97); border: 1px solid var(--line); border-radius: 20px; padding: 18px; display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .hb-1, .hb-2 { display: none; }
}
