/* ============================================================
   EroEmpire — Premium Sensual Tech Light Theme
   ============================================================ */

:root {
  /* Brand colors */
  --primary: #e11d48;
  --primary-hover: #be123c;
  --primary-soft: #fff1f3;
  --accent-gold: #fbbf24;
  --accent-gold-soft: #fef3c7;
  --accent-rose: #f43f5e;
  --accent-rose-soft: #ffe4e6;

  /* Surfaces */
  --bg: #fdfbfa;
  --bg-soft: #faf6f4;
  --bg-warm: #fff8f6;
  --surface: #ffffff;
  --surface-2: #fbf7f5;
  --border: #f1e7e3;
  --border-strong: #e8dad3;

  /* Text */
  --text: #1a1416;
  --text-soft: #4a3f43;
  --text-muted: #8a7d82;
  --text-faint: #b8aab0;

  /* Effects */
  --shadow-xs: 0 1px 2px rgba(180, 50, 70, 0.04);
  --shadow-sm: 0 2px 8px rgba(180, 50, 70, 0.06);
  --shadow-md: 0 8px 24px rgba(180, 50, 70, 0.08);
  --shadow-lg: 0 20px 48px rgba(180, 50, 70, 0.10);
  --shadow-xl: 0 32px 80px rgba(180, 50, 70, 0.14);
  --shadow-glow: 0 0 60px rgba(225, 29, 72, 0.18);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-2xl: 36px;

  --gradient-primary: linear-gradient(135deg, #e11d48 0%, #f43f5e 50%, #fbbf24 100%);
  --gradient-soft: linear-gradient(180deg, #fff8f6 0%, #fdfbfa 100%);
  --gradient-rose: linear-gradient(135deg, #fff1f3 0%, #ffe4e6 100%);
  --gradient-gold: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

/* ============================================================
   Base
   ============================================================ */
* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  margin: 0;
  line-height: 1.15;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--primary); }

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

button { font-family: inherit; cursor: pointer; border: none; background: none; }

::selection { background: var(--primary); color: white; }

/* ============================================================
   Layout
   ============================================================ */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 120px 0;
  position: relative;
}

.section-sm { padding: 80px 0; }

@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .section-sm { padding: 56px 0; }
  .container { padding: 0 20px; }
}

/* ============================================================
   Header
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(253, 251, 250, 0.7);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.header.scrolled {
  padding: 12px 0;
  background: rgba(253, 251, 250, 0.92);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--text);
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--gradient-primary);
  display: grid;
  place-items: center;
  position: relative;
  box-shadow: 0 6px 16px rgba(225, 29, 72, 0.32);
  overflow: hidden;
}

.logo-mark::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(255,255,255,0.25), transparent);
  pointer-events: none;
}

.logo-mark svg {
  width: 22px;
  height: 22px;
  position: relative;
  z-index: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-soft);
  transition: color 0.2s ease;
}

.nav a:hover { color: var(--primary); }

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

@media (max-width: 900px) {
  .nav { display: none; }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 8px 24px rgba(225, 29, 72, 0.32), inset 0 1px 0 rgba(255,255,255,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(225, 29, 72, 0.42), inset 0 1px 0 rgba(255,255,255,0.3);
  color: white;
}

.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-soft);
}

.btn-ghost:hover { color: var(--primary); background: var(--primary-soft); }

.btn-lg { padding: 18px 36px; font-size: 16px; }
.btn-sm { padding: 10px 18px; font-size: 13px; }

.btn-block { width: 100%; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  padding: 160px 0 120px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 1200px 600px at 50% -10%, rgba(244, 63, 94, 0.10), transparent 60%),
    radial-gradient(ellipse 800px 500px at 90% 20%, rgba(251, 191, 36, 0.08), transparent 60%),
    var(--bg);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(225, 29, 72, 0.04) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 800px 500px at 50% 30%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 800px 500px at 50% 30%, black 30%, transparent 70%);
}

.hero-inner {
  position: relative;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  box-shadow: var(--shadow-xs);
  margin-bottom: 28px;
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.15);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.15); }
  50% { box-shadow: 0 0 0 6px rgba(225, 29, 72, 0.25); }
}

.hero h1 {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero h1 .gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-sub {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--text-soft);
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-trust .check {
  color: var(--primary);
  font-weight: 700;
}

/* Hero showcase */
.hero-showcase {
  margin-top: 80px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.showcase-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-md);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
  cursor: pointer;
}

