:root {
    --navy: #07111f;
    --navy-2: #0c1730;
    --panel: rgba(255,255,255,.08);
    --panel-strong: rgba(255,255,255,.12);
    --white: #ffffff;
    --muted: #aab6c9;
    --line: rgba(255,255,255,.14);
    --blue: #19a7ff;
    --purple: #8e5bff;
    --pink: #d95cff;
    --green: #38e6b0;
    --shadow: 0 24px 80px rgba(0,0,0,.32);
    --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--white);
    background: radial-gradient(circle at 20% 0%, rgba(25,167,255,.22), transparent 34%), radial-gradient(circle at 76% 10%, rgba(142,91,255,.24), transparent 32%), var(--navy);
    line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
p { color: var(--muted); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px clamp(18px, 5vw, 68px);
    backdrop-filter: blur(18px);
    background: rgba(7,17,31,.76);
    border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 0; }
.brand-mark {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    box-shadow: 0 10px 30px rgba(25,167,255,.26);
}
.site-nav { display: flex; align-items: center; gap: 20px; color: #dce7f7; font-size: 15px; }
.site-nav a { opacity: .86; transition: opacity .2s, color .2s; }
.site-nav a:hover { opacity: 1; color: var(--white); }
.nav-cta, .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-weight: 700;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue), var(--purple));
    box-shadow: 0 14px 44px rgba(25,167,255,.2);
    cursor: pointer;
}
.btn.secondary {
    background: rgba(255,255,255,.08);
    border-color: var(--line);
    box-shadow: none;
}
.btn.ghost {
    background: transparent;
    border-color: var(--line);
    box-shadow: none;
}
.btn:hover, .nav-cta:hover { transform: translateY(-1px); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 5px auto; background: var(--white); }

.section { padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 68px); }
.section.tight { padding-top: 48px; padding-bottom: 48px; }
.container { width: min(1160px, 100%); margin: 0 auto; }
.eyebrow { color: var(--green); font-weight: 800; text-transform: uppercase; font-size: 13px; letter-spacing: .08em; }
h1, h2, h3 { line-height: 1.08; margin: 0; letter-spacing: 0; }
h1 { font-size: clamp(42px, 7vw, 82px); max-width: 920px; }
h2 { font-size: clamp(30px, 4.4vw, 52px); }
h3 { font-size: 22px; }
.lead { font-size: clamp(18px, 2.2vw, 23px); max-width: 800px; color: #d7e1ef; }
.hero {
    min-height: calc(100vh - 74px);
    display: grid;
    align-items: center;
    overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); gap: clamp(28px, 6vw, 76px); align-items: center; }
.hero-copy { animation: rise .7s ease both; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 18px; }
.global-pill { display: inline-flex; align-items: center; gap: 8px; color: #dfe8f5; padding: 10px 13px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.06); }

.hero-visual {
    min-height: 520px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(150deg, rgba(255,255,255,.13), rgba(255,255,255,.03));
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    animation: floatIn .9s ease both;
}
.network { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 54px 54px; mask-image: radial-gradient(circle, #000, transparent 72%); }
.ui-card { position: absolute; border: 1px solid var(--line); border-radius: 8px; background: rgba(8,18,34,.78); backdrop-filter: blur(16px); box-shadow: 0 18px 60px rgba(0,0,0,.26); }
.ui-card.browser { left: 38px; top: 46px; width: 74%; height: 210px; padding: 18px; }
.ui-card.analytics { right: 28px; bottom: 44px; width: 58%; padding: 18px; }
.ui-card.social { left: 30px; bottom: 92px; width: 42%; padding: 16px; }
.window-dots { display: flex; gap: 7px; margin-bottom: 18px; }
.window-dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--blue); opacity: .85; }
.bar { height: 11px; border-radius: 999px; background: rgba(255,255,255,.12); margin: 12px 0; overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--pink)); }
.campaign-node { position: absolute; width: 72px; height: 72px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; display: grid; place-items: center; background: rgba(25,167,255,.16); animation: pulse 2.4s infinite; }
.campaign-node.one { right: 76px; top: 88px; }
.campaign-node.two { left: 52%; top: 46%; animation-delay: .7s; }
.mini-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.mini-grid span { aspect-ratio: 1; border-radius: 8px; background: linear-gradient(135deg, rgba(25,167,255,.4), rgba(142,91,255,.28)); }

.grid { display: grid; gap: 18px; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    backdrop-filter: blur(16px);
    padding: 24px;
    transition: transform .2s, border-color .2s, background .2s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(25,167,255,.42); background: var(--panel-strong); }
