/* ===== PROMNIFY MAIN STYLES ===== */
/* Design: Deep space dark + electric violet + neon cyan accent */
/* Signature: Animated orbit rings on hero — unique to a "loop" product */

:root {
  --bg-900: #080714;
  --bg-800: #0d0b1e;
  --bg-700: #13102a;
  --bg-600: #1a1638;
  --surface: #1f1b45;
  --surface-light: #2a2560;
  --border: rgba(120, 100, 255, 0.18);
  --border-glow: rgba(120, 100, 255, 0.4);
  --violet: #7c5cfc;
  --violet-light: #9d82ff;
  --cyan: #00d4ff;
  --cyan-dim: rgba(0, 212, 255, 0.3);
  --text-primary: #f0eeff;
  --text-secondary: #a89fd8;
  --text-muted: #6b6290;
  --gradient: linear-gradient(135deg, #7c5cfc, #00d4ff);
  --gradient-soft: linear-gradient(135deg, rgba(124,92,252,0.15), rgba(0,212,255,0.1));
  --success: #00e676;
  --warning: #ffab00;
  --error: #ff4d6d;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 8px 40px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 40px rgba(124,92,252,0.25);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-900);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--violet-light); text-decoration: none; }
a:hover { color: var(--cyan); }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(8,7,20,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}
.nav.scrolled { background: rgba(8,7,20,0.98); }
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  gap: 28px;
  flex: 1;
}
.nav-links a {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-actions { display: flex; gap: 10px; margin-left: auto; }
.nav-hamburger { display: none; background: none; border: none; color: var(--text-primary); font-size: 22px; cursor: pointer; }

/* ===== BUTTONS ===== */
.btn-primary {
  background: var(--gradient);
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(124,92,252,0.4); }

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}
.btn-ghost:hover { border-color: var(--violet-light); color: var(--text-primary); }

.btn-hero {
  background: var(--gradient);
  color: #fff;
  border: none;
  padding: 16px 36px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.3px;
}
.btn-hero:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(124,92,252,0.5); }

.btn-hero-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-glow);
  padding: 16px 36px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Space Grotesk', sans-serif;
}
.btn-hero-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

.btn-sm { padding: 6px 14px; font-size: 12px; font-weight: 600; background: var(--surface); border: 1px solid var(--border); color: var(--text-secondary); border-radius: 6px; cursor: pointer; transition: all 0.2s; }
.btn-sm:hover { border-color: var(--violet); color: var(--text-primary); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.3;
}
.hero-glow {
  position: absolute;
  top: 20%;
  left: 10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124,92,252,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 2;
  max-width: 680px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124,92,252,0.1);
  border: 1px solid rgba(124,92,252,0.3);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  color: var(--violet-light);
  font-weight: 500;
  margin-bottom: 28px;
}
.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.6;transform:scale(0.85)} }

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
}
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: 'Space Mono', monospace; font-size: 28px; font-weight: 700; color: var(--text-primary); }
.stat-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.stat-div { width: 1px; height: 40px; background: var(--border); }

/* ===== HERO VISUAL — ORBIT RINGS (SIGNATURE) ===== */
.hero-visual {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  height: 520px;
  pointer-events: none;
}
.loop-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.loop-ring-1 { width: 200px; height: 200px; border-color: rgba(124,92,252,0.4); animation: spin 8s linear infinite; }
.loop-ring-2 { width: 320px; height: 320px; border-color: rgba(0,212,255,0.25); animation: spin 14s linear infinite reverse; }
.loop-ring-3 { width: 460px; height: 460px; border-color: rgba(124,92,252,0.15); animation: spin 22s linear infinite; }
@keyframes spin { from {transform: translate(-50%,-50%) rotate(0)} to {transform: translate(-50%,-50%) rotate(360deg)} }
.loop-center {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  font-size: 48px;
  filter: drop-shadow(0 0 20px var(--violet));
}
.loop-node {
  position: absolute;
  top: 50%; left: 50%;
  width: 36px; height: 36px;
  background: var(--surface);
  border: 1px solid var(--border-glow);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  animation: orbit 14s linear infinite;
  transform-origin: -160px 0;
  --a: 0deg;
  transform: translate(-50%, -50%) rotate(var(--a)) translateX(160px) rotate(calc(-1 * var(--a)));
}
.loop-node:nth-child(n+2) { animation-delay: calc(var(--i, 0) * -2.3s); }

