/*
Theme Name: Kismia AI
Theme URI: https://kismia.co/
Author: Kismia AI
Description: Kismia AI - AI girlfriend and AI chat landing theme.
Version: 1.0.4
License: GNU General Public License v2 or later
Text Domain: kismia-ai
*/

:root {
  --bg: #06040d;
  --bg-2: #0d0819;
  --panel: rgba(255, 255, 255, .045);
  --line: rgba(255, 255, 255, .10);
  --txt: #f4eefb;
  --muted: #b3a8c8;
  --pink: #ff4d8d;
  --violet: #8b5cf6;
  --cyan: #37e2d5;
  --gold: #ffca62;
  --grad: linear-gradient(120deg, #ff4d8d 0%, #b64bff 48%, #37e2d5 100%);
  --grad-soft: linear-gradient(140deg, rgba(255,77,141,.18), rgba(139,92,246,.14) 55%, rgba(55,226,213,.12));
  --radius: 22px;
  --shadow: 0 30px 80px -30px rgba(255, 77, 141, .45);
  --max: 1200px;
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --display: "Clash Display", "Plus Jakarta Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(60% 50% at 12% 8%, rgba(255, 77, 141, .22), transparent 60%),
    radial-gradient(55% 45% at 88% 18%, rgba(139, 92, 246, .22), transparent 62%),
    radial-gradient(60% 60% at 50% 100%, rgba(55, 226, 213, .12), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

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

.wrap { width: min(var(--max), 92%); margin-inline: auto; position: relative; z-index: 2; }
section { padding: 96px 0; position: relative; z-index: 2; }
section:nth-of-type(even) { background: linear-gradient(180deg, rgba(255,255,255,.018), transparent); }

h1, h2 { font-family: var(--display); line-height: 1.08; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.85rem); }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 12px var(--pink);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.7); } }

.lead { color: var(--muted); font-size: 1.06rem; max-width: 62ch; }
.center { text-align: center; }
.center .lead, .center .eyebrow { margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 0;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, background .25s;
  background: var(--grad);
  background-size: 200% 200%;
  color: #12030b;
  box-shadow: var(--shadow);
  animation: sheen 6s ease infinite;
}
@keyframes sheen { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.btn:hover { transform: translateY(-3px) scale(1.02); }
.btn-ghost {
  background: var(--panel);
  color: var(--txt);
  border: 1px solid var(--line);
  box-shadow: none;
  animation: none;
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { border-color: rgba(255,255,255,.35); }
.btn-lg { padding: 19px 46px; font-size: 1.08rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 16px 0;
  transition: background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(6, 4, 13, .82);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 12px;
  background: var(--grad);
  display: grid; place-items: center;
  color: #14040c; font-weight: 900; font-size: 1rem;
  box-shadow: 0 10px 26px -8px rgba(255,77,141,.8);
}
.site-menu { display: flex; align-items: center; gap: 28px; }
.site-menu a { color: var(--muted); font-size: .95rem; font-weight: 600; transition: color .2s; }
.site-menu a:hover { color: var(--txt); }
.site-menu .btn { color: #12030b; }
.nav-toggle { display: none; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; width: 44px; height: 44px; color: var(--txt); font-size: 1.2rem; cursor: pointer; }

/* Hero */
.hero {
  --mx: 70%; --my: 30%;
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(38% 45% at var(--mx) var(--my), rgba(255, 77, 141, .20), transparent 70%);
  transition: background .2s;
  pointer-events: none;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url("../../uploads/2026/08/hero-bg.jpg");
  background-size: cover; background-position: center;
  opacity: .30;
  mask-image: linear-gradient(180deg, #000 10%, transparent 92%);
  -webkit-mask-image: linear-gradient(180deg, #000 10%, transparent 92%);
  transform: scale(1.05);
  animation: drift 24s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: scale(1.14) translateY(-18px); } }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero h1 span { display: block; }
.hero .lead { margin-top: 22px; font-size: 1.14rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 34px; color: var(--muted); font-size: .9rem; }
.hero-trust b { color: var(--txt); font-family: var(--display); font-size: 1.35rem; display: block; }

.hero-card {
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  padding: 18px;
  backdrop-filter: blur(14px);
  box-shadow: 0 40px 90px -40px rgba(139,92,246,.7);
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.hero-card-top { display: flex; align-items: center; gap: 12px; padding: 6px 8px 14px; border-bottom: 1px solid var(--line); }
.avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,77,141,.6); }
.hero-card-top strong { font-size: .98rem; }
.hero-card-top small { color: var(--cyan); font-size: .78rem; display: block; }
#chat-demo { height: 268px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 16px 6px; }
.bubble {
  max-width: 84%; padding: 12px 16px; border-radius: 18px; font-size: .93rem; line-height: 1.5;
  animation: pop .45s cubic-bezier(.2,.9,.3,1.4);
}
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.96); } }
.bubble-in { background: rgba(255,255,255,.08); border: 1px solid var(--line); border-bottom-left-radius: 6px; align-self: flex-start; }
.bubble-out { background: var(--grad); color: #14040c; font-weight: 600; border-bottom-right-radius: 6px; align-self: flex-end; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.3,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

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

/* Grids */
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: transform .35s ease, border-color .35s, box-shadow .35s;
}
.card::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--grad-soft);
  opacity: 0; transition: opacity .35s;
}
.card:hover { transform: translateY(-8px); border-color: rgba(255,77,141,.45); box-shadow: 0 30px 60px -35px rgba(255,77,141,.6); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; z-index: 1; }
.card h2 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .97rem; }
.icon {
  width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center; font-size: 1.5rem;
  background: var(--grad-soft); border: 1px solid var(--line);
  margin-bottom: 18px;
}

