:root {
    --bg: #0a0f16;
    --bg-2: #141c29;
    --surface: rgba(255, 255, 255, 0.03);
    --surface-2: rgba(255, 255, 255, 0.06);
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.12);
    --text-main: #f8fafc;
    --text-sub: #94a3b8;
    --accent: #6366f1;
    --accent-2: #3b82f6;
    --accent-3: #2dd4bf;
    --font-main: "Pretendard", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --container: 1200px;
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 12px;
    --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.28);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(100% 100% at 50% 0%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, #0a0f16, #101722 38%, #0a0f16 100%);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    word-break: keep-all;
    -webkit-font-smoothing: antialiased;
}

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid rgba(99, 102, 241, 0.95);
    outline-offset: 3px;
}

.page-shell {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
}

.glass-panel {
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.45s ease, transform 0.45s ease;
}

.glass-panel:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(99, 102, 241, 0.12);
}

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0;
}

.brand {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.site-nav {
    display: flex;
    gap: 24px;
}

.site-nav a {
    color: var(--text-sub);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.88fr);
    gap: 28px;
    align-items: center;
    padding: 48px 0 72px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-sub);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 32px;
    height: 1px;
    background: currentColor;
}

.hero-copy h1 {
    max-width: 700px;
    margin-top: 18px;
    font-size: clamp(44px, 5.5vw, 64px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.12;
}

.hero-lead {
    max-width: 660px;
    margin-top: 22px;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.92);
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.01em;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #09111b;
}

.button-secondary {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--line-strong);
    color: var(--text-main);
}

.hero-visual {
    position: relative;
    min-height: 460px;
    overflow: hidden;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.stack-container {
    position: relative;
    width: 100%;
    max-width: 420px;
    transform: rotateX(10deg) rotateY(-15deg);
    transform-style: preserve-3d;
}

.layer {
    border-radius: 16px;
    padding: 22px;
    border: 1px solid var(--line);
}

.base-layer {
    background: rgba(255, 255, 255, 0.02);
    opacity: 0.68;
    transform: translateZ(0);
}

.base-label {
    color: var(--text-sub);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.mock-table {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.mock-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    font-size: 14px;
}

.mock-row.dim {
    opacity: 0.54;
}

.pyne-layer {
    position: absolute;
    top: 34px;
    right: -18px;
    width: min(100%, 310px);
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(99, 102, 241, 0.28);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
    transform: translateZ(40px);
}

.ai-layer::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    background-size: 200% 100%;
    animation: flow 3s linear infinite;
    z-index: -1;
}

@keyframes flow {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

.insight-badge {
    color: #c7d2fe;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.pyne-layer strong {
    display: block;
    margin-top: 12px;
    font-size: 24px;
    line-height: 1.24;
    letter-spacing: -0.02em;
}

.pyne-layer p {
    margin-top: 10px;
    color: var(--text-sub);
    font-size: 14px;
}

.pyne-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.pyne-tags span {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.12);
    color: #e0e7ff;
    font-size: 12px;
    font-weight: 700;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(14px);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.section {
    padding: 96px 0;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-bottom: 28px;
}

.section-head h2 {
    max-width: 700px;
    margin-top: 14px;
    font-size: clamp(34px, 4.2vw, 48px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.18;
}

.section-head p {
    max-width: 520px;
    color: var(--text-sub);
    font-size: 17px;
}

.problem-grid,
.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.problem-card,
.trust-card,
.solution-card {
    padding: 20px;
    border-radius: var(--radius-lg);
}

.problem-card h3,
.trust-card h3,
.solution-card h3 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.24;
}

.problem-card p,
.trust-card p,
.solution-card p {
    margin-top: 10px;
    color: var(--text-sub);
    font-size: 15px;
}

.solution-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
    gap: 18px;
    align-items: stretch;
}

.solution-visual {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    border-radius: var(--radius-xl);
}

.old-ui {
    position: absolute;
    left: 26px;
    right: 180px;
    top: 30px;
    bottom: 30px;
    border-radius: 18px;
    background: rgba(6, 10, 19, 0.82);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 18px;
}

.old-ui-bar {
    height: 44px;
    border-radius: 12px;
    background: rgba(255,255,255,0.06);
}

.old-ui-table {
    display: grid;
    grid-template-columns: 1.3fr .8fr .8fr;
    gap: 10px;
    align-items: center;
    margin-top: 16px;
    padding: 14px;
    border-radius: 12px;
    background: rgba(255,255,255,0.04);
    font-size: 13px;
}

.old-ui-table.dim {
    opacity: 0.64;
}

.overlay-card {
    position: absolute;
    right: 28px;
    top: 84px;
    width: 260px;
    padding: 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(0, 229, 255, 0.18), rgba(37, 99, 235, 0.14));
    border: 1px solid rgba(0, 229, 255, 0.18);
}

.overlay-title {
    color: #b7fbff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.overlay-card strong {
    display: block;
    margin-top: 10px;
    font-size: 18px;
    line-height: 1.35;
}

.overlay-card p {
    margin-top: 10px;
    color: rgba(255,255,255,0.76);
    font-size: 14px;
}

.solution-points {
    display: grid;
    gap: 14px;
}

.use-cases-shell {
    padding: 20px;
    border-radius: var(--radius-xl);
}

.use-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255,255,255,0.03);
}

.use-tab {
    border: none;
    background: transparent;
    color: var(--text-sub);
    cursor: pointer;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.use-tab.is-active {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #07121b;
}

.use-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
    gap: 18px;
    margin-top: 22px;
}

