/* KICDA Main Styles - Optimized for Performance */

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

:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #60a5fa;
    --secondary: #06b6d4;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --dark: #111827;
    --gray: #6b7280;
    --light-gray: #f3f4f6;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

/* 모바일 가로 스크롤 방지 - 전역 규칙 */
html, body, main, header, footer, section, .container, [class*="-section"] {
    max-width: 100%;
}

body {
    font-family: var(--kicda-font-sans);
    line-height: 1.625;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
}

/* Top Banner */
.top-banner {
    background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    padding: var(--kicda-space-2\.5) 0;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    max-width: 100%;
}

.top-banner .badge {
    display: inline-block;
    background: var(--warning);
    color: var(--dark);
    padding: var(--kicda-space-0\.5) var(--kicda-space-2);
    border-radius: 4px;
    margin-right: 10px;
    font-weight: 700;
    font-size: 12px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Header - Styles moved to kicda-menu-2025.css for consistency */
/*
   All header, navigation, dropdown, and menu styles are now managed by kicda-menu-2025.css
   This ensures design consistency and prevents CSS conflicts
   DO NOT add header styles here - update kicda-menu-2025.css instead
*/

/* Navigation Buttons - moved to kicda-menu-2025.css */

/* .nav-btn styles moved to components/buttons.css with design tokens */
/* This selector is kept for specificity but defers to design system */
.nav-btn {
    /* Styles now handled by components/buttons.css */
}

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

.nav-btn:active {
    transform: scale(0.98);
    opacity: 0.9;
    transition: all 0.1s ease;
}

/* Button variants now handled by components/buttons.css with KICDA design tokens */
/* Keeping selectors for backward compatibility but deferring to design system */

.nav-btn-outline {
    /* Styles now in components/buttons.css */
}

.nav-btn-outline:hover {
    /* Styles now in components/buttons.css */
}

.nav-btn-primary {
    /* Styles now in components/buttons.css */
}

.nav-btn-primary:hover {
    /* Styles now in components/buttons.css */
}

.header-cta {
    display: flex;
    gap: 10px;
}

.btn-header {
    padding: var(--kicda-space-2\.5) var(--kicda-space-5);
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    visibility: visible;
    opacity: 1;
}

.btn-login {
    color: var(--primary);
    border: 1px solid var(--primary);
    display: inline-flex;
    align-items: center;
    visibility: visible;
    opacity: 1;
}

.btn-login:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-login:active {
    transform: scale(0.98);
    opacity: 0.9;
    transition: all 0.1s ease;
}

.btn-start {
    background: var(--primary);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    visibility: visible;
    opacity: 1;
}

.btn-start:hover {
    background: var(--primary-dark);
}

.btn-start:active {
    transform: scale(0.98);
    opacity: 0.9;
    transition: all 0.1s ease;
}

/* Hero Section - CLS Optimized (2025-10-21) */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #4facfe 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    padding: var(--kicda-space-6) var(--kicda-space-5);
    position: relative;
    overflow: hidden;
    /* CLS Fix: Reserve vertical space to prevent layout shift */
    min-height: 600px;
    display: flex;
    align-items: center;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    z-index: 1;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: var(--warning);
    color: var(--dark);
    padding: var(--kicda-space-1\.5) var(--kicda-space-4);
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 300;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    /* CLS Fix: Reserve space for stats */
    min-height: 80px;
}

.stat {
    text-align: center;
    /* CLS Fix: Fixed dimensions for each stat */
    min-width: 100px;
}

.stat-number {
    font-size: 36px;
    font-weight: 900;
    display: block;
    /* CLS Fix: Reserve vertical space */
    min-height: 44px;
    line-height: 44px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
    /* CLS Fix: Reserve vertical space */
    min-height: 20px;
    line-height: 20px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    /* CLS Fix: Reserve space for buttons */
    min-height: 70px;
}

/* Enhanced 2025-10-05: Improved button visibility and alignment */
.btn-hero {
    padding: var(--kicda-space-4\.5) var(--kicda-space-10);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 54px;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.btn-primary {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    visibility: visible;
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-primary-lg);
}

.btn-primary:active {
    transform: translateY(2px) scale(0.98);
    box-shadow: 0 2px 8px rgba(26, 115, 232, 0.2);
    transition: all 0.1s ease;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--white);
    border: 2px solid var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    visibility: visible;
    opacity: 1;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-secondary:active {
    transform: scale(0.98);
    opacity: 0.9;
    transition: all 0.1s ease;
}

/* Chairman Greeting Section */
.greeting-section {
    padding: var(--kicda-space-20) var(--kicda-space-5);
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
}

