/* ============================================================
   ARTIFICIUM — PREMIUM DESIGN SYSTEM v2
   Level: Framer / Linear / Vercel
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700;800&family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* ====== TOKENS ====== */
:root {
  --bg-deep: #020208;
  --bg-base: #05050f;
  --bg-elevated: #0a0a1a;
  --bg-surface: #0e0e22;
  --bg-overlay: rgba(255,255,255,0.03);

  --gold: #d4a017;
  --gold-bright: #f5c842;
  --gold-dim: #a87c10;
  --purple: #8b5cf6;
  --purple-bright: #a78bfa;
  --purple-dim: #5b21b6;
  --cyan: #22d3ee;
  --cyan-dim: #0891b2;
  --green: #10b981;
  --rose: #f43f5e;

  --text-primary: #f8f8ff;
  --text-secondary: #7070a0;
  --text-tertiary: #3a3a5a;

  /* ── backward-compat aliases (used by inner pages) ── */
  --bg-0: var(--bg-deep);
  --bg-1: var(--bg-base);
  --bg-2: var(--bg-elevated);
  --bg-card: var(--bg-overlay);
  --bg-card-hover: rgba(255,255,255,0.05);
  --gold-light: var(--gold-bright);
  --gold-dark: var(--gold-dim);
  --purple-dark: var(--purple-dim);
  --text-1: var(--text-primary);
  --text-2: var(--text-secondary);
  --text-3: var(--text-tertiary);
  --border: var(--border-subtle);
  --border-hover: rgba(212,160,23,0.35);
  --shadow-gold: var(--glow-gold);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.5);

  --border-subtle: rgba(255,255,255,0.055);
  --border-mid: rgba(255,255,255,0.09);
  --border-gold: rgba(212,160,23,0.3);
  --border-purple: rgba(139,92,246,0.3);

  --glow-gold: 0 0 60px rgba(212,160,23,0.18);
  --glow-purple: 0 0 60px rgba(139,92,246,0.18);
  --glow-cyan: 0 0 60px rgba(34,211,238,0.14);
  --shadow-deep: 0 24px 80px rgba(0,0,0,0.7);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-2xl: 48px;
  --radius-full: 9999px;

  --w: 1180px;
  --cursor-x: 50%;
  --cursor-y: 50%;
}

/* ====== RESET ====== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea { font-family: inherit; }

/* ====== GLOBAL BACKGROUNDS ====== */

