/* ═══ SLYDEV STUDIOS — MAIN STYLESHEET ═══ */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=Space+Grotesk:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg: #080a0f;
  --bg2: #0d1117;
  --bg3: #111520;
  --surface: #161b27;
  --surface2: #1c2333;
  --border: #ffffff0f;
  --border2: #ffffff18;
  --text: #e2e8f0;
  --text2: #94a3b8;
  --text3: #475569;
  --accent: #f97316;
  --accent2: #fb923c;
  --blue: #3b82f6;
  --green: #22c55e;
  --red: #ef4444;
  --purple: #a855f7;
  --font: 'Space Grotesk', sans-serif;
  --font-display: 'Syne', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,.4);
  --shadow-lg: 0 8px 48px rgba(0,0,0,.5);
  --glow: 0 0 40px rgba(249,115,22,.15);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; color: #fff; }
h1 { font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.25rem; }
p { color: var(--text2); }
a { color: var(--accent); text-decoration: none; transition: all .2s; }
a:hover { color: var(--accent2); }
img { max-width: 100%; }

/* ── LAYOUT ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-4 { gap: 4px; } .gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.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; }
.mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; } .mb-32 { margin-bottom: 32px; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 10px; font-family: var(--font); font-weight: 600; font-size: 15px; cursor: pointer; transition: all .2s; border: none; text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 0 24px rgba(249,115,22,.3); }
.btn-primary:hover { background: var(--accent2); color: #fff; transform: translateY(-1px); box-shadow: 0 0 32px rgba(249,115,22,.5); }
.btn-outline { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.05); color: var(--text); border: 1px solid var(--border2); }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 18px 40px; font-size: 17px; }
.btn-full { width: 100%; justify-content: center; }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { background: #dc2626; color: #fff; }
.btn-success { background: var(--green); color: #fff; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ── CARDS ── */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; transition: all .25s; position: relative; overflow: hidden; }
.card:hover { border-color: var(--border2); transform: translateY(-2px); box-shadow: var(--shadow); }
.card-accent { border-top: 2px solid var(--accent); }
.card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(249,115,22,.4), transparent); opacity: 0; transition: opacity .3s; }
.card:hover::before { opacity: 1; }

/* ── FORMS ── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--text2); margin-bottom: 8px; letter-spacing: .04em; text-transform: uppercase; }
.form-input { width: 100%; background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; padding: 13px 16px; color: var(--text); font-family: var(--font); font-size: 15px; transition: border .2s; outline: none; }
.form-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(249,115,22,.1); }
.form-input::placeholder { color: var(--text3); }
.form-input.error { border-color: var(--red); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%2394a3b8' d='M8 11L2 5h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 40px; appearance: none; cursor: pointer; }
.form-error { font-size: 12px; color: var(--red); margin-top: 5px; }
.form-hint { font-size: 12px; color: var(--text3); margin-top: 5px; }
.checkbox-group { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.checkbox-group input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--accent); cursor: pointer; }

/* ── BADGES ── */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.badge-orange { background: rgba(249,115,22,.15); color: var(--accent); border: 1px solid rgba(249,115,22,.3); }
.badge-blue { background: rgba(59,130,246,.15); color: var(--blue); border: 1px solid rgba(59,130,246,.3); }
.badge-green { background: rgba(34,197,94,.15); color: var(--green); border: 1px solid rgba(34,197,94,.3); }
.badge-red { background: rgba(239,68,68,.15); color: var(--red); border: 1px solid rgba(239,68,68,.3); }
.badge-purple { background: rgba(168,85,247,.15); color: var(--purple); border: 1px solid rgba(168,85,247,.3); }
.badge-gray { background: rgba(255,255,255,.06); color: var(--text2); border: 1px solid var(--border); }

