/* ═══════════════════════════════════════════════════════════
   NIRELLO — Global Design System
   Luxury AI Video Enhancement SaaS
   ═══════════════════════════════════════════════════════════ */

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

/* ─── CSS VARIABLES ─────────────────────────────────────── */
:root {
  --black:        #0b0807;
  --black-soft:   #110e0c;
  --black-card:   #161210;
  --black-border: #1e1a17;
  --black-hover:  #221e1a;

  --beige:        #d2cec5;
  --beige-soft:   #c4bfb5;
  --beige-dim:    #9a9590;

  --stone:        #a4998b;
  --stone-soft:   #8a8078;

  --accent-light: #dbdad3;
  --accent-brown: #6d5242;
  --accent-warm:  #7a6050;

  --gold:         #c9a96e;
  --gold-soft:    #b8935a;
  --gold-glow:    rgba(201,169,110,0.15);
  --gold-glow-sm: rgba(201,169,110,0.08);

  --white:        #ffffff;
  --text-primary: #d2cec5;
  --text-secondary: #8a8078;
  --text-muted:   #5a5450;

  --success:      #4a9e6b;
  --error:        #c0504a;
  --warning:      #c9a040;

  --font-display: 'Sora', sans-serif;
  --font-body:    'Manrope', sans-serif;
  --font-mono:    'Inter', monospace;

  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    20px;
  --radius-xl:    32px;
  --radius-full:  9999px;

  --shadow-sm:    0 2px 12px rgba(0,0,0,0.4);
  --shadow-md:    0 8px 32px rgba(0,0,0,0.5);
  --shadow-lg:    0 20px 60px rgba(0,0,0,0.6);
  --shadow-gold:  0 0 40px rgba(201,169,110,0.12);
  --shadow-glow:  0 0 80px rgba(201,169,110,0.08);

  --transition:   all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-height:   72px;
  --sidebar-width: 260px;
}

/* ─── RESET & BASE ──────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background-color: var(--black);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

body.loading { overflow: hidden; }

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

button {
  cursor: none;
  border: none;
  background: none;
  font-family: var(--font-body);
}

input, textarea, select {
  font-family: var(--font-body);
}

::selection {
  background: var(--gold-glow);
  color: var(--gold);
}

/* ─── CUSTOM CURSOR ─────────────────────────────────────── */
.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, opacity 0.2s;
  mix-blend-mode: normal;
}

.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(201,169,110,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.4s cubic-bezier(0.4,0,0.2,1),
              height 0.4s cubic-bezier(0.4,0,0.2,1),
              border-color 0.3s;
}

.cursor-dot.hover { width: 12px; height: 12px; background: var(--beige); }
.cursor-ring.hover { width: 56px; height: 56px; border-color: var(--gold); }
.cursor-dot.click { transform: translate(-50%,-50%) scale(0.6); }

/* ─── INTRO SCREEN ──────────────────────────────────────── */
#intro-screen {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 99990;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#intro-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-logo {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 800;
  letter-spacing: 0.25em;
  color: transparent;
  background: linear-gradient(135deg, var(--beige) 0%, var(--gold) 50%, var(--beige) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  opacity: 0;
  transform: scale(0.92);
  animation: introReveal 1.8s cubic-bezier(0.4,0,0.2,1) 0.3s forwards;
}

.intro-sweep {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(201,169,110,0.06) 50%, transparent 70%);
  animation: introSweep 2s ease 0.2s forwards;
  opacity: 0;
}

.intro-line {
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: introLine 1.2s ease 0.8s forwards;
}

.intro-tagline {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.4em;
  color: var(--stone);
  text-transform: uppercase;
  opacity: 0;
  animation: introFade 1s ease 1.4s forwards;
}

