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

body {
    font-family: 'Inter', 'Noto Sans KR', 'Noto Sans JP', 'Noto Sans SC', 'Noto Sans Arabic', sans-serif;
    background: #121218;
    color: #eaeaf0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

[dir="rtl"] .story-section,
[dir="rtl"] .chat-demo,
[dir="rtl"] .pwa-steps {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .bubble-user {
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 6px;
    align-self: flex-end;
}

[dir="rtl"] .bubble-ai {
    border-bottom-right-radius: 18px;
    border-bottom-left-radius: 6px;
    align-self: flex-start;
}

[dir="rtl"] .s2-quote-mark {
    right: auto;
    left: 0;
}

.land-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(18, 18, 24, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.land-nav-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.land-logo-img {
    height: 40px;
    width: auto;
    display: block;
}


.land-nav-cta {
    padding: 8px 20px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.08);
    color: #eaeaf0;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s;
}

.land-nav-cta:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.2);
}

.hero {
    padding: 160px 24px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 45, 120, 0.1) 0%, rgba(180, 77, 255, 0.05) 40%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    max-width: 640px;
    margin: 0 auto;
    position: relative;
}

.hero-title {
    font-size: 52px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 32px;
    letter-spacing: -1.5px;
}

.hero-accent {
    background: linear-gradient(135deg, #ff2d78, #b44dff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-cta {
    display: inline-block;
    padding: 16px 48px;
    border-radius: 50px;
    background: linear-gradient(135deg, #ff2d78, #b44dff);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s;
    box-shadow: 0 4px 24px rgba(255, 45, 120, 0.3);
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255, 45, 120, 0.4);
}

.hero-note {
    margin-top: 20px;
    font-size: 15px;
    font-weight: 600;
    color: #9a9ab0;
    letter-spacing: 0.3px;
}

.section-inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
}

.story-section {
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.s2, .s4 {
    background: #15151f;
}

.story-text {
    font-size: 20px;
    line-height: 1.7;
    color: #c0c0d0;
    max-width: 560px;
    margin: 0 auto;
    font-weight: 400;
}

.s1-inner {
    position: relative;
}

.s1-watermark {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 120px;
    font-weight: 900;
    color: rgba(255, 45, 120, 0.04);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    letter-spacing: 8px;
    line-height: 1;
}

.s2-inner {
    position: relative;
}

.s2-quote-mark {
    font-size: 100px;
    font-weight: 900;
    line-height: 1;
    color: rgba(0, 212, 255, 0.08);
    position: absolute;
    top: -30px;
    right: 0;
    pointer-events: none;
    user-select: none;
    font-family: Georgia, serif;
}

.s2-accent-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff, transparent);
    margin: 28px auto 0;
    border-radius: 2px;
}

.s3-rebel {
    padding: 100px 0;
    background: #0e0e14;
    position: relative;
    overflow: hidden;
}

.s3-rebel::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(255, 45, 120, 0.08) 0%, rgba(180, 77, 255, 0.04) 50%, transparent 80%);
    pointer-events: none;
}

.rebel-text {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -1.5px;
    text-align: center;
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    background: linear-gradient(135deg, #ff2d78 0%, #ff6b9d 30%, #b44dff 70%, #d68fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 0 40px rgba(255, 45, 120, 0.15));
}

.s4-inner {
    position: relative;
}

.s4-keys {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 32px;
}

.s4-key {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(52, 211, 153, 0.06);
    border: 1px solid rgba(52, 211, 153, 0.15);
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: rgba(52, 211, 153, 0.5);
    user-select: none;
}

.s5-chat {
    padding-bottom: 60px;
}

.chat-demo {
    max-width: 400px;
    margin: 36px auto 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.chat-demo-bubble {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 18px;
    border-radius: 18px;
    position: relative;
    max-width: 92%;
}

.bubble-user {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom-left-radius: 6px;
    align-self: flex-start;
}

.bubble-ai {
    background: linear-gradient(135deg, rgba(255, 45, 120, 0.12), rgba(180, 77, 255, 0.12));
    border: 1px solid rgba(255, 45, 120, 0.15);
    border-bottom-right-radius: 6px;
    align-self: flex-end;
}

.bubble-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #5a5a72;
}

.bubble-ai .bubble-label {
    color: #ff6b9d;
}

.bubble-text {
    font-size: 14px;
    line-height: 1.55;
    color: #c0c0d0;
}

.bubble-ai .bubble-text {
    color: #e0d0e8;
}

.pwa-section {
    padding: 80px 0;
    background: #15151f;
}

.pwa-card {
    background: #1a1a24;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px 32px;
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}

.pwa-card h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
}

.pwa-card > p {
    color: #9a9ab0;
    font-size: 15px;
    margin-bottom: 28px;
    line-height: 1.5;
}

.pwa-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}

.pwa-step {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    font-size: 14px;
    color: #c0c0d0;
}

.pwa-step-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pwa-step-icon svg {
    width: 18px;
    height: 18px;
}

.final-cta {
    padding: 100px 24px;
    text-align: center;
    position: relative;
}

.final-cta::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 500px;
    background: radial-gradient(circle, rgba(180, 77, 255, 0.06) 0%, rgba(255, 45, 120, 0.03) 40%, transparent 70%);
    pointer-events: none;
}

.final-cta h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 28px;
    position: relative;
    letter-spacing: -0.5px;
}