/* Mesh gradient bg */
body::before {
  content: '';
  position: fixed; inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at -10% 0%, rgba(139,92,246,0.14), transparent 60%),
    radial-gradient(ellipse 70% 60% at 110% 10%, rgba(212,160,23,0.1), transparent 60%),
    radial-gradient(ellipse 60% 70% at 50% 120%, rgba(34,211,238,0.08), transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 60%, rgba(139,92,246,0.06), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Dot grid */
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* Cursor spotlight — set via JS */
.cursor-glow {
  position: fixed; inset: 0;
  background: radial-gradient(700px circle at var(--cursor-x) var(--cursor-y), rgba(139,92,246,0.07), transparent 45%);
  pointer-events: none;
  z-index: 1;
  transition: background 0.1s;
}

/* ====== TYPOGRAPHY ====== */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
h1 { font-size: clamp(2.8rem, 6.5vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.2rem; }

.text-gradient {
  background: linear-gradient(120deg, var(--gold-bright) 0%, var(--gold) 45%, var(--purple-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-cool {
  background: linear-gradient(120deg, var(--cyan) 0%, var(--purple-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-gold {
  background: linear-gradient(120deg, var(--gold-bright), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-shimmer {
  background: linear-gradient(90deg, var(--text-primary) 0%, var(--gold-bright) 40%, var(--text-primary) 80%);
  background-size: 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s ease-in-out infinite;
}

/* ====== LAYOUT ====== */
.container {
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 2;
}
.section { padding: 120px 0; }
.section-sm { padding: 72px 0; }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  padding: 6px 16px;
  background: rgba(212,160,23,0.07);
  border: 1px solid rgba(212,160,23,0.15);
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}
.section-header {
  text-align: center;
  margin-bottom: 72px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ====== GRIDS ====== */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  .grid-3 { grid-template-columns: 1fr; }
}

/* ====== BUTTONS ====== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius-full);
  font-family: var(--font-display); font-weight: 600; font-size: 0.9rem;
  border: none; cursor: pointer; white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative; overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.2s;
}
.btn:hover::after { background: rgba(255,255,255,0.06); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #07030a;
  font-weight: 700;
  box-shadow: 0 4px 28px rgba(212,160,23,0.4), inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 40px rgba(212,160,23,0.65), inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn-secondary {
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-mid);
  backdrop-filter: blur(12px);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}
.btn-purple {
  background: linear-gradient(135deg, var(--purple-bright), var(--purple));
  color: white;
  box-shadow: 0 4px 28px rgba(139,92,246,0.4);
}
.btn-purple:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 40px rgba(139,92,246,0.65);
}
.btn-ghost {
  background: transparent;
  color: var(--gold-bright);
  border: 1px solid rgba(212,160,23,0.35);
}
.btn-ghost:hover {
  background: rgba(212,160,23,0.08);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-sm { padding: 9px 20px; font-size: 0.82rem; }
.w-full { width: 100%; }

/* ====== NAVIGATION ====== */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 9000;
  padding: 20px 0;
  transition: all 0.4s ease;
}
nav.scrolled {
  background: rgba(5,5,15,0.82);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 13px 0;
  box-shadow: 0 4px 40px rgba(0,0,0,0.4);
}
.nav-inner {
  max-width: var(--w); margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 800;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  letter-spacing: -1px; flex-shrink: 0;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  color: var(--text-secondary); font-size: 0.88rem; font-weight: 500;
  transition: color 0.2s; position: relative;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a.active { color: var(--gold-bright); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -5px; left: 0; right: 0;
  height: 2px; background: var(--gold-bright); border-radius: 2px;
  box-shadow: 0 0 8px var(--gold);
}
.nav-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-login { color: var(--text-secondary); font-size: 0.88rem; transition: color 0.2s; }
.nav-login:hover { color: var(--text-primary); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; background: none; border: none;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text-primary); border-radius: 2px; transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
@media (max-width: 860px) {
  .nav-links, .nav-login { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 62px; left: 0; right: 0;
    background: rgba(5,5,15,0.97); backdrop-filter: blur(28px);
    padding: 28px; border-bottom: 1px solid var(--border-subtle); gap: 20px; z-index: 8999;
  }
  .nav-links.open a { font-size: 1.1rem; color: var(--text-primary); }
}

/* ====== HERO ====== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 130px 0 100px;
}
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(100px);
  pointer-events: none; will-change: transform;
}
.orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(139,92,246,0.45), transparent 65%);
  top: -200px; left: -200px;
  animation: orb-float 12s ease-in-out infinite;
}
.orb-2 {
  width: 550px; height: 550px;
  background: radial-gradient(circle, rgba(212,160,23,0.35), transparent 65%);
  top: 5%; right: -180px;
  animation: orb-float 15s ease-in-out -5s infinite;
}
.orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(34,211,238,0.25), transparent 65%);
  bottom: 0; left: 30%;
  animation: orb-float 10s ease-in-out -3s infinite;
}
.orb-4 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(244,63,94,0.15), transparent 65%);
  bottom: 20%; right: 10%;
  animation: orb-float 13s ease-in-out -7s infinite;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px;
  background: rgba(212,160,23,0.08);
  border: 1px solid rgba(212,160,23,0.22);
  border-radius: var(--radius-full);
  font-size: 0.8rem; color: var(--gold-bright);
  margin-bottom: 28px;
  animation: fade-up 0.8s ease both;
}
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 8px var(--gold);
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero-headline {
  margin-bottom: 24px;
  animation: fade-up 0.8s ease 0.08s both;
}
.hero-subtitle {
  font-size: 1.15rem; color: var(--text-secondary);
  max-width: 500px; line-height: 1.8; margin-bottom: 38px;
  animation: fade-up 0.8s ease 0.16s both;
}
.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  animation: fade-up 0.8s ease 0.24s both;
}
.hero-trust {
  margin-top: 32px; display: flex; align-items: center; gap: 12px;
  animation: fade-up 0.8s ease 0.32s both;
}
.trust-avatars { display: flex; }
.trust-av {
  width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid var(--bg-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem; font-weight: 700; margin-left: -9px;
}
.trust-av:first-child { margin-left: 0; }
.trust-text { font-size: 0.82rem; color: var(--text-secondary); }
.trust-text strong { color: var(--text-primary); }

/* ====== APP MOCKUP ====== */
.hero-visual {
  position: relative; z-index: 2;
  animation: fade-up 1s ease 0.32s both;
}
.app-window {
  background: rgba(10,10,24,0.9);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-deep), 0 0 0 1px rgba(255,255,255,0.04);
  position: relative;
}
.app-window::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,160,23,0.6), rgba(139,92,246,0.4), transparent);
}
.app-chrome {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.02);
}
.chrome-dots { display: flex; gap: 6px; }
.chrome-dot {
  width: 11px; height: 11px; border-radius: 50%;
}
.chrome-dot.r { background: #ff5f57; }
.chrome-dot.y { background: #febc2e; }
.chrome-dot.g { background: #28c840; }
.chrome-title {
  flex: 1; text-align: center; font-size: 0.75rem; color: var(--text-secondary);
  font-weight: 500;
}
.chrome-live {
  font-size: 0.65rem; font-weight: 700; color: var(--green);
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.2);
  padding: 2px 8px; border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}
.app-body { display: flex; }
.app-sidebar {
  width: 48px;
  border-right: 1px solid rgba(255,255,255,0.05);
  padding: 12px 6px;
  display: flex; flex-direction: column; gap: 4px;
  background: rgba(0,0,0,0.2);
}
.app-nav-item {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; cursor: pointer;
  transition: background 0.2s;
  color: var(--text-secondary);
}
.app-nav-item:hover { background: rgba(255,255,255,0.05); }
.app-nav-item.act {
  background: rgba(212,160,23,0.15);
  border: 1px solid rgba(212,160,23,0.2);
  color: var(--gold-bright);
}
.app-main { flex: 1; padding: 16px; min-height: 320px; }

/* Style pills */
.style-pills {
  display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap;
}
.sp {
  padding: 4px 12px; border-radius: var(--radius-full);
  font-size: 0.7rem; font-weight: 600; cursor: pointer;
  border: 1px solid rgba(255,255,255,0.07);
  color: var(--text-secondary); transition: all 0.2s;
  background: rgba(255,255,255,0.03);
}
.sp.active {
  background: rgba(212,160,23,0.15);
  border-color: rgba(212,160,23,0.3);
  color: var(--gold-bright);
}

/* Image grid in hero */
.hero-img-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 8px;
  margin-bottom: 12px;
}
.hero-img-card {
  border-radius: 10px;
  height: 85px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  position: relative; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}
.hero-img-card .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  opacity: 0.25;
}
.hero-img-card .gen-label {
  position: absolute; bottom: 5px; left: 6px;
  font-size: 0.55rem; color: rgba(255,255,255,0.4);
  background: rgba(0,0,0,0.4); padding: 1px 5px; border-radius: 3px;
}

/* Prompt bar */
.prompt-bar {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; padding: 10px 14px;
  margin-top: 8px;
}
.pb-icon { font-size: 0.9rem; color: var(--text-secondary); }
.pb-text { flex: 1; font-size: 0.75rem; color: var(--text-secondary); }
.pb-btn {
  font-size: 0.7rem; font-weight: 700;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #0a0800; padding: 5px 12px; border-radius: 8px; border: none;
  cursor: pointer; white-space: nowrap;
  transition: all 0.2s;
}
.pb-btn:hover { box-shadow: 0 0 16px rgba(212,160,23,0.5); }

/* Floating chips around mockup */
.float-chip {
  position: absolute;
  background: rgba(10,10,24,0.95);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 0.75rem; font-weight: 600;
  white-space: nowrap;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  z-index: 10;
}
.fc-1 {
  top: -18px; right: 20px;
  color: var(--green);
  border-color: rgba(16,185,129,0.25);
  background: rgba(16,185,129,0.08);
  animation: fc-float 4s ease-in-out infinite;
}
.fc-2 {
  bottom: -18px; left: 16px;
  color: var(--purple-bright);
  border-color: rgba(139,92,246,0.25);
  background: rgba(139,92,246,0.08);
  animation: fc-float 5s ease-in-out -2s infinite;
}
.fc-3 {
  bottom: 40px; right: -16px;
  color: var(--cyan);
  border-color: rgba(34,211,238,0.25);
  background: rgba(34,211,238,0.08);
  animation: fc-float 4.5s ease-in-out -1s infinite;
}

/* ====== STATS BAR ====== */
.stats-bar {
  display: grid; grid-template-columns: repeat(4,1fr);
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden; margin-top: 80px; gap: 1px;
}
.stat-cell {
  background: rgba(255,255,255,0.02);
  padding: 28px 20px; text-align: center;
  transition: background 0.3s;
  position: relative;
}
.stat-cell:hover { background: rgba(255,255,255,0.04); }
.stat-cell::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--purple));
  transform: scaleX(0);
  transition: transform 0.4s ease;
  border-radius: 0 0 2px 2px;
}
.stat-cell:hover::after { transform: scaleX(1); }
.stat-n {
  font-family: var(--font-display);
  font-size: 2.2rem; font-weight: 800; letter-spacing: -2px;
  background: linear-gradient(120deg, var(--gold-bright), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-l { color: var(--text-secondary); font-size: 0.8rem; margin-top: 5px; }
@media (max-width: 640px) { .stats-bar { grid-template-columns: repeat(2,1fr); } }

/* ====== PREMIUM CARDS ====== */
.card {
  background: var(--bg-overlay);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.35s ease;
  position: relative; overflow: hidden;
}
.card::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(212,160,23,0), rgba(139,92,246,0), rgba(34,211,238,0));
  opacity: 0; transition: opacity 0.4s;
  z-index: -1;
}
.card:hover {
  border-color: rgba(212,160,23,0.15);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(212,160,23,0.08);
  background: rgba(255,255,255,0.04);
}
.card:hover::before {
  background: linear-gradient(135deg, rgba(212,160,23,0.3), rgba(139,92,246,0.2));
  opacity: 1;
}
.card-shine::after {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
  transform: skewX(-15deg);
  transition: left 0.7s ease;
}
.card:hover.card-shine::after { left: 150%; }

/* ====== ICON BOXES ====== */
.icon-box {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 20px; flex-shrink: 0;
  position: relative;
}
.ib-gold {
  background: rgba(212,160,23,0.1);
  border: 1px solid rgba(212,160,23,0.18);
  box-shadow: 0 0 20px rgba(212,160,23,0.1);
}
.ib-purple {
  background: rgba(139,92,246,0.1);
  border: 1px solid rgba(139,92,246,0.18);
  box-shadow: 0 0 20px rgba(139,92,246,0.1);
}
.ib-cyan {
  background: rgba(34,211,238,0.1);
  border: 1px solid rgba(34,211,238,0.18);
  box-shadow: 0 0 20px rgba(34,211,238,0.1);
}
.ib-green {
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.18);
  box-shadow: 0 0 20px rgba(16,185,129,0.1);
}

