:root {
    --bg: #080c1a;
    --bg-alt: #0a0f1f;
    --footer: #060914;
    --card: #111827;
    --card-hover: #141e35;
    --secondary: #1a2035;
    --secondary-hover: #222d48;
    --primary: #8b9fe8;
    --text: #e4e8f5;
    --text-soft: #c8cfe8;
    --muted: #7a85a8;
    --border: rgba(139, 159, 232, 0.12);
    --border-hover: rgba(139, 159, 232, 0.3);
    --serif: "Noto Serif KR", serif;
    --sans: "Noto Sans KR", sans-serif;
    color-scheme: dark;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    display: block;
    max-width: 100%;
}

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

p,
h1,
h2,
h3,
blockquote,
figure {
    margin: 0;
}

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

a:focus-visible {
    outline: 3px solid rgba(139, 159, 232, 0.9);
    outline-offset: 4px;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000;
    transform: translateY(-160%);
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--text);
    color: var(--bg);
    font-weight: 700;
    transition: transform .2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.icon-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.icon,
.play-icon {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.play-icon {
    fill: currentColor;
    stroke: none;
}

.icon-xs { width: 13px; height: 13px; }
.icon-sm { width: 18px; height: 18px; }
.icon-lg { width: 28px; height: 28px; }
.icon-xl { width: 34px; height: 34px; }

.container {
    width: min(100% - 48px, 1024px);
    margin-inline: auto;
}

.section {
    padding: 112px 0;
}

.section-dark { background: var(--bg); }
.section-alt { background: var(--bg-alt); }

.section-header {
    max-width: 760px;
    margin: 0 auto 80px;
    text-align: center;
}

.section-kicker {
    margin-bottom: 16px;
    color: var(--primary);
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.section-header h2,
.download-copy h2 {
    color: var(--text);
    font-family: var(--serif);
    font-size: clamp(1.85rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -.015em;
}

.section-header p,
.download-copy p,
.device-copy p,
.card p,
.roadmap-card p,
.site-footer p {
    color: var(--muted);
}

.section-header p {
    margin-top: 20px;
    font-size: 1rem;
    line-height: 1.9;
}

.hero {
    position: relative;
    display: flex;
    min-height: 100svh;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 90px 24px;
    isolation: isolate;
}

.hero-background,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-background {
    z-index: -3;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .18;
}

.hero-overlay {
    background: linear-gradient(to bottom, rgba(8, 12, 26, .4) 0%, rgba(8, 12, 26, .85) 70%, var(--bg) 100%);
}

.ambient-glow {
    position: absolute;
    z-index: -1;
    top: 33%;
    left: 50%;
    width: min(600px, 92vw);
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 159, 232, .08) 0%, transparent 70%);
    pointer-events: none;
}

.stars {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.star-dot {
    position: absolute;
    border-radius: 50%;
    background: var(--text);
}

.hero-content {
    width: min(100%, 900px);
    margin-inline: auto;
    text-align: center;
}

.hero-enter {
    animation: hero-in .9s ease-out both;
}

@keyframes hero-in {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.eyebrow-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
    padding: 7px 16px;
    border: 1px solid rgba(139, 159, 232, .3);
    border-radius: 999px;
    color: var(--primary);
    font-size: .75rem;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.hero h1 {
    margin-bottom: 24px;
    color: var(--text);
    font-family: var(--serif);
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -.025em;
}

.hero h1 span {
    color: var(--primary);
}

.hero-copy {
    max-width: 640px;
    margin-inline: auto;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    line-height: 1.8;
}

.hero-copy.muted {
    margin-bottom: 4px;
    color: var(--muted);
    font-weight: 300;
}

.hero-copy.strong {
    margin-bottom: 48px;
    color: var(--text-soft);
    font-weight: 400;
}

.button-row,
.store-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.button-row {
    justify-content: center;
}

.button {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 30px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: .95rem;
    font-weight: 500;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}

.button-primary {
    background: var(--primary);
    color: var(--bg);
}

.button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(139, 159, 232, .35);
}

.button-outline {
    border-color: rgba(139, 159, 232, .3);
    color: var(--text-soft);
}

.button-outline:hover {
    border-color: rgba(139, 159, 232, .65);
    background: rgba(139, 159, 232, .05);
}

.scroll-cue {
    position: absolute;
    bottom: 36px;
    left: 50%;
    color: var(--muted);
    animation: bounce 1.6s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 9px); }
}

.download-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: linear-gradient(135deg, var(--card) 0%, var(--secondary) 100%);
}

.panel-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 320px;
    height: 320px;
    transform: translate(30%, -30%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 159, 232, .07) 0%, transparent 70%);
    pointer-events: none;
}

.download-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.download-copy {
    display: flex;
    min-height: 500px;
    flex-direction: column;
    justify-content: center;
    padding: 64px;
}

.download-copy h2 {
    margin-bottom: 16px;
    font-size: clamp(1.85rem, 4vw, 2.8rem);
}

.download-copy > p {
    margin-bottom: 40px;
    font-size: .95rem;
    line-height: 1.8;
}