.use-panel,
.preview-panel {
    display: none;
}

.use-panel.is-active,
.preview-panel.is-active {
    display: block;
}

.panel-tag {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(0, 229, 255, 0.1);
    color: #b7fbff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.use-panel h3 {
    max-width: 580px;
    margin-top: 16px;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.24;
    letter-spacing: -0.02em;
}

.use-panel p {
    max-width: 580px;
    margin-top: 14px;
    color: var(--text-sub);
    font-size: 16px;
}

.use-panel ul {
    display: grid;
    gap: 10px;
    margin: 18px 0 24px;
    padding-left: 18px;
    color: rgba(255,255,255,0.88);
    font-size: 15px;
}

.use-preview {
    min-height: 360px;
}

.preview-panel {
    height: 100%;
}

.mini-window,
.mini-medical,
.mini-signal {
    position: relative;
    min-height: 360px;
    height: 100%;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.08);
}

.mini-window {
    padding: 20px;
}

.mini-window-bar {
    height: 48px;
    border-radius: 14px;
    background: rgba(255,255,255,0.06);
}

.mini-window-table {
    display: grid;
    grid-template-columns: 1.3fr .6fr .8fr;
    gap: 10px;
    align-items: center;
    margin-top: 18px;
    padding: 16px;
    border-radius: 14px;
    background: rgba(255,255,255,0.08);
}

.mini-insight {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(0, 229, 255, 0.14);
    border: 1px solid rgba(0, 229, 255, 0.14);
    color: rgba(255,255,255,0.94);
    font-size: 14px;
}

.mini-medical,
.mini-signal {
    background: linear-gradient(180deg, rgba(7, 12, 23, 0.94), rgba(19, 30, 44, 0.84));
}

.scan-line {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 229, 255, 0.24) 48%, rgba(0, 229, 255, 0.04) 52%, transparent 100%);
    transform: translateX(-100%);
    animation: scanMove 4s linear infinite;
}

@keyframes scanMove {
    from { transform: translateX(-100%); }
    to { transform: translateX(100%); }
}

.scan-hotspot {
    position: absolute;
    border-radius: 999px;
    border: 1px solid rgba(103, 232, 249, 0.9);
    background: radial-gradient(circle, rgba(103, 232, 249, 0.26), rgba(103, 232, 249, 0.04) 62%, transparent 72%);
    box-shadow: 0 0 24px rgba(103, 232, 249, 0.16);
}

.scan-hotspot-a {
    width: 124px;
    height: 124px;
    left: 16%;
    top: 34%;
}

.scan-hotspot-b {
    width: 90px;
    height: 90px;
    right: 20%;
    top: 22%;
}

.signal-wave {
    position: absolute;
    inset: 24px 24px 96px;
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
    border-radius: 18px;
}

.signal-wave::before {
    content: "";
    position: absolute;
    inset: 50% 18px auto 18px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.9), transparent);
    box-shadow: 0 0 22px rgba(0, 229, 255, 0.3);
}

.signal-badges {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 62px;
    display: flex;
    gap: 10px;
}

.signal-badges span {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.92);
    font-size: 13px;
    font-weight: 700;
}

.contact-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: end;
    padding: 28px;
    border-radius: 24px;
}

.contact-card h2 {
    max-width: 640px;
    margin-top: 14px;
    font-size: clamp(34px, 4.2vw, 48px);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.03em;
}

.contact-card p {
    max-width: 660px;
    margin-top: 14px;
    color: var(--text-sub);
    font-size: 16px;
}

.contact-actions {
    display: grid;
    gap: 12px;
    justify-items: end;
}

.contact-email {
    color: rgba(255,255,255,0.78);
    font-size: 15px;
    font-weight: 700;
}

.site-footer {
    padding: 34px 0 60px;
}

.site-footer p {
    color: rgba(148, 163, 184, 0.72);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@media (max-width: 1100px) {
    .hero,
    .section-head,
    .solution-grid,
    .use-grid,
    .contact-card {
        grid-template-columns: 1fr;
    }

    .problem-grid,
    .trust-grid {
        grid-template-columns: 1fr;
    }

    .contact-actions {
        justify-items: start;
    }
}

@media (max-width: 720px) {
    .page-shell {
        width: min(var(--container), calc(100% - 28px));
    }

    .site-header {
        flex-direction: column;
        align-items: start;
        gap: 14px;
    }

    .site-nav {
        flex-wrap: wrap;
        gap: 14px;
    }

    .hero {
        padding: 24px 0 42px;
    }

    .hero-copy h1 {
        font-size: 40px;
    }

    .hero-lead,
    .section-head p,
    .use-panel p,
    .contact-card p {
        font-size: 15px;
    }

    .section {
        padding: 74px 0;
    }

    .hero-visual,
    .solution-visual,
    .use-preview {
        min-height: 320px;
    }

    .stack-container {
        max-width: none;
        transform: none;
    }

    .pyne-layer {
        position: absolute;
        right: 18px;
        left: 18px;
        top: auto;
        bottom: 18px;
        width: auto;
    }

    .use-cases-shell,
    .problem-card,
    .trust-card,
    .solution-card,
    .contact-card {
        padding: 18px;
    }

    .use-panel h3 {
        font-size: 26px;
    }

    .hero-actions,
    .contact-actions {
        width: 100%;
    }

    .button {
        width: 100%;
    }
}