/* ====== BADGES ====== */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 11px; border-radius: var(--radius-full);
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.3px;
}
.badge-gold { background: rgba(212,160,23,0.1); color: var(--gold-bright); border: 1px solid rgba(212,160,23,0.18); }
.badge-purple { background: rgba(139,92,246,0.1); color: var(--purple-bright); border: 1px solid rgba(139,92,246,0.18); }
.badge-cyan { background: rgba(34,211,238,0.1); color: var(--cyan); border: 1px solid rgba(34,211,238,0.18); }
.badge-green { background: rgba(16,185,129,0.1); color: #6ee7b7; border: 1px solid rgba(16,185,129,0.18); }

/* ====== MARQUEE ====== */
.marquee-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
}
.marquee-track {
  display: flex; gap: 0; width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  display: flex; align-items: center; gap: 32px;
  padding: 0 40px;
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 800;
  color: rgba(255,255,255,0.12);
  letter-spacing: -0.5px;
  white-space: nowrap;
  user-select: none;
}
.marquee-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); opacity: 0.4; }

/* ====== TESTIMONIALS ====== */
.testi-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
}
@media (max-width: 860px) { .testi-grid { grid-template-columns: 1fr; } }
.t-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.35s ease;
  position: relative; overflow: hidden;
}
.t-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.t-card:hover {
  border-color: rgba(212,160,23,0.15);
  transform: translateY(-5px);
  box-shadow: 0 16px 50px rgba(0,0,0,0.5), var(--glow-gold);
}
.t-card:hover::before { opacity: 1; }
.t-quote {
  font-size: 3rem; color: var(--gold); line-height: 1;
  opacity: 0.2; margin-bottom: 12px; font-family: Georgia, serif;
}
.t-stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 14px; font-size: 0.95rem; }
.t-text { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.78; margin-bottom: 20px; }
.t-author { display: flex; align-items: center; gap: 12px; }
.t-av {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.82rem; color: white; flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
.t-name { font-weight: 600; font-size: 0.875rem; }
.t-role { color: var(--text-secondary); font-size: 0.75rem; margin-top: 2px; }

/* ====== PRICING ====== */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: start;
}
@media (max-width: 760px) { .pricing-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; } }
.p-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative; overflow: hidden;
  transition: all 0.3s;
}
.p-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-deep); }
.p-card.featured {
  border-color: rgba(212,160,23,0.3);
  background: rgba(212,160,23,0.03);
  transform: scale(1.025);
  box-shadow: 0 0 60px rgba(212,160,23,0.08);
}
.p-card.featured:hover { transform: scale(1.025) translateY(-5px); }
.p-card.featured::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), var(--purple-bright), transparent);
}
.p-badge {
  position: absolute; top: 18px; right: 18px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #07030a; font-size: 0.62rem; font-weight: 800;
  padding: 4px 12px; border-radius: var(--radius-full);
  letter-spacing: 1.5px; text-transform: uppercase;
}
.p-tier { font-size: 0.7rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--text-tertiary); margin-bottom: 10px; }
.p-price {
  font-family: var(--font-display); font-size: 3rem; font-weight: 800;
  line-height: 1; margin-bottom: 6px; letter-spacing: -2px;
}
.p-per { font-size: 0.9rem; color: var(--text-secondary); font-weight: 400; letter-spacing: 0; }
.p-desc { color: var(--text-secondary); font-size: 0.83rem; line-height: 1.6; margin: 12px 0 22px; padding-bottom: 22px; border-bottom: 1px solid var(--border-subtle); }
.p-feats { margin-bottom: 28px; }
.p-feat { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 0.83rem; color: var(--text-secondary); }
.p-feat .ck { color: var(--gold); font-size: 0.95rem; flex-shrink: 0; }
.p-feat .cx { color: var(--text-tertiary); flex-shrink: 0; }

