/*
Theme Name: Pix AI
Theme URI: https://pix-ai.net/
Author: Pix AI Studio
Description: Pix AI — a modern showcase theme for AI girlfriend chat companions.
Version: 1.4.2
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: pix-ai
*/

:root {
  --bg: #07060f;
  --bg-2: #0d0a1c;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.1);
  --text: #f6f2ff;
  --muted: #a9a3c4;
  --pink: #ff4d9d;
  --coral: #ff7a4d;
  --violet: #8a5cff;
  --teal: #34e3d0;
  --gold: #ffcf6b;
  --grad: linear-gradient(120deg, var(--coral), var(--pink) 45%, var(--violet));
  --grad-soft: linear-gradient(120deg, rgba(255, 122, 77, 0.18), rgba(138, 92, 255, 0.18));
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 30px 80px -30px rgba(255, 77, 157, 0.45);
  --shadow-soft: 0 24px 60px -30px rgba(0, 0, 0, 0.85);
  --container: 1200px;
  --font-display: "Sora", "Trebuchet MS", sans-serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(1200px 700px at 12% -10%, rgba(138, 92, 255, 0.28), transparent 60%),
    radial-gradient(900px 600px at 92% 4%, rgba(255, 77, 157, 0.22), transparent 60%),
    radial-gradient(900px 700px at 50% 110%, rgba(52, 227, 208, 0.14), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.72;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
}

h1 {
  font-size: clamp(2.35rem, 6vw, 4.5rem);
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.85rem);
}

p {
  margin: 0 0 18px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 8px 16px;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 12px var(--teal);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  50% {
    opacity: 0.35;
    transform: scale(0.7);
  }
}

.lead {
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  color: var(--muted);
  max-width: 62ch;
}

section {
  position: relative;
  padding: clamp(64px, 8vw, 118px) 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 46px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--grad);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  padding: 16px 30px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.28s ease;
}

.btn-primary {
  background: var(--btn-bg);
  color: #14040c;
  box-shadow: var(--shadow);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.55), transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.7s ease;
}

.btn-primary:hover::after {
  transform: translateX(120%);
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
}

.btn-ghost {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: var(--surface-2);
}

.btn-lg {
  padding: 19px 40px;
  font-size: 1.08rem;
}

.btn-block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 16px 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.site-header.is-stuck {
  background: rgba(9, 7, 20, 0.78);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 1px 0 var(--line);
  padding: 10px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.28rem;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--grad);
  display: grid;
  place-items: center;
  color: #14040c;
  font-size: 0.95rem;
  font-weight: 800;
  box-shadow: 0 10px 26px -10px var(--pink);
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-weight: 600;
  font-size: 0.96rem;
}

.site-nav a {
  position: relative;
  color: var(--muted);
  transition: color 0.2s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transition: width 0.28s ease;
}

.site-nav a:hover,
.site-nav .current a {
  color: var(--text);
}

.site-nav a:hover::after,
.site-nav .current a::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.nav-toggle span {
  top: 50%;
  margin-top: -1px;
}

.nav-toggle span::before {
  content: "";
  top: -6px;
}

.nav-toggle span::after {
  content: "";
  top: 6px;
}

.nav-toggle.is-active span {
  background: transparent;
}

.nav-toggle.is-active span::before {
  transform: translateX(-50%) translateY(6px) rotate(45deg);
}

.nav-toggle.is-active span::after {
  transform: translateX(-50%) translateY(-6px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  --mx: 0.5;
  --my: 0.4;
  padding-top: clamp(40px, 6vw, 80px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 120%;
  background: radial-gradient(
    620px 420px at calc(var(--mx) * 100%) calc(var(--my) * 100%),
    rgba(255, 122, 77, 0.28),
    transparent 65%
  );
  pointer-events: none;
  transition: background 0.2s ease;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 66px);
  align-items: center;
}

.hero h1 span {
  display: inline;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.hero-stats b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-stats small {
  color: var(--muted);
  font-size: 0.83rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-visual {
  position: relative;
  isolation: isolate;
}

.hero-card {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transform: perspective(1200px) rotateY(-7deg) rotateX(3deg);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-card:hover {
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg) translateY(-6px);
}

.hero-card img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7, 6, 15, 0.9));
}

.hero-card-label {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-family: var(--font-display);
  font-weight: 700;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  color: var(--text);
}

