:root {
    --bg: #070707;
    --panel: #553555;
    --panel-2: #2b1b2b;
    --text: #fff8ff;
    --muted: #d7bfd7;
    --line: rgba(255, 255, 255, .16);
    --purple: #553555;
    --purple-2: #7b517b;
    --accent: #553555;
    --accent-soft: #b58ab5;
    --green: #d7bfd7;
    --shadow: 0 24px 70px rgba(0, 0, 0, .38);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 20% 0%, rgba(85, 53, 85, .68), transparent 36rem),
        radial-gradient(circle at 90% 20%, rgba(85, 53, 85, .36), transparent 30rem),
        linear-gradient(135deg, #070707 0%, var(--bg) 48%, #170f17 100%);
    font-family: "Malgun Gothic", "Apple SD Gothic Neo", system-ui, sans-serif;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    content: "";
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(to bottom, #000, transparent 86%);
}

a {
    color: inherit;
    text-decoration: none;
}

.policy-box a,
.footer a {
    color: var(--accent-soft);
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid var(--line);
    background: rgba(7, 7, 7, .82);
    backdrop-filter: blur(18px);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 14px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 900;
}

.brand img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 8px;
}

.nav-links a {
    padding: 10px 14px;
    color: var(--muted);
    font-weight: 800;
    border-radius: 999px;
}

.nav-links a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, .08);
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 32px;
    width: min(1120px, calc(100% - 32px));
    min-height: 650px;
    margin: 0 auto;
    padding: 88px 0 64px;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 64px -24px 40px;
    z-index: -1;
    border: 1px solid var(--line);
    border-radius: 40px;
    background:
        linear-gradient(135deg, rgba(85, 53, 85, .52), rgba(7, 7, 7, .58)),
        linear-gradient(transparent 49%, rgba(255, 255, 255, .05) 50%, transparent 51%);
    box-shadow: var(--shadow);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--accent-soft);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.hero-logo {
    width: min(720px, 100%);
    margin: 8px 0 20px;
    filter: drop-shadow(0 18px 28px rgba(0, 0, 0, .42));
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 760px;
    margin-bottom: 18px;
    font-size: clamp(40px, 7vw, 78px);
    line-height: 1.02;
    letter-spacing: -.05em;
}

h2 {
    margin-bottom: 14px;
    font-size: clamp(32px, 4.4vw, 54px);
    letter-spacing: -.04em;
}

h3 {
    margin-bottom: 10px;
    font-size: 22px;
}

.hero-copy {
    max-width: 680px;
    color: var(--muted);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    font-weight: 900;
    border: 2px solid var(--line);
    border-radius: 16px;
}

.button.primary {
    color: #fff8ff;
    background: linear-gradient(135deg, #553555, #7b517b);
    border-color: rgba(181, 138, 181, .78);
}

.button.ghost {
    background: rgba(255, 255, 255, .08);
}

.profile-card {
    padding: 28px;
    text-align: center;
    background: rgba(255, 255, 255, .08);
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.profile-card img {
    width: 170px;
    height: 170px;
    object-fit: contain;
    margin-bottom: 18px;
    border-radius: 32px;
    background: rgba(0, 0, 0, .18);
}

.profile-card strong,
.profile-card span {
    display: block;
}

.profile-card strong {
    font-size: 28px;
    font-weight: 900;
}

.profile-card span {
    margin: 4px 0 18px;
    color: var(--accent-soft);
    font-weight: 900;
}

.profile-card p {
    color: var(--muted);
    font-weight: 700;
    line-height: 1.65;
}

.section {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 72px 0;
}

.section-title {
    margin-bottom: 26px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.card,
.policy-box,
.command-list {
    background: rgba(255, 255, 255, .075);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: 0 16px 44px rgba(0, 0, 0, .2);
}

.card {
    min-height: 220px;
    padding: 24px;
    background:
        linear-gradient(135deg, rgba(85, 53, 85, .56), rgba(7, 7, 7, .46)),
        rgba(255, 255, 255, .05);
    border-color: rgba(181, 138, 181, .34);
}

.card:hover {
    border-color: rgba(181, 138, 181, .78);
    box-shadow: 0 18px 48px rgba(85, 53, 85, .34);
    transform: translateY(-2px);
}

.card .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    color: #fff8ff;
    font-weight: 900;
    background: linear-gradient(135deg, #553555, #070707);
    border: 2px solid rgba(181, 138, 181, .72);
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(7, 7, 7, .42);
}

.card h3 {
    color: #fff8ff;
}

.card p,
.policy-box p,
.muted {
    color: var(--muted);
    font-weight: 700;
    line-height: 1.75;
}

.split {
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 28px;
    align-items: start;
}

.command-list {
    display: grid;
    gap: 10px;
    padding: 18px;
}

.command-list div {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 16px;
    align-items: center;
    padding: 14px 16px;
    background: rgba(0, 0, 0, .18);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
}

code {
    color: var(--green);
    font-size: 16px;
    font-weight: 900;
}

.command-list span {
    color: var(--text);
    font-weight: 800;
}

.policy {
    padding-top: 40px;
}

.policy-box {
    padding: 30px;
}

.policy-box h3 {
    color: #ffffff;
}

.footer {
    display: flex;
    align-items: center;
    gap: 18px;
    width: min(1120px, calc(100% - 32px));
    margin: 32px auto 0;
    padding: 30px 0 46px;
    color: var(--muted);
    border-top: 1px solid var(--line);
}

.footer img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.footer strong {
    color: var(--text);
}

.footer p {
    margin: 4px 0 0;
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .hero,
    .split {
        grid-template-columns: 1fr;
    }

    .profile-card {
        max-width: 420px;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .nav {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .nav-links {
        flex-wrap: wrap;
    }

    .hero {
        padding-top: 54px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .command-list div {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .policy-box {
        padding: 22px;
    }
}