.sec-head { margin-bottom: 52px; }

/* Models */
.model {
  position: relative; border-radius: 24px; overflow: hidden; border: 1px solid var(--line);
  aspect-ratio: 3 / 4;
  transition: transform .4s ease, box-shadow .4s;
}
.model img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.3,1); filter: saturate(1.05); }
.model:hover { transform: translateY(-10px); box-shadow: 0 40px 70px -35px rgba(139,92,246,.8); }
.model:hover img { transform: scale(1.09); }
.model-info {
  position: absolute; inset: auto 0 0 0; padding: 22px 20px 20px;
  background: linear-gradient(0deg, rgba(6,4,13,.94), rgba(6,4,13,.55) 55%, transparent);
}
.model-info strong { font-family: var(--display); font-size: 1.2rem; display: block; }
.model-info em { font-style: normal; color: var(--muted); font-size: .88rem; }
.tagrow { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tag { font-size: .72rem; padding: 4px 11px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.07); color: var(--txt); }
.model-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; background: rgba(6,4,13,.7); border: 1px solid var(--line); backdrop-filter: blur(6px);
}

/* Steps */
.step { counter-increment: step; }
.step .num {
  font-family: var(--display); font-size: 2.6rem; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 12px;
}

/* Stats */
.stat { text-align: center; padding: 34px 20px; }
.stat b { display: block; font-family: var(--display); font-size: clamp(2rem, 4.4vw, 3.1rem); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: .92rem; }