.showcase-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.showcase-card:hover img { transform: scale(1.05); }

.showcase-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(26, 20, 22, 0.7) 100%);
  pointer-events: none;
}

.showcase-tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
}

@media (max-width: 768px) {
  .hero { padding: 120px 0 80px; }
  .hero-showcase { grid-template-columns: repeat(2, 1fr); margin-top: 56px; }
  .hero-trust { gap: 16px; font-size: 12px; }
}

/* ============================================================
   Models Strip
   ============================================================ */
.models-strip {
  padding: 80px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.models-strip-title {
  text-align: center;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.models-strip-title strong {
  color: var(--text);
  font-weight: 700;
}

.models-track {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
}

.model-pill {
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-soft);
  box-shadow: var(--shadow-xs);
  transition: all 0.3s ease;
}

.model-pill:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.model-pill.featured {
  background: var(--gradient-rose);
  border-color: var(--accent-rose);
  color: var(--primary-hover);
}

.model-pill.gold {
  background: var(--gradient-gold);
  border-color: var(--accent-gold);
  color: #92400e;
}

/* ============================================================
   Section Headers
   ============================================================ */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 72px;
}

.section-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.section-sub {
  font-size: 18px;
  color: var(--text-soft);
  line-height: 1.6;
}

/* ============================================================
   Features Grid
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  position: relative;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-rose);
  box-shadow: var(--shadow-md);
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--gradient-rose);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: var(--primary);
  position: relative;
}

.feature-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  border: 1px solid rgba(225, 29, 72, 0.18);
  pointer-events: none;
}

.feature-icon svg { width: 26px; height: 26px; }

.feature-eyebrow {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Install CTA Banner
   ============================================================ */
.install-banner {
  padding: 80px 0;
  background: var(--bg-warm);
}

.install-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px;
  border-radius: var(--radius-2xl);
  background:
    radial-gradient(ellipse 600px 400px at 0% 100%, rgba(251, 191, 36, 0.18), transparent 60%),
    radial-gradient(ellipse 600px 400px at 100% 0%, rgba(244, 63, 94, 0.18), transparent 60%),
    linear-gradient(135deg, #1a1416 0%, #2a1d22 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.install-banner-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.06) 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
}

.install-banner-inner > * { position: relative; }

.install-banner h2 {
  color: white;
  font-size: clamp(28px, 3.5vw, 44px);
  margin-bottom: 16px;
}

.install-banner h2 .accent {
  background: linear-gradient(135deg, #fbbf24, #f43f5e);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.install-banner p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 17px;
  max-width: 580px;
  margin: 0 auto 32px;
}

.install-banner .btn-primary {
  background: white;
  color: var(--text);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.install-banner .btn-primary:hover {
  background: var(--accent-gold);
  color: #1a1416;
}

@media (max-width: 768px) {
  .install-banner-inner { padding: 40px 24px; }
}

/* ============================================================
   How it Works
   ============================================================ */
.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.how-card {
  position: relative;
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all 0.4s ease;
}

.how-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-rose);
}

.how-step {
  font-family: 'Manrope', sans-serif;
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.92;
}

.how-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.how-desc {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .how-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .how-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Why CLI Section
   ============================================================ */
.why-cli {
  background: var(--bg-warm);
  position: relative;
  overflow: hidden;
}

.why-cli::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 10% 100%, rgba(251, 191, 36, 0.10), transparent 60%),
    radial-gradient(ellipse 600px 400px at 100% 0%, rgba(244, 63, 94, 0.08), transparent 60%);
  pointer-events: none;
}