/* ===== SECTIONS ===== */
.section { padding: 96px 0; }
.section-dark { padding: 96px 0; background: var(--bg-800); }
.section-label {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--violet-light);
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0.8;
}
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 700;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  line-height: 1.1;
}
.section-sub {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 56px;
  line-height: 1.7;
}

/* ===== CONCEPT GRID ===== */
.concept-grid {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.concept-card {
  flex: 1;
  min-width: 260px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  transition: all 0.3s;
}
.concept-card.active {
  border-color: var(--violet);
  box-shadow: var(--shadow-glow);
  background: linear-gradient(135deg, rgba(124,92,252,0.08), rgba(0,212,255,0.04));
}
.concept-icon { font-size: 36px; margin-bottom: 16px; }
.concept-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; border-radius: 4px; display: inline-block; padding: 3px 8px; }
.old-way { background: rgba(255,77,109,0.1); color: var(--error); }
.new-way { background: rgba(0,230,118,0.1); color: var(--success); }
.concept-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.concept-card p { color: var(--text-secondary); font-size: 14px; line-height: 1.6; }
.concept-arrow { font-size: 36px; color: var(--violet-light); flex-shrink: 0; }

/* ===== FEATURES GRID ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--bg-700);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s;
}
.feature-card:hover { border-color: var(--violet-light); transform: translateY(-3px); box-shadow: var(--shadow-glow); }
.feature-icon { font-size: 28px; margin-bottom: 14px; }
.feature-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ===== DEMO BOX ===== */
.demo-box {
  background: var(--bg-700);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}
