/* DadroitAC - Dark Theme Landing Page */
:root {
  --bg: #050607;
  --bg-soft: #0a0c0d;
  --panel: #0e1214;
  --border: #151a1d;
  --text: #e6f2e9;
  --muted: #9bb5a6;
  --primary: #16a34a; /* green */
  --primary-600: #22c55e;
  --accent: #10b981; /* emerald */
  --success: #22c55e;
  --danger: #ef4444;
  --warning: #f59e0b;
  --shadow: 0 10px 30px rgba(0,0,0,0.45);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: linear-gradient(180deg, var(--bg), #0d1117 60%, #0b0d12);
  color: var(--text);
  line-height: 1.6;
}

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section.alt { background: radial-gradient(1200px 400px at 50% -50%, #142033 0%, rgba(20,32,51,0) 60%), var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 { font-size: 34px; margin: 0 0 10px; letter-spacing: 0.2px; }
.section-head p { color: var(--muted); margin: 0; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; backdrop-filter: blur(10px); background: rgba(11,13,18,0.6); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: 0.3px; }
.logo { width: 28px; height: 28px; }
.logo.sm { width: 22px; height: 22px; }
.brand-text { font-size: 16px; }
.nav { display: flex; align-items: center; gap: 18px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--text); }
.nav-toggle { display: none; background: transparent; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 4px 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border-radius: 10px; border: 1px solid var(--border); color: var(--text); text-decoration: none; font-weight: 600; box-shadow: var(--shadow); background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0)); }
.btn-small { padding: 8px 12px; font-size: 14px; }
.btn-primary { background: linear-gradient(180deg, var(--primary-600), var(--primary)); border-color: transparent; }
.btn-outline { background: transparent; }
.btn-primary:hover { filter: brightness(1.05); }
.btn-outline:hover { background: rgba(255,255,255,0.04); }
.w-100 { width: 100%; }