@keyframes introReveal {
  0% { opacity: 0; transform: scale(0.92); }
  60% { opacity: 1; transform: scale(1.01); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes introSweep {
  0% { opacity: 0; transform: translateX(-100%); }
  50% { opacity: 1; }
  100% { opacity: 0; transform: translateX(100%); }
}

@keyframes introLine {
  0% { width: 0; opacity: 0; }
  100% { width: 120px; opacity: 1; }
}

@keyframes introFade {
  0% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ─── NOISE TEXTURE OVERLAY ─────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
}

/* ─── NAVIGATION ────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 40px;
  transition: var(--transition);
}

.nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(11,8,7,0);
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: var(--transition-slow);
}

.nav.scrolled::before {
  background: rgba(11,8,7,0.85);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--black-border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--beige);
  transition: var(--transition);
}

.nav-logo span {
  color: var(--gold);
}

.nav-logo:hover { color: var(--white); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--stone);
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: var(--transition);
}

.nav-links a:hover { color: var(--beige); }
.nav-links a:hover::after { width: 100%; }

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

/* ─── BUTTONS ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: var(--transition-spring);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s;
}

.btn:hover::before { opacity: 1; }
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 100%);
  color: var(--black);
  box-shadow: 0 4px 20px rgba(201,169,110,0.3);
}

.btn-primary::before {
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 100%);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201,169,110,0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--beige);
  border: 1px solid var(--black-border);
}

.btn-ghost:hover {
  border-color: var(--stone);
  color: var(--white);
  background: rgba(255,255,255,0.03);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1px solid rgba(201,169,110,0.4);
}

.btn-outline-gold:hover {
  background: var(--gold-glow);
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(201,169,110,0.2);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 15px;
  border-radius: var(--radius-full);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 12px;
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
}

/* Magnetic button effect */
.btn-magnetic {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ─── SECTION LAYOUT ────────────────────────────────────── */
.section {
  padding: 120px 40px;
  position: relative;
}

.section-sm { padding: 80px 40px; }
.section-lg { padding: 160px 40px; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.container-sm {
  max-width: 900px;
  margin: 0 auto;
}

.container-xs {
  max-width: 640px;
  margin: 0 auto;
}

/* ─── SECTION LABELS ────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--beige);
  margin-bottom: 20px;
}

.section-title span {
  color: transparent;
  background: linear-gradient(135deg, var(--gold) 0%, var(--beige) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.section-subtitle {
  font-size: 16px;
  font-weight: 400;
  color: var(--stone);
  line-height: 1.7;
  max-width: 560px;
}

/* ─── CARDS ─────────────────────────────────────────────── */
.card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,169,110,0.03) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}

.card:hover {
  border-color: rgba(201,169,110,0.2);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}

.card:hover::before { opacity: 1; }

/* ─── GLASS CARD ────────────────────────────────────────── */
.glass {
  background: rgba(22,18,16,0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(210,206,197,0.08);
}

/* ─── DIVIDER ───────────────────────────────────────────── */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--black-border), transparent);
  margin: 0;
}

/* ─── BADGE ─────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.badge-gold {
  background: rgba(201,169,110,0.12);
  color: var(--gold);
  border: 1px solid rgba(201,169,110,0.25);
}

.badge-green {
  background: rgba(74,158,107,0.12);
  color: #6bc98a;
  border: 1px solid rgba(74,158,107,0.25);
}

.badge-stone {
  background: rgba(164,153,139,0.1);
  color: var(--stone);
  border: 1px solid rgba(164,153,139,0.2);
}

/* ─── HERO SECTION ──────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-glow-1 {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(201,169,110,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  bottom: 0;
  left: 20%;
  width: 500px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(109,82,66,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(210,206,197,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(210,206,197,0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 0%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: rgba(201,169,110,0.08);
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 32px;
}

.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 8vw, 112px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--beige);
  margin-bottom: 24px;
}

.hero-title .gradient-text {
  color: transparent;
  background: linear-gradient(135deg, var(--gold) 0%, #e8c98a 40%, var(--beige) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 400;
  color: var(--stone);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 48px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--stone);
  letter-spacing: 0.03em;
}

.trust-item .icon {
  width: 18px;
  height: 18px;
  color: var(--gold);
}

/* ─── UPLOAD ZONE ───────────────────────────────────────── */
.upload-zone {
  border: 1.5px dashed rgba(201,169,110,0.25);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  background: rgba(22,18,16,0.4);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: none;
}

.upload-zone::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201,169,110,0.04) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}