.why-cli > .container { position: relative; }

.why-cli-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-bottom: 40px;
}

.why-cli-card {
  position: relative;
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.why-cli-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-rose);
  box-shadow: var(--shadow-md);
}

.why-cli-num {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: 'Manrope', sans-serif;
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--primary);
  opacity: 0.10;
}

.why-cli-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gradient-rose);
  display: grid;
  place-items: center;
  color: var(--primary);
  margin-bottom: 20px;
  border: 1px solid rgba(225, 29, 72, 0.15);
}

.why-cli-icon svg { width: 24px; height: 24px; }

.why-cli-title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  line-height: 1.3;
  max-width: 92%;
}

.why-cli-desc {
  font-size: 14.5px;
  color: var(--text-soft);
  line-height: 1.65;
}

.why-cli-trust {
  margin-top: 24px;
  padding: 32px 36px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #1a1416 0%, #2a1d22 100%);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.why-cli-trust::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 500px 300px at 0% 100%, rgba(251, 191, 36, 0.18), transparent 60%),
    radial-gradient(ellipse 500px 300px at 100% 0%, rgba(244, 63, 94, 0.14), transparent 60%);
  pointer-events: none;
}

.why-cli-trust-inner {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 22px;
}

.why-cli-trust-icon {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #fbbf24, #f43f5e);
  display: grid;
  place-items: center;
  color: white;
  box-shadow: 0 8px 20px rgba(244, 63, 94, 0.32);
}

.why-cli-trust-icon svg { width: 26px; height: 26px; }

.why-cli-trust-title {
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: white;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.why-cli-trust-desc {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
  margin: 0;
}

.why-cli-trust-desc strong {
  color: var(--accent-gold);
  font-weight: 700;
}

@media (max-width: 768px) {
  .why-cli-grid { grid-template-columns: 1fr; }
  .why-cli-card { padding: 28px 24px; }
  .why-cli-num { font-size: 44px; top: 18px; right: 22px; }
  .why-cli-trust { padding: 24px; }
  .why-cli-trust-inner { flex-direction: column; gap: 16px; }
}

/* ============================================================
   Modal notice (censorship explanation)
   ============================================================ */
.modal-notice {
  margin: 22px 0 4px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--gradient-rose));
  background: var(--gradient-rose);
  border: 1px solid rgba(225, 29, 72, 0.18);
  position: relative;
}

.modal-notice-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--primary);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.modal-notice-head svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.modal-notice p {
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.6;
  margin: 0;
}

.modal-notice p strong {
  color: var(--primary-hover);
  font-weight: 700;
}

/* ============================================================
   Compare Table
   ============================================================ */
.compare-wrap {
  background: var(--bg-soft);
}

.compare-table {
  max-width: 1100px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.compare-row {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  align-items: center;
  padding: 22px 28px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.compare-row:last-child { border-bottom: none; }

.compare-row.head {
  background: var(--bg-soft);
  font-weight: 700;
  font-family: 'Manrope', sans-serif;
  color: var(--text);
  font-size: 13px;
  letter-spacing: -0.005em;
}

.compare-row.head .col-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
}

.compare-feature {
  font-weight: 600;
  color: var(--text);
}

.compare-cell {
  text-align: center;
  font-weight: 500;
  color: var(--text-soft);
}

.compare-cell.eroempire {
  color: var(--primary);
  font-weight: 700;
}

.compare-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 14px;
}

.compare-icon.yes {
  background: var(--primary-soft);
  color: var(--primary);
}

.compare-icon.no {
  background: #f5eeec;
  color: var(--text-faint);
}

.compare-icon.partial {
  background: var(--accent-gold-soft);
  color: #92400e;
}

@media (max-width: 768px) {
  .compare-row { grid-template-columns: 1.5fr repeat(4, 1fr); padding: 14px; font-size: 12px; }
  .compare-row.head { font-size: 11px; }
}