/* Story blocks */
.prose { max-width: 78ch; }
.prose p { color: #d7cfe6; margin-bottom: 18px; }
.prose p:last-child { margin-bottom: 0; }
.story-split { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: start; }
.story-img { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 40px 80px -45px rgba(255,77,141,.8); }

/* Comparison */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare th, .compare td { padding: 16px 20px; text-align: left; font-size: .96rem; border-bottom: 1px solid var(--line); }
.compare thead th { background: rgba(255,255,255,.06); font-family: var(--display); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare td.yes { color: var(--cyan); font-weight: 700; }
.compare td.no { color: #8d7f9f; }

/* Reviews */
.review p { font-size: 1rem; color: #e2dbee; }
.stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 14px; }
.who { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.who .dot { width: 38px; height: 38px; border-radius: 50%; background: var(--grad-soft); border: 1px solid var(--line); display: grid; place-items: center; font-weight: 700; }
.who small { color: var(--muted); display: block; font-size: .82rem; }

/* Pricing */
.plan { text-align: center; }
.plan .price { font-family: var(--display); font-size: 2.6rem; margin: 10px 0 4px; }
.plan .price small { font-size: .95rem; color: var(--muted); font-family: var(--font); }
.plan ul { list-style: none; margin: 22px 0 26px; text-align: left; }
.plan li { padding: 9px 0 9px 28px; position: relative; color: var(--muted); font-size: .95rem; border-bottom: 1px dashed rgba(255,255,255,.07); }
.plan li::before { content: "✦"; position: absolute; left: 0; color: var(--pink); }
.plan.featured { border-color: rgba(255,77,141,.5); box-shadow: 0 40px 80px -45px rgba(255,77,141,.9); }
.plan.featured::after {
  content: "Most chosen"; position: absolute; top: 16px; right: -34px; transform: rotate(38deg);
  background: var(--grad); color: #14040c; font-size: .7rem; font-weight: 800; padding: 6px 42px; letter-spacing: .06em;
}

/* FAQ */
.faq-item { border: 1px solid var(--line); border-radius: 16px; margin-bottom: 12px; background: rgba(255,255,255,.03); overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; color: var(--txt); font: inherit; font-weight: 700; padding: 20px 56px 20px 22px; cursor: pointer; position: relative; }
.faq-q::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--pink); transition: transform .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 .4s ease; padding: 0 22px; color: var(--muted); }
.faq-item.is-open .faq-a { max-height: 420px; padding: 0 22px 22px; }

/* CTA band */
.cta-band {
  border-radius: 32px; padding: 66px 40px; text-align: center; position: relative; overflow: hidden;
  border: 1px solid rgba(255,77,141,.35);
  background: linear-gradient(140deg, rgba(255,77,141,.18), rgba(139,92,246,.14), rgba(55,226,213,.1));
}
.cta-band::before {
  content: ""; position: absolute; inset: -50%;
  background: conic-gradient(from 0deg, transparent, rgba(255,77,141,.28), transparent 40%);
  animation: spin 12s linear infinite;
}
@keyframes spin { to { transform: rotate(1turn); } }
.cta-band > * { position: relative; z-index: 1; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 62px 0 34px; position: relative; z-index: 2; background: rgba(0,0,0,.35); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.site-footer p { color: var(--muted); font-size: .93rem; }
.footer-title { font-family: var(--display); font-size: 1rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer li a { color: var(--muted); font-size: .93rem; transition: color .2s; }
.site-footer li a:hover { color: var(--pink); }
.legal-bar { margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: var(--muted); font-size: .85rem; }

/* Legal pages */
.page-hero { padding: 72px 0 34px; }
.legal { padding-top: 20px; }
.legal ol { counter-reset: item; list-style: none; }
.legal ol > li { margin-bottom: 26px; padding-left: 52px; position: relative; }
.legal ol > li::before {
  counter-increment: item; content: counter(item);
  position: absolute; left: 0; top: 0;
  width: 36px; height: 36px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid var(--line);
  font-family: var(--display); font-weight: 800; font-size: .95rem;
}
.legal ol > li strong { display: block; font-family: var(--display); font-size: 1.1rem; margin-bottom: 6px; }
.legal ol > li p { color: var(--muted); font-size: .97rem; }
.updated { color: var(--muted); font-size: .9rem; }

@media (max-width: 980px) {
  .hero-grid, .story-split { grid-template-columns: 1fr; }
  .g3, .g4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: block; }
  .site-menu {
    position: absolute; top: 100%; left: 4%; width: 92%;
    flex-direction: column; align-items: stretch; gap: 14px;
    background: rgba(10, 6, 20, .97); border: 1px solid var(--line); border-radius: 18px;
    padding: 20px; display: none; backdrop-filter: blur(16px);
  }
  .site-menu.is-open { display: flex; }
}
@media (max-width: 620px) {
  section { padding: 68px 0; }
  .g2, .g3, .g4, .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 48px 22px; }
  .compare { display: block; overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