.upload-zone:hover,
.upload-zone.drag-over {
  border-color: rgba(201,169,110,0.5);
  background: rgba(22,18,16,0.6);
}

.upload-zone:hover::before,
.upload-zone.drag-over::before { opacity: 1; }

.upload-zone.drag-over {
  border-color: var(--gold);
  box-shadow: 0 0 40px rgba(201,169,110,0.15);
}

.upload-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: rgba(201,169,110,0.1);
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 24px;
  transition: var(--transition-spring);
}

.upload-zone:hover .upload-icon {
  transform: scale(1.1);
  background: rgba(201,169,110,0.15);
}

.upload-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--beige);
  margin-bottom: 8px;
}

.upload-subtitle {
  font-size: 13px;
  color: var(--stone);
  margin-bottom: 24px;
}

.upload-formats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.format-tag {
  padding: 4px 10px;
  background: rgba(164,153,139,0.08);
  border: 1px solid rgba(164,153,139,0.15);
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 600;
  color: var(--stone);
  letter-spacing: 0.05em;
}

/* ─── PROGRESS BAR ──────────────────────────────────────── */
.progress-bar {
  width: 100%;
  height: 3px;
  background: var(--black-border);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold), var(--beige));
  border-radius: var(--radius-full);
  transition: width 0.4s ease;
  position: relative;
}

.progress-fill::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--gold);
}

/* ─── FEATURE CARDS ─────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,169,110,0), transparent);
  transition: var(--transition);
}

.feature-card:hover {
  border-color: rgba(201,169,110,0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 30px rgba(201,169,110,0.06);
}

.feature-card:hover::after {
  background: linear-gradient(90deg, transparent, rgba(201,169,110,0.4), transparent);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(201,169,110,0.08);
  border: 1px solid rgba(201,169,110,0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--gold);
  margin-bottom: 16px;
  transition: var(--transition-spring);
}

.feature-card:hover .feature-icon {
  background: rgba(201,169,110,0.15);
  transform: scale(1.1) rotate(5deg);
}

.feature-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--beige);
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 13px;
  color: var(--stone);
  line-height: 1.6;
}

/* ─── PRICING CARDS ─────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  align-items: start;
}

.pricing-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--black-border), transparent);
  transition: var(--transition);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
  border-color: rgba(201,169,110,0.35);
  background: linear-gradient(160deg, rgba(201,169,110,0.05) 0%, var(--black-card) 40%);
}

.pricing-card.popular::before {
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.pricing-card.popular:hover {
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(201,169,110,0.12);
}

.pricing-card.pro {
  border-color: rgba(201,169,110,0.5);
  background: linear-gradient(160deg, rgba(201,169,110,0.08) 0%, var(--black-card) 50%);
}

.pricing-badge {
  position: absolute;
  top: -1px;
  right: 24px;
  padding: 6px 14px;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: var(--black);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.pricing-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 16px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}

.pricing-currency {
  font-size: 20px;
  font-weight: 600;
  color: var(--beige);
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 800;
  color: var(--beige);
  line-height: 1;
  letter-spacing: -0.03em;
}

.pricing-period {
  font-size: 13px;
  color: var(--stone);
}

.pricing-original {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-bottom: 8px;
}

.pricing-discount {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(74,158,107,0.12);
  color: #6bc98a;
  border: 1px solid rgba(74,158,107,0.2);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 24px;
}

.pricing-divider {
  height: 1px;
  background: var(--black-border);
  margin: 24px 0;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--stone);
}

.pricing-features li .check {
  width: 18px;
  height: 18px;
  background: rgba(74,158,107,0.12);
  border: 1px solid rgba(74,158,107,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 10px;
  color: #6bc98a;
}

/* ─── COMPARISON SLIDER ─────────────────────────────────── */
.comparison-container {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--black-border);
  box-shadow: var(--shadow-lg);
  user-select: none;
}

.comparison-before,
.comparison-after {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.comparison-after {
  clip-path: inset(0 50% 0 0);
  transition: clip-path 0s;
}

.comparison-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--gold);
  transform: translateX(-50%);
  cursor: ew-resize;
  z-index: 10;
}