/* ============================================================
   Performance
   ============================================================ */
.perf-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.perf-card {
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.3s ease;
}

.perf-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.perf-value {
  font-family: 'Manrope', sans-serif;
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 12px;
}

.perf-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.perf-sub {
  font-size: 13px;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .perf-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   Philosophy
   ============================================================ */
.philosophy {
  background:
    radial-gradient(ellipse 800px 500px at 50% 50%, rgba(244, 63, 94, 0.06), transparent 60%),
    var(--bg);
}

.philosophy-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.philosophy-quote {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 32px;
}

.philosophy-quote .accent {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.philosophy-author {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 20px 10px 10px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}

.philosophy-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: grid;
  place-items: center;
  color: white;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 16px;
}

.philosophy-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}

.philosophy-role {
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================================
   Final CTA
   ============================================================ */
.final-cta {
  text-align: center;
  padding: 140px 0;
  background:
    radial-gradient(ellipse 1000px 500px at 50% 50%, rgba(244, 63, 94, 0.10), transparent 60%),
    var(--bg-soft);
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(225, 29, 72, 0.06) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 600px 400px at 50% 50%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 600px 400px at 50% 50%, black 30%, transparent 70%);
}

.final-cta-inner { position: relative; max-width: 780px; margin: 0 auto; }

.final-cta h2 {
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.final-cta h2 .accent {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.final-cta p {
  font-size: 19px;
  color: var(--text-soft);
  margin-bottom: 36px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  padding: 80px 0 40px;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand .logo { margin-bottom: 16px; }

.footer-tagline {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.6;
  max-width: 320px;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--text-soft);
  transition: all 0.2s ease;
}

.footer-social a:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-2px);
}

.footer-social svg { width: 16px; height: 16px; }

.footer-col-title {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-soft);
}

.footer-links a:hover { color: var(--primary); }

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--primary); }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ============================================================
   Modal
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(26, 20, 22, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal {
  width: 100%;
  max-width: 640px;
  max-height: 92vh;
  overflow-y: auto;
  background: var(--surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  position: relative;
  transform: scale(0.96) translateY(12px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal { transform: scale(1) translateY(0); }

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  color: var(--text-soft);
  z-index: 5;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: var(--primary);
  color: white;
  transform: rotate(90deg);
}

.modal-close svg { width: 16px; height: 16px; }

.modal-view { display: none; padding: 44px 40px; }
.modal-view.active { display: block; }

.modal-header {
  text-align: center;
  margin-bottom: 28px;
}

.modal-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 16px;
  background: var(--gradient-primary);
  display: grid;
  place-items: center;
  color: white;
  box-shadow: 0 10px 24px rgba(225, 29, 72, 0.32);
}

.modal-icon svg { width: 26px; height: 26px; }

.modal h3 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}

.modal-desc {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.6;
}

/* Command panel */
.cmd-panel {
  margin: 24px 0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #1a1416 0%, #2a1d22 100%);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(26, 20, 22, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.cmd-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cmd-dots {
  display: flex;
  gap: 6px;
}

.cmd-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.cmd-dot.r { background: #ff5f57; }
.cmd-dot.y { background: #febc2e; }
.cmd-dot.g { background: #28c841; }

.cmd-title {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cmd-copy {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cmd-copy:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.cmd-copy svg { width: 12px; height: 12px; }

.cmd-body {
  padding: 18px 18px;
  font-family: 'JetBrains Mono', 'Fira Code', Consolas, monospace;
  font-size: 13px;
  color: #fde68a;
  word-break: break-all;
  line-height: 1.6;
  background:
    repeating-linear-gradient(transparent 0 23px, rgba(255,255,255,0.025) 23px 24px);
}

.cmd-body .prompt {
  color: var(--accent-rose);
  margin-right: 8px;
  user-select: none;
}

/* Steps */
.steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--bg-soft);
  border: 1px solid var(--border);
}

.step-num {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: grid;
  place-items: center;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 13px;
}

.step-text {
  flex: 1;
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}

.step-keys {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.kbd {
  padding: 4px 9px;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-bottom-width: 2px;
  font-family: 'JetBrains Mono', Consolas, monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow-xs);
}

.step-keys span { color: var(--text-muted); margin: 0 2px; }

/* Loading view */
.loading-anim {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  position: relative;
}

.loading-ring {
  position: absolute;
  inset: 0;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loading-ring.r2 {
  inset: 8px;
  border-top-color: var(--accent-gold);
  animation-duration: 1.4s;
  animation-direction: reverse;
}

@keyframes spin { to { transform: rotate(360deg); } }

.checks {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--bg-soft);
  font-size: 14px;
  color: var(--text-soft);
  opacity: 0.5;
  transition: all 0.4s ease;
}

.check-item.active {
  opacity: 1;
  background: var(--primary-soft);
  color: var(--text);
}

.check-item.done {
  opacity: 1;
  color: var(--text);
}

.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--border);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  transition: all 0.3s ease;
}

.check-item.active .check-icon {
  background: var(--primary);
  animation: pulse-check 1s infinite ease-in-out;
}

.check-item.done .check-icon {
  background: var(--primary);
}

.check-icon svg {
  width: 12px;
  height: 12px;
  color: white;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.check-item.done .check-icon svg { opacity: 1; }

@keyframes pulse-check {
  0%, 100% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(225, 29, 72, 0); }
}

@media (max-width: 560px) {
  .modal-view { padding: 32px 24px; }
  .step { flex-wrap: wrap; }
  .step-keys { width: 100%; padding-left: 44px; }
}

/* ============================================================
   Toast
   ============================================================ */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--text);
  color: white;
  font-size: 13px;
  font-weight: 600;
  z-index: 2000;
  box-shadow: var(--shadow-lg);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast svg { width: 14px; height: 14px; color: var(--accent-gold); }

/* ============================================================
   Help widget
   ============================================================ */
.help-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
}