.store-button {
    display: flex;
    min-width: 165px;
    align-items: center;
    gap: 12px;
    padding: 13px 20px;
    border: 1px solid rgba(139, 159, 232, .2);
    border-radius: 16px;
    background: var(--secondary);
    color: var(--text);
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.store-button:hover {
    transform: translateY(-2px);
    border-color: rgba(139, 159, 232, .5);
    background: var(--secondary-hover);
}

.store-button .icon,
.store-button .play-icon {
    color: var(--primary);
}

.store-button span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.store-button small {
    color: var(--muted);
    font-size: .7rem;
}

.store-button strong {
    font-size: .88rem;
}

.download-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.download-image::after {
    position: absolute;
    inset: 0;
    content: "";
    background: radial-gradient(circle at 60% 50%, rgba(139, 159, 232, .06) 0%, transparent 70%);
    pointer-events: none;
}

.download-image img {
    width: 220px;
    height: 380px;
    border-radius: 24px;
    object-fit: cover;
    opacity: .85;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}

.grid {
    display: grid;
}

.grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.intro-grid {
    margin-bottom: 64px;
}

.grid-features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.grid-roadmap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.card,
.roadmap-card {
    border: 1px solid rgba(139, 159, 232, .1);
    border-radius: 18px;
    background: var(--card);
    transition: transform .3s ease, border-color .3s ease, background .3s ease;
}

.card {
    padding: 30px;
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
}

.feature-card:hover {
    background: var(--card-hover);
}

.card h3,
.roadmap-card h3 {
    margin-bottom: 12px;
    color: var(--text);
    font-size: .98rem;
    font-weight: 500;
}

.card p,
.roadmap-card p {
    font-size: .86rem;
    line-height: 1.75;
}

.icon-box {
    display: grid;
    width: 42px;
    height: 42px;
    margin-bottom: 20px;
    place-items: center;
    border-radius: 12px;
    background: rgba(139, 159, 232, .11);
    color: var(--primary);
}

.icon-box-large {
    width: 46px;
    height: 46px;
}

.quote-banner {
    position: relative;
    overflow: hidden;
    min-height: 280px;
    border: 1px solid rgba(139, 159, 232, .1);
    border-radius: 28px;
    background: var(--card);
}

.quote-banner img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    opacity: .45;
}

.quote-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 30px;
    background: linear-gradient(to right, rgba(8, 12, 26, .8), rgba(8, 12, 26, .3), rgba(8, 12, 26, .8));
}

.quote-overlay blockquote {
    max-width: 660px;
    color: var(--text);
    font-family: var(--serif);
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    font-style: italic;
    font-weight: 300;
    line-height: 1.7;
    text-align: center;
}

.device-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 40px;
}

.device-image {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: var(--card);
}

.device-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    opacity: .75;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    padding: 6px 12px;
    border: 1px solid rgba(139, 159, 232, .2);
    border-radius: 999px;
    background: rgba(139, 159, 232, .12);
    color: var(--primary);
    font-size: .75rem;
}

.device-copy h3 {
    margin-bottom: 16px;
    color: var(--text);
    font-family: var(--serif);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 400;
}

.device-copy p {
    font-size: .95rem;
    line-height: 1.9;
}

.roadmap-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    overflow: hidden;
    padding: 30px;
}

.roadmap-card:hover {
    transform: translateY(-3px);
    border-color: rgba(139, 159, 232, .28);
}

.roadmap-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 160px;
    height: 160px;
    transform: translate(30%, -30%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 159, 232, .04) 0%, transparent 70%);
    pointer-events: none;
}

.roadmap-icon {
    width: 56px;
    height: 56px;
    margin: 0;
    flex: 0 0 auto;
    border-radius: 16px;
}

.ecosystem-note {
    margin-top: 48px;
    padding: 30px;
    border: 1px solid rgba(139, 159, 232, .15);
    border-radius: 18px;
    background: rgba(139, 159, 232, .06);
    color: var(--primary);
    text-align: center;
}

.ecosystem-note .icon {
    margin-bottom: 14px;
}

.ecosystem-note p {
    color: var(--text-soft);
    font-size: .95rem;
    line-height: 1.8;
}

.site-footer {
    border-top: 1px solid rgba(139, 159, 232, .08);
    background: var(--footer);
}

.footer-container {
    padding-top: 64px;
    padding-bottom: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--text);
}

.footer-brand .icon {
    color: var(--primary);
}

.footer-brand strong {
    font-family: var(--serif);
    font-size: 1.1rem;
}

.site-footer h2 {
    margin: 0 0 16px;
    color: var(--text-soft);
    font-size: .9rem;
    font-weight: 500;
}

.site-footer p,
.site-footer a {
    display: block;
    font-size: .83rem;
    line-height: 1.9;
}

.site-footer a {
    width: fit-content;
    color: var(--muted);
    transition: color .2s ease;
}

.site-footer a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid rgba(139, 159, 232, .08);
}

.footer-bottom p,
.legal-links a {
    color: var(--muted);
    font-size: .75rem;
}

.legal-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s ease var(--delay, 0s), transform .7s ease var(--delay, 0s);
}

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

@media (max-width: 900px) {
    .grid-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .download-grid { grid-template-columns: 1fr; }
    .download-image { display: none; }
    .download-copy { min-height: auto; }
}

@media (max-width: 760px) {
    .container { width: min(100% - 32px, 1024px); }
    .section { padding: 88px 0; }
    .section-header { margin-bottom: 56px; }
    .grid-three,
    .grid-roadmap,
    .device-grid,
    .footer-grid { grid-template-columns: 1fr; }
    .device-grid { gap: 28px; }
    .footer-grid { gap: 32px; }
    .footer-bottom { align-items: flex-start; flex-direction: column; }
    .download-copy { padding: 48px 32px; }
    .store-buttons { flex-wrap: wrap; }
}

@media (max-width: 560px) {
    .hero { padding-inline: 18px; }
    .button-row,
    .store-buttons { align-items: stretch; flex-direction: column; }
    .button,
    .store-button { width: 100%; }
    .store-button { justify-content: center; }
    .grid-features { grid-template-columns: 1fr; }
    .card,
    .roadmap-card { padding: 24px; }
    .download-copy { padding: 40px 24px; }
    .quote-overlay { padding: 20px; }
    .legal-links { gap: 16px; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}