/* Pricing toggle */
.pricing-toggle {
  display: flex; align-items: center; gap: 14px; justify-content: center; margin-bottom: 48px;
}
.toggle-label { font-size: 0.9rem; color: var(--text-secondary); }
.toggle-label.active { color: var(--text-primary); font-weight: 600; }
.toggle-sw {
  width: 50px; height: 27px; background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-subtle); border-radius: var(--radius-full);
  cursor: pointer; position: relative; transition: background 0.3s;
}
.toggle-sw.on { background: rgba(212,160,23,0.15); border-color: var(--gold); }
.toggle-sw::after {
  content: ''; position: absolute; top: 3px; left: 3px;
  width: 19px; height: 19px; border-radius: 50%;
  background: var(--text-secondary); transition: all 0.3s;
}
.toggle-sw.on::after { left: 26px; background: var(--gold); box-shadow: 0 0 10px rgba(212,160,23,0.5); }
.save-badge { font-size: 0.68rem; font-weight: 700; color: var(--green); background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.2); padding: 2px 8px; border-radius: var(--radius-full); }

/* ====== CTA SECTION ====== */
.cta-box {
  background: linear-gradient(135deg, rgba(212,160,23,0.05), rgba(139,92,246,0.05));
  border: 1px solid rgba(212,160,23,0.12);
  border-radius: var(--radius-2xl);
  padding: 88px 48px;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute; top: 0; left: 15%; right: 15%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), var(--purple-bright), transparent);
}
.cta-box::after {
  content: '';
  position: absolute; bottom: 0; left: 30%; right: 30%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}
.cta-box h2 { margin-bottom: 16px; }
.cta-box > p { color: var(--text-secondary); font-size: 1.05rem; margin-bottom: 36px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ====== FEATURES ALTERNATING ====== */
.feature-hl {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
  padding: 72px 0; border-bottom: 1px solid var(--border-subtle);
}
.feature-hl:last-child { border-bottom: none; }
.feature-hl.rev .feature-visual { order: -1; }
@media (max-width: 860px) {
  .feature-hl { grid-template-columns: 1fr; gap: 36px; }
  .feature-hl.rev .feature-visual { order: 0; }
}
.feature-visual {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  min-height: 300px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-card);
}
.fv-glow {
  position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none;
}
.fv-inner { position: relative; z-index: 1; padding: 28px; width: 100%; }
.feature-text .section-eyebrow { margin-bottom: 16px; }
.feature-text h3 { font-size: 2rem; margin-bottom: 16px; }
.feature-text > p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 22px; }
.feature-list { margin-top: 18px; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 10px; font-size: 0.875rem; color: var(--text-secondary);
}
.feature-list li::before { content: '→'; color: var(--gold); flex-shrink: 0; }

/* ====== PAGE HERO ====== */
.page-hero {
  padding: 170px 0 90px;
  text-align: center;
  position: relative; overflow: hidden;
}
.page-hero h1 { margin-bottom: 18px; animation: fade-up 0.8s ease both; }
.page-hero p { font-size: 1.1rem; color: var(--text-secondary); max-width: 580px; margin: 0 auto; line-height: 1.8; animation: fade-up 0.8s ease 0.1s both; }
.page-hero .section-eyebrow { display: block; margin: 0 auto 18px; animation: fade-up 0.8s ease both; }

/* ====== TEAM ====== */
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
@media (max-width: 760px) { .team-grid { grid-template-columns: repeat(2,1fr); } }
.team-card {
  text-align: center; padding: 32px 18px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); transition: all 0.3s;
}
.team-card:hover { border-color: rgba(212,160,23,0.18); transform: translateY(-5px); box-shadow: 0 16px 50px rgba(0,0,0,0.5); }
.team-ava {
  width: 76px; height: 76px; border-radius: 50%;
  margin: 0 auto 14px; display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; font-weight: 800; color: white;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.team-name { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; margin-bottom: 3px; }
.team-role { color: var(--gold); font-size: 0.75rem; font-weight: 600; margin-bottom: 10px; }
.team-bio { color: var(--text-secondary); font-size: 0.78rem; line-height: 1.65; }

/* ====== VALUES ====== */
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
@media (max-width: 760px) { .values-grid { grid-template-columns: 1fr; } }

/* ====== FAQ ====== */
.faq-wrap { max-width: 700px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 10px; overflow: hidden; transition: border-color 0.3s;
}
.faq-item.open { border-color: rgba(212,160,23,0.25); }
.faq-q {
  width: 100%; padding: 18px 22px;
  display: flex; justify-content: space-between; align-items: center;
  background: none; border: none; color: var(--text-primary);
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 500;
  cursor: pointer; text-align: left; gap: 14px; transition: background 0.2s;
}
.faq-q:hover { background: rgba(255,255,255,0.02); }
.faq-ico { color: var(--gold); font-size: 1.1rem; transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .faq-ico { transform: rotate(45deg); }
.faq-a {
  padding: 0 22px; max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  color: var(--text-secondary); line-height: 1.78; font-size: 0.9rem;
}
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 18px; }

/* ====== BLOG ====== */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
@media (max-width: 860px) { .blog-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .blog-grid { grid-template-columns: 1fr; } }
.b-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); overflow: hidden; transition: all 0.35s; cursor: pointer;
}
.b-card:hover { border-color: rgba(212,160,23,0.18); transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.5), var(--glow-gold); }
.b-img { height: 170px; display: flex; align-items: center; justify-content: center; font-size: 3.5rem; position: relative; overflow: hidden; }
.b-content { padding: 22px; }
.b-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.b-cat { font-size: 0.68rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); }
.b-date { font-size: 0.7rem; color: var(--text-tertiary); }
.b-title { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; margin-bottom: 10px; line-height: 1.45; }
.b-excerpt { color: var(--text-secondary); font-size: 0.82rem; line-height: 1.72; margin-bottom: 18px; }
.b-more { color: var(--gold-bright); font-size: 0.8rem; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; transition: gap 0.2s; }
.b-card:hover .b-more { gap: 10px; }
.blog-featured {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl); overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr;
  margin-bottom: 48px; transition: all 0.3s;
}
.blog-featured:hover { border-color: rgba(212,160,23,0.18); }
@media (max-width: 760px) { .blog-featured { grid-template-columns: 1fr; } }
.blog-featured-img { min-height: 280px; display: flex; align-items: center; justify-content: center; font-size: 5rem; position: relative; }
.blog-featured-content { padding: 44px 40px; display: flex; flex-direction: column; justify-content: center; }