/* ── SECTION HEADERS ── */
.section-label { font-family: var(--font-mono); font-size: 12px; color: var(--accent); letter-spacing: .15em; text-transform: uppercase; margin-bottom: 12px; }
.section-title { margin-bottom: 20px; }
.section-subtitle { color: var(--text2); font-size: 18px; max-width: 600px; }
.section-header { margin-bottom: 60px; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin: 0 auto; }

/* ── NAVIGATION ── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; transition: all .3s; }
.nav.scrolled { background: rgba(8,10,15,.95); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-link { padding: 8px 14px; border-radius: 8px; color: var(--text2); font-size: 15px; font-weight: 500; transition: all .2s; }
.nav-link:hover, .nav-link.active { color: #fff; background: rgba(255,255,255,.06); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--text2); border-radius: 1px; transition: all .2s; }
.mobile-menu { display: none; position: fixed; inset: 0; top: 72px; background: rgba(8,10,15,.98); backdrop-filter: blur(20px); z-index: 999; padding: 32px 24px; flex-direction: column; gap: 8px; }
.mobile-menu.open { display: flex; }
.mobile-menu .nav-link { font-size: 18px; padding: 14px 16px; }

/* ── HERO ── */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; padding-top: 72px; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(249,115,22,.12), transparent), radial-gradient(ellipse 60% 40% at 80% 80%, rgba(59,130,246,.08), transparent); }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px); background-size: 60px 60px; }
.hero-content { position: relative; z-index: 1; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(249,115,22,.1); border: 1px solid rgba(249,115,22,.25); padding: 8px 16px; border-radius: 100px; font-size: 13px; color: var(--accent); font-weight: 600; margin-bottom: 28px; }
.hero-eyebrow::before { content: ''; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; animation: pulse 2s infinite; }
.hero h1 { background: linear-gradient(135deg, #fff 40%, rgba(255,255,255,.5)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 24px; }
.hero h1 span { -webkit-text-fill-color: var(--accent); }
.hero-desc { font-size: 19px; color: var(--text2); max-width: 580px; margin-bottom: 40px; line-height: 1.7; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.hero-stat-num { font-family: var(--font-display); font-size: 36px; font-weight: 800; color: #fff; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -0.5px; }
.hero-stat-label { font-size: 14px; color: var(--text3); margin-top: 4px; }

/* ── SERVICES / STORE ── */
.service-card { display: flex; flex-direction: column; }
.service-icon { width: 52px; height: 52px; background: rgba(249,115,22,.1); border: 1px solid rgba(249,115,22,.2); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.service-icon svg { width: 24px; height: 24px; stroke: var(--accent); }
.service-badge { position: absolute; top: 20px; right: 20px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 100px; letter-spacing: .05em; }
.service-price { font-family: var(--font-display); font-size: 32px; font-weight: 800; color: #fff; margin: 16px 0 4px; }
.service-billing { font-size: 13px; color: var(--text3); }
.service-features { list-style: none; margin: 20px 0 24px; flex: 1; }
.service-features li { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 14px; color: var(--text2); border-bottom: 1px solid var(--border); }
.service-features li:last-child { border-bottom: none; }
.service-features li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.service-category-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.cat-tab { padding: 10px 20px; border-radius: 100px; background: var(--surface); border: 1px solid var(--border); color: var(--text2); font-size: 14px; font-weight: 600; cursor: pointer; transition: all .2s; }
.cat-tab.active, .cat-tab:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ── PORTFOLIO ── */
.portfolio-item { position: relative; border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; }
.portfolio-img { width: 100%; height: 260px; object-fit: cover; background: var(--surface2); display: flex; align-items: center; justify-content: center; color: var(--text3); font-size: 48px; }
.portfolio-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.9), transparent); opacity: 0; transition: opacity .3s; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; }
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-item:hover .portfolio-img { transform: scale(1.03); transition: transform .4s; }

/* ── PRICING ── */
.pricing-card { text-align: center; transition: all .3s; }
.pricing-card.featured { border-color: var(--accent); box-shadow: var(--glow); transform: scale(1.04); }
.pricing-price { font-size: 52px; font-weight: 800; font-family: var(--font-display); color: #fff; line-height: 1; }
.pricing-price sup { font-size: 24px; }
.pricing-period { font-size: 15px; color: var(--text3); }

/* ── TESTIMONIALS ── */
.testimonial-card { position: relative; }
.testimonial-quote { font-size: 48px; color: var(--accent); opacity: .3; position: absolute; top: 16px; right: 24px; font-family: serif; line-height: 1; }
.testimonial-text { font-size: 16px; color: var(--text2); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; flex-shrink: 0; }
.testimonial-stars { color: #fbbf24; font-size: 13px; margin-bottom: 4px; }

/* ── FOOTER ── */
.footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 60px; }
.footer-logo { font-family: var(--font-display); font-size: 24px; font-weight: 800; color: #fff; margin-bottom: 16px; }
.footer-logo span { color: var(--accent); }
.footer-desc { color: var(--text3); font-size: 14px; line-height: 1.7; max-width: 280px; }
.footer-heading { font-size: 13px; font-weight: 700; color: #fff; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--text3); font-size: 14px; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 32px; border-top: 1px solid var(--border); flex-wrap: wrap; gap: 16px; }
.footer-copy { font-size: 13px; color: var(--text3); }
.social-links { display: flex; gap: 12px; }
.social-link { width: 38px; height: 38px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text3); transition: all .2s; }
.social-link:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ── COOKIE BANNER ── */
.cookie-banner { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); width: min(600px, calc(100vw - 48px)); background: var(--surface); border: 1px solid var(--border2); border-radius: var(--radius-lg); padding: 20px 24px; box-shadow: var(--shadow-lg); z-index: 9999; display: flex; align-items: center; gap: 20px; animation: slideUp .4s ease; }
.cookie-banner.hidden { display: none; }
.cookie-text { flex: 1; font-size: 14px; color: var(--text2); }
.cookie-text a { color: var(--accent); }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ── POPUP / MODAL ── */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.75); backdrop-filter: blur(6px); z-index: 9998; display: flex; align-items: center; justify-content: center; padding: 24px; animation: fadeIn .2s ease; }
.modal-overlay.hidden { display: none; }
.modal { background: var(--surface); border: 1px solid var(--border2); border-radius: var(--radius-lg); padding: 40px; max-width: 480px; width: 100%; position: relative; box-shadow: var(--shadow-lg); animation: scaleIn .2s ease; }
.modal-close { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border-radius: 8px; background: var(--bg2); border: 1px solid var(--border); cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--text3); font-size: 18px; transition: all .2s; }
.modal-close:hover { background: var(--red); color: #fff; border-color: var(--red); }
.modal-icon { width: 64px; height: 64px; background: rgba(249,115,22,.1); border: 1px solid rgba(249,115,22,.2); border-radius: 18px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.modal-icon svg { width: 32px; height: 32px; stroke: var(--accent); }

/* ── TOAST ── */
.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 10000; display: flex; flex-direction: column; gap: 10px; }
.toast { background: var(--surface); border: 1px solid var(--border2); border-radius: 12px; padding: 14px 20px; min-width: 280px; max-width: 380px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow); animation: slideLeft .3s ease; font-size: 14px; }
.toast.success { border-left: 3px solid var(--green); }
.toast.error { border-left: 3px solid var(--red); }
.toast.info { border-left: 3px solid var(--blue); }
.toast-icon { width: 20px; height: 20px; flex-shrink: 0; }
.toast.success .toast-icon { color: var(--green); }
.toast.error .toast-icon { color: var(--red); }
.toast.info .toast-icon { color: var(--blue); }

/* ── DASHBOARD LAYOUT ── */
.dash-layout { display: flex; min-height: 100vh; }
.dash-sidebar { width: 260px; background: var(--bg2); border-right: 1px solid var(--border); position: fixed; top: 0; bottom: 0; left: 0; display: flex; flex-direction: column; z-index: 100; overflow-y: auto; }
.dash-sidebar-logo { padding: 24px; border-bottom: 1px solid var(--border); }
.dash-nav { flex: 1; padding: 16px 12px; }
.dash-nav-section { font-size: 11px; font-weight: 700; color: var(--text3); letter-spacing: .1em; text-transform: uppercase; padding: 12px 12px 8px; }
.dash-nav-item { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 10px; color: var(--text2); font-size: 14px; font-weight: 500; cursor: pointer; transition: all .2s; margin-bottom: 2px; border: none; background: none; width: 100%; text-align: left; }
.dash-nav-item:hover, .dash-nav-item.active { background: rgba(249,115,22,.1); color: #fff; }
.dash-nav-item.active { color: var(--accent); }
.dash-nav-item svg { width: 18px; height: 18px; flex-shrink: 0; }
.dash-nav-badge { margin-left: auto; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 100px; }
.dash-main { flex: 1; margin-left: 260px; min-height: 100vh; }
.dash-header { background: var(--bg2); border-bottom: 1px solid var(--border); padding: 0 32px; height: 68px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 50; }
.dash-header-title { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: #fff; }
.dash-content { padding: 32px; }
.dash-logout { background: none; border: none; cursor: pointer; color: var(--text3); transition: color .2s; padding: 8px; border-radius: 8px; }
.dash-logout:hover { color: var(--red); background: rgba(239,68,68,.1); }

/* ── STATS CARDS ── */
.stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.stat-label { font-size: 12px; color: var(--text3); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.stat-value { font-family: var(--font-display); font-size: 36px; font-weight: 800; color: #fff; line-height: 1; }
.stat-sub { font-size: 13px; color: var(--text3); margin-top: 8px; }
.stat-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }

/* ── TABLES ── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
thead th { padding: 12px 16px; text-align: left; font-size: 12px; font-weight: 700; color: var(--text3); letter-spacing: .08em; text-transform: uppercase; border-bottom: 1px solid var(--border); white-space: nowrap; }
tbody td { padding: 14px 16px; font-size: 14px; color: var(--text2); border-bottom: 1px solid var(--border); }
tbody tr:hover td { background: rgba(255,255,255,.02); }
tbody tr:last-child td { border-bottom: none; }

/* ── CMD TERMINAL ── */
.terminal { background: #0a0a0a; border: 1px solid #1e1e1e; border-radius: var(--radius); font-family: var(--font-mono); overflow: hidden; }
.terminal-bar { background: #1a1a1a; padding: 10px 16px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid #1e1e1e; }
.terminal-dot { width: 12px; height: 12px; border-radius: 50%; }
.terminal-output { padding: 20px; height: 400px; overflow-y: auto; font-size: 13px; line-height: 1.8; }
.terminal-line { margin-bottom: 2px; }
.terminal-line.cmd { color: #f97316; }
.terminal-line.output { color: #94a3b8; }
.terminal-line.error { color: #ef4444; }
.terminal-line.success { color: #22c55e; }
.terminal-input-row { display: flex; align-items: center; gap: 8px; padding: 12px 20px; border-top: 1px solid #1e1e1e; background: #0f0f0f; }
.terminal-prompt { color: #f97316; font-size: 13px; font-family: var(--font-mono); white-space: nowrap; }
.terminal-input { flex: 1; background: none; border: none; outline: none; color: #e2e8f0; font-family: var(--font-mono); font-size: 13px; caret-color: #f97316; }

/* ── LIVE PREVIEW FRAME ── */
.preview-frame-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.preview-bar { background: var(--bg2); padding: 12px 16px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--border); }
.preview-dots { display: flex; gap: 6px; }
.preview-dot { width: 12px; height: 12px; border-radius: 50%; }
.preview-url { flex: 1; background: var(--bg3); border: 1px solid var(--border); border-radius: 8px; padding: 6px 12px; font-family: var(--font-mono); font-size: 12px; color: var(--text3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.preview-iframe { width: 100%; height: 500px; border: none; display: block; }
.preview-device-toggle { display: flex; gap: 4px; }
.device-btn { padding: 5px 10px; border-radius: 6px; border: 1px solid var(--border); background: none; color: var(--text3); cursor: pointer; font-size: 13px; transition: all .2s; }
.device-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ── SEO SCORE ── */
.seo-score-ring { width: 120px; height: 120px; position: relative; }
.seo-grade { font-family: var(--font-display); font-size: 48px; font-weight: 900; line-height: 1; }
.seo-check { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--border); }
.seo-check:last-child { border-bottom: none; }
.seo-check-icon { width: 28px; height: 28px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.seo-bar { height: 4px; border-radius: 2px; background: var(--bg3); margin-top: 6px; }
.seo-bar-fill { height: 100%; border-radius: 2px; transition: width .6s ease; }

/* ── MAP / LOCATION ── */
.location-dot { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text3); }
.location-dot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); flex-shrink: 0; }

/* ── ANIMATIONS ── */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideUp { from { opacity: 0; transform: translateX(-50%) translateY(20px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
@keyframes slideLeft { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(.95); } to { opacity: 1; transform: scale(1); } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes seoScan { 0% { transform: translateX(-100%); } 100% { transform: translateX(350%); } }

.animate-fade-up { animation: fadeUp .5s ease forwards; }
.animate-fade-up-delay-1 { animation: fadeUp .5s ease .1s both; }
.animate-fade-up-delay-2 { animation: fadeUp .5s ease .2s both; }
.animate-fade-up-delay-3 { animation: fadeUp .5s ease .3s both; }
.loading { animation: spin 1s linear infinite; }

/* ── UTILITIES ── */
.divider { height: 1px; background: var(--border); margin: 32px 0; }
.tag { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 6px; font-size: 12px; background: var(--bg3); color: var(--text3); border: 1px solid var(--border); }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dot-online { display: inline-flex; align-items: center; gap: 6px; }
.dot-online::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 6px var(--green); }
.dot-offline::before { background: var(--red); box-shadow: 0 0 6px var(--red); }
.dot-pending::before { background: #f59e0b; box-shadow: 0 0 6px #f59e0b; }
.hidden { display: none !important; }
.pointer { cursor: pointer; }
.select-none { user-select: none; }
.w-full { width: 100%; }
.overflow-hidden { overflow: hidden; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  h1 { font-size: 2.4rem; }
  h2 { font-size: 2rem; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 70px 0; }
  .dash-sidebar { position: fixed; left: -260px; top: 0; height: 100vh; z-index: 200; transition: left .25s ease; box-shadow: 4px 0 20px rgba(0,0,0,.6); }
  .dash-sidebar.open { left: 0; }
  .dash-main { margin-left: 0; }
  .dash-content { padding: 20px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; justify-content: center; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}


/* ── GOOGLE ADS ── */
.ad-slot { display: block; text-align: center; overflow: hidden; }
.ad-slot ins { display: block; }
.ad-banner { margin: 0 auto 32px; max-width: 728px; text-align: center; }
.ad-sidebar { position: sticky; top: 100px; }
.ad-in-content { margin: 32px auto; max-width: 640px; }

/* ADMIN MOBILE */
.admin-header-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.admin-hamburger { display: none; align-items: center; justify-content: center; background: none; border: 1px solid var(--border); color: var(--text); width: 36px; height: 36px; border-radius: 8px; cursor: pointer; font-size: 18px; flex-shrink: 0; }
.admin-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 199; }
.admin-overlay.open { display: block; }
@media(max-width: 768px) {
  .dash-main { margin-left: 0 !important; width: 100% !important; }
  .admin-hamburger { display: flex !important; }
  .admin-desktop-only { display: none !important; }
}

/* AD SLOTS */
.ad-banner { display: block; text-align: center; overflow: hidden; min-height: 90px; }
