:root {
    --bg-dark: #ffffff;
    --bg-card: #f8fafc;
    --text-primary: #0f172a;
    --text-secondary: #475569;

    /* Brand Colors */
    --brand-shopee: #EE4D2D;
    --brand-lazada: #0f146d;
    --brand-tiktok: #000000;

    --primary-navy: #0F172A;
    /* Keep for text/dark mode feel */
    --primary-blue: #334155;

    --gradient-brand: linear-gradient(135deg, var(--brand-shopee) 0%, var(--brand-lazada) 50%, var(--brand-tiktok) 100%);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    word-break: keep-all;
    /* Better for Korean */
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

h1,
.logo,
.stat-number,
.timeline-number {
    font-family: var(--font-heading);
    color: var(--text-primary);
}

h2,
h3,
h4,
.btn {
    font-family: var(--font-body);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 20px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--primary-navy);
}

.highlight {
    color: var(--primary-navy);
    /* Highlight is now Navy for Serious Tone */
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 16px;
}

.nav-link:hover {
    color: var(--primary-navy);
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    display: inline-block;
    font-size: 16px;
}

.btn-primary {
    background: var(--primary-navy);
    color: #fff;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.4);
    background: #1e293b;
}

.btn-outline {
    border: 1px solid var(--text-secondary);
    color: var(--text-primary);
    background: transparent;
}

.btn-outline:hover {
    background: #f3f4f6;
    border-color: var(--text-primary);
}

.btn-block {
    width: 100%;
    text-align: center;
}

/* Hero */
.hero {
    position: relative;
    padding: 180px 0 100px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(15, 23, 42, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(51, 65, 85, 0.05) 0%, transparent 40%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 24px;
}

.hero-title {
    font-size: 56px;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 24px;
}

.gradient-text {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Stats */
.stats {
    padding: 60px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background: #f9fafb;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 14px;
    letter-spacing: 0;
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: 40px;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 18px;
}

/* Success Stories (New) */
.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.story-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    overflow: hidden;
    transition: 0.3s;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--primary-navy);
}

.story-chart {
    height: 160px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
}

.story-content {
    padding: 24px;
}

.story-content h3 {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.story-stat {
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(15, 23, 42, 0.05);
    padding: 12px;
    border-radius: 12px;
}

.stat-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-navy);
}

.story-desc {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Experts Section (New) */
.experts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.expert-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 32px;
    text-align: center;
    transition: 0.3s;
}

.expert-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    z-index: 50;
    position: relative;
}

.expert-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 24px;
    border: 2px solid rgba(0, 0, 0, 0.05);
    background: #f9fafb;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
}

.expert-img:hover {
    transform: scale(2.5);
    border-radius: 12px;
    z-index: 100;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-navy);
}

.expert-info h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.expert-role {
    display: block;
    font-size: 14px;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.expert-desc {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    margin-top: 16px;
}

.expert-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.expert-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 20px;
    background: #f3f4f6;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    transition: 0.2s;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.expert-link-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: var(--primary-navy);
    transform: translateY(-2px);
}

transform: translateY(-2px);
}

/* Captain Effect */
.captain-container {
    position: relative;
    display: inline-block;
    margin: 0 auto 24px;
}

.captain-container .expert-img {
    margin-bottom: 0;
    border: 4px solid var(--primary-navy);
    animation: captainPulse 2s infinite;
    position: relative;
    z-index: 2;
}

@keyframes captainPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(15, 23, 42, 0.4);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(15, 23, 42, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(15, 23, 42, 0);
    }

    .captain-speech {
        position: absolute;
        top: 0;
        right: -100px;
        background: #ffffff;
        color: var(--primary-navy);
        padding: 8px 16px;
        border-radius: 20px 20px 20px 0;
        font-weight: 800;
        font-size: 14px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
        border: 2px solid var(--primary-navy);
        white-space: nowrap;
        z-index: 10;
        animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards, floatBubble 3s ease-in-out infinite 0.5s;
        opacity: 0;
        transform-origin: bottom left;
    }

    @keyframes popIn {
        from {
            opacity: 0;
            transform: scale(0);
        }

        to {
            opacity: 1;
            transform: scale(1);
        }
    }

    @keyframes floatBubble {

        0%,
        100% {
            transform: translateY(0);
        }

        50% {
            transform: translateY(-5px);
        }
    }

    @media (max-width: 480px) {
        .captain-speech {
            right: -60px;
            font-size: 12px;
            padding: 6px 12px;
        }
    }
}

.captain-container::before {
    content: '🧢';
    font-size: 70px;
    /* Larger Hat */
    position: absolute;
    top: -40px;
    /* Adjusted to sit on head */
    left: 45%;
    /* Tilted slightly */
    transform: translateX(-50%) rotate(-10deg);
    z-index: 3;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

.captain-container::after {
    content: '🚬';
    font-size: 40px;
    position: absolute;
    bottom: 5px;
    /* Moved up */
    right: -25px;
    /* Moved out */
    z-index: 3;
    transform: rotate(15deg) scaleX(-1);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
}

/* Smoke Effect */
.smoke-effect {
    position: absolute;
    bottom: 30px;
    right: -30px;
    width: 10px;
    height: 10px;
    background: rgba(200, 200, 200, 0.6);
    border-radius: 50%;
    z-index: 1;
    animation: smokeFloat 3s infinite ease-out;
}

.smoke-effect::before,
.smoke-effect::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(200, 200, 200, 0.5);
    border-radius: 50%;
}