.chip.live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 10px var(--teal);
  animation: pulse 2s infinite;
}

.float-card {
  position: absolute;
  z-index: 3;
  background: rgba(13, 10, 28, 0.82);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 13px 16px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
  font-size: 0.88rem;
  max-width: 250px;
  animation: floaty 6s ease-in-out infinite;
}

.float-card.one {
  top: 8%;
  left: -8%;
}

.float-card.two {
  bottom: 14%;
  right: -6%;
  animation-delay: 1.4s;
}

@keyframes floaty {
  50% {
    transform: translateY(-14px);
  }
}

/* ---------- Marquee ---------- */
.marquee {
  padding: 0;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 46px;
  width: max-content;
  padding: 18px 0;
  animation: slide 34s linear infinite;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  white-space: nowrap;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 46px;
}

.marquee-track span::after {
  content: "✦";
  color: var(--pink);
}

@keyframes slide {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Cards / grids ---------- */
.grid {
  display: grid;
  gap: 22px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 122, 77, 0.5);
  background: var(--surface-2);
}

.card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.16rem;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.card p {
  color: var(--muted);
  margin: 0;
  font-size: 0.97rem;
}

.icon {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin-bottom: 18px;
  background: var(--grad-soft);
  border: 1px solid var(--line);
}

.step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}

/* ---------- Model cards ---------- */
.models-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.model {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
}

.model:hover {
  transform: translateY(-10px);
  box-shadow: 0 40px 90px -40px rgba(255, 77, 157, 0.6);
}

.model-photo {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.model-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.5s ease;
}

.model:hover .model-photo img {
  transform: scale(1.08);
}

.model-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 6, 15, 0) 35%, rgba(7, 6, 15, 0.94));
}

.model-tags {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.model-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 22px;
}

.model-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.model-name em {
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.model-body p {
  color: var(--muted);
  font-size: 0.93rem;
  margin: 0 0 16px;
}

.model-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.model-actions .btn {
  padding: 12px 22px;
  font-size: 0.92rem;
}

.link-arrow {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 2px;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.link-arrow:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* ---------- Chat showcase ---------- */
.chat-wrap {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(26px, 5vw, 64px);
  align-items: center;
}

.phone {
  position: relative;
  max-width: 380px;
  margin-inline: auto;
  padding: 16px;
  border-radius: 42px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow-soft);
}

.phone-screen {
  border-radius: 30px;
  background: #0a0817;
  border: 1px solid var(--line);
  padding: 18px 16px 22px;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.phone-top {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--pink);
  flex: 0 0 auto;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-top b {
  font-family: var(--font-display);
  display: block;
  font-size: 0.99rem;
}

.phone-top small {
  color: var(--teal);
  font-size: 0.76rem;
}

.bubble {
  max-width: 82%;
  padding: 12px 16px;
  border-radius: 20px;
  font-size: 0.93rem;
  line-height: 1.5;
  background: var(--surface-2);
  border: 1px solid var(--line);
  opacity: 0;
  transform: translateY(14px) scale(0.96);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.bubble.is-shown {
  opacity: 1;
  transform: none;
}

.bubble.me {
  align-self: flex-end;
  background: var(--grad);
  color: #180510;
  border-color: transparent;
  font-weight: 600;
}

.bubble.dots {
  display: inline-flex;
  gap: 5px;
  align-self: flex-start;
  padding: 15px 18px;
}

.bubble.dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted);
  animation: dot 1.2s infinite;
}

.bubble.dots i:nth-child(2) {
  animation-delay: 0.2s;
}

.bubble.dots i:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes dot {
  50% {
    transform: translateY(-5px);
    background: var(--pink);
  }
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 30px;
  display: grid;
  gap: 13px;
}

.check-list li {
  position: relative;
  padding-left: 36px;
  color: var(--muted);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: #14040c;
  background: var(--grad);
}

/* ---------- Prose blocks ---------- */
.prose-band {
  background: rgba(255, 255, 255, 0.02);
  border-block: 1px solid var(--line);
}

.prose {
  max-width: 860px;
}

.prose.center {
  margin-inline: auto;
}

.prose p {
  color: #cec8e6;
  font-size: 1.045rem;
}

.prose p + p {
  margin-top: 4px;
}

.pull {
  margin: 30px 0;
  padding: 22px 26px;
  border-left: 3px solid var(--pink);
  background: var(--grad-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.5;
}

/* ---------- Compare ---------- */
.compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  font-size: 0.97rem;
}

.compare th,
.compare td {
  padding: 17px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.compare thead th {
  font-family: var(--font-display);
  font-size: 0.86rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}

.compare tbody tr:last-child td {
  border-bottom: 0;
}

.compare td.yes {
  color: var(--teal);
  font-weight: 700;
}

.compare td.no {
  color: #8b8299;
}

.table-scroll {
  overflow-x: auto;
}

/* ---------- Testimonials ---------- */
.quote {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(10px);
  transition: transform 0.35s ease;
}

.quote:hover {
  transform: translateY(-6px);
}

.stars {
  color: var(--gold);
  letter-spacing: 3px;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.quote p {
  color: #d7d1ea;
  font-size: 0.99rem;
}

.who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--muted);
}

.who b {
  color: var(--text);
  font-family: var(--font-display);
}

.who .dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--grad-soft);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--text);
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 880px;
  margin-inline: auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.faq-item.is-open {
  border-color: rgba(255, 77, 157, 0.55);
  background: var(--surface-2);
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.03rem;
  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 0.3s ease;
}

