/* ===== Design Tokens ===== */
:root {
    --nara-dark: #0B0D11;
    --nara-deep: #101318;
    --nara-surface: #161920;
    --nara-magenta: #C23872;
    --nara-magenta-glow: rgba(194, 56, 114, 0.25);
    --nara-gold: #D4A853;
    --nara-gold-light: #ECC97A;
    --nara-cyan: #4ECDC4;
    --nara-text: #F2EDE4;
    --nara-text-dim: rgba(242, 237, 228, 0.55);
    --nara-text-muted: rgba(242, 237, 228, 0.3);
    --nara-border: rgba(212, 168, 83, 0.12);
    --nara-glass: rgba(16, 19, 24, 0.65);
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', system-ui, -apple-system, sans-serif;
}

/* ===== Reset ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; }

body {
    font-family: var(--font-body);
    background: var(--nara-dark);
    color: var(--nara-text);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ===== Flying Plane ===== */
.plane-wrap {
    position: fixed;
    top: 60px;
    left: -400px;
    z-index: 50;
    display: flex;
    align-items: flex-start;
    animation: flyAcross 14s linear infinite;
    pointer-events: none;
}

@keyframes flyAcross {
    0%   { left: -400px; top: 70px; }
    25%  { top: 45px; }
    50%  { top: 75px; }
    75%  { top: 50px; }
    100% { left: 110vw; top: 65px; }
}

.plane-body {
    position: relative;
    animation: planeBob 2s ease-in-out infinite;
}

@keyframes planeBob {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-6px) rotate(1deg); }
}

.plane-emoji {
    font-size: 56px;
    line-height: 1;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
}

/* ===== Paint Splash Canvas ===== */
#paintCanvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.banner {
    display: flex;
    align-items: center;
    margin-left: -20px;
    margin-top: 22px;
}

.banner-rope {
    width: 30px;
    height: 2px;
    background: rgba(255,255,255,0.3);
    transform-origin: left center;
    animation: ropeSwing 1.5s ease-in-out infinite alternate;
}

@keyframes ropeSwing {
    0% { transform: rotate(-3deg); }
    100% { transform: rotate(3deg); }
}

.banner-flag {
    padding: 6px 18px 6px 14px;
    background: linear-gradient(135deg, var(--nara-magenta), #A02060);
    border-radius: 3px 6px 6px 3px;
    box-shadow: 0 3px 16px var(--nara-magenta-glow);
    animation: flagWave 2s ease-in-out infinite alternate;
    position: relative;
}

.banner-flag::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(135deg, var(--nara-magenta), #A02060);
    clip-path: polygon(100% 0, 100% 100%, 0 50%);
}

@keyframes flagWave {
    0% { transform: rotate(-1.5deg) skewX(-1deg); }
    100% { transform: rotate(1.5deg) skewX(1deg); }
}

.banner-text {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    white-space: nowrap;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* ===== Canvas ===== */
#threadCanvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.35;
}

/* ===== Geometric Accents ===== */
.geo-accent {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    pointer-events: none;
}
.geo-1 {
    width: 500px; height: 500px;
    top: -150px; right: -100px;
    background: radial-gradient(circle, var(--nara-magenta-glow), transparent 70%);
    animation: geoFloat 12s ease-in-out infinite alternate;
}
.geo-2 {
    width: 400px; height: 400px;
    bottom: -100px; left: -80px;
    background: radial-gradient(circle, rgba(78, 205, 196, 0.12), transparent 70%);
    animation: geoFloat 15s ease-in-out infinite alternate-reverse;
}
.geo-3 {
    width: 350px; height: 350px;
    top: 40%; left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(212, 168, 83, 0.08), transparent 70%);
    animation: geoFloat 18s ease-in-out infinite alternate;
}

@keyframes geoFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -20px) scale(1.1); }
}

/* ===== Language Toggle ===== */
.lang-toggle {
    position: fixed;
    top: 28px;
    right: 28px;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 4px;
    background: var(--nara-glass);
    backdrop-filter: blur(24px);
    border: 1px solid var(--nara-border);
    border-radius: 30px;
    animation: fadeIn 1s ease 0.4s both;
}

.lang-btn {
    position: relative;
    z-index: 2;
    background: none;
    border: none;
    color: var(--nara-text-muted);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    cursor: pointer;
    padding: 7px 14px;
    border-radius: 20px;
    transition: color 0.3s ease;
}

.lang-btn.active { color: var(--nara-text); }

.lang-slider {
    position: absolute;
    width: 38px;
    height: 30px;
    background: var(--nara-magenta);
    border-radius: 20px;
    left: 4px;
    transition: transform 0.35s cubic-bezier(.4,0,.2,1);
    z-index: 1;
    box-shadow: 0 0 16px var(--nara-magenta-glow);
}

.lang-toggle[data-lang="en"] .lang-slider {
    transform: translateX(40px);
}