.comparison-handle::before,
.comparison-handle::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.comparison-handle::before { top: 50%; transform: translate(-50%, -50%); }

.comparison-label {
  position: absolute;
  bottom: 20px;
  padding: 6px 14px;
  background: rgba(11,8,7,0.8);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 5;
}

.comparison-label.before { left: 20px; color: var(--stone); border: 1px solid var(--black-border); }
.comparison-label.after { right: 20px; color: var(--gold); border: 1px solid rgba(201,169,110,0.3); }

/* ─── TESTIMONIALS ──────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: rgba(201,169,110,0.15);
  transform: translateY(-3px);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 14px;
}

.testimonial-text {
  font-size: 14px;
  color: var(--stone);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-brown), var(--stone));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--beige);
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--beige);
}

.testimonial-role {
  font-size: 12px;
  color: var(--stone);
}

/* ─── STATS COUNTER ─────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--black-border);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat-item {
  background: var(--black-card);
  padding: 40px 32px;
  text-align: center;
  transition: var(--transition);
}

.stat-item:hover { background: var(--black-hover); }

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  color: var(--beige);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number span { color: var(--gold); }

.stat-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
}

/* ─── LIVE ACTIVITY POPUP ───────────────────────────────── */
.activity-popup {
  position: fixed;
  bottom: 32px;
  left: 32px;
  z-index: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(22,18,16,0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transform: translateX(-120%);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-width: 280px;
}

.activity-popup.show { transform: translateX(0); }

.activity-dot {
  width: 8px;
  height: 8px;
  background: #6bc98a;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2s infinite;
}

.activity-text {
  font-size: 12px;
  color: var(--stone);
  line-height: 1.4;
}

.activity-text strong { color: var(--beige); }

/* ─── FLOATING CTA ──────────────────────────────────────── */
.floating-cta {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: var(--black);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 32px rgba(201,169,110,0.4);
  transform: translateY(100px);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
  cursor: none;
}

.floating-cta.show { transform: translateY(0); }
.floating-cta:hover { box-shadow: 0 12px 40px rgba(201,169,110,0.55); transform: translateY(-3px); }

/* ─── UPGRADE POPUP ─────────────────────────────────────── */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11,8,7,0.85);
  backdrop-filter: blur(12px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-card {
  background: var(--black-card);
  border: 1px solid rgba(201,169,110,0.25);
  border-radius: var(--radius-xl);
  padding: 48px;
  max-width: 520px;
  width: 100%;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 60px rgba(201,169,110,0.08);
}

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

.popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--black-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stone);
  font-size: 16px;
  cursor: none;
  transition: var(--transition);
}

.popup-close:hover { background: rgba(255,255,255,0.1); color: var(--beige); }

/* ─── LAUNCH BANNER ─────────────────────────────────────── */
.launch-banner {
  background: linear-gradient(90deg, rgba(201,169,110,0.08), rgba(201,169,110,0.12), rgba(201,169,110,0.08));
  border-bottom: 1px solid rgba(201,169,110,0.15);
  padding: 10px 20px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1001;
}

.launch-banner a {
  color: var(--beige);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─── FOOTER ────────────────────────────────────────────── */
.footer {
  background: var(--black-soft);
  border-top: 1px solid var(--black-border);
  padding: 80px 40px 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand .logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--beige);
  margin-bottom: 16px;
}

.footer-brand .logo span { color: var(--gold); }

.footer-brand p {
  font-size: 13px;
  color: var(--stone);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 24px;
}

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

.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stone);
  font-size: 14px;
  transition: var(--transition);
}

.social-link:hover {
  background: rgba(201,169,110,0.1);
  border-color: rgba(201,169,110,0.3);
  color: var(--gold);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--beige);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 13px;
  color: var(--stone);
  transition: var(--transition);
}

.footer-col ul li a:hover { color: var(--beige); padding-left: 4px; }

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

.footer-bottom p {
  font-size: 12px;
  color: var(--text-muted);
}

