/* UI Core Styles - Complete Component Styles from ui-core.html */

/* ================================
   1. HEADER NAVIGATION
   ================================ */
.header-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--linky-surface);
    height: var(--header-height);
    box-shadow: 0 2px 10px var(--linky-shadow);
    z-index: 1000;
}

.header-nav-inner {
    max-width: var(--max-content-width);
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--linky-primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: var(--linky-text-primary);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.nav-links a:hover {
    color: var(--linky-primary);
}

.nav-links .btn {
    margin: 0;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--linky-text-primary);
}

/* ================================
   2. HERO SECTION
   ================================ */
.hero-section {
    background: var(--linky-surface);
    position: relative;
    overflow: hidden;
    padding: 100px 40px;
    text-align: center;
    margin-bottom: 40px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(16, 185, 129, 0.03) 0%, transparent 50%);
}

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

.hero-title {
    font-size: 72px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--linky-text-primary);
    position: relative;
    z-index: 1;
}

.hero-title span {
    color: var(--linky-primary);
    display: block;
    margin-top: 10px;
}

/* 첫 번째 줄 스타일 추가 */
.hero-title-sub {
    font-size: 32px;
    font-weight: 500;
    color: var(--linky-text-secondary);
    display: block;
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--linky-text-secondary);
    max-width: 600px;
    margin: 0 auto 48px;
    position: relative;
    z-index: 1;
    font-weight: 400;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.key-points {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    max-width: 500px;
    margin: 40px auto;
}

.key-point {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 16px;
    color: var(--linky-text-primary);
}

.key-point:last-child {
    margin-bottom: 0;
}

.key-point .check {
    color: var(--linky-primary);
    font-size: 20px;
}

/* ================================
   3. BUTTONS
   ================================ */
.btn {
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-block;
    text-decoration: none;
    margin: 5px;
}

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

.btn-primary:hover {
    background: var(--linky-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.btn-secondary {
    background: white;
    color: var(--linky-text-primary);
    box-shadow: inset 0 0 0 1px var(--linky-border);
}

.btn-secondary:hover {
    box-shadow: inset 0 0 0 1px var(--linky-text-primary);
}

.btn-ghost {
    background: transparent;
    color: var(--linky-text-secondary);
    font-weight: 500;
}

.btn-ghost:hover {
    color: var(--linky-text-primary);
}

.btn-danger {
    background: transparent;
    color: var(--linky-error);
    border: 1px solid var(--linky-border);
    font-weight: 400;
}

.btn-danger:hover {
    background: rgba(239, 68, 68, 0.08);
    border-color: var(--linky-error);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
    line-height: 1.5;
}

.btn-lg {
    padding: 14px 36px;
    font-size: 17px;
}

.btn-block {
    width: 100%;
    display: block;
}

/* ================================
   4. CARDS
   ================================ */
.card {
    background: var(--linky-surface);
    border-radius: 12px;
    padding: 28px;
    border: 1px solid var(--linky-border);
    transition: all 0.2s ease;
    margin-bottom: 20px;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(5, 24, 47, 0.08);
}

.card-header {
    margin-bottom: 12px;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--linky-text-primary);
}

.card-body {
    color: var(--linky-text-secondary);
    line-height: 1.7;
    font-size: 15px;
}

.card-footer {
    margin-top: 16px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

/* ================================
   5. TRUST/STATS CARDS
   ================================ */
.trust-section {
    background: var(--linky-surface-alt);
    padding: 80px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.trust-item {
    text-align: center;
    padding: 24px;
    border-radius: 12px;
    background: white;
    border: 1px solid var(--linky-border);
    transition: all 0.2s ease;
}

.trust-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(5, 24, 47, 0.08);
}

.trust-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--linky-primary);
    margin-bottom: 8px;
}

.trust-label {
    font-size: 16px;
    color: var(--linky-text-secondary);
    font-weight: 500;
}

/* ================================
   6. PROCESS CARDS
   ================================ */
.process-section {
    background: white;
    padding: 80px 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.process-card {
    background: var(--linky-surface);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--linky-border);
    text-align: center;
    position: relative;
    transition: all 0.2s ease;
}

.process-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(5, 24, 47, 0.08);
}

.process-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--linky-primary);
    color: white;
    border-radius: 50%;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.process-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--linky-text-primary);
    margin-bottom: 12px;
}

.process-description {
    color: var(--linky-text-secondary);
    line-height: 1.6;
}

/* ================================
   7. SECTIONS
   ================================ */
.section {
    padding: 60px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--linky-text-primary);
    text-align: center;
    margin-bottom: 40px;
}

.container {
    max-width: var(--max-content-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ================================
   8. FOOTER
   ================================ */
.footer {
    background: var(--linky-surface-alt);
    padding: 40px 0;
    margin-top: 80px;
    border-top: 1px solid var(--linky-border);
}

.footer-content {
    text-align: center;
    color: var(--linky-text-secondary);
}

/* ================================
   9. ACCORDION
   ================================ */
.accordion {
    border-radius: 8px;
    overflow: hidden;
}

.accordion-item {
    background: var(--linky-surface);
    border-radius: 8px;
    margin-bottom: 16px;
    border: 1px solid var(--linky-border);
    transition: all 0.2s ease;
}

.accordion-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(5, 24, 47, 0.06);
}

.accordion-header {
    width: 100%;
    padding: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--linky-primary);
    text-align: left;
}

.accordion-icon {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.accordion-item.expanded .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    padding: 0 24px 24px;
    color: var(--linky-text-secondary);
    line-height: 1.6;
    display: none;
}

.accordion-item.expanded .accordion-content {
    display: block;
}

/* ================================
   10. LIST GROUP
   ================================ */
.list-group {
    border-radius: 8px;
    overflow: hidden;
}

.list-group-item {
    background: var(--linky-surface);
    padding: 16px 20px;
    border-bottom: 1px solid var(--linky-border);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background 0.2s ease;
}

.list-group-item:last-child {
    border-bottom: none;
}

.list-group-item.hoverable:hover {
    background: var(--linky-surface-alt);
}

.list-item-icon {
    font-size: 20px;
    color: var(--linky-primary);
}

.list-item-content {
    flex: 1;
}

.list-item-title {
    font-weight: 600;
    color: var(--linky-text-primary);
    margin-bottom: 4px;
}

.list-item-description {
    font-size: 14px;
    color: var(--linky-text-secondary);
}

/* ================================
   11. FEATURE CARDS
   ================================ */
.feature-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    border: 1px solid var(--linky-border);
    transition: all 0.2s ease;
    position: relative;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

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

.feature-description {
    font-size: 14px;
    color: var(--linky-text-secondary);
    line-height: 1.6;
}

/* ================================
   12. CTA SECTION
   ================================ */
.cta-section {
    background: var(--linky-primary);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.cta-section h2 {
    color: white;
}

.cta-section p {
    color: white;
}

/* ================================
   13. ANIMATIONS
   ================================ */
.animate-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================
   14. UTILITY CLASSES
   ================================ */
.container {
    max-width: var(--max-content-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn-block {
    width: 100%;
    display: block;
}

/* ================================
   15. RESPONSIVE
   ================================ */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
        display: none;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-title-sub {
        font-size: 24px;
        margin-bottom: 10px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
}