@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&display=swap');

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

html, body {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    word-break: keep-all; /* КРИТИЧНО ДЛЯ КОРЕЙСКОГО */
    font-family: 'Noto Sans KR', sans-serif;
    background-color: #0A0A10;
    color: #FFFFFF;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 16, 0.75);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: #E0E0E0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #00E5FF;
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    color: #FFF;
    font-size: 28px;
}

/* Hero Section */
.hero-section {
    padding-top: 150px;
    padding-bottom: 80px;
    /* БЕСШОВНЫЙ ГРАДИЕНТ БЕЗ BLUR ХАКОВ */
    background: radial-gradient(circle at 15% 20%, rgba(0, 229, 255, 0.15) 0%, transparent 50%), 
                radial-gradient(circle at 85% 80%, rgba(176, 0, 255, 0.15) 0%, transparent 50%);
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #A0A0B0;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
    animation: fadeInUp 1s ease forwards;
}

.text-highlight {
    color: #00E5FF;
}

/* Glass Card */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    border-radius: 16px;
    padding: 40px;
    animation: fadeInUp 1.2s ease forwards;
}

/* Quiz UI */
.quiz-container {
    max-width: 700px;
    margin: 0 auto;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-bottom: 30px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #00E5FF, #B000FF);
    transition: width 0.4s ease;
}

.quiz-question {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 500;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.quiz-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #FFF;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Noto Sans KR', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.quiz-btn:hover {
    background: rgba(0, 229, 255, 0.1);
    border-color: #00E5FF;
}

/* Spinner */
.spinner-container {
    display: none;
    text-align: center;
    padding: 40px 0;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255,255,255,0.1);
    border-top: 4px solid #00E5FF;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    animation: spin 1s linear infinite;
}

/* Lead Form */
.lead-form {
    display: none;
    flex-direction: column;
    gap: 20px;
}

.input-group input {
    width: 100%;
    padding: 15px;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    color: #FFF;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 1rem;
}

.input-group input:focus {
    outline: none;
    border-color: #00E5FF;
}

.submit-btn {
    background: linear-gradient(90deg, #00E5FF, #B000FF);
    border: none;
    color: #FFF;
    padding: 15px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.submit-btn:hover {
    opacity: 0.9;
}

/* Footer & Legal */
footer {
    margin-top: auto;
    padding: 60px 0 30px;
    background: #050508;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-nav a:hover {
    color: #FFF;
}

.legal-kr-info {
    text-align: center;
    color: #555;
    font-size: 0.8rem;
    line-height: 1.8;
}

/* PIPA Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: -100px;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 16, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    z-index: 9999;
    transition: bottom 0.5s ease;
    display: flex;
    justify-content: center;
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.cookie-text {
    font-size: 0.85rem;
    color: #BBB;
    max-width: 800px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    font-family: inherit;
}

.btn-accept {
    background: #00E5FF;
    color: #000;
    border: none;
    font-weight: bold;
}

.btn-reject {
    background: transparent;
    color: #FFF;
    border: 1px solid rgba(255,255,255,0.3);
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hamburger { display: block; }
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(10, 10, 16, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: left 0.3s ease;
    }
    .nav-links.active { left: 0; }
    .hero-title { font-size: 2rem; }
    .cookie-content { flex-direction: column; text-align: center; gap: 15px; }
}