/* Hero */
.hero { position: relative; padding: 80px 0 100px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero-copy h1 { font-size: 42px; line-height: 1.15; margin: 0 0 14px; }
.hero-copy p { color: var(--muted); margin: 0 0 22px; }
.hero-actions { display: flex; gap: 12px; margin-bottom: 16px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { padding: 6px 10px; background: rgba(255,255,255,0.06); border: 1px solid var(--border); border-radius: 999px; color: var(--muted); font-size: 12px; }
.hero-art { display: flex; justify-content: center; }
.glass-card { width: 100%; max-width: 460px; background: linear-gradient(180deg, rgba(18,23,34,0.9), rgba(18,23,34,0.7)); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.gc-header { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: #0f1420; border-bottom: 1px solid var(--border); }
.dot { width: 10px; height: 10px; border-radius: 999px; display: inline-block; }
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #22c55e; }
.gc-title { margin-left: auto; color: var(--muted); font-size: 12px; letter-spacing: 0.3px; }
.gc-body { padding: 18px; }
.stats { list-style: none; padding: 0; margin: 0 0 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stats .label { color: var(--muted); font-size: 12px; }
.stats .value { font-weight: 700; }
.chart { height: 140px; background: linear-gradient(180deg, rgba(91,140,255,0.15), rgba(34,211,238,0.08)); border: 1px dashed rgba(154,166,178,0.25); border-radius: 12px; }
.gradient { position: absolute; inset: -10% -20% auto -20%; height: 320px; background: radial-gradient(500px 180px at 30% 0%, rgba(91,140,255,0.35), rgba(91,140,255,0) 60%), radial-gradient(600px 200px at 70% 0%, rgba(34,211,238,0.25), rgba(34,211,238,0) 60%); filter: blur(40px); opacity: 0.6; pointer-events: none; }

/* Features */
.grid { display: grid; gap: 18px; }
.features { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 18px; box-shadow: var(--shadow); }
.card h3 { margin: 12px 0 8px; }
.card p { margin: 0; color: var(--muted); }
.icon { width: 32px; height: 32px; border-radius: 8px; background: linear-gradient(180deg, rgba(34,197,94,0.25), rgba(16,185,129,0.12)); border: 1px solid var(--border); }
.icon.shield { mask: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"white\"><path d=\"M12 2l8 4v6c0 5-3.8 9.4-8 10-4.2-.6-8-5-8-10V6l8-4z\"/></svg>') no-repeat center / 70% 70%; }
.icon.link { mask: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"white\"><path d=\"M3.9 12a5 5 0 017.1-7.1l1 1-1.4 1.4-1-1A3 3 0 106 12l1 1-1.4 1.4-1-1A5 5 0 013.9 12zm8 0a5 5 0 017.1 7.1l-1 1-1.4-1.4 1-1A3 3 0 1018 12l-1-1 1.4-1.4 1 1a5 5 0 01-7.6 7.6l-1-1 1.4-1.4 1 1A5 5 0 0111.9 12z\"/></svg>') no-repeat center / 70% 70%; }
.icon.lock { mask: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"white\"><path d=\"M6 10V8a6 6 0 1112 0v2h1a1 1 0 011 1v9a1 1 0 01-1 1H5a1 1 0 01-1-1v-9a1 1 0 011-1h1zm2 0h8V8a4 4 0 10-8 0v2z\"/></svg>') no-repeat center / 70% 70%; }
.icon.speed { mask: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"white\"><path d=\"M12 3a9 9 0 00-9 9 9 9 0 0015.5 6.4l-1.4-1.4A7 7 0 115 12a7 7 0 0011.9 4.9L21 21l1.4-1.4-2.1-2.1A9 9 0 0012 3z\"/></svg>') no-repeat center / 70% 70%; }
.icon.cog { mask: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"white\"><path d=\"M12 8a4 4 0 100 8 4 4 0 000-8zm9.4 4.6l2.1 1.2-2 3.5-2.4-.4a7.9 7.9 0 01-1.4.9l-.5 2.4H9.2l-.5-2.4a7.9 7.9 0 01-1.4-.9l-2.4.4-2-3.5 2.1-1.2-.1-1.6L1.9 9l2-3.5 2.4.4c.4-.3.9-.6 1.4-.9l.5-2.4h4.6l.5 2.4c.5.3 1 .6 1.4.9l2.4-.4 2 3.5-2.1 1.2.1 1.6z\"/></svg>') no-repeat center / 70% 70%; }
.icon.support { mask: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"white\"><path d=\"M12 2a9 9 0 00-9 9v3a3 3 0 003 3h1v-8H6a6 6 0 0112 0h-1v8h1a3 3 0 003-3v-3a9 9 0 00-9-9zm-1 17h2v3h-2v-3z\"/></svg>') no-repeat center / 70% 70%; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; max-width: 760px; margin-inline: auto; }
.steps li { display: grid; grid-template-columns: 40px auto; gap: 12px; align-items: start; background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 14px; }
.step-number { width: 32px; height: 32px; background: linear-gradient(180deg, var(--primary-600), var(--primary)); border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }

/* Pricing */
.pricing { grid-template-columns: repeat(3, 1fr); }
.price-card { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 18px; position: relative; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.price { font-size: 28px; font-weight: 800; }
.price-card ul { margin: 0; padding: 0 0 0 18px; color: var(--muted); }
.price-card .ribbon { position: absolute; top: 14px; right: -12px; background: var(--accent); color: #03222a; padding: 6px 10px; font-weight: 800; border-radius: 8px; box-shadow: var(--shadow); }
.price-card.featured { border-color: rgba(34,197,94,0.5); box-shadow: 0 10px 40px rgba(16,185,129,0.18); }

/* FAQ */
.faq details { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { color: var(--muted); margin: 8px 0 0; }

/* CTA */
.cta { text-align: center; background: linear-gradient(180deg, rgba(16,185,129,0.12), rgba(34,197,94,0.12)); border: 1px solid var(--border); border-radius: 16px; padding: 24px; box-shadow: var(--shadow); }
.cta-actions { display: flex; gap: 12px; justify-content: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 18px 0; background: #0a0c10; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.footer-left { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.footer-right { display: flex; gap: 12px; }
.footer-right .muted { color: var(--muted); text-decoration: none; }
.footer-right .muted:hover { color: var(--text); }

/* Responsive */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: 1fr; }
  .nav { display: none; position: absolute; right: 20px; top: 64px; background: #0a0c10; border: 1px solid var(--border); border-radius: 12px; padding: 10px; flex-direction: column; width: 220px; }
  .nav a { padding: 8px; border-radius: 8px; }
  .nav a:hover { background: rgba(255,255,255,0.05); }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
}

/* Admin license progress */
.progress { height: 14px; border-radius: 999px; background: linear-gradient(180deg, #0a0f0c, #0b0f0c); border: 1px solid #142017; box-shadow: inset 0 2px 8px rgba(0,0,0,0.5); overflow: hidden; }
.progress-bar { height: 100%; width: 0%; background: linear-gradient(90deg, #059669, #22c55e); box-shadow: 0 0 12px rgba(34,197,94,0.45); transition: width .6s ease; }
.progress-label { display:flex; justify-content:space-between; align-items:center; margin-top:6px; color: var(--muted); font-size: 12px; }
.pill { display:inline-block; padding:4px 8px; border-radius:999px; border:1px solid var(--border); background:#0a0f0c; color:var(--text); font-size:12px; }