.icon {
    width: 46px;
    height: 46px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    background: linear-gradient(135deg, rgba(25,167,255,.28), rgba(142,91,255,.3));
    color: var(--white);
    font-weight: 900;
}
.card-link { color: #76d3ff; font-weight: 800; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.check-list, .plain-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.check-list li, .plain-list li { color: #d8e4f3; padding-left: 30px; position: relative; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: linear-gradient(135deg, var(--green), var(--blue)); }
.plain-list li::before { content: ""; position: absolute; left: 0; top: 12px; width: 13px; height: 2px; background: var(--blue); }
.band { background: linear-gradient(90deg, rgba(25,167,255,.12), rgba(142,91,255,.12)); border-block: 1px solid var(--line); }
.page-hero { padding-top: 82px; }
.service-detail { display: grid; gap: 42px; }
.steps { counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); top: 0; width: 24px; height: 24px; display: grid; place-items: center; font-size: 13px; font-weight: 800; }

.form {
    display: grid;
    gap: 16px;
}
.field { display: grid; gap: 7px; }
label { font-weight: 700; color: #e7eef9; }
input, textarea, select {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255,255,255,.08);
    color: var(--white);
    padding: 12px 14px;
    font: inherit;
}
textarea { min-height: 150px; resize: vertical; }
select option { color: #111827; }
.honeypot { position: absolute; left: -10000px; opacity: 0; }
.notice { padding: 14px 16px; border-radius: 8px; border: 1px solid var(--line); background: rgba(56,230,176,.12); color: #dffff4; }
.error { background: rgba(255,90,120,.12); color: #ffe0e6; }

.blog-card img, .portfolio-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; background: linear-gradient(135deg, rgba(25,167,255,.25), rgba(142,91,255,.25)); }
.toc { border-left: 3px solid var(--blue); padding-left: 18px; }
.article { max-width: 840px; }
.article h2 { font-size: 30px; margin-top: 34px; }
.article p { font-size: 18px; }
.faq-item { border-top: 1px solid var(--line); padding: 18px 0; }

.site-footer { padding: 54px clamp(18px, 5vw, 68px) 24px; border-top: 1px solid var(--line); background: rgba(3,10,20,.68); }
.footer-grid { width: min(1160px,100%); margin: 0 auto; display: grid; grid-template-columns: 1.4fr repeat(3,1fr); gap: 28px; }
.site-footer a { display: block; color: #cdd9ea; margin: 8px 0; }
.footer-brand { margin-bottom: 14px; }
.footer-bottom { width: min(1160px,100%); margin: 34px auto 0; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; color: var(--muted); }
.footer-policies { display: flex; flex-wrap: wrap; gap: 12px 18px; justify-content: flex-end; }
.footer-policies a { margin: 0; }

.admin-body { background: #0b1220; }
.admin-shell { width: min(1100px, 100%); margin: 0 auto; padding: 34px 18px; }
.admin-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 28px; }
.admin-table { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: 8px; }
.admin-table th, .admin-table td { border-bottom: 1px solid var(--line); padding: 12px; text-align: left; color: #e7eef9; }
.admin-table th { background: rgba(255,255,255,.08); }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes floatIn { from { opacity: 0; transform: translateY(28px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes pulse { 0%,100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(25,167,255,.28); } 50% { transform: scale(1.04); box-shadow: 0 0 0 18px rgba(25,167,255,0); } }

@media (max-width: 920px) {
    .nav-toggle { display: block; }
    .site-nav {
        position: fixed;
        inset: 74px 14px auto 14px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 18px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: rgba(7,17,31,.96);
    }
    .site-nav.open { display: flex; }
    .hero-grid, .split, .grid.three, .grid.two, .footer-grid { grid-template-columns: 1fr; }
    .hero { min-height: auto; }
    .hero-visual { min-height: 430px; }
    .ui-card.browser { width: 82%; left: 18px; }
    .ui-card.analytics { width: 70%; }
}

@media (max-width: 560px) {
    .section { padding-left: 16px; padding-right: 16px; }
    .site-header { padding: 14px 16px; }
    .hero-visual { min-height: 360px; }
    .ui-card.browser { height: 170px; }
    .ui-card.social { width: 48%; bottom: 64px; }
    .campaign-node { width: 56px; height: 56px; }
    .footer-bottom { flex-direction: column; }
    .footer-policies { justify-content: flex-start; }
}