/* ====== NEWSLETTER ====== */
.nl-box {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl); padding: 56px;
  text-align: center; position: relative; overflow: hidden;
}
.nl-box::before {
  content: ''; position: absolute; top: 0; left: 20%; right: 20%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
}
.nl-form { display: flex; gap: 10px; max-width: 400px; margin: 22px auto 0; }
.nl-input {
  flex: 1; padding: 13px 20px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full); color: var(--text-primary);
  font-family: var(--font-body); font-size: 0.875rem; outline: none; transition: border-color 0.2s;
}
.nl-input::placeholder { color: var(--text-tertiary); }
.nl-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,160,23,0.08); }
@media (max-width: 500px) { .nl-form { flex-direction: column; } }

/* ====== FOOTER ====== */
footer {
  background: rgba(255,255,255,0.01);
  border-top: 1px solid var(--border-subtle);
  padding: 72px 0 36px;
  position: relative; z-index: 2;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 56px; margin-bottom: 56px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .f-logo {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 800;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  display: block; margin-bottom: 14px; letter-spacing: -0.5px;
}
.footer-brand p { color: var(--text-secondary); font-size: 0.85rem; line-height: 1.72; max-width: 270px; }
.footer-col h5 {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--text-tertiary); margin-bottom: 18px;
}
.footer-col a {
  display: block; color: var(--text-secondary); font-size: 0.85rem;
  margin-bottom: 10px; transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold-bright); }
.footer-bottom {
  border-top: 1px solid var(--border-subtle); padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
}
.footer-bottom p { color: var(--text-tertiary); font-size: 0.78rem; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-tertiary); font-size: 0.78rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--text-secondary); }
.social-links { display: flex; gap: 10px; margin-top: 22px; }
.soc {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 9px; display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem; color: var(--text-secondary); transition: all 0.25s;
}
.soc:hover {
  border-color: var(--gold); color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(212,160,23,0.25);
}

/* ====== SCROLL REVEAL ====== */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* ====== PROCESS STEPS ====== */
.steps-row {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; position: relative;
}
.steps-row::before {
  content: ''; position: absolute; top: 24px; left: 14%; right: 14%;
  height: 1px; background: linear-gradient(90deg, var(--gold), var(--purple));
  opacity: 0.2;
}
@media (max-width: 660px) { .steps-row { grid-template-columns: 1fr; } .steps-row::before { display: none; } }
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #07030a; font-family: var(--font-display); font-weight: 800; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px; position: relative; z-index: 1;
  box-shadow: 0 4px 20px rgba(212,160,23,0.4);
}
.step { text-align: center; }
.step h4 { margin-bottom: 10px; font-size: 1rem; }
.step p { color: var(--text-secondary); font-size: 0.85rem; line-height: 1.72; }

/* ====== COMPARISON TABLE ====== */
.compare-table { width: 100%; border-collapse: collapse; margin-top: 48px; }
.compare-table th, .compare-table td { padding: 14px 18px; border-bottom: 1px solid var(--border-subtle); font-size: 0.875rem; text-align: center; }
.compare-table th { font-family: var(--font-display); font-weight: 700; color: var(--text-primary); background: rgba(255,255,255,0.02); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1.5px; }
.compare-table th:first-child, .compare-table td:first-child { text-align: left; }
.compare-table td { color: var(--text-secondary); }
.compare-table tr:hover td { background: rgba(255,255,255,0.01); }
.compare-table .ck { color: var(--gold); font-size: 1.1rem; }
.compare-table .cx { color: var(--text-tertiary); }
.compare-table .feat-col { color: var(--gold-bright); font-weight: 600; }

/* ====== MISC ====== */
.text-center { text-align: center; }
.text-gold { color: var(--gold-bright); }
.text-muted { color: var(--text-secondary); }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--border-subtle), transparent); }
.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-wrap { flex-wrap: wrap; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; }
.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; }

/* ====== SCROLLBAR ====== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dim); }

/* ====== KEYFRAMES ====== */
@keyframes orb-float {
  0%,100% { transform: translateY(0) scale(1) rotate(0deg); }
  30% { transform: translateY(-30px) scale(1.05) rotate(3deg); }
  60% { transform: translateY(15px) scale(0.97) rotate(-2deg); }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
  from { background-position: 300% center; }
  to { background-position: -300% center; }
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; box-shadow: 0 0 6px var(--gold); }
  50% { opacity: 0.6; box-shadow: 0 0 14px var(--gold); }
}
@keyframes fc-float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes blink-dot {
  0%,80%,100% { opacity: 0.25; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1); }
}
@keyframes counter-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes spin-slow {
  to { transform: rotate(360deg); }
}
@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2); opacity: 0; }
}

/* ====================================================
   BACKWARD-COMPAT CLASS ALIASES
   (used by about / features / pricing / blog / faq)
   ==================================================== */

/* section-label → section-eyebrow */
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); padding: 6px 16px;
  background: rgba(212,160,23,0.07); border: 1px solid rgba(212,160,23,0.15);
  border-radius: var(--radius-full); margin-bottom: 20px;
}