.greeting-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
}

.greeting-photo {
    text-align: center;
}

.greeting-photo img {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--shadow-xl);
    border: 5px solid white;
}

.greeting-photo h3 {
    margin-top: 20px;
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
}

.greeting-photo .title {
    color: var(--primary);
    font-size: 16px;
    font-weight: 600;
}

.greeting-content {
    padding-right: 40px;
}

.greeting-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.greeting-content h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: var(--primary);
}

.greeting-content p {
    font-size: 16px;
    line-height: 2;
    color: #4b5563;
    margin-bottom: 20px;
}

.greeting-content .signature {
    margin-top: 30px;
    font-style: italic;
    color: var(--primary);
    font-weight: 600;
}

@media (max-width: 768px) {
    .greeting-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .greeting-photo img {
        width: 200px;
        height: 200px;
    }

    .greeting-content {
        padding-right: 0;
    }

    .greeting-content h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Trust Badges */
.trust-section {
    background: var(--light-gray);
    padding: var(--kicda-space-7\.5) var(--kicda-space-5);
    border-bottom: 1px solid #e5e7eb;
}

.trust-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
}

.trust-text {
    text-align: left;
}

.trust-label {
    font-size: 12px;
    color: #4b5563; /* Changed from var(--gray) #6b7280 to #4b5563 for WCAG AA contrast (4.5:1) */
}

.trust-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    white-space: normal;
    line-height: 1.5;
}

/* Courses Section */
.courses-section {
    padding: var(--kicda-space-20) var(--kicda-space-5);
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: #1e40af; /* Changed from var(--primary-light) #60a5fa to #1e40af for WCAG AA contrast (4.5:1) */
    color: var(--white);
    padding: var(--kicda-space-1) var(--kicda-space-3);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-title {
    font-size: 36px;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 18px;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.category-section {
    margin-bottom: 60px;
}

.category-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.course-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    position: relative;
    /* CLS Fix: Reserve card dimensions */
    min-height: 400px;
}

/* Enhanced 2025-10-05: Improved hover effect for better UX */
.course-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-2xl);
}

.course-badge-hot {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #b91c1c; /* Changed from var(--danger) #ef4444 to #b91c1c for WCAG AA contrast (4.5:1) */
    color: var(--white);
    padding: var(--kicda-space-1) var(--kicda-space-3);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    z-index: 10;
}

.course-badge-new {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #047857; /* Changed from var(--success) #10b981 to #047857 for WCAG AA contrast (4.5:1) */
    color: var(--white);
    padding: var(--kicda-space-1) var(--kicda-space-3);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    z-index: 10;
}

.course-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary) 100%);
}

.course-content {
    padding: var(--kicda-space-6);
}

.course-category {
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
}

.course-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.course-desc {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.625;
}

.course-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--light-gray);
}

.course-duration {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--gray);
    font-size: 14px;
}

.course-price {
    text-align: right;
}

.course-original {
    color: var(--gray);
    text-decoration: line-through;
    font-size: 14px;
}

.course-current {
    color: var(--primary);
    font-size: 20px;
    font-weight: 700;
}

