/* Soulove App — tangerine × graphite design system */
:root {
  --bg:           #131316;
  --bg-2:         #1a1a1f;
  --surface:      #1f1f25;
  --surface-2:    #26262e;
  --border:       #34343d;
  --text:         #f5f0e8;
  --text-dim:     #a8a39a;
  --text-mute:    #6f6a63;

  --tangerine:    #ff7a18;
  --tangerine-2:  #ffb347;
  --tangerine-3:  #ff5e1a;
  --tangerine-glow: 0 10px 40px -10px rgba(255, 122, 24, .55);

  --grad-primary: linear-gradient(135deg, #ff5e1a 0%, #ff7a18 45%, #ffb347 100%);
  --grad-card:    linear-gradient(180deg, rgba(255,122,24,.08), rgba(255,122,24,0) 60%);
  --grad-text:    linear-gradient(135deg, #ffb347 0%, #ff7a18 50%, #ff5e1a 100%);

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-lg:  0 30px 80px -20px rgba(0,0,0,.6);
  --shadow-card: 0 12px 40px -16px rgba(0,0,0,.7);

  --ff-body: 'Manrope', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --ff-display: 'Playfair Display', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--tangerine-2); text-decoration: none; transition: color .2s; }
a:hover { color: var(--tangerine); }

.container { width: min(1200px, 92%); margin: 0 auto; }

/* ---------- decorative background orbs (subtle 3D feel) ---------- */
.bg-orb {
  position: fixed; z-index: 0;
  width: 600px; height: 600px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: .35;
  pointer-events: none;
}
.bg-orb-1 { top: -200px; right: -150px; background: radial-gradient(circle, #ff5e1a, transparent 60%); }
.bg-orb-2 { bottom: -300px; left: -200px; background: radial-gradient(circle, #ff7a18, transparent 60%); opacity: .22; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(19,19,22,.72);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; }
.logo-mark {
  width: 32px; height: 32px; border-radius: 10px;
  background: var(--grad-primary);
  box-shadow: var(--tangerine-glow);
  position: relative;
}
.logo-mark::after {
  content: ''; position: absolute; inset: 6px;
  border-radius: 6px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.45), transparent 60%);
}
.logo-text { font-family: var(--ff-display); font-size: 22px; letter-spacing: .3px; }
.primary-nav { display: flex; gap: 28px; }
.primary-nav a { color: var(--text-dim); font-weight: 500; font-size: 15px; }
.primary-nav a:hover { color: var(--text); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 4px; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 700; font-size: 15px; line-height: 1; letter-spacing: .2px;
  border: 0; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s;
  text-decoration: none; white-space: nowrap;
}
.btn-primary {
  background: var(--grad-primary);
  color: #1a1a1d;
  box-shadow: var(--tangerine-glow);
}
.btn-primary:hover { transform: translateY(-2px); color: #1a1a1d; box-shadow: 0 14px 50px -10px rgba(255,122,24,.7); }
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--surface); color: var(--text); }
.btn-lg { padding: 18px 34px; font-size: 16px; }

/* ---------- hero ---------- */
.hero {
  position: relative; z-index: 1;
  padding: 60px 0 100px;
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center;
}
.hero h1 {
  font-family: var(--ff-display);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05; margin: 0 0 22px;
  letter-spacing: -.5px;
}
.hero h1 .accent {
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead {
  font-size: 19px; color: var(--text-dim); margin: 0 0 32px; max-width: 540px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 36px; margin-top: 44px; }
.hero-stats div strong { font-size: 26px; display: block; font-family: var(--ff-display); color: var(--tangerine-2); }
.hero-stats div span { font-size: 13px; color: var(--text-mute); }

.hero-models {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
.hero-model {
  position: relative; aspect-ratio: 3/4; border-radius: var(--radius-lg);
  overflow: hidden; cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: transform .35s ease, box-shadow .35s ease;
  border: 1px solid var(--border);
}
.hero-model:nth-child(odd) { transform: translateY(20px); }
.hero-model:hover { transform: translateY(-4px); box-shadow: 0 20px 60px -10px rgba(255,122,24,.4); }
.hero-model:nth-child(odd):hover { transform: translateY(16px); }
.hero-model img { width: 100%; height: 100%; object-fit: cover; }
.hero-model::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 50%);
}
.hero-model-name {
  position: absolute; left: 14px; bottom: 12px; z-index: 2;
  color: #fff; font-weight: 700;
}
.hero-model-name small { display: block; font-weight: 400; color: var(--tangerine-2); font-size: 12px; }

/* ---------- sections ---------- */
.section { position: relative; z-index: 1; padding: 90px 0; }
.section-eyebrow {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: rgba(255,122,24,.15); color: var(--tangerine-2);
  font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 18px;
}
.section h2 {
  font-family: var(--ff-display); font-size: clamp(30px, 4vw, 48px);
  margin: 0 0 18px; letter-spacing: -.3px; line-height: 1.15;
}
.section .lead { font-size: 18px; color: var(--text-dim); max-width: 720px; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head .lead { margin: 0 auto; }

/* ---------- chat preview on home ---------- */
.chat-section { padding: 80px 0; }
.chat-wrap {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center;
}
.chat-window {
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 22px; box-shadow: var(--shadow-lg);
  position: relative;
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
}
.chat-header {
  display: flex; align-items: center; gap: 12px; padding-bottom: 16px;
  border-bottom: 1px solid var(--border); margin-bottom: 18px;
}
.chat-avatar {
  width: 44px; height: 44px; border-radius: 50%; overflow: hidden;
  border: 2px solid var(--tangerine); flex-shrink: 0;
}
.chat-avatar img { width: 100%; height: 100%; object-fit: cover; }
.chat-header-info strong { display: block; }
.chat-header-info small { color: #4ade80; font-size: 12px; }
.chat-header-info small::before { content: '●'; margin-right: 4px; }
.chat-body { display: flex; flex-direction: column; gap: 12px; min-height: 280px; }
.bubble {
  max-width: 78%; padding: 12px 16px; border-radius: 18px;
  font-size: 15px; line-height: 1.45;
  opacity: 0; transform: translateY(8px);
  animation: bubbleIn .4s forwards;
}
.bubble.her {
  align-self: flex-start;
  background: var(--surface-2);
  border-bottom-left-radius: 4px;
}
.bubble.you {
  align-self: flex-end;
  background: var(--grad-primary);
  color: #1a1a1d;
  border-bottom-right-radius: 4px;
  font-weight: 500;
}
.bubble.typing {
  background: var(--surface-2);
  display: inline-flex; gap: 4px; align-items: center;
  padding: 14px 18px;
}
.bubble.typing span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--text-mute);
  animation: dot 1.2s infinite;
}
.bubble.typing span:nth-child(2) { animation-delay: .2s; }
.bubble.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes dot { 0%,80%,100%{opacity:.2;transform:translateY(0)} 40%{opacity:1;transform:translateY(-3px)} }
@keyframes bubbleIn { to { opacity: 1; transform: translateY(0); } }

.chat-cta {
  margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border);
  text-align: center;
}
.chat-cta .btn { width: 100%; }
.chat-cta small { display: block; margin-top: 10px; color: var(--text-mute); font-size: 13px; }

.chat-copy h2 { margin-bottom: 18px; }
.chat-copy ul { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 14px; }
.chat-copy li {
  display: flex; align-items: flex-start; gap: 12px; color: var(--text);
}
.chat-copy li::before {
  content: ''; width: 22px; height: 22px; border-radius: 50%;
  background: var(--grad-primary); flex-shrink: 0; margin-top: 2px;
  display: grid; place-items: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231a1a1d'%3E%3Cpath d='M6.5 11.2 3.3 8l1.1-1.1L6.5 9l5.1-5.1 1.1 1.1z'/%3E%3C/svg%3E");
  background-size: 14px; background-repeat: no-repeat; background-position: center;
  background-color: #ff7a18;
}

/* ---------- models grid ---------- */
.models-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.model-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.model-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px -15px rgba(255,122,24,.4);
  border-color: var(--tangerine);
}
.model-card-img { aspect-ratio: 3/4; overflow: hidden; }
.model-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.model-card:hover img { transform: scale(1.05); }
.model-card-body { padding: 16px 18px 20px; }
.model-card-body h2, .model-card-body .name-row {
  font-family: var(--ff-display); font-size: 22px; margin: 0 0 4px;
  display: flex; align-items: baseline; gap: 8px; justify-content: space-between;
}
.model-card-body .age { color: var(--tangerine-2); font-size: 16px; font-weight: 400; }
.model-card-body p { color: var(--text-dim); font-size: 14px; margin: 0 0 14px; min-height: 42px; }
.model-card-body .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.tag {
  font-size: 11px; padding: 4px 10px; border-radius: 999px;
  background: rgba(255,122,24,.12); color: var(--tangerine-2);
  font-weight: 600; letter-spacing: .3px;
}

