* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-main: #05050a;
    --bg-deep: #090912;
    --bg-panel: rgba(12, 12, 22, 0.78);
    --bg-panel-2: rgba(16, 16, 28, 0.72);
    --line: rgba(179, 135, 255, 0.16);
    --line-strong: rgba(179, 135, 255, 0.30);
    --text-main: #f4f1ff;
    --text-soft: #a79fbe;
    --purple: #9b5cff;
    --purple-bright: #c896ff;
    --purple-deep: #6529d9;
    --green-ok: #72f4b8;
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.42);
    --glow: 0 0 35px rgba(155, 92, 255, 0.18);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background:
        radial-gradient(circle at top center, rgba(115, 54, 204, 0.16), transparent 26%),
        radial-gradient(circle at 20% 20%, rgba(90, 30, 170, 0.10), transparent 24%),
        linear-gradient(180deg, #040409 0%, #06060d 40%, #05050a 100%);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

#particleCanvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.site-wrap {
    position: relative;
    z-index: 2;
}

/* HERO */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 24px 80px;
    position: relative;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    width: 900px;
    height: 900px;
    left: 50%;
    top: 38%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(155, 92, 255, 0.18) 0%, rgba(155, 92, 255, 0.07) 32%, transparent 68%);
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 2;
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 32px;
    align-items: center;
}

.hero-content {
    background: linear-gradient(180deg, rgba(13, 13, 24, 0.62), rgba(8, 8, 14, 0.42));
    border: 1px solid rgba(179, 135, 255, 0.14);
    border-radius: 28px;
    padding: 42px 36px;
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow), var(--glow);
}

.eyebrow,
.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--purple-bright);
    font-weight: 700;
    margin-bottom: 16px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.8rem);
    line-height: 1.03;
    letter-spacing: -1.2px;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(170, 111, 255, 0.12);
}

.hero p {
    color: var(--text-soft);
    font-size: 1.04rem;
    line-height: 1.75;
    max-width: 760px;
    margin-bottom: 28px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.trust-points {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.trust-points span {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(179, 135, 255, 0.16);
    background: rgba(255,255,255,0.02);
    color: #d7c9ff;
    font-size: 0.92rem;
}

/* HERO PANEL */
.hero-panel {
    background: linear-gradient(180deg, rgba(10, 10, 18, 0.88), rgba(6, 6, 12, 0.84));
    border: 1px solid rgba(179, 135, 255, 0.18);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow), 0 0 24px rgba(155, 92, 255, 0.12);
    backdrop-filter: blur(16px);
}

.hero-panel-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(179, 135, 255, 0.10);
    background: rgba(255,255,255,0.02);
}

.panel-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: rgba(200, 150, 255, 0.65);
    box-shadow: 0 0 10px rgba(200, 150, 255, 0.28);
}

.hero-panel-body {
    padding: 22px 20px 12px;
    font-family: Consolas, Monaco, monospace;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #d7cff3;
}

.prompt {
    color: var(--purple-bright);
}

.terminal-line.success {
    color: var(--green-ok);
}

.terminal-line.muted {
    color: #9d96b6;
    margin-top: 12px;
}

.hero-panel-footer {
    padding: 0 20px 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.status-card {
    padding: 16px;
    border-radius: 18px;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(179, 135, 255, 0.12);
}

.status-label {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-soft);
    margin-bottom: 6px;
}

.status-card strong {
    font-size: 1rem;
    color: white;
}

/* BUTTONS */
.btn {
    text-decoration: none;
    border-radius: 14px;
    padding: 14px 24px;
    font-weight: 700;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 170px;
}

.btn-primary {
    color: white;
    background: linear-gradient(135deg, var(--purple-deep), var(--purple), var(--purple-bright));
    box-shadow:
        0 0 18px rgba(155, 92, 255, 0.30),
        0 12px 28px rgba(90, 38, 170, 0.32);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 0 28px rgba(200, 150, 255, 0.36),
        0 18px 40px rgba(90, 38, 170, 0.42);
}

.btn-secondary {
    color: var(--text-main);
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(179, 135, 255, 0.22);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    border-color: rgba(200, 150, 255, 0.50);
    box-shadow: 0 0 18px rgba(155, 92, 255, 0.16);
}

/* SECTIONS */
.featured,
.principles,
.ops-strip,
.cta-strip {
    padding: 95px 24px;
    position: relative;
}

.section-header {
    max-width: 840px;
    margin: 0 auto 44px;
    text-align: center;
}

.section-header h2,
.cta-box h2,
.ops-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 14px;
}

.section-header p,
.ops-text p,
.cta-box p {
    color: var(--text-soft);
    line-height: 1.75;
}

/* CARDS */
.card-grid {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 24px;
}

.glass-card {
    position: relative;
    background: linear-gradient(180deg, rgba(17, 17, 30, 0.76), rgba(9, 9, 18, 0.74));
    border: 1px solid rgba(179, 135, 255, 0.16);
    border-radius: 22px;
    padding: 28px;
    backdrop-filter: blur(14px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
}

.glass-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(200, 150, 255, 0.10), transparent 32%, transparent 70%, rgba(155, 92, 255, 0.08));
    pointer-events: none;
}

.glass-card:hover {
    transform: translateY(-8px);
    border-color: rgba(200, 150, 255, 0.28);
    box-shadow: 0 16px 35px rgba(0,0,0,0.34), 0 0 20px rgba(155, 92, 255, 0.14);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.glass-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.glass-card p {
    color: var(--text-soft);
    line-height: 1.7;
    margin-bottom: 18px;
}

.glass-card a {
    color: var(--purple-bright);
    text-decoration: none;
    font-weight: 700;
}

/* PRINCIPLES */
.principles-grid {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.principle-card {
    padding: 26px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(14, 14, 24, 0.84), rgba(9, 9, 16, 0.76));
    border: 1px solid rgba(179, 135, 255, 0.14);
    box-shadow: 0 12px 24px rgba(0,0,0,0.22);
}

.principle-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.principle-card p {
    color: var(--text-soft);
    line-height: 1.7;
}

/* OPS STRIP */
.ops-box {
    max-width: 1180px;
    margin: 0 auto;
    padding: 34px;
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(16, 16, 28, 0.86), rgba(8, 8, 14, 0.80));
    border: 1px solid rgba(179, 135, 255, 0.16);
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: center;
}

.ops-list {
    display: grid;
    gap: 14px;
}

.ops-item {
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(179, 135, 255, 0.12);
    color: #ddd4f7;
}

/* CTA */
.cta-box {
    max-width: 1180px;
    margin: 0 auto;
    padding: 34px;
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(19, 19, 32, 0.86), rgba(9, 9, 16, 0.78));
    border: 1px solid rgba(179, 135, 255, 0.16);
    box-shadow: var(--shadow), 0 0 22px rgba(155, 92, 255, 0.08);
    backdrop-filter: blur(14px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

/* FOOTER */
.footer {
    text-align: center;
    padding: 28px 20px 40px;
    color: #837b9d;
    font-size: 0.95rem;
}

/* RESPONSIVE */
@media (max-width: 980px) {
    .hero-grid,
    .ops-box {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 100px;
    }

    .hero-content,
    .hero-panel,
    .ops-box,
    .cta-box {
        border-radius: 22px;
    }

    .hero-content {
        padding: 28px 22px;
    }

    .hero-panel-footer {
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }
}