/* ========================================
   이너리드 (Innerlead) - 메인 스타일시트
   AI 교육 & 컨설팅 전문
   ======================================== */

:root {
    --deep-blue: #203A4C;
    --emerald: #20B495;
    --white: #FFFFFF;
    --light-gray: #F6F8FA;
    --accent-purple: #6E57E0;
    --hot-yellow: #FFC93C;
    --dark-text: #1a1a2e;
    --body-text: #4a5568;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: var(--body-text);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== 헤더 ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--deep-blue);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--emerald), var(--accent-purple));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--dark-text);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.nav-menu a:hover {
    color: var(--emerald);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--emerald);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--deep-blue);
}

/* ========== 버튼 스타일 ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--emerald), #1a9b80);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(32, 180, 149, 0.4);
}

.btn-secondary {
    background: var(--deep-blue);
    color: white;
}

.btn-secondary:hover {
    background: #2a4a5c;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--emerald);
    color: var(--emerald);
}

.btn-outline:hover {
    background: var(--emerald);
    color: white;
}

.btn-yellow {
    background: var(--hot-yellow);
    color: var(--dark-text);
}

.btn-yellow:hover {
    background: #e6b535;
    transform: translateY(-2px);
}

/* ========== 히어로 섹션 ========== */
.hero {
    padding: 140px 20px 80px;
    background: linear-gradient(135deg, var(--light-gray) 0%, #e8f4f8 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.hero-text h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--deep-blue);
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero-text h1 .highlight {
    background: linear-gradient(135deg, var(--emerald), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text .subtitle {
    font-size: 1.25rem;
    color: var(--body-text);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.hero-badge {
    position: absolute;
    background: white;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-badge.top-right {
    top: -20px;
    right: -20px;
}

.hero-badge.bottom-left {
    bottom: -20px;
    left: -20px;
}

/* ========== 섹션 공통 ========== */
.section {
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--deep-blue);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--body-text);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ========== 서비스 섹션 ========== */
.services {
    background: var(--white);
}

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

.service-card {
    background: var(--light-gray);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--emerald);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--emerald), var(--accent-purple));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.service-card h3 {
    font-size: 1.3rem;
    color: var(--deep-blue);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--body-text);
    font-size: 0.95rem;
    line-height: 1.7;
}

.service-tag {
    display: inline-block;
    background: var(--emerald);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

/* ========== 강점 섹션 ========== */
.strengths {
    background: var(--deep-blue);
    color: white;
}

.strengths .section-title h2 {
    color: white;
}

.strengths .section-title p {
    color: rgba(255, 255, 255, 0.8);
}

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

.strength-item {
    text-align: center;
    padding: 30px;
}

.strength-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--hot-yellow);
    margin-bottom: 10px;
}

.strength-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.strength-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* ========== 대상 섹션 ========== */
.target-audience {
    background: var(--light-gray);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.audience-card {
    background: white;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.audience-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.audience-card h3 {
    font-size: 1.1rem;
    color: var(--deep-blue);
    margin-bottom: 10px;
}

.audience-card p {
    color: var(--body-text);
    font-size: 0.9rem;
}

/* ========== CTA 섹션 ========== */
.cta-section {
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--emerald) 100%);
    padding: 80px 20px;
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

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

/* ========== 채널 섹션 ========== */
.channels {
    background: white;
}

.channels-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.channel-card {
    background: var(--light-gray);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
}

.channel-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.channel-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.channel-card h4 {
    color: var(--deep-blue);
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.channel-card a {
    color: var(--emerald);
    font-size: 0.85rem;
    word-break: break-all;
}

.channel-card a:hover {
    text-decoration: underline;
}

/* ========== 푸터 ========== */
.footer {
    background: var(--deep-blue);
    color: white;
    padding: 60px 20px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 20px;
}

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

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

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

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

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

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

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--emerald);
}

/* ========== 알럿 메시지 ========== */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* ========== 페이지 레이아웃 ========== */
.page-wrapper {
    padding-top: 80px;
    min-height: 100vh;
}

.page-header {
    background: var(--light-gray);
    padding: 60px 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 2rem;
    color: var(--deep-blue);
    margin-bottom: 10px;
}

.page-content {
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto;
}

/* ========== 인증 페이지 ========== */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--light-gray) 0%, #e8f4f8 100%);
    padding: 20px;
}

.auth-box {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 420px;
}

.auth-logo {
    text-align: center;
    margin-bottom: 30px;
}

.auth-logo h2 {
    font-size: 1.5rem;
    color: var(--deep-blue);
    margin-top: 15px;
}

.auth-title {
    text-align: center;
    font-size: 1.3rem;
    color: var(--deep-blue);
    margin-bottom: 25px;
}

.auth-links {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--body-text);
}

.auth-links a {
    color: var(--emerald);
    margin: 0 5px;
}

.auth-links a:hover {
    text-decoration: underline;
}

/* ========== 마이페이지 ========== */
.mypage-sidebar {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 12px;
}

.mypage-menu {
    list-style: none;
}

.mypage-menu li {
    margin-bottom: 10px;
}

.mypage-menu a {
    display: block;
    padding: 12px 15px;
    border-radius: 8px;
    color: var(--dark-text);
}

.mypage-menu a:hover,
.mypage-menu a.active {
    background: var(--emerald);
    color: white;
}

.withdraw-link {
    font-size: 0.8rem;
    color: #999;
    text-align: right;
    margin-top: 30px;
}

.withdraw-link a:hover {
    color: #dc3545;
}

/* ========== 반응형 ========== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .strengths-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .audience-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: var(--shadow);
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .header-buttons {
        display: none;
    }

    .hero {
        padding: 120px 20px 60px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .services-grid,
    .strengths-grid {
        grid-template-columns: 1fr;
    }

    .audience-grid {
        grid-template-columns: 1fr;
    }

    .channels-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .section {
        padding: 60px 20px;
    }

    .auth-box {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .channels-grid {
        grid-template-columns: 1fr;
    }
}
