/* ========================================
   Education Inquiry Page Styles
   ======================================== */

/* 기본 설정 */
:root {
    --primary-color: #0f172a;
    --secondary-color: #1e293b;
    --accent-color: #06b6d4;
    --accent-secondary: #8b5cf6;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --light-color: #f8fafc;
    --dark-color: #0f172a;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --border-color: #e2e8f0;
    --bg-gradient: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    --hero-gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    --brand-gradient: linear-gradient(135deg, #06b6d4 0%, #8b5cf6 50%, #ec4899 100%);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    background: var(--bg-gradient);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========================================
   Header
   ======================================== */
.inquiry-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
}

.header-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 900;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Inter', sans-serif;
}

.header-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav-link:hover {
    color: var(--accent-color);
    background: rgba(6, 182, 212, 0.1);
}

/* ========================================
   Main Content
   ======================================== */
.inquiry-main {
    min-height: calc(100vh - 80px);
}

/* ========================================
   Hero Section
   ======================================== */
.inquiry-hero {
    background: var(--hero-gradient);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.inquiry-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(6, 182, 212, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.title-highlight {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-item i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

/* ========================================
   Form Section
   ======================================== */
.inquiry-form-section {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
}

.form-container {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.form-header {
    background: var(--hero-gradient);
    color: white;
    padding: 2.5rem 2rem;
    text-align: center;
}

.form-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.form-description {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

.inquiry-form {
    padding: 2.5rem;
}

.form-section {
    margin-bottom: 2.5rem;
}

.form-section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--brand-gradient);
}

/* Form Controls */
.form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-control,
.form-select {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    transition: var(--transition);
    background: white;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(6, 182, 212, 0.25);
    outline: none;
}

.form-control.is-invalid {
    border-color: var(--danger-color);
}

.form-control::placeholder {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Checkbox Grid */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.form-check {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: rgba(6, 182, 212, 0.05);
    border-radius: 8px;
    border: 2px solid transparent;
    transition: var(--transition);
}

.form-check:hover {
    background: rgba(6, 182, 212, 0.1);
    border-color: var(--accent-color);
}

.form-check-input {
    width: 1.2rem;
    height: 1.2rem;
    margin-right: 0.8rem;
    accent-color: var(--accent-color);
}

.form-check-label {
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    margin: 0;
}

/* Submit Button */
.form-actions {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.btn-submit {
    background: var(--brand-gradient);
    border: none;
    color: white;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit:active {
    transform: translateY(0);
}

/* ========================================
   Footer
   ======================================== */
.inquiry-footer {
    background: var(--primary-color);
    color: rgba(255, 255, 255, 0.8);
    padding: 2rem 0;
    text-align: center;
}

.footer-text {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-links span {
    color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
    .header-links {
        gap: 1rem;
    }
    
    .nav-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .inquiry-hero {
        padding: 60px 0;
    }
    
    .hero-features {
        gap: 1rem;
        justify-content: center;
    }
    
    .feature-item {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .inquiry-form-section {
        padding: 60px 0;
    }
    
    .form-container {
        margin: 0 1rem;
    }
    
    .form-header {
        padding: 2rem 1.5rem;
    }
    
    .inquiry-form {
        padding: 2rem 1.5rem;
    }
    
    .checkbox-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .form-check {
        padding: 0.8rem;
    }
}

@media (max-width: 576px) {
    .header-nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .header-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .inquiry-hero {
        padding: 40px 0;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .feature-item {
        justify-content: center;
        width: 100%;
        max-width: 280px;
    }
    
    .inquiry-form-section {
        padding: 40px 0;
    }
    
    .form-container {
        margin: 0 0.5rem;
        border-radius: 8px;
    }
    
    .form-header {
        padding: 1.5rem 1rem;
    }
    
    .form-title {
        font-size: 1.6rem;
    }
    
    .form-description {
        font-size: 1rem;
    }
    
    .inquiry-form {
        padding: 1.5rem 1rem;
    }
    
    .section-title {
        font-size: 1.2rem;
    }
    
    .btn-submit {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
}

/* ========================================
   Accessibility & Focus States
   ======================================== */
.nav-link:focus,
.form-control:focus,
.form-select:focus,
.btn-submit:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .title-highlight {
        background: var(--accent-color);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
}

/* Print Styles */
@media print {
    .inquiry-header,
    .inquiry-footer {
        display: none;
    }
    
    .inquiry-hero,
    .form-container {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
    }
}