/* icon-box colors */
.icon-box { width:52px; height:52px; border-radius:14px; display:flex; align-items:center; justify-content:center; font-size:1.3rem; margin-bottom:20px; flex-shrink:0; }
.icon-box.icon-gold, .ib-gold { background:rgba(212,160,23,0.1); border:1px solid rgba(212,160,23,0.18); box-shadow:0 0 20px rgba(212,160,23,0.1); }
.icon-box.icon-purple, .ib-purple { background:rgba(139,92,246,0.1); border:1px solid rgba(139,92,246,0.18); box-shadow:0 0 20px rgba(139,92,246,0.1); }
.icon-box.icon-cyan, .ib-cyan { background:rgba(34,211,238,0.1); border:1px solid rgba(34,211,238,0.18); box-shadow:0 0 20px rgba(34,211,238,0.1); }
.icon-box.icon-green, .ib-green { background:rgba(16,185,129,0.1); border:1px solid rgba(16,185,129,0.18); box-shadow:0 0 20px rgba(16,185,129,0.1); }

/* stats bar aliases */
.stat-item { background: rgba(255,255,255,0.02); padding:28px 20px; text-align:center; transition:background 0.3s; position:relative; }
.stat-item:hover { background:rgba(255,255,255,0.04); }
.stat-number { font-family:var(--font-display); font-size:2.2rem; font-weight:800; letter-spacing:-2px; background:linear-gradient(120deg,var(--gold-bright),var(--gold)); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.stat-label { color:var(--text-secondary); font-size:0.8rem; margin-top:5px; }

/* testimonials alias */
.testimonials-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
@media(max-width:860px){ .testimonials-grid { grid-template-columns:1fr; } }
/* t-card, t-text, t-author, t-avatar, t-name, t-role already defined as .t-card etc. */
.t-avatar { width:42px; height:42px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:0.82rem; color:white; flex-shrink:0; box-shadow:0 4px 12px rgba(0,0,0,0.4); }
.stars { color:var(--gold); letter-spacing:2px; margin-bottom:14px; font-size:0.95rem; }
.testimonial-card { background:rgba(255,255,255,0.025); border:1px solid var(--border-subtle); border-radius:var(--radius-lg); padding:28px; transition:all 0.35s; }
.testimonial-card:hover { border-color:rgba(212,160,23,0.15); transform:translateY(-5px); box-shadow:0 16px 50px rgba(0,0,0,0.5); }
.testimonial-text { color:var(--text-secondary); font-size:0.9rem; line-height:1.78; margin-bottom:20px; }
.testimonial-author { display:flex; align-items:center; gap:12px; }
.author-avatar { width:42px; height:42px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:0.82rem; color:white; flex-shrink:0; }
.author-name { font-weight:600; font-size:0.875rem; }
.author-role { color:var(--text-secondary); font-size:0.75rem; margin-top:2px; }

/* pricing toggle alias */
.toggle-switch { width:50px; height:27px; background:rgba(255,255,255,0.06); border:1px solid var(--border-subtle); border-radius:var(--radius-full); cursor:pointer; position:relative; transition:background 0.3s; display:inline-block; }
.toggle-switch.on { background:rgba(212,160,23,0.15); border-color:var(--gold); }
.toggle-switch::after { content:''; position:absolute; top:3px; left:3px; width:19px; height:19px; border-radius:50%; background:var(--text-secondary); transition:all 0.3s; }
.toggle-switch.on::after { left:26px; background:var(--gold); box-shadow:0 0 10px rgba(212,160,23,0.5); }

/* card-glow top line on hover */
.card-glow::before { content:''; position:absolute; top:0; left:0; right:0; height:1px; background:linear-gradient(90deg,transparent,var(--gold),transparent); opacity:0; transition:opacity 0.3s; }
.card-glow:hover::before { opacity:1; }

/* feature page */
.feature-highlight { display:grid; grid-template-columns:1fr 1fr; gap:72px; align-items:center; padding:64px 0; border-bottom:1px solid var(--border-subtle); }
.feature-highlight:last-child { border-bottom:none; }
.feature-highlight.reverse { direction:rtl; }
.feature-highlight.reverse > * { direction:ltr; }
@media(max-width:860px){ .feature-highlight { grid-template-columns:1fr; gap:32px; } .feature-highlight.reverse { direction:ltr; } }
.feature-visual-icon { font-size:9rem; opacity:0.1; position:absolute; bottom:-16px; right:-16px; line-height:1; }
.feature-visual-inner { position:relative; z-index:1; padding:28px; width:100%; }
.feature-text h3 { font-size:1.9rem; margin-bottom:14px; }
.feature-text > p { color:var(--text-secondary); line-height:1.8; margin-bottom:22px; }
.feature-text .section-label { margin-bottom:14px; }
.feature-bullets { list-style:none; }
.feature-bullet { display:flex; align-items:flex-start; gap:12px; margin-bottom:10px; font-size:0.875rem; color:var(--text-secondary); }
.feature-bullet::before { content:'→'; color:var(--gold); flex-shrink:0; }

/* newsletter alias */
.newsletter-box { background:rgba(255,255,255,0.025); border:1px solid var(--border-subtle); border-radius:var(--radius-xl); padding:48px; text-align:center; position:relative; overflow:hidden; }
.newsletter-box::before { content:''; position:absolute; top:0; left:25%; right:25%; height:1px; background:linear-gradient(90deg,transparent,var(--gold-bright),transparent); }
.newsletter-form { display:flex; gap:10px; max-width:400px; margin:22px auto 0; }
.newsletter-input { flex:1; padding:13px 20px; background:rgba(255,255,255,0.04); border:1px solid var(--border-subtle); border-radius:var(--radius-full); color:var(--text-primary); font-family:var(--font-body); font-size:0.875rem; outline:none; transition:border-color 0.2s; }
.newsletter-input::placeholder { color:var(--text-tertiary); }
.newsletter-input:focus { border-color:var(--gold); }

/* ======================================================
   CRITICAL FIX: .orb base class for inner pages
   inner pages use class="orb orb-1", index.html uses class="hero-orb orb-1"
   ====================================================== */
.orb {
  position: absolute; border-radius: 50%; filter: blur(100px);
  pointer-events: none; will-change: transform;
}

/* gradient-text alias → text-gradient */
.gradient-text {
  background: linear-gradient(120deg, var(--gold-bright) 0%, var(--gold) 45%, var(--purple-bright) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* fade-in-up alias → fade-up */
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* hero-bg inside page-hero: needs relative + overflow:hidden */
.hero-bg {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
}

/* page-hero needs relative positioning so .orb children can be absolute */
.page-hero { position: relative; }

/* ================================================================
   MOBILE — полная адаптация v3
   ================================================================ */

/* ─── ГЛОБАЛЬНО: предотвращаем переполнение текста везде ─── */
*, *::before, *::after {
  overflow-wrap: break-word;
  min-width: 0;
}

/* ─── Заголовки: адаптивный размер через clamp ─── */
h1 { font-size: clamp(2rem,   7.5vw, 5.5rem); }
h2 { font-size: clamp(1.6rem, 5.5vw, 3.2rem); }
h3 { font-size: clamp(1.15rem,3vw,   1.9rem); }
h4 { font-size: clamp(1rem,   2.5vw, 1.2rem); }

/* ── 1024px: планшет ── */
@media (max-width: 1024px) {
  .section { padding: 88px 0; }
  #featCards { grid-template-columns: repeat(2, 1fr) !important; }
  .feature-hl { gap: 40px; }
}

/* ── 768px: основной мобильный breakpoint ── */
@media (max-width: 768px) {

  /* ─ ОТСТУПЫ ─ */
  .section       { padding: 60px 0; }
  .section-sm    { padding: 42px 0; }
  .container     { padding: 0 20px; }
  .section-header { margin-bottom: 40px; }

  /* ─ НАВБАР ─ */
  .nav-logo { font-size: 1.25rem; }
  .nav-inner { padding: 0 20px; }

  /* ─ PAGE HERO (внутренние страницы) ─ */
  .page-hero          { padding: 115px 0 52px; }
  .page-hero h1       { font-size: clamp(1.85rem, 8vw, 3.6rem); margin-bottom: 12px; }
  .page-hero p        { font-size: 0.93rem; line-height: 1.72; max-width: 100%; }
  .page-hero .section-label,
  .page-hero .section-eyebrow { letter-spacing: 2px; }

  /* ─ HERO ГЛАВНАЯ ─ */
  .hero { padding-top: 105px !important; padding-bottom: 60px !important; }
  .hero-headline      { font-size: clamp(2rem, 8vw, 3.5rem) !important; line-height: 1.1; }
  .hero-subtitle      { font-size: 0.95rem; line-height: 1.75; max-width: 100%; }
  .hero-actions       { gap: 10px; flex-wrap: wrap; }
  .hero-badge         { font-size: 0.75rem; }
  /* плавающие чипы — убираем, вылетают за экран */
  .fc-1, .fc-2, .fc-3 { display: none !important; }
  .hero-visual-wrap   { margin-top: 10px; }
  .app-window         { border-radius: 14px; }

  /* ─ SECTION EYEBROW / LABEL ─ */
  .section-eyebrow,
  .section-label {
    font-size: 0.65rem;
    letter-spacing: 2px;
    padding: 5px 14px;
    white-space: normal;
    line-height: 1.5;
  }

  /* ─ SECTION HEADER ─ */
  .section-header h2  { font-size: clamp(1.5rem, 5.5vw, 3.2rem); margin-bottom: 12px; }
  .section-header p   { font-size: 0.88rem; line-height: 1.75; }

  /* ─ КАРТОЧКИ (общие) ─ */
  .card           { padding: 22px 18px; }
  .card p         { font-size: 0.85rem; line-height: 1.72; }
  .feat-card-big  { padding: 26px 22px; }
  .feat-card-big h3 { font-size: 1.2rem; margin-bottom: 8px; }
  .feat-card-big p  { font-size: 0.85rem; line-height: 1.7; }

  /* ─ FEATURE CARDS СЕТКА (главная) ─ */
  #featCards {
    grid-template-columns: 1fr !important;
    max-width: 100%;
  }

  /* ─ СОЛНЕЧНАЯ СИСТЕМА — масштабирование ─ */
  .solar-wrap {
    height: 320px !important;
    overflow: hidden;
  }
  .s-orbit-1 { width: 124px !important; height: 124px !important; margin-top: -62px !important; margin-left: -62px !important; }
  .s-orbit-2 { width: 202px !important; height: 202px !important; margin-top: -101px !important; margin-left: -101px !important; }
  .s-orbit-3 { width: 288px !important; height: 288px !important; margin-top: -144px !important; margin-left: -144px !important; }
  .cube-scene { width: 76px !important; height: 76px !important; }
  .cube-face  { width: 76px !important; height: 76px !important; }
  .cf-front { transform: rotateY(0deg)    translateZ(38px) !important; }
  .cf-back  { transform: rotateY(180deg)  translateZ(38px) !important; }
  .cf-right { transform: rotateY(90deg)   translateZ(38px) !important; }
  .cf-left  { transform: rotateY(-90deg)  translateZ(38px) !important; }
  .cf-top   { transform: rotateX(90deg)   translateZ(38px) !important; }
  .cf-bot   { transform: rotateX(-90deg)  translateZ(38px) !important; }
  .solar-card { display: none !important; }

  /* ─ STATS BAR ─ */
  .stat-n { font-size: 1.6rem !important; letter-spacing: -1.5px; }
  .stat-l { font-size: 0.7rem; }
  .stat-cell { padding: 22px 12px; }

  /* ─ NUM CARDS ─ */
  .num-val   { font-size: 2rem !important; letter-spacing: -1.5px; }
  .num-label { font-size: 0.78rem; }
  .num-sub   { font-size: 0.68rem; }
  .num-card  { padding: 26px 18px; }

  /* ─ TESTIMONIALS ─ */
  .t-card { padding: 24px 18px; }
  .t-text { font-size: 0.86rem; line-height: 1.72; }
  .t-name { font-size: 0.85rem; }
  .t-role { font-size: 0.72rem; }

  /* ─ PRICING ─ */
  .p-card         { padding: 28px 20px; }
  .p-card.featured { transform: none !important; }
  .p-card.featured:hover { transform: translateY(-5px) !important; }
  .pricing-grid   { max-width: 400px; margin: 0 auto; }
  .p-price        { font-size: 2.4rem; letter-spacing: -2px; }
  .p-desc         { font-size: 0.82rem; line-height: 1.65; }
  .p-feat         { font-size: 0.82rem; gap: 8px; }
  .p-tier         { font-size: 0.65rem; }

  /* ─ CTA ─ */
  .cta-box        { padding: 48px 22px; border-radius: var(--radius-xl); }
  .cta-box h2     { font-size: clamp(1.45rem, 6vw, 4rem); }
  .cta-box > p    { font-size: 0.9rem; line-height: 1.72; }
  .cta-actions    { flex-direction: column; align-items: center; gap: 10px; }
  .cta-actions .btn { width: 100%; max-width: 320px; justify-content: center; }

  /* ─ NEWSLETTER ─ */
  .nl-box, .newsletter-box { padding: 40px 22px; }

  /* ─ BLOG ─ */
  .blog-featured-content  { padding: 26px 20px !important; }
  .blog-featured-img      { min-height: 210px; }
  .blog-featured h2       { font-size: clamp(1.15rem, 4vw, 1.6rem); line-height: 1.3; }
  .b-content              { padding: 18px 18px; }
  .b-title                { font-size: 0.9rem; line-height: 1.45; }
  .b-excerpt              { font-size: 0.8rem; line-height: 1.65; }

  /* ─ FAQ ─ */
  .faq-wrap { max-width: 100%; }
  .faq-q    { font-size: 0.875rem; line-height: 1.5; padding: 16px 18px; }
  .faq-a    { font-size: 0.855rem; line-height: 1.75; padding-left: 18px; padding-right: 18px; }

  /* ─ COMPARE TABLE (прокрутка по горизонтали) ─ */
  .compare-table { min-width: 520px; }
  [style*="overflow-x:auto"] { -webkit-overflow-scrolling: touch; }

  /* ─ INTEGRATION GRID 6→3 колонки ─ */
  [style*="repeat(6,1fr)"] { grid-template-columns: repeat(3, 1fr) !important; }

  /* ─ TEAM ─ */
  .team-card { padding: 24px 14px; }
  .team-name { font-size: 0.88rem; }
  .team-role { font-size: 0.72rem; }
  .team-bio  { font-size: 0.74rem; line-height: 1.6; }
  .team-ava  { width: 64px; height: 64px; font-size: 1.2rem; }

  /* ─ FEATURE-HL (features page) ─ */
  .feature-text h3    { font-size: 1.55rem; }
  .feature-text > p   { font-size: 0.9rem; line-height: 1.75; }
  .feature-list li    { font-size: 0.84rem; line-height: 1.6; }

  /* ─ FOOTER ─ */
  footer              { padding: 52px 0 28px; }
  .footer-grid        { gap: 24px; }
  .footer-brand p     { font-size: 0.82rem; line-height: 1.65; }
  .footer-col h5      { font-size: 0.62rem; margin-bottom: 14px; }
  .footer-col a       { font-size: 0.82rem; margin-bottom: 8px; }
  .footer-bottom p,
  .footer-links a     { font-size: 0.73rem; }

  /* ─ TECH PILLS ─ */
  .glass-card[style*="border-radius:50px"] { padding: 8px 14px !important; }
  .glass-card[style*="border-radius:50px"] span { font-size: 0.75rem !important; }

  /* ─ BUTTONS ─ */
  .btn-lg { padding: 14px 26px; font-size: 0.92rem; }
  .btn    { font-size: 0.85rem; }
}

/* ── 480px: маленькие телефоны ── */
@media (max-width: 480px) {

  /* ─ ОТСТУПЫ ─ */
  .section    { padding: 50px 0; }
  .section-sm { padding: 34px 0; }
  .container  { padding: 0 16px; }
  .section-header { margin-bottom: 32px; }

  /* ─ HERO ─ */
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; text-align: center; }
  .hero-trust { gap: 8px; }
  .trust-text { font-size: 0.78rem; }

  /* ─ PAGE HERO ─ */
  .page-hero { padding: 96px 0 42px; }

  /* ─ APP WINDOW ─ */
  .app-sidebar { display: none; }
  .app-main    { padding: 10px; }
  .hero-img-card { height: 64px; }
  .style-pills { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }

  /* ─ STATS BAR (2 колонки, маленький шрифт) ─ */
  .stat-n    { font-size: 1.35rem !important; letter-spacing: -1px; }
  .stat-cell { padding: 18px 10px; }
  .stat-l    { font-size: 0.65rem; }

  /* ─ NUM CARDS ─ */
  .num-val  { font-size: 1.75rem !important; }
  .num-card { padding: 22px 14px; }

  /* ─ SOLAR ─ */
  .solar-wrap { height: 270px !important; }
  .s-orbit-3 { width: 240px !important; height: 240px !important; margin-top: -120px !important; margin-left: -120px !important; }

  /* ─ PRICING ─ */
  .p-price  { font-size: 2rem; }
  .pricing-toggle { flex-wrap: wrap; gap: 8px; justify-content: center; }
  .p-card.featured { transform: none !important; }

  /* ─ CTA ─ */
  .cta-box { padding: 38px 18px; }
  .cta-actions .btn { max-width: 100%; }

  /* ─ TEAM ─ */
  .team-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .team-card { padding: 20px 12px; }
  .team-ava  { width: 52px; height: 52px; font-size: 1rem; margin-bottom: 10px; }

  /* ─ BLOG ─ */
  .blog-featured-img { min-height: 170px; }
  .b-content { padding: 16px 14px; }

  /* ─ FAQ ─ */
  .faq-q { font-size: 0.84rem; padding: 14px 14px; }
  .faq-a { padding-left: 14px; padding-right: 14px; font-size: 0.83rem; }

  /* ─ TESTIMONIALS ─ */
  .t-card { padding: 20px 16px; }

  /* ─ FOOTER ─ */
  .footer-bottom { flex-direction: column; text-align: center; gap: 10px; }
  .footer-links  { justify-content: center; gap: 16px; flex-wrap: wrap; }

  /* ─ MARQUEE ─ */
  .marquee-item { font-size: 0.82rem !important; padding: 0 20px !important; }

  /* ─ SECTION LABEL ─ */
  .section-eyebrow,
  .section-label { font-size: 0.6rem; letter-spacing: 1.5px; padding: 5px 11px; }

  /* ─ BADGE ─ */
  .badge { font-size: 0.62rem; padding: 2px 9px; }

  /* ─ CARD padding ─ */
  .card { padding: 18px 14px; }
}
