/* 기본 설정 및 변수 */
:root {
    --bg-color: #0f172a;
    --text-color: #e2e8f0;
    --primary-color: #8b5cf6; /* Violet */
    --secondary-color: #06b6d4; /* Cyan */
    --accent-glow: rgba(139, 92, 246, 0.3);
    --glass-bg: rgba(30, 41, 59, 0.7);
    --font-main: 'Noto Sans KR', sans-serif;
    --font-head: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 네비게이션 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-head);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo .dot { color: var(--secondary-color); }

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover { color: var(--secondary-color); }

/* 버튼 스타일 */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 700;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px var(--accent-glow);
}

.btn-secondary {
    border: 1px solid rgba(255,255,255,0.2);
    padding: 10px 24px;
    border-radius: 30px;
    margin-left: 15px;
    transition: background 0.3s;
}

.btn-secondary:hover { background: rgba(255,255,255,0.1); }

/* 히어로 섹션 */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-family: var(--font-head);
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: #94a3b8;
    margin-bottom: 40px;
}

.hero-bg-glow {
    position: absolute;
    top: 50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    opacity: 0.2;
    filter: blur(80px);
    z-index: 1;
    animation: pulse 5s infinite alternate;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.2; }
    100% { transform: scale(1.2); opacity: 0.3; }
}

/* 특징 섹션 */
.features {
    padding: 100px 0;
    background: #0b1120;
}

.section-title {
    text-align: center;
    font-family: var(--font-head);
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s, border-color 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.card p { color: #94a3b8; }

/* 푸터 */
footer {
    padding: 50px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #64748b;
}

.footer-logo {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 10px;
}

/* 애니메이션 유틸리티 */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* 반응형 */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .nav-links { display: none; } /* 모바일 메뉴 생략 (간소화) */
}