/* ---------- features grid ---------- */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.feature-card {
  padding: 30px; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: -50%; right: -30%; width: 220px; height: 220px;
  background: var(--grad-primary); border-radius: 50%; filter: blur(80px); opacity: .12;
}
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--grad-primary); display: grid; place-items: center;
  margin-bottom: 18px; font-size: 24px; box-shadow: var(--tangerine-glow);
  position: relative;
}
.feature-card h2 { font-size: 22px; margin: 0 0 10px; font-family: var(--ff-body); font-weight: 700; }
.feature-card p { color: var(--text-dim); margin: 0; font-size: 15px; }

/* ---------- two-text blocks ---------- */
.text-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.text-block { font-size: 16px; color: var(--text-dim); }
.text-block h2 { color: var(--text); margin-bottom: 16px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  list-style: none; cursor: pointer; padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-weight: 600; font-size: 17px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 24px; color: var(--tangerine);
  transition: transform .25s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 0 22px; color: var(--text-dim); }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative; overflow: hidden;
  background: var(--grad-primary);
  border-radius: var(--radius-xl);
  padding: 60px 50px;
  text-align: center;
  color: #1a1a1d;
  box-shadow: var(--shadow-lg);
}
.cta-banner h2 { font-family: var(--ff-display); font-size: clamp(28px, 4vw, 42px); margin: 0 0 14px; color: #1a1a1d; }
.cta-banner p { margin: 0 0 26px; font-size: 17px; color: rgba(26,26,29,.85); }
.cta-banner .btn-ghost { color: #1a1a1d; border-color: rgba(26,26,29,.35); }
.cta-banner .btn-ghost:hover { background: rgba(26,26,29,.1); }
.cta-banner .btn-primary {
  background: #1a1a1d; color: var(--tangerine-2); box-shadow: 0 10px 30px -10px rgba(0,0,0,.5);
}
.cta-banner .btn-primary:hover { color: #ffb347; }

/* ---------- inner page hero ---------- */
.page-hero { padding: 70px 0 40px; position: relative; z-index: 1; }
.page-hero h1 {
  font-family: var(--ff-display); font-size: clamp(36px, 5vw, 56px);
  margin: 0 0 16px; line-height: 1.1;
}
.page-hero h1 .accent { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero p { color: var(--text-dim); font-size: 19px; max-width: 720px; }

.prose { max-width: 820px; }
.prose p, .prose ul, .prose ol { color: var(--text-dim); font-size: 16px; line-height: 1.75; }
.prose ul, .prose ol { padding-left: 22px; }
.prose h2 { font-family: var(--ff-display); font-size: 30px; margin: 40px 0 14px; color: var(--text); }
.prose img { border-radius: var(--radius); margin: 30px 0; }

/* ---------- model profile ---------- */
.profile-hero {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: center;
  padding: 50px 0 70px;
}
.profile-photo {
  border-radius: var(--radius-xl); overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  position: relative;
}
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-meta { display: flex; gap: 24px; margin: 18px 0 24px; color: var(--text-dim); font-size: 14px; }
.profile-meta strong { color: var(--text); display: block; }
.profile-interests { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 28px; }

/* ---------- contact form ---------- */
.form-grid { display: grid; gap: 16px; max-width: 560px; }
.form-grid label { display: block; font-size: 14px; color: var(--text-dim); margin-bottom: 6px; }
.form-grid input, .form-grid textarea {
  width: 100%; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 14px 16px; color: var(--text);
  font-family: inherit; font-size: 15px;
}
.form-grid input:focus, .form-grid textarea:focus { outline: none; border-color: var(--tangerine); }

/* ---------- footer ---------- */
.site-footer {
  position: relative; z-index: 1;
  margin-top: 80px;
  background: linear-gradient(180deg, var(--bg-2), #0e0e10);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 40px;
}
.footer-grid strong { display: block; color: var(--text); margin-bottom: 16px; font-size: 15px; }
.footer-grid a { display: block; color: var(--text-dim); font-size: 14px; margin-bottom: 10px; }
.footer-grid a:hover { color: var(--tangerine); }
.footer-brand p { color: var(--text-mute); font-size: 14px; margin: 14px 0 0; }
.footer-brand .logo-mark { display: inline-block; vertical-align: middle; margin-right: 8px; }
.footer-bottom {
  margin-top: 50px; padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; color: var(--text-mute); font-size: 13px;
}

/* ---------- cookie banner ---------- */
.cookie-banner {
  position: fixed; bottom: 20px; left: 20px; right: 20px; z-index: 100;
  background: rgba(26,26,29,.96); backdrop-filter: blur(20px);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--shadow-lg);
  animation: slideUp .4s ease;
}
@keyframes slideUp { from { transform: translateY(40px); opacity: 0; } }
.cookie-inner {
  display: flex; gap: 24px; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; flex-wrap: wrap;
}
.cookie-inner p { margin: 0; color: var(--text-dim); font-size: 14px; flex: 1; min-width: 280px; }
.cookie-actions { display: flex; gap: 10px; }

/* ---------- redirect overlay ---------- */
.redirect-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10,10,12,.92); backdrop-filter: blur(10px);
  display: grid; place-items: center;
}
.redirect-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px 50px;
  text-align: center; box-shadow: var(--shadow-lg);
}
.loader {
  width: 50px; height: 50px; margin: 0 auto 20px;
  border: 3px solid var(--border);
  border-top-color: var(--tangerine);
  border-radius: 50%;
  animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .chat-wrap, .profile-hero, .text-blocks { grid-template-columns: 1fr; gap: 40px; }
  .models-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .primary-nav { display: none; }
  .nav-toggle { display: flex; }
  body.nav-open .primary-nav {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-2); padding: 20px; border-bottom: 1px solid var(--border); gap: 16px;
  }
  .nav-cta { display: none; }
  body.nav-open .nav-cta { display: inline-flex; }
  .chat-window { transform: none; }
  .hero-model:nth-child(odd) { transform: none; }
  .hero-model:nth-child(odd):hover { transform: translateY(-4px); }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 560px) {
  .models-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 40px 24px; }
  .hero-stats { gap: 20px; }
}

/* hidden attribute must win over display:grid/flex */
[hidden] { display: none !important; }