.smoke-effect::before {
    top: 5px;
    right: 5px;
    animation: smokeFloat 3.5s infinite 0.5s ease-out;
}

.smoke-effect::after {
    top: -5px;
    right: -5px;
    animation: smokeFloat 2.8s infinite 1.0s ease-out;
}

@keyframes smokeFloat {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.8;
    }

    100% {
        transform: translateY(-40px) translateX(10px) scale(3);
        opacity: 0;
    }
}

/* Partners Section (New) */
.partners {
    background: rgba(255, 255, 255, 0.02);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.partner-category {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 24px;
    transition: 0.3s;
}

.partner-category:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.partner-category h3 {
    font-size: 18px;
    color: var(--primary-navy);
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 10px;
}

.partner-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.partner-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.partner-icon {
    font-size: 24px;
    background: #fff;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.partner-name {
    font-weight: 600;
    font-size: 16px;
    color: var(--text-primary);
}

.partner-sub {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
}

.partner-tag {
    font-size: 12px;
    background: rgba(15, 23, 42, 0.1);
    color: var(--primary-navy);
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: auto;
}

/* Services (Renamed Solutions) */
.services-grid.three-col {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    /* Reduced gap to fit better */
    display: grid;
    width: 100%;
}

@media (max-width: 700px) {

    /* Lowered breakpoint from 900px */
    .services-grid.three-col {
        grid-template-columns: 1fr;
    }
}

.card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    /* Reduced padding */
    border-radius: 16px;
    transition: 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    min-height: 280px;
    /* Ensure consistent height */
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-navy);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 40px;
    margin-bottom: 20px;
    background: #f1f5f9;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    font-weight: 800;
}

.card p {
    color: var(--text-primary);
    font-size: 16px;
    margin-bottom: 16px;
    opacity: 0.9;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
    /* Center align for the new layout */
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 16px;
    width: 100%;
}

.service-list li {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 8px;
    padding-left: 0;
    position: relative;
    display: block;
    /* Remove list-item layout */
}

/* Remove the bullet point since we are centering */
.service-list li::before {
    content: none;
}

/* Calculator Style */
.calculator-box {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .calculator-box {
        grid-template-columns: 1fr 1fr;
    }
}

.calc-inputs {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.calc-results {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.result-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 16px;
    color: var(--text-secondary);
}

.result-row.highlight-row {
    margin-top: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-cyan);
}

.result-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 12px 0;
}

.val {
    font-family: var(--font-heading);
}

.val.negative {
    color: var(--primary-red);
}

.val.highlight {
    color: var(--primary-navy);
    font-size: 32px;
}

.disclaimer {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 16px;
    text-align: right;
}

/* Process Timeline */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    height: 100%;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.timeline-item {
    display: flex;
    gap: 32px;
    position: relative;
    z-index: 1;
    background: var(--bg-dark);
    padding: 20px 0;
}

.timeline-number {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    background: var(--primary-navy);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.timeline-content h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.timeline-content p {
    color: var(--text-secondary);
}

@media (min-width: 768px) {
    .timeline {
        flex-direction: row;
        max-width: 100%;
    }

    .timeline::before {
        left: 0;
        top: 20px;
        width: 100%;
        height: 2px;
    }

    .timeline-item {
        flex-direction: column;
        gap: 16px;
        background: transparent;
        flex: 1;
        text-align: center;
        align-items: center;
    }
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 18px;
}

.toggle-icon {
    font-size: 24px;
    font-weight: 300;
    color: var(--primary-navy);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding-bottom: 24px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    /* arbitrary height high enough for content */
}

.faq-item.active .toggle-icon {
    transform: rotate(45deg);
}


/* Contact */
.contact-container {
    display: grid;
    grid-template-columns: 1fr;
}

/* Fixed missing braces/responsive in original if any */

@media (min-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 60px;
    }
}

.contact-title {
    font-size: 40px;
    margin-bottom: 24px;
}

.contact-text {
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 18px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 18px;
    margin-bottom: 20px;
}

.contact-form {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-family: inherit;
    transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-cyan);
    background: rgba(255, 255, 255, 0.05);
}

/* Footer */
.footer {
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-logo {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 16px;
}

.copyright {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Floating Kakao */
.float-kakao {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #FEE500;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: #000;
    z-index: 9999;
    transition: transform 0.3s;
}

.float-kakao:hover {
    transform: scale(1.1);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

/* Mobile Tweaks */
@media (max-width: 768px) {
    .hero {
        padding: 140px 0 80px;
    }

    .hero-title {
        font-size: 36px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .nav {
        display: none;
        /* Simplified nav for mobile MVP */
    }
}