.demo-header { background: var(--bg-600); padding: 14px 20px; display: flex; align-items: center; gap: 8px; }
.demo-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.demo-dot.red { background: #ff5f56; }
.demo-dot.yellow { background: #ffbd2e; }
.demo-dot.green { background: #27c93f; }
.demo-title { font-family: 'Space Mono', monospace; font-size: 12px; color: var(--text-muted); margin-left: 8px; }
.demo-body { padding: 24px; }
.demo-input-area label { font-size: 13px; color: var(--text-muted); display: block; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px; }
.demo-input-area textarea {
  width: 100%; background: var(--bg-900); border: 1px solid var(--border);
  border-radius: 8px; padding: 14px; color: var(--text-primary); font-family: 'Inter', sans-serif;
  font-size: 14px; resize: vertical; margin-bottom: 14px;
}
.demo-input-area textarea:focus { outline: none; border-color: var(--violet); }
.demo-output { margin-top: 20px; display: flex; flex-direction: column; gap: 14px; }
.demo-phase { background: var(--bg-900); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.phase-header { padding: 12px 16px; display: flex; align-items: center; gap: 10px; background: var(--bg-800); font-size: 13px; font-weight: 600; }
.phase-badge { background: var(--violet); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 4px; text-transform: uppercase; letter-spacing: 1px; }
.phase-content { padding: 16px; font-family: 'Space Mono', monospace; font-size: 12px; color: var(--cyan); line-height: 1.8; white-space: pre-wrap; min-height: 48px; }

/* ===== INTEGRATIONS ===== */
.integrations-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.int-group { background: var(--bg-700); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.int-group-title { font-size: 13px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.int-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.int-pill { padding: 5px 12px; border-radius: 100px; font-size: 12px; font-weight: 500; background: var(--bg-600); border: 1px solid var(--border); color: var(--text-secondary); transition: all 0.2s; }
.int-pill.active { background: rgba(124,92,252,0.12); border-color: rgba(124,92,252,0.4); color: var(--violet-light); }

/* ===== USE CASES ===== */
.usecases-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.tab-btn { padding: 8px 18px; border-radius: 8px; border: 1px solid var(--border); background: transparent; color: var(--text-muted); font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.2s; font-family: 'Inter', sans-serif; }
.tab-btn.active { background: rgba(124,92,252,0.15); border-color: var(--violet); color: var(--text-primary); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.usecase-card { background: var(--bg-700); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; }
.usecase-icon { font-size: 40px; margin-bottom: 16px; }
.usecase-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.usecase-card p { color: var(--text-secondary); font-size: 15px; line-height: 1.7; margin-bottom: 24px; }
.usecase-flow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-family: 'Space Mono', monospace; font-size: 12px; }
.usecase-flow span { background: rgba(124,92,252,0.1); border: 1px solid rgba(124,92,252,0.3); padding: 6px 12px; border-radius: 6px; color: var(--violet-light); }
.usecase-flow::before, .usecase-flow span:not(:last-child)::after { content: " → "; color: var(--text-muted); }

/* ===== PRICING ===== */
.pricing-toggle { display: flex; align-items: center; gap: 12px; margin-bottom: 40px; }
.toggle-label { font-size: 14px; color: var(--text-secondary); }
.toggle-switch { position: relative; width: 48px; height: 26px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; cursor: pointer; inset: 0; background: var(--bg-600); border-radius: 26px; border: 1px solid var(--border); transition: 0.3s; }
.toggle-slider:before { content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: var(--text-muted); border-radius: 50%; transition: 0.3s; }
input:checked + .toggle-slider { background: var(--gradient); }
input:checked + .toggle-slider:before { transform: translateX(22px); background: #fff; }
.badge-save { background: rgba(0,230,118,0.15); color: var(--success); font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 4px; margin-left: 4px; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin-bottom: 40px; }
.pricing-card { background: var(--bg-700); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; position: relative; transition: all 0.3s; }
.pricing-card.featured { border-color: var(--violet); box-shadow: var(--shadow-glow); background: linear-gradient(135deg, rgba(124,92,252,0.08), rgba(0,212,255,0.04)); }
.plan-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--gradient); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 14px; border-radius: 100px; white-space: nowrap; }
.plan-name { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--violet-light); margin-bottom: 10px; }
.plan-price { font-family: 'Space Grotesk', sans-serif; font-size: 42px; font-weight: 700; letter-spacing: -1px; margin-bottom: 12px; }
.plan-price span { font-size: 16px; color: var(--text-muted); font-weight: 400; }
.plan-desc { font-size: 14px; color: var(--text-secondary); margin-bottom: 24px; line-height: 1.5; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.plan-features li { font-size: 14px; color: var(--text-secondary); }
.btn-plan { width: 100%; padding: 13px; border-radius: 8px; border: 1px solid var(--border); background: transparent; color: var(--text-primary); font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.2s; font-family: 'Inter', sans-serif; }
.btn-plan:hover { border-color: var(--violet-light); background: rgba(124,92,252,0.08); }
.btn-plan-featured { width: 100%; padding: 13px; border-radius: 8px; border: none; background: var(--gradient); color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.2s; font-family: 'Inter', sans-serif; }
.btn-plan-featured:hover { box-shadow: 0 8px 30px rgba(124,92,252,0.4); transform: translateY(-1px); }
.payment-methods { text-align: center; }
.payment-methods p { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; }
.payment-logos { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.pay-badge { background: var(--bg-600); border: 1px solid var(--border); padding: 6px 14px; border-radius: 8px; font-size: 13px; color: var(--text-secondary); }

/* ===== ECOSYSTEM ===== */
.ecosystem-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.eco-card { background: var(--bg-700); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; text-align: center; transition: all 0.3s; cursor: pointer; display: block; }
.eco-card:hover { border-color: var(--violet-light); transform: translateY(-3px); box-shadow: var(--shadow-glow); }
.eco-card.placeholder { border-style: dashed; opacity: 0.5; cursor: default; }
.eco-card.placeholder:hover { transform: none; box-shadow: none; }
.eco-icon { font-size: 28px; margin-bottom: 8px; }
.eco-name { font-size: 14px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.eco-desc { font-size: 11px; color: var(--text-muted); margin-bottom: 10px; }
.eco-status { display: inline-block; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 4px; text-transform: uppercase; letter-spacing: 1px; }
.eco-status.live { background: rgba(0,230,118,0.1); color: var(--success); }
.eco-status.soon { background: rgba(255,171,0,0.1); color: var(--warning); }

/* ===== QUOTES ===== */
.quotes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.quote-card { background: var(--bg-700); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; border-left: 3px solid var(--violet); }
.quote-text { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.quote-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 40px; height: 40px; background: var(--gradient); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: #fff; flex-shrink: 0; }
.author-name { font-size: 14px; font-weight: 700; color: var(--text-primary); }
.author-role { font-size: 12px; color: var(--text-muted); }

/* ===== CTA ===== */
.section-cta { padding: 96px 0; background: var(--bg-800); }
.cta-inner { text-align: center; position: relative; max-width: 600px; margin: 0 auto; }
.cta-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 500px; height: 300px; background: radial-gradient(ellipse, rgba(124,92,252,0.2), transparent 70%); pointer-events: none; }
.cta-inner h2 { font-family: 'Space Grotesk', sans-serif; font-size: 42px; font-weight: 700; letter-spacing: -1px; margin-bottom: 16px; position: relative; }
.cta-inner p { color: var(--text-secondary); font-size: 16px; margin-bottom: 36px; position: relative; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ===== FOOTER ===== */
.footer { padding: 64px 0 32px; background: var(--bg-900); border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo { font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 700; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 20px; }
.footer-social { display: flex; gap: 14px; }
.footer-social a { font-size: 13px; color: var(--text-secondary); }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--text-muted); margin-bottom: 4px; }
.footer-col a { font-size: 14px; color: var(--text-secondary); transition: color 0.2s; }
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; font-size: 12px; color: var(--text-muted); flex-wrap: wrap; gap: 8px; }

/* ===== AUTH MODAL ===== */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.85); backdrop-filter: blur(12px); z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal-box { background: var(--bg-800); border: 1px solid var(--border-glow); border-radius: var(--radius-lg); padding: 40px; width: 100%; max-width: 440px; position: relative; }
.modal-close { position: absolute; top: 16px; right: 16px; background: none; border: none; color: var(--text-muted); font-size: 18px; cursor: pointer; line-height: 1; }
.modal-logo { font-family: 'Space Grotesk', sans-serif; font-size: 22px; font-weight: 700; margin-bottom: 20px; }
.modal-box h2 { font-family: 'Space Grotesk', sans-serif; font-size: 26px; font-weight: 700; margin-bottom: 8px; }
.modal-sub { font-size: 14px; color: var(--text-secondary); margin-bottom: 24px; }
.modal-box input, .modal-box select, .modal-box textarea { width: 100%; background: var(--bg-900); border: 1px solid var(--border); border-radius: 8px; padding: 13px 16px; color: var(--text-primary); font-family: 'Inter', sans-serif; font-size: 14px; margin-bottom: 12px; }
.modal-box input:focus, .modal-box select:focus { outline: none; border-color: var(--violet); }
.btn-modal { width: 100%; padding: 14px; background: var(--gradient); color: #fff; border: none; border-radius: 8px; font-size: 15px; font-weight: 700; cursor: pointer; font-family: 'Space Grotesk', sans-serif; transition: all 0.2s; margin-top: 4px; }
.btn-modal:hover { box-shadow: 0 8px 30px rgba(124,92,252,0.4); }
.modal-switch { font-size: 13px; color: var(--text-muted); margin-top: 16px; text-align: center; }
.modal-error { font-size: 13px; color: var(--error); padding: 10px; background: rgba(255,77,109,0.08); border-radius: 6px; border: 1px solid rgba(255,77,109,0.2); }
.modal-success-icon { font-size: 48px; margin-bottom: 16px; }

/* ===== DEV GATE ===== */
.gate-overlay { position: fixed; inset: 0; background: var(--bg-900); z-index: 99999; display: flex; align-items: center; justify-content: center; }
.gate-box { background: var(--bg-800); border: 1px solid var(--border-glow); border-radius: var(--radius-lg); padding: 48px; text-align: center; width: 380px; }
.gate-logo { font-family: 'Space Grotesk', sans-serif; font-size: 28px; font-weight: 700; margin-bottom: 8px; }
.gate-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }
.gate-box input { width: 100%; background: var(--bg-900); border: 1px solid var(--border); border-radius: 8px; padding: 13px 16px; color: var(--text-primary); font-size: 15px; text-align: center; margin-bottom: 12px; }
.gate-box input:focus { outline: none; border-color: var(--violet); }
.gate-box button { width: 100%; padding: 13px; background: var(--gradient); color: #fff; border: none; border-radius: 8px; font-size: 15px; font-weight: 700; cursor: pointer; }

/* ===== DASHBOARD ===== */
.dash-nav { background: var(--bg-800); border-bottom: 1px solid var(--border); padding: 0; position: sticky; top: 0; z-index: 100; }
.dash-nav .nav-inner { height: 56px; }
.dash-user-info { display: flex; align-items: center; gap: 14px; margin-left: auto; font-size: 14px; color: var(--text-secondary); }
.dash-body { display: flex; min-height: calc(100vh - 56px); }
.dash-sidebar { width: 220px; background: var(--bg-800); border-right: 1px solid var(--border); padding: 24px 0; flex-shrink: 0; }
.dash-nav-items { display: flex; flex-direction: column; gap: 4px; padding: 0 12px; }
.dash-nav-item { display: block; padding: 10px 14px; border-radius: 8px; font-size: 14px; color: var(--text-secondary); cursor: pointer; transition: all 0.2s; font-weight: 500; }
.dash-nav-item:hover, .dash-nav-item.active { background: rgba(124,92,252,0.12); color: var(--text-primary); }
.dash-main { flex: 1; padding: 36px; overflow-y: auto; }
.dash-tab h2 { font-family: 'Space Grotesk', sans-serif; font-size: 28px; font-weight: 700; margin-bottom: 8px; }
.dash-desc { font-size: 14px; color: var(--text-secondary); margin-bottom: 28px; }
.dash-welcome { margin-bottom: 32px; }
.dash-welcome h2 { font-family: 'Space Grotesk', sans-serif; font-size: 26px; font-weight: 700; }
.dash-welcome p { color: var(--text-secondary); font-size: 14px; }
.dash-stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 36px; }
.dash-stat-card { background: var(--bg-800); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.dsc-num { font-family: 'Space Mono', monospace; font-size: 28px; font-weight: 700; color: var(--violet-light); }
.dsc-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }
.dash-recent h3 { font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.empty-state { text-align: center; padding: 48px; color: var(--text-muted); font-size: 14px; background: var(--bg-800); border: 1px dashed var(--border); border-radius: var(--radius); }
.create-form { max-width: 600px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; background: var(--bg-900); border: 1px solid var(--border); border-radius: 8px; padding: 12px 16px; color: var(--text-primary); font-family: 'Inter', sans-serif; font-size: 14px; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--violet); }
.form-group select option { background: var(--bg-900); }
.integrations-list { display: flex; flex-direction: column; gap: 14px; }
.int-item { background: var(--bg-800); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; display: flex; align-items: center; gap: 16px; }
.int-item-icon { font-size: 24px; }
.int-item-info { flex: 1; font-size: 14px; color: var(--text-secondary); }
.int-item-info strong { color: var(--text-primary); }
.analytics-placeholder { background: var(--bg-800); border: 1px dashed var(--border); border-radius: var(--radius-lg); padding: 80px; text-align: center; }
.analytics-empty { font-size: 15px; color: var(--text-muted); line-height: 1.8; }
.billing-card { background: var(--bg-800); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; margin-bottom: 20px; }
.billing-plan { font-size: 16px; margin-bottom: 10px; }
.billing-usage { font-size: 14px; color: var(--text-secondary); margin-bottom: 20px; }
.billing-actions { display: flex; gap: 12px; }
.payment-info { font-size: 13px; color: var(--text-muted); }
.settings-form { max-width: 500px; }
.loop-item { background: var(--bg-800); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; }
.loop-item-name { font-weight: 700; font-size: 14px; }
.loop-item-status { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 4px; }
.loop-item-status.active { background: rgba(0,230,118,0.1); color: var(--success); }
.loop-item-status.draft { background: rgba(255,171,0,0.1); color: var(--warning); }

/* ===== ADMIN ===== */
.admin-user-row { background: var(--bg-800); border: 1px solid var(--border); border-radius: 8px; padding: 14px 18px; margin-bottom: 8px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dash-stats-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg-900); border-bottom: 1px solid var(--border); padding: 16px 24px; z-index: 999; }
  .nav-hamburger { display: block; }
  .nav-actions .btn-ghost { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .dash-sidebar { display: none; }
  .dash-stats-row { grid-template-columns: 1fr 1fr; }
  .concept-arrow { display: none; }
  .hero-stats { flex-direction: column; gap: 16px; align-items: flex-start; }
  .stat-div { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .quotes-grid { grid-template-columns: 1fr; }
}
