/* ================= RESET & BASE ================= */
*{box-sizing:border-box;margin:0;padding:0}
:root{
  --bg:#0a0a0f; --bg-gradient: radial-gradient(circle at 70% 30%, #1e1b4b 0%, #0a0a0f 60%);
  --panel:#12121a; --panel2:#1c1c26; --text:#f8fafc; --muted:#94a3b8;
  --line:rgba(255,255,255,0.08); --accent:#8b5cf6; --accent-hover:#7c3aed;
  --accent-glow:rgba(139, 92, 246, 0.4); --good:#10b981; --good-glow:rgba(16, 185, 129, 0.2);
  --glass-bg: rgba(20, 20, 30, 0.6); --glass-border: rgba(255, 255, 255, 0.1);
}
html{scroll-behavior:smooth}
body{
  background:var(--bg); background-image: var(--bg-gradient); background-attachment: fixed;
  color:var(--text); font-family:'Inter',system-ui,sans-serif; line-height:1.6; overflow-x:hidden;
}
a{color:inherit;text-decoration:none}
h1,h2,h3{font-family:'Space Grotesk',sans-serif;letter-spacing:-1px;line-height:1.1;color:#fff}

/* ================= HEADER ================= */
.site-header{
  position:sticky;top:0;z-index:100;display:flex;align-items:center;justify-content:space-between;
  gap:16px;padding:16px max(5vw,20px);background:rgba(10,10,15,.7);backdrop-filter:blur(20px);
  border-bottom:1px solid var(--line);
}
.brand{display:flex;align-items:center;gap:10px;font:700 18px 'Space Grotesk',sans-serif}
.brand-mark{width:32px;height:32px;border-radius:8px;background:linear-gradient(135deg,var(--accent),#d946ef);display:grid;place-items:center;color:#fff;font-size:18px;box-shadow:0 4px 15px var(--accent-glow)}
.brand-light{color:var(--muted);font-weight:500}
.site-header nav{display:flex;gap:24px;font-size:14px;color:var(--muted);font-weight:500}
.site-header nav a:hover,.site-header nav a.active{color:var(--text)}
.theme-toggle{border:1px solid var(--line);background:var(--panel2);color:var(--text);padding:8px 14px;border-radius:8px;font-size:13px;font-weight:500;transition:.2s}
.theme-toggle:hover{background:#2a2a35; border-color: var(--accent)}

/* ================= HERO ================= */
.hero-section { max-width: 1300px; margin: 0 auto; padding: 80px max(5vw,20px) 60px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #34d399; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 24px; }
.hero-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 10px var(--good-glow); }
.hero-title { font-size: clamp(48px, 6vw, 76px); margin-bottom: 24px; }
.hero-title span { color: #a78bfa; display: block; }
.hero-desc { color: var(--muted); font-size: clamp(16px, 2vw, 18px); max-width: 480px; margin-bottom: 40px; line-height: 1.7; }
.hero-actions { display: flex; gap: 16px; margin-bottom: 30px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 28px; border-radius: 12px; font-weight: 700; font-size: 15px; transition: .2s; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 25px var(--accent-glow); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn-secondary { background: var(--panel2); color: var(--text); border: 1px solid var(--line); }
.btn-secondary:hover { background: #2a2a35; border-color: #475569; transform: translateY(-2px); }
.trust-checks { display: flex; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 13px; font-weight: 500; }
.trust-checks span { display: flex; align-items: center; gap: 6px; }
.trust-checks span::before { content: "✓"; color: #34d399; font-weight: bold; }

/* Hero Visual */
.hero-visual { position: relative; height: 400px; display: flex; align-items: center; justify-content: center; perspective: 1000px; }
.visual-glow { position: absolute; width: 400px; height: 400px; background: var(--accent-glow); filter: blur(100px); border-radius: 50%; z-index: -1; }
.keyboard-3d { background: #151f32; border: 1px solid #3c4d65; border-radius: 16px; padding: 20px; width: 100%; max-width: 480px; box-shadow: 0 30px 60px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.1); transform: rotateY(-15deg) rotateX(10deg); transition: transform 0.5s ease; }
.hero-visual:hover .keyboard-3d { transform: rotateY(-5deg) rotateX(5deg) scale(1.02); }
.kb-row { display: flex; gap: 6px; margin-bottom: 6px; justify-content: center; }
.kb-key { background: #202e43; border: 1px solid #3c4d65; border-bottom: 3px solid #0f172a; color: #94a3b8; border-radius: 6px; height: 36px; min-width: 36px; flex: 1; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 600; }
.kb-key.highlight { background: #8b5cf6; border-color: #c4b5fd; color: #fff; box-shadow: 0 0 15px var(--accent-glow); border-bottom-width: 1px; transform: translateY(2px); }
.kb-key.space { flex: 5; }
.mouse-3d { position: absolute; bottom: 20px; right: 10px; width: 65px; height: 100px; background: #1e293b; border: 2px solid #64748b; border-radius: 35px 35px 30px 30px; box-shadow: 0 20px 40px rgba(0,0,0,0.8); transform: rotate(15deg); transition: transform 0.4s ease; z-index: 10; }
.hero-visual:hover .mouse-3d { transform: rotate(5deg) translateY(-10px); }
.mouse-line { position: absolute; top: 0; left: 50%; width: 1px; height: 40%; background: #64748b; }
.mouse-wheel { position: absolute; top: 15px; left: 50%; transform: translateX(-50%); width: 6px; height: 20px; background: #8b5cf6; border-radius: 3px; }

/* ================= TOOLS GRID ================= */
.tools-section { padding: 40px max(5vw,20px) 80px; max-width: 1300px; margin: 0 auto; }
.section-header { margin-bottom: 40px; text-align: center; }
.section-header h2 { font-size: 32px; margin-bottom: 10px; }
.section-header p { color: var(--muted); font-size: 16px; }
.tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.tool-card { background: var(--glass-bg); backdrop-filter: blur(20px); border: 1px solid var(--glass-border); border-radius: 16px; padding: 24px; transition: all 0.3s ease; display: flex; flex-direction: column; }
.tool-card:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.tool-icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(139, 92, 246, 0.1); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 16px; }
.tool-card h3 { font-size: 18px; margin-bottom: 8px; }
.tool-card p { color: var(--muted); font-size: 13px; margin-bottom: 16px; flex-grow: 1; }
.tool-link { font-size: 13px; font-weight: 600; color: #a78bfa; display: flex; align-items: center; gap: 6px; }

/* ================= SEO CONTENT (For Legal Pages) ================= */
.content-wrap { max-width: 860px; margin: 0 auto 60px; padding: 40px max(5vw,20px); }
.content-wrap h1 { font-size: 36px; margin-bottom: 20px; }
.content-wrap h2 { font-size: 24px; margin: 32px 0 16px; }
.content-wrap p { color: var(--muted); font-size: 16px; margin-bottom: 20px; }
.content-wrap ul { color: var(--muted); font-size: 16px; padding-left: 24px; margin-bottom: 20px; }
.content-wrap li { margin-bottom: 8px; }

/* ================= AD SLOT ================= */
.ad-container { max-width: 1000px; margin: 0 auto 40px; min-height: 90px; background: rgba(255,255,255,0.02); border: 1px dashed var(--line); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 12px; position: relative; }
.ad-container::before { content: "Advertisement"; position: absolute; top: 8px; left: 12px; font-size: 10px; color: rgba(255,255,255,0.3); }

/* ================= FOOTER ================= */
footer { border-top: 1px solid var(--line); padding: 40px max(5vw,20px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 14px; background: #0a0a0f; }
footer .links { display: flex; gap: 24px; flex-wrap: wrap; }
footer .links a:hover { color: var(--text); }

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .hero-section { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-desc { margin: 0 auto 30px; }
  .hero-actions { justify-content: center; }
  .trust-checks { justify-content: center; }
  .keyboard-3d { transform: none; }
  .site-header { flex-direction: column; gap: 12px; }
  .site-header nav { flex-wrap: wrap; justify-content: center; }
}