:root {
    --p-primary: #3b82f6;
    --p-primary-glare: rgba(59, 130, 246, 0.15);
    --p-dark: #0f172a;
    --p-surface: rgba(255, 255, 255, 0.85);
    --p-surface-2: #f8fafc;
    --p-text: #1e293b;
    --p-text-muted: #64748b;
    --p-border: #e2e8f0;
    --p-radius: 16px;
    --p-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --p-shadow-hover: 0 20px 35px -5px rgba(0, 0, 0, 0.15), 0 10px 20px -10px rgba(0, 0, 0, 0.15);
    --p-glass: rgba(255, 255, 255, 0.75);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Noto Sans KR', sans-serif;
}

body {
    background: radial-gradient(circle at top right, #f1f5f9, #ffffff);
    color: var(--p-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Glassmorphism Effect */
.glass {
    background: var(--p-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Header */
.header-next {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--p-border);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
}

.logo-next {
    font-size: 1.7rem;
    font-weight: 900;
    color: var(--p-dark);
    text-decoration: none;
    letter-spacing: -1px;
}

.logo-next span {
    color: var(--p-primary);
}

/* Hero Section */
.hero-next {
    padding: 180px 1.5rem 100px;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 968px) {
    .hero-next {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 140px;
    }
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2.5rem;
    letter-spacing: -2px;
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.8rem;
    }
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--p-text-muted);
    margin-bottom: 3.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

@media (max-width: 968px) {
    .hero-actions {
        justify-content: center;
    }
}

.btn-primary-next {
    background: var(--p-primary);
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: var(--p-radius);
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 30px -5px rgba(59, 130, 246, 0.4);
}

.btn-primary-next:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -5px rgba(59, 130, 246, 0.5);
    filter: brightness(1.1);
}

.hero-image-wrapper {
    position: relative;
    animation: fadeInUp 1s ease-out;
}

.hero-image-wrapper img {
    width: 100%;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.15));
    transition: transform 0.5s ease;
}

.hero-image-wrapper:hover img {
    transform: scale(1.03) rotate(1deg);
}

/* Stats Dashboard */
.stats-section {
    padding: 80px 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

.stat-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: var(--p-radius);
    text-align: center;
    box-shadow: var(--p-shadow);
    transition: all 0.4s ease;
    border: 1px solid transparent;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--p-shadow-hover);
    border-color: var(--p-primary-glare);
}

.stat-card h3 {
    font-size: 0.875rem;
    color: var(--p-text-muted);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--p-primary);
    margin-top: 1rem;
}

/* Wizard Section */
.wizard-trigger {
    padding: 100px 1.5rem;
    text-align: center;
    background: var(--p-surface-2);
}

.wizard-card {
    background: white;
    padding: 4rem;
    border-radius: 24px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: var(--p-shadow);
    transition: transform 0.3s ease;
}

@media (max-width: 600px) {
    .wizard-card {
        padding: 2.5rem 1.5rem;
    }
}

/* Forms */
.sub-page {
    padding-top: 120px;
    padding-bottom: 100px;
    min-height: 100vh;
    background: radial-gradient(circle at center, #f8fafc, #eff6ff);
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--p-border);
    border-radius: 12px;
    transition: all 0.3s ease;
    background: #fcfdfe;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--p-primary);
    box-shadow: 0 0 0 4px var(--p-primary-glare);
    background: white;
}

/* Mobile Bottom Nav */
.mobile-nav-next {
    display: none;
    position: fixed;
    bottom: 2rem;
    left: 1rem;
    right: 1rem;
    height: 70px;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    z-index: 1001;
    align-items: center;
    justify-content: space-around;
    padding: 0 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

@media (max-width: 968px) {
    .mobile-nav-next {
        display: flex;
    }
}

.m-nav-item {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.75rem;
    gap: 4px;
    transition: all 0.3s ease;
}

.m-nav-item.active {
    color: white;
    transform: translateY(-3px);
}

.m-nav-item i {
    font-size: 1.25rem;
}