.help-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(225, 29, 72, 0.4);
  transition: all 0.3s ease;
}

.help-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 36px rgba(225, 29, 72, 0.5);
}

.help-btn svg { width: 22px; height: 22px; }

.help-pop {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 280px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.help-pop.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.help-pop h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.help-pop p {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.5;
  margin-bottom: 12px;
}

/* ============================================================
   Reveal animations
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ============================================================
   Install Failed page
   ============================================================ */
.failed-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 80px 24px;
  background:
    radial-gradient(ellipse 800px 500px at 50% 30%, rgba(244, 63, 94, 0.08), transparent 60%),
    var(--bg);
}

.failed-card {
  max-width: 620px;
  width: 100%;
  padding: 56px 48px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  text-align: center;
  position: relative;
}

.failed-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 24px;
  background: var(--primary-soft);
  display: grid;
  place-items: center;
  color: var(--primary);
  position: relative;
}

.failed-icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 28px;
  border: 2px dashed var(--accent-rose);
  opacity: 0.4;
  animation: rotate 12s linear infinite;
}

@keyframes rotate { to { transform: rotate(360deg); } }

.failed-icon svg { width: 36px; height: 36px; }

.failed-card h1 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.failed-card p {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 28px;
}

.failed-reasons {
  list-style: none;
  margin: 0 0 32px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--bg-soft);
  text-align: left;
}

.failed-reasons li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-soft);
  padding: 8px 0;
}

.failed-reasons li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  margin-top: 8px;
  flex: 0 0 auto;
}

.failed-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.failed-redirect {
  font-size: 12px;
  color: var(--text-muted);
}

.failed-redirect strong { color: var(--primary); font-weight: 700; }

@media (max-width: 560px) {
  .failed-card { padding: 40px 24px; }
  .failed-card h1 { font-size: 24px; }
}

/* ============================================================
   Utilities
   ============================================================ */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