/* ─── SCROLL ANIMATIONS ─────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ─── QUALITY SELECTOR ──────────────────────────────────── */
.quality-selector {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.quality-option {
  flex: 1;
  min-width: 120px;
  padding: 16px 20px;
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-md);
  text-align: center;
  cursor: none;
  transition: var(--transition);
  position: relative;
}

.quality-option:hover {
  border-color: rgba(201,169,110,0.3);
}

.quality-option.active {
  border-color: var(--gold);
  background: rgba(201,169,110,0.06);
}

.quality-option .q-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--beige);
  margin-bottom: 4px;
}

.quality-option .q-res {
  font-size: 11px;
  color: var(--stone);
}

.quality-option .q-badge {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  padding: 2px 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: var(--black);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

/* ─── TEMPLATES ─────────────────────────────────────────── */
.templates-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.template-chip {
  padding: 10px 20px;
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  color: var(--stone);
  cursor: none;
  transition: var(--transition);
}

.template-chip:hover,
.template-chip.active {
  border-color: rgba(201,169,110,0.35);
  color: var(--beige);
  background: rgba(201,169,110,0.06);
}

/* ─── FORM ELEMENTS ─────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--stone);
  text-transform: uppercase;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(22,18,16,0.6);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-md);
  color: var(--beige);
  font-size: 14px;
  font-family: var(--font-body);
  transition: var(--transition);
  outline: none;
}

.form-input::placeholder { color: var(--text-muted); }

.form-input:focus {
  border-color: rgba(201,169,110,0.4);
  background: rgba(22,18,16,0.8);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.06);
}

.form-input:hover { border-color: rgba(164,153,139,0.3); }

/* ─── NOTIFICATION TOAST ────────────────────────────────── */
.toast-container {
  position: fixed;
  top: 90px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(22,18,16,0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  font-size: 13px;
  color: var(--beige);
  min-width: 280px;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: all;
}

.toast.show { transform: translateX(0); }
.toast.success { border-left: 3px solid var(--success); }
.toast.error { border-left: 3px solid var(--error); }
.toast.info { border-left: 3px solid var(--gold); }

/* ─── SKELETON LOADING ──────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, var(--black-card) 25%, var(--black-hover) 50%, var(--black-card) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ─── PARTICLES ─────────────────────────────────────────── */
.particles-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* ─── AMBIENT GLOW ──────────────────────────────────────── */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.4;
}

/* ─── URGENCY TIMER ─────────────────────────────────────── */
.urgency-timer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(192,80,74,0.1);
  border: 1px solid rgba(192,80,74,0.25);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: #e07070;
}

.timer-digits {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: #e07070;
  letter-spacing: 0.05em;
}

/* ─── SCROLLBAR ─────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--black-border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--stone); }

/* ─── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }

  .section { padding: 80px 20px; }
  .section-lg { padding: 100px 20px; }

  .nav { padding: 0 20px; }
  .nav-links { display: none; }

  .hero-title { font-size: clamp(40px, 10vw, 72px); }
  .hero-actions { flex-direction: column; align-items: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer { padding: 60px 20px 32px; }

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

  .floating-cta { bottom: 20px; right: 20px; padding: 12px 20px; font-size: 12px; }
  .activity-popup { bottom: 20px; left: 20px; }

  .btn-lg { padding: 14px 28px; font-size: 14px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(36px, 12vw, 56px); }
  .section-title { font-size: clamp(28px, 8vw, 44px); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .quality-selector { flex-direction: column; }
}

/* ─── MOBILE NAV ────────────────────────────────────────── */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: none;
  padding: 4px;
}

.mobile-nav-toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--beige);
  transition: var(--transition);
}

@media (max-width: 768px) {
  .mobile-nav-toggle { display: flex; }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(11,8,7,0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}

.mobile-menu.open { transform: translateX(0); }

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--stone);
  letter-spacing: 0.05em;
  transition: var(--transition);
}

.mobile-menu a:hover { color: var(--beige); }

/* ─── UTILITY CLASSES ───────────────────────────────────── */
.text-gold { color: var(--gold); }
.text-beige { color: var(--beige); }
.text-stone { color: var(--stone); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.text-left { text-align: left; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }

.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

.w-full { width: 100%; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }