:root {
    --primary: #0669d5;
    --primary-dark: #0456b3;
    --secondary: #1a237e;
    --text: #111;
    --text-light: #666;
    --bg: #fff;
    --bg-light: #f8f9fa;
    --font-main: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    --header-height: 80px;
    --container-width: 1200px;
}

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

body {
    font-family: var(--font-main);
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
}

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

/* Header */
.main-header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

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

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}

.nav {
    display: flex;
    gap: 40px;
}

.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-link {
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
    transition: color 0.2s;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link:hover {
    color: var(--primary);
}

.arrow-icon {
    font-size: 10px;
    color: #999;
}

.header-actions {
    display: flex;
    gap: 12px;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text);
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.btn-text {
    background: none;
    color: var(--text);
}

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

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

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

.btn-lg {
    padding: 16px 32px;
    font-size: 18px;
    border-radius: 8px;
}

/* Hero */
.hero-section {
    margin-top: var(--header-height);
    padding: 120px 0 160px;
    text-align: center;
    background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
}

.hero-eyebrow {
    font-size: 20px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 48px;
    letter-spacing: -0.02em;
}

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

/* Sections */
.section {
    padding: 100px 0;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    line-height: 1.3;
}

/* Partners */
.partners-section {
    background-color: var(--bg-light);
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 16px;
    margin-top: 40px;
}

.partner-item {
    background: white;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    border-radius: 8px;
    color: #888;
    font-size: 14px;
    font-weight: 500;
    transition: transform 0.2s, box-shadow 0.2s;
}

.partner-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    color: var(--primary);
    border-color: var(--primary);
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid #e9ecef;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
    border-color: rgba(6, 105, 213, 0.3);
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background-color: #f0f7ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    color: #111;
}

.feature-desc {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-tags span {
    background-color: var(--bg-light);
    color: #666;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 4px;
    font-weight: 500;
}

/* AI Section */
.ai-badge {
    background-color: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 20px;
}

.ai-content {
    display: flex;
    gap: 40px;
}

.ai-left {
    flex: 0 0 280px;
}

.ai-big-icon {
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, #448aff 0%, #2979ff 100%);
    border-radius: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    box-shadow: 0 20px 40px rgba(6, 105, 213, 0.3);
}

.ai-big-text {
    font-size: 80px;
    font-weight: 800;
}

.ai-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.ai-card {
    min-width: 240px;
    background-color: #f7f9fc;
    border-radius: 20px;
    padding: 24px;
    height: 240px;
    position: relative;
    overflow: hidden;
}

.ai-card-tag {
    background-color: rgba(6, 105, 213, 0.1);
    color: var(--primary);
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 12px;
}

.ai-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-top: 10px;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 20px;
}

.testi-category {
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.testi-quote {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
    color: #222;
    margin-bottom: 24px;
}

.testi-author {
    font-size: 14px;
    color: #888;
    font-weight: 500;
}

/* Mega Menu */
.mega-dropdown {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 40px 0;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

.nav-item:hover .mega-dropdown {
    display: block;
}

.mega-inner {
    display: flex;
    gap: 40px;
}

.mega-sidebar {
    flex: 0 0 240px;
    border-right: 1px solid #eee;
    padding-right: 30px;
}

.mega-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 30px;
}

.mega-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mega-link {
    display: block;
    color: #333;
    font-weight: 700;
    font-size: 16px;
}

.mega-link .sub {
    display: block;
    font-size: 13px;
    color: #888;
    font-weight: 400;
    margin-top: 6px;
    margin-left: 28px;
}

.mega-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-content: start;
}

.mega-item {
    display: flex;
    gap: 12px;
}

.mega-icon {
    width: 36px;
    height: 36px;
    background: #f5f7fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mega-text {
    font-size: 14px;
    color: #555;
}

.mega-text strong {
    display: block;
    color: #111;
}

.mega-promo {
    flex: 0 0 280px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.promo-card {
    background: #f9f9fa;
    border-radius: 12px;
    padding: 24px;
}

/* Mega Menu Extras */
.promo-logos {
    display: flex;
    gap: 8px;
    margin: 10px 0 15px;
}

.circle-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 10px;
    font-weight: bold;
}

.bg-red {
    background: #e60012;
}

.bg-green {
    background: #03c75a;
}

.bg-orange {
    background: #ee4d2d;
}

.bg-lime {
    background: #00d34d;
}

.promo-desc {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}

.promo-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

/* Footer */
.main-footer {
    padding: 60px 0;
    background: var(--bg-light);
    border-top: 1px solid #e9ecef;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

.footer-cs {
    text-align: right;
}

.cs-phone {
    font-size: 28px;
    font-weight: 800;
    color: #111;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #eee;
    padding-top: 40px;
}

.footer-info {
    font-size: 13px;
    color: #777;
    line-height: 1.6;
}

.footer-mid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding: 20px 0;
    margin-top: 40px;
}

.mid-links a {
    margin-right: 20px;
    font-size: 13px;
    color: #555;
}

.logo-sm {
    font-weight: 800;
    color: var(--primary);
    margin-right: 30px;
    font-size: 18px;
}

.family-site-select {
    padding: 8px;
    border: 1px solid #ddd;
}

.cert-logos {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.cert-badge {
    border: 1px solid #ddd;
    padding: 5px 10px;
    font-size: 11px;
    color: #888;
    border-radius: 4px;
}


/* Responsive Media Queries */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .mega-dropdown {
        display: none !important;
    }

    .nav {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    .nav,
    .header-actions {
        display: none;
    }

    .header-inner {
        position: relative;
    }

    .nav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: var(--header-height);
        left: -20px;
        right: -20px;
        background: white;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        gap: 0;
    }

    .nav.active .nav-item {
        width: 100%;
        height: auto;
        padding: 15px 0;
        border-bottom: 1px solid #eee;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-section {
        padding: 80px 0 100px;
    }

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

    .ai-content {
        flex-direction: column;
    }

    .ai-left {
        flex: none;
        width: 100%;
    }

    .ai-big-icon {
        width: 100%;
        height: 200px;
    }

    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        flex-direction: column;
        gap: 30px;
    }

    .footer-cs {
        text-align: left;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
}