.faq-item.is-open .faq-q::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.35s ease;
  padding: 0 22px;
  color: var(--muted);
}

.faq-item.is-open .faq-a {
  max-height: 340px;
  padding: 0 22px 20px;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: 34px;
  padding: clamp(38px, 6vw, 74px);
  text-align: center;
  border: 1px solid var(--line);
  background:
    radial-gradient(700px 300px at 20% 0%, rgba(255, 122, 77, 0.3), transparent 60%),
    radial-gradient(700px 320px at 85% 100%, rgba(138, 92, 255, 0.35), transparent 60%),
    rgba(255, 255, 255, 0.035);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.cta-band .lead {
  margin-inline: auto;
}

/* ---------- Page hero (inner) ---------- */
.page-hero {
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(24px, 3vw, 40px);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.crumbs a:hover {
  color: var(--text);
}

/* ---------- Profile ---------- */
.profile {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(26px, 4vw, 56px);
  align-items: start;
}

.profile-photo {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 100px;
}

.profile-photo img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  width: 100%;
}

.spec {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 26px 0 30px;
}

.spec div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 15px 17px;
}

.spec span {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.spec b {
  font-family: var(--font-display);
  font-size: 1.02rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 26px;
}

/* ---------- Legal ---------- */
.legal {
  max-width: 900px;
}

.legal ol {
  counter-reset: legal;
  list-style: none;
  padding: 0;
  margin: 0;
}

.legal ol > li {
  counter-increment: legal;
  position: relative;
  padding: 0 0 26px 56px;
  color: #cbc5e2;
}

.legal ol > li::before {
  content: counter(legal);
  position: absolute;
  left: 0;
  top: 0;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.92rem;
  color: #14040c;
  background: var(--grad);
}

.legal ol > li b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 5px;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 62px 0 34px;
  background: rgba(255, 255, 255, 0.015);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 34px;
}

.footer-grid p {
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  font-size: 0.96rem;
}

.footer-grid a {
  color: #d5cfe9;
}

.footer-grid a:hover {
  color: var(--pink);
}

.footer-bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.86rem;
}

/* ---------- Reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-reveal][data-delay="1"] {
  transition-delay: 0.1s;
}

[data-reveal][data-delay="2"] {
  transition-delay: 0.2s;
}

[data-reveal][data-delay="3"] {
  transition-delay: 0.3s;
}

[data-reveal][data-delay="4"] {
  transition-delay: 0.4s;
}

[data-reveal][data-delay="5"] {
  transition-delay: 0.5s;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid,
  .chat-wrap,
  .profile {
    grid-template-columns: 1fr;
  }

  .profile-photo {
    position: static;
    max-width: 460px;
  }

  .models-grid,
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .float-card.one,
  .float-card.two {
    left: auto;
    right: 8px;
  }

  .float-card.one {
    top: 10px;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    background: rgba(11, 9, 24, 0.96);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
    display: none;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-soft);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .header-cta .btn-ghost {
    display: none;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .models-grid,
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .spec {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 22px;
  }

  .card {
    padding: 24px;
  }

  .float-card {
    display: none;
  }
}