.final-cta .hero-cta {
    position: relative;
}

.final-cta .hero-note {
    position: relative;
}

.land-footer {
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 72px 24px 32px;
    text-align: center;
}

.land-footer-inner {
    position: relative;
    z-index: 1;
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.footer-glow {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(233, 69, 150, 0.12) 0%, rgba(233, 69, 150, 0.04) 40%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.footer-neon-k {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 120px;
    line-height: 1;
    letter-spacing: -4px;
    background: linear-gradient(180deg, #ff6ec7 0%, #e94596 40%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(233, 69, 150, 0.5)) drop-shadow(0 0 60px rgba(168, 85, 247, 0.25));
    animation: neonFlicker 4s ease-in-out infinite;
    margin-bottom: 28px;
}

@keyframes neonFlicker {
    0%, 100% { opacity: 1; filter: drop-shadow(0 0 30px rgba(233, 69, 150, 0.5)) drop-shadow(0 0 60px rgba(168, 85, 247, 0.25)); }
    30% { opacity: 1; filter: drop-shadow(0 0 30px rgba(233, 69, 150, 0.5)) drop-shadow(0 0 60px rgba(168, 85, 247, 0.25)); }
    33% { opacity: 0.85; filter: drop-shadow(0 0 18px rgba(233, 69, 150, 0.35)) drop-shadow(0 0 40px rgba(168, 85, 247, 0.15)); }
    35% { opacity: 1; filter: drop-shadow(0 0 35px rgba(233, 69, 150, 0.55)) drop-shadow(0 0 70px rgba(168, 85, 247, 0.3)); }
    70% { opacity: 1; filter: drop-shadow(0 0 30px rgba(233, 69, 150, 0.5)) drop-shadow(0 0 60px rgba(168, 85, 247, 0.25)); }
    72% { opacity: 0.9; filter: drop-shadow(0 0 22px rgba(233, 69, 150, 0.4)) drop-shadow(0 0 45px rgba(168, 85, 247, 0.18)); }
    74% { opacity: 1; filter: drop-shadow(0 0 30px rgba(233, 69, 150, 0.5)) drop-shadow(0 0 60px rgba(168, 85, 247, 0.25)); }
}

.footer-invite {
    color: rgba(255, 255, 255, 0.75);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    max-width: 320px;
    margin-bottom: 32px;
    letter-spacing: 0.2px;
}

.footer-cta {
    display: inline-block;
    padding: 16px 48px;
    border-radius: 50px;
    background: linear-gradient(135deg, #e94596 0%, #a855f7 50%, #e94596 100%);
    background-size: 200% 200%;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 24px rgba(233, 69, 150, 0.35), 0 0 60px rgba(168, 85, 247, 0.15);
    transition: transform 0.2s, box-shadow 0.2s, background-position 0.4s;
    margin-bottom: 36px;
}

.footer-cta:hover {
    transform: translateY(-2px);
    background-position: 100% 0;
    box-shadow: 0 6px 32px rgba(233, 69, 150, 0.45), 0 0 80px rgba(168, 85, 247, 0.25);
}

.footer-cta:active {
    transform: translateY(0);
}

.footer-domain {
    color: rgba(255, 255, 255, 0.18);
    font-size: 12px;
    letter-spacing: 1px;
}

.footer-legal {
    margin-top: 12px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.25);
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: rgba(255, 255, 255, 0.6);
}

@media (prefers-reduced-motion: reduce) {
    .footer-neon-k {
        animation: none;
    }
}

.install-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.install-overlay.active {
    display: flex;
}

.install-modal {
    background: #1a1a24;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px 28px;
    max-width: 380px;
    width: 100%;
    position: relative;
}

.install-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: #5a5a72;
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}

.install-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 6px;
    color: #eaeaf0;
}

.install-desc {
    font-size: 13px;
    color: #5a5a72;
    margin-bottom: 24px;
}

.install-steps {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.install-step-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 14px;
    color: #c0c0d0;
    line-height: 1.5;
}

.install-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 45, 120, 0.15), rgba(180, 77, 255, 0.15));
    color: #ff6b9d;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

button.land-nav-cta {
    cursor: pointer;
    font-family: inherit;
}

@media (max-width: 768px) {
    .hero {
        padding: 130px 20px 70px;
    }

    .hero-title {
        font-size: 36px;
        letter-spacing: -1px;
    }

    .story-section {
        padding: 60px 0;
    }

    .story-text {
        font-size: 17px;
    }

    .s1-watermark {
        font-size: 72px;
        letter-spacing: 4px;
    }

    .s2-quote-mark {
        font-size: 70px;
        top: -20px;
    }

    .s3-rebel {
        padding: 70px 0;
    }

    .rebel-text {
        font-size: 34px;
        letter-spacing: -0.5px;
        line-height: 1.3;
    }

    .s4-keys {
        gap: 8px;
        margin-bottom: 24px;
    }

    .s4-key {
        width: 38px;
        height: 38px;
        font-size: 16px;
        border-radius: 8px;
    }

    .chat-demo {
        max-width: 100%;
    }

    .chat-demo-bubble {
        max-width: 95%;
    }

    .pwa-card {
        padding: 28px 20px;
    }

    .final-cta {
        padding: 70px 24px;
    }

    .final-cta h2 {
        font-size: 28px;
    }
}
