:root {
    --bg-color: #0f172a;
    --card-bg: rgba(255, 255, 255, 0.05);
    --primary: #6366f1;
    --primary-glow: #818cf8;
    --secondary: #ec4899;
    --secondary-glow: #f472b6;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --radius: 1.5rem;
    --font-sans: 'Pretendard', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    background-image: radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 40%),
                      radial-gradient(circle at 90% 80%, rgba(236, 72, 153, 0.08) 0%, transparent 40%);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
    transform: translateY(-1px);
}

/* Layout */
.app-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 120px 1.5rem 4rem;
}

header {
    text-align: center;
    margin-bottom: 5rem;
}

.hero-text {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1.25rem;
    max-width: 650px;
    margin: 0 auto;
}

/* Section Styling */
.section-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: -0.02em;
}

/* Cards */
.card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3.5rem;
    border-radius: var(--radius);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.6);
    margin-bottom: 3rem;
    transition: transform 0.3s ease;
}

.test-area .card { text-align: center; }

/* Magazine Section */
.magazine-section { margin: 6rem 0; }

.article-card {
    display: flex;
    gap: 2rem;
    padding: 2.5rem !important;
    margin-bottom: 2rem;
    cursor: default;
}

.badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 20px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.article-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.article-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Test Components */
.media-container {
    width: 340px;
    height: 340px;
    margin: 0 auto 3rem;
    border-radius: 2rem;
    overflow: hidden;
    background: #1e293b;
    border: 6px solid rgba(255,255,255,0.05);
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 1.3rem 2.8rem;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 1.2rem;
    cursor: pointer;
    box-shadow: 0 0 25px var(--primary-glow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary:hover {
    transform: scale(1.03) translateY(-4px);
    filter: brightness(1.2);
}

/* FAQ */
.faq-item {
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 1.5rem 0;
}

.faq-item:last-child { border: none; }

.faq-item h4 {
    font-size: 1.15rem;
    margin-bottom: 0.8rem;
    color: var(--primary-glow);
}

/* Footer */
footer {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 5rem 0 3rem;
    margin-top: 6rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-info .logo { margin-bottom: 1.5rem; display: block; }
.footer-links h5, .footer-contact h5 { margin-bottom: 1.5rem; font-size: 1.1rem; }

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.8rem; }
.footer-links a { color: var(--text-secondary); text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--text-primary); }

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.hidden { display: none !important; }
.mt-4 { margin-top: 4rem; }

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 3rem; }
    .hero-text { font-size: 2.5rem; }
    .nav-links { display: none; }
    .card { padding: 2rem; }
}