/* ===== Main ===== */
.main {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 80px 24px 40px;
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

/* ===== Logo ===== */
.logo-wrap {
    margin-bottom: 32px;
    animation: fadeUp 0.9s ease 0.2s both;
}

.logo {
    width: 280px;
    height: auto;
    border-radius: 14px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 40px rgba(0,0,0,0.4), 0 0 60px rgba(212, 168, 83, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.logo:hover {
    transform: scale(1.04);
    box-shadow: 0 12px 48px rgba(0,0,0,0.5), 0 0 80px rgba(212, 168, 83, 0.12);
}

/* ===== Tagline ===== */
.tagline {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 24px;
    line-height: 1.5;
}

.tag-word {
    display: inline-block;
    opacity: 0;
    animation: wordReveal 0.7s ease calc(0.5s + var(--i) * 0.2s) forwards;
    color: var(--nara-text-dim);
    margin: 0 6px;
}

.tag-word.accent {
    font-style: italic;
    font-weight: 700;
    background: linear-gradient(135deg, var(--nara-magenta), var(--nara-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes wordReveal {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== Divider ===== */
.divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--nara-magenta), var(--nara-gold));
    border-radius: 2px;
    margin-bottom: 28px;
    animation: fadeUp 0.9s ease 1.2s both;
}

/* ===== Status ===== */
.status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 22px;
    background: rgba(194, 56, 114, 0.08);
    border: 1px solid rgba(194, 56, 114, 0.2);
    border-radius: 50px;
    margin-bottom: 24px;
    animation: fadeUp 0.9s ease 1.3s both;
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--nara-magenta);
    border-radius: 50%;
    position: relative;
}
.pulse::after {
    content: '';
    position: absolute;
    inset: -4px;
    border: 1.5px solid var(--nara-magenta);
    border-radius: 50%;
    animation: ring 2s ease-in-out infinite;
}
@keyframes ring {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

.status-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--nara-magenta);
}

/* ===== Headline ===== */
.headline {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 16px;
    animation: fadeUp 0.9s ease 1.5s both;
    background: linear-gradient(135deg, var(--nara-text), var(--nara-gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sub-text {
    font-size: 15px;
    line-height: 1.85;
    color: var(--nara-text-dim);
    max-width: 560px;
    font-weight: 300;
    margin-bottom: 40px;
    animation: fadeUp 0.9s ease 1.7s both;
}

/* ===== Capabilities ===== */
.caps {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeUp 0.9s ease 1.9s both;
}

.cap {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 22px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--nara-border);
    border-radius: 14px;
    backdrop-filter: blur(16px);
    transition: all 0.35s ease;
    animation: fadeUp 0.7s ease calc(1.9s + var(--d)) both;
}

.cap:hover {
    border-color: rgba(194, 56, 114, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(194, 56, 114, 0.1);
}

.cap-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(194,56,114,0.15), rgba(212,168,83,0.1));
    color: var(--nara-gold);
    flex-shrink: 0;
}

.cap-icon svg { width: 20px; height: 20px; }

.cap div { text-align: left; }

.cap strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--nara-text);
    margin-bottom: 2px;
}

.cap span {
    font-size: 12px;
    color: var(--nara-text-dim);
    font-weight: 300;
}

/* ===== Contact Bar ===== */
.contact-bar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 28px;
    animation: fadeUp 0.9s ease 2.2s both;
}

.c-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255,255,255,0.025);
    border: 1px solid var(--nara-border);
    border-radius: 10px;
    color: var(--nara-text-dim);
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    transition: all 0.3s ease;
}

.c-item svg { color: var(--nara-gold); flex-shrink: 0; }

.c-item:hover {
    color: var(--nara-text);
    border-color: var(--nara-gold);
    transform: translateY(-2px);
}

/* ===== Showroom Button ===== */
.showroom-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--nara-magenta), #A02060);
    border: none;
    border-radius: 50px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.35s ease;
    box-shadow: 0 4px 24px var(--nara-magenta-glow);
    margin-bottom: 48px;
    animation: fadeUp 0.9s ease 2.4s both;
}

.showroom-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 36px rgba(194, 56, 114, 0.4);
}

/* ===== Footer ===== */
.footer {
    animation: fadeUp 0.9s ease 2.6s both;
}

.footer p {
    font-size: 12px;
    color: var(--nara-text-muted);
    letter-spacing: 0.5px;
    line-height: 1.7;
}

.footer-addr {
    margin-top: 4px;
    font-size: 11px !important;
}

.footer-credit {
    margin-top: 8px;
    font-size: 11px !important;
    color: var(--nara-text-muted);
    letter-spacing: 0.5px;
}

.heart {
    color: var(--nara-magenta);
    display: inline-block;
    animation: heartbeat 1.4s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    14% { transform: scale(1.2); }
    28% { transform: scale(1); }
    42% { transform: scale(1.2); }
    56% { transform: scale(1); }
}

/* ===== Utility Animations ===== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .tagline { font-size: 22px; }
    .headline { font-size: 28px; }
    .sub-text { font-size: 14px; }
    .caps { flex-direction: column; align-items: center; }
    .cap { width: 100%; max-width: 300px; }
    .contact-bar { flex-direction: column; align-items: center; }
    .c-item { width: 100%; max-width: 300px; justify-content: center; }
    .lang-toggle { top: 16px; right: 16px; }
    .main { padding: 70px 20px 30px; }
    .logo { width: 120px; }
    .geo-1 { width: 300px; height: 300px; }
    .geo-2 { width: 250px; height: 250px; }
}

@media (max-width: 400px) {
    .headline { font-size: 24px; }
    .tagline { font-size: 18px; }
}