/* Features Section */
.features-section {
    padding: var(--kicda-space-20) var(--kicda-space-5);
    background: var(--light-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    padding: var(--kicda-space-7\.5);
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.feature-desc {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.625;
}

/* Reviews Section */
.reviews-section {
    padding: var(--kicda-space-20) var(--kicda-space-5);
    background: var(--white);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.review-card {
    background: var(--light-gray);
    padding: var(--kicda-space-7\.5);
    border-radius: 12px;
    position: relative;
    /* CLS Fix: Reserve card dimensions */
    min-height: 250px;
}

.review-quote {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 48px;
    color: var(--primary);
    opacity: 0.2;
    font-weight: 900;
}

.review-content {
    position: relative;
    z-index: 1;
}

.review-stars {
    color: var(--warning);
    margin-bottom: 16px;
}

.review-text {
    color: var(--dark);
    font-size: 15px;
    line-height: 2;
    margin-bottom: 20px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
}

.review-info {
    flex: 1;
}

.review-name {
    font-weight: 700;
    color: var(--dark);
    font-size: 14px;
}

.review-course {
    color: var(--gray);
    font-size: 12px;
}

/* CTA Section */
.cta-section {
    padding: var(--kicda-space-25) var(--kicda-space-5);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 36px;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-desc {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta {
    padding: var(--kicda-space-4\.5) var(--kicda-space-10);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    visibility: visible;
    opacity: 1;
}

.btn-cta-primary {
    background: var(--white);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    visibility: visible;
    opacity: 1;
}

.btn-cta-primary:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.btn-cta-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    display: inline-flex;
    align-items: center;
    visibility: visible;
    opacity: 1;
}

.btn-cta-secondary:hover {
    background: var(--white);
    color: var(--primary);
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--white);
    padding: var(--kicda-space-15) var(--kicda-space-5) var(--kicda-space-7\.5);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-desc {
    color: var(--kicda-gray-400);
    font-size: 14px;
    line-height: 2;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--kicda-gray-400);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
    padding: 12px 0;           /* WCAG 2.1 AA: 상하 12px 추가 → 총 44px 높이 */
    display: inline-block;     /* padding이 높이에 반영되도록 설정 */
    min-height: 44px;          /* 최소 터치 타겟 크기 명시 */
}

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

.footer-contact {
    color: var(--kicda-gray-400);
    font-size: 14px;
    line-height: 2;
}

.footer-contact strong {
    color: var(--white);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--kicda-gray-700);
    text-align: center;
    color: var(--kicda-gray-400);
    font-size: 14px;
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--white);
    font-size: 24px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s;
}

.float-btn:hover {
    transform: scale(1.1);
}

.float-kakao {
    background: #fee500;
    color: #3c1e1e;
}

.float-top {
    background: var(--primary);
    display: none;
}

.float-top.show {
    display: flex;
}

/* Responsive */
@media (max-width: 768px) {
    /* .header-container styles moved to kicda-menu-2025.css */

    nav ul {
        display: none;
    }

    /* CLS Fix: Adjust Hero section height for mobile */
    .hero {
        min-height: 500px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-stats {
        gap: 30px;
        min-height: 100px;
    }

    .section-title {
        font-size: 28px;
    }

    .courses-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .floating-buttons {
        bottom: 20px;
        right: 20px;
    }
}

/* 모달 스타일 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-2xl);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--kicda-space-5);
    border-bottom: 1px solid #eee;
}

.modal-header h2 {
    margin: 0;
    color: var(--kicda-primary-dark);
    font-size: 24px;
}

.close {
    font-size: 28px;
    color: #999;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: var(--kicda-gray-900);
}

.modal-body {
    padding: var(--kicda-space-5);
}

/* 혜택 모달 스타일 */
.benefits-section {
    margin-bottom: 25px;
}

.benefits-section h3 {
    color: var(--kicda-primary-dark);
    margin-bottom: 15px;
    font-size: 18px;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    margin-bottom: 12px;
    padding: var(--kicda-space-3);
    background: #f8fafc;
    border-radius: 8px;
    font-size: 16px;
    line-height: 1.5;
}

.benefits-period {
    font-size: 18px;
    font-weight: bold;
    color: var(--kicda-danger-dark);
    text-align: center;
    margin-bottom: 10px;
}

.benefits-note {
    font-size: 14px;
    color: var(--kicda-gray, #6b7280);
    text-align: center;
}

.benefits-cta {
    text-align: center;
    margin-top: 25px;
}

.btn-benefits-primary {
    background: linear-gradient(45deg, var(--kicda-primary-dark), #3b82f6);
    color: white;
    padding: var(--kicda-space-4) var(--kicda-space-7\.5);
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

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

/* 가입 폼 스타일 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--kicda-gray-900);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--kicda-space-3);
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-group label {
    margin: 0;
    cursor: pointer;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.btn-primary,
.btn-secondary {
    padding: var(--kicda-space-3) var(--kicda-space-6);
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 120px;
}

.btn-primary {
    background: var(--kicda-primary-dark);
    color: white;
}

.btn-primary:hover {
    background: #1e3a8a;
}

.btn-primary:active {
    transform: scale(0.98);
    opacity: 0.9;
    transition: all 0.1s ease;
}

.btn-secondary {
    background: #f3f4f6;
    color: var(--kicda-gray-700);
    border: 1px solid #d1d5db;
}

.btn-secondary:hover {
    background: #e5e7eb;
}

.btn-secondary:active {
    transform: scale(0.98);
    opacity: 0.9;
    transition: all 0.1s ease;
}

/* Click/Active 피드백 - 범용 스타일 */
button:active {
    transform: scale(0.98);
    opacity: 0.9;
    transition: all 0.1s ease;
}

a.nav-link:active {
    opacity: 0.8;
    transition: opacity 0.1s ease;
}

a.logo:active {
    opacity: 0.8;
    transition: opacity 0.1s ease;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: var(--kicda-space-2\.5);
    }

    .modal-header h2 {
        font-size: 20px;
    }

    .benefits-list li {
        font-size: 14px;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
}