﻿:root {
    --primary: #2380fb;
    --primary-light: #f0f2ff;
    --primary-dark: #3948c0;
    --green: #22c55e;
    --green-light: #f0fdf4;
    --orange: #f59e0b;
    --orange-light: #fffbeb;
    --purple: #8b5cf6;
    --purple-light: #f5f3ff;
    --cyan: #06b6d4;
    --cyan-light: #ecfeff;
    --pink: #ec4899;
    --pink-light: #fdf2f8;
    --text: #1e293b;
    --text2: #64748b;
    --text3: #94a3b8;
    --border: #e2e8f0;
    --bg: #ffffff;
    --bg-gray: #f8fafc;
    --code-bg: #e2e8f0;
    --code-text: #1e293b;
    --code-border: #cbd5e1;
    --code-comment: #64748b;
    --code-cmd: #2563eb;
    --code-prompt: #16a34a;
    --code-val: #d97706;
    --code-output: #334155;
    --code-header: #d1d5db;
    --code-lang: #475569;
}
a {
    color: var(--primary);
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

/* ===== Hero ===== */
.hero {
    padding: 120px 60px 50px;
    text-align: center;
    background: linear-gradient(180deg, var(--primary-light) 0%, #fff 100%);
}

.hero-badge {
    display: inline-block;
    font-size: 12px;
    color: var(--primary);
    background: #fff;
    border: 1px solid var(--border);
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
    letter-spacing: .5px;
}

.hero h1 {
    font-size: 36px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 16px;
}

    .hero h1 .accent {
        color: var(--primary);
    }

.hero p {
    font-size: 16px;
    color: var(--text2);
    max-width: 580px;
    margin: 0 auto 28px;
    line-height: 1.8;
}

/* Code Block */
.code-block {
    max-width: 600px;
    margin: 0 auto 28px;
    background: var(--code-bg);
    border: 1px solid var(--code-border);
    border-radius: 10px;
    overflow: hidden;
    text-align: left;
}

.code-block-header {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    background: var(--code-header);
    border-bottom: 1px solid var(--code-border);
    font-family: 'Courier New', Consolas, monospace;
    font-size: 12px;
    color: var(--code-lang);
}

    .code-block-header .lang {
        margin-right: auto;
    }

.code-block-body {
    padding: 18px 20px;
    font-family: 'Courier New', Consolas, 'SF Mono', monospace;
    font-size: 14px;
    line-height: 2;
}

    .code-block-body .prompt {
        color: var(--code-prompt);
    }

    .code-block-body .cmd,
    .code-block-body .cmd-line {
        color: var(--code-cmd);
    }

    .code-block-body .flag {
        color: var(--code-prompt);
        background: none;
    }

    .code-block-body .val {
        color: var(--code-val);
    }

    .code-block-body .comment {
        color: var(--code-comment);
        font-style: italic;
    }

    .code-block-body .output {
        color: var(--code-output);
        font-size: 13px;
    }

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.btn {
    font-size: 14px;
    padding: 10px 28px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all .15s;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border: none;
}

    .btn-primary:hover {
        opacity: .9;
        text-decoration: none;
    }

.btn-outline {
    background: #fff;
    color: var(--primary);
    border: 1px solid var(--primary);
}

    .btn-outline:hover {
        background: var(--primary-light);
        text-decoration: none;
    }

.btn-text {
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 500;
}

    .btn-text:hover {
        opacity: .8;
        text-decoration: underline;
    }

/* Hero Account-SK */
.hero-account-sk {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 32px;
    padding: 24px 40px;
    max-width: 600px;
    margin: 32px auto 0;
    background: linear-gradient(135deg, var(--primary-light) 0%, #fff 100%);
    border: 2px solid var(--primary);
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(35,128,251,.08);
}

    .hero-account-sk.hidden {
        display: none;
    }

    .hero-account-sk .label {
        font-size: 15px;
        color: var(--primary-dark);
        font-weight: 700;
        white-space: nowrap;
    }

    .hero-account-sk .value {
        font-family: 'Courier New', Consolas, monospace;
        font-size: 16px;
        color: var(--primary);
        font-weight: 700;
        letter-spacing: .5px;
        user-select: all;
    }

    .hero-account-sk .copy-sk-btn {
        font-size: 14px;
        padding: 8px 24px;
        border-radius: 8px;
        cursor: pointer;
        border: none;
        background: var(--primary);
        color: #fff;
        transition: all .15s;
        white-space: nowrap;
        font-weight: 600;
        margin-right: 10px;
    }

        .hero-account-sk .copy-sk-btn:hover {
            background: var(--primary-dark);
        }

.sk-login-link {
    font-size: 16px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    padding: 6px 0;
}

    .sk-login-link:hover {
        text-decoration: underline;
    }

.account-sk-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.sk-note {
    padding-left: 1.125rem;
    font-size: 11px;
    color: var(--text3);
    font-weight: 400;
    white-space: nowrap;
}

.hero-sk-note {
    max-width: 600px;
    margin: 10px auto 0;
    font-size: 12px;
    color: var(--text3);
    text-align: center;
}

/* ===== Section ===== */
.section {
    padding: 56px 60px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

    .section-header h2 {
        font-size: 24px;
        font-weight: 700;
        color: var(--text);
        margin-bottom: 8px;
    }

    .section-header p {
        font-size: 14px;
        color: var(--text2);
    }

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1080px;
    margin: 0 auto;
}

.feature-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 28px 24px;
    transition: box-shadow .2s;
}

    .feature-card:hover {
        box-shadow: 0 4px 16px rgba(0,0,0,.06);
    }

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.feature-card h4 {
    font-size: 15px;
    color: var(--text);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 13px;
    color: var(--text2);
    line-height: 1.7;
}

/* Skills Section */
.skills-section {
    background: #fff;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.skill-tabs {
    display: flex;
    gap: 4px;
    justify-content: center;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.skill-tab {
    font-size: 13px;
    padding: 6px 18px;
    border-radius: 20px;
    cursor: pointer;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text2);
    transition: all .15s;
}

    .skill-tab:hover {
        border-color: var(--primary);
        color: var(--primary);
    }

    .skill-tab.active {
        background: var(--primary);
        color: #fff;
        border-color: var(--primary);
    }

.cmd-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 1080px;
    margin: 0 auto;
}

.cmd-category {
    grid-column: 1 / -1;
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    padding: 16px 0 8px;
    border-bottom: 2px solid var(--border);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .cmd-category .cat-icon {
        width: 28px;
        height: 28px;
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        flex-shrink: 0;
    }

    .cmd-category.hidden {
        display: none;
    }

.cmd-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px;
    transition: border-color .15s;
}

    .cmd-item:hover {
        border-color: var(--primary);
    }

    .cmd-item.hidden {
        display: none;
    }

    .cmd-item a {
        color: inherit;
        text-decoration: none;
        display: block;
    }

        .cmd-item a:hover {
            text-decoration: none;
        }

    .cmd-item .cmd-name {
        font-family: 'Courier New', Consolas, monospace;
        font-size: 13px;
        color: var(--primary);
        margin-bottom: 4px;
        font-weight: 600;
    }

    .cmd-item .cmd-desc {
        font-size: 12px;
        color: var(--text2);
    }

    .cmd-item .cmd-platform {
        display: inline-block;
        font-size: 10px;
        padding: 2px 8px;
        border-radius: 10px;
        margin-top: 6px;
        font-weight: 500;
    }

        .cmd-item .cmd-platform.amazon {
            background: var(--orange-light);
            color: var(--orange);
        }

        .cmd-item .cmd-platform.shopee {
            background: var(--pink-light);
            color: var(--pink);
        }

        .cmd-item .cmd-platform.walmart {
            background: var(--cyan-light);
            color: var(--cyan);
        }

/* Platform Cards */
.platforms-grid {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1080px;
    margin: 0 auto 32px;
}

.platform-card {
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

    .platform-card:hover {
        transform: translateY(-2px);
        transition: transform .2s;
    }

.platform-logo {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .platform-logo img {
        height: 90px;
        width: auto;
        
        object-fit: contain;
    }

.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--green);
    font-weight: 500;
}

    .platform-badge .check {
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: var(--green-light);
        color: var(--green);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 10px;
    }

.cmd-item.highlight {
    border-color: var(--primary);
    background: var(--primary-light);
}

    .cmd-item.highlight .cmd-name {
        color: var(--primary);
    }

    .cmd-item.highlight .cmd-desc {
        color: var(--text);
        font-family: 'Courier New', Consolas, monospace;
        font-size: 12px;
    }

/* Download Section */
.download-section {
    background: #fff;
    border-top: 1px solid var(--border);
}

.btn-download {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    transition: opacity .15s;
}

    .btn-download:hover {
        opacity: .9;
        text-decoration: none;
    }

    .btn-download .icon {
        margin-right: 6px;
    }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    background: var(--primary);
    color: #fff;
    transition: opacity .15s;
}

    .btn-secondary:hover {
        opacity: .9;
        text-decoration: none;
    }

/* Install Tutorial */
.tutorial-steps {
    max-width: 800px;
    margin: 0 auto;
}

.tutorial-step {
    display: flex;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
}

    .tutorial-step:last-child {
        border-bottom: none;
    }

    .tutorial-step .step-num {
        flex-shrink: 0;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: var(--primary);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        font-weight: 700;
    }

    .tutorial-step .step-content h4 {
        font-size: 15px;
        color: var(--text);
        margin-bottom: 8px;
    }

    .tutorial-step .step-content p {
        font-size: 13px;
        color: var(--text2);
        margin-bottom: 12px;
        line-height: 1.7;
    }

    .tutorial-step .step-content code {
        display: block;
        background: var(--code-bg);
        color: var(--code-text);
        border-radius: 6px;
        padding: 10px 16px;
        font-family: 'Courier New', Consolas, monospace;
        font-size: 13px;
        line-height: 1.8;
    }

/* Tutorial code block */
.tutorial-code-block {
    width: 700px;
    max-width: 100%;
    margin: 0 auto;
    background: var(--code-bg);
    border: 1px solid var(--code-border);
    border-radius: 8px;
    overflow: hidden;
    text-align: left;
}

    .tutorial-code-block .code-block-header {
        background: var(--code-header);
        border-bottom: 1px solid var(--code-border);
    }

    .tutorial-code-block .code-block-body {
        padding: 14px 16px;
    }

/* Tab Switcher */
.tab-switcher {
    margin-top: 12px;
}

    .tab-switcher .tab-header {
        display: flex;
        gap: 0;
        margin-bottom: 0;
    }

    .tab-switcher .tab-btn {
        font-size: 13px;
        padding: 8px 20px;
        border-radius: 6px 6px 0 0;
        cursor: pointer;
        border: 1px solid var(--code-border);
        background: var(--code-bg);
        color: var(--text2);
        transition: all .15s;
        font-weight: 500;
        border-bottom: none;
    }

        .tab-switcher .tab-btn:hover {
            color: var(--primary);
        }

        .tab-switcher .tab-btn.active {
            background: #fff;
            color: var(--primary);
            border-color: var(--code-border);
            border-bottom: 1px solid #fff;
            position: relative;
            z-index: 1;
        }

    .tab-switcher .tab-panel {
        display: none;
        border: 1px solid var(--code-border);
        border-radius: 0 0 8px 8px;
        background: #fff;
        overflow: hidden;
    }

        .tab-switcher .tab-panel.active {
            display: block;
        }

        .tab-switcher .tab-panel .code-block-body {
            padding: 14px 16px;
        }

/* Agent Section */
.agent-section {
    max-width: 1080px;
    margin: 0 auto;
}

.agent-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.agent-text h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
}

.agent-text p {
    font-size: 14px;
    color: var(--text2);
    margin-bottom: 24px;
    line-height: 1.8;
}

.agent-features {
    list-style: none;
}

    .agent-features li {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        padding: 10px 0;
        font-size: 14px;
        color: var(--text);
    }

        .agent-features li .check {
            flex-shrink: 0;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: var(--green-light);
            color: var(--green);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 11px;
            margin-top: 2px;
        }

.agent-terminal {
    max-width: 600px;
    margin: 0 auto;
    background: var(--code-bg);
    border: 1px solid var(--code-border);
    border-radius: 10px;
    overflow: hidden;
    text-align: left;
}

    .agent-terminal .code-block-body {
        padding: 20px;
        font-size: 13px;
    }

/* Comparison */
.compare-section {
    background: #fff;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.compare-table {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    border-collapse: collapse;
    font-size: 14px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
}

    .compare-table th, .compare-table td {
        padding: 14px 20px;
        text-align: left;
    }

    .compare-table th {
        background: #fff;
        color: var(--text);
        font-weight: 600;
        font-size: 13px;
        text-transform: uppercase;
        letter-spacing: .5px;
        border-bottom: 1px solid var(--border);
    }

    .compare-table td {
        color: var(--text2);
        border-bottom: 1px solid var(--border);
    }

    .compare-table tbody tr:last-child td {
        border-bottom: none;
    }

    .compare-table tbody tr:hover td {
        background: var(--primary-light);
    }

.col-cli {
    color: var(--primary) !important;
    font-weight: 500;
}

.col-cli-bg {
    background: var(--primary-light) !important;
}

.compare-table tbody tr:hover .col-cli-bg {
    background: #dde3ff !important;
}

.stars {
    color: var(--orange);
    letter-spacing: 2px;
}

.rec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 1080px;
    margin: 40px auto 0;
}

.rec-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 28px 24px;
    text-align: center;
    transition: box-shadow .2s;
}

    .rec-card:hover {
        box-shadow: 0 4px 16px rgba(0,0,0,.06);
    }

    .rec-card .rec-icon {
        font-size: 28px;
        margin-bottom: 12px;
    }

        .rec-card .rec-icon img {
            width: 36px;
            height: 36px;
            object-fit: contain;
        }

    .rec-card h4 {
        font-size: 15px;
        color: var(--text);
        margin-bottom: 8px;
    }

    .rec-card p {
        font-size: 13px;
        color: var(--text2);
        line-height: 1.7;
    }

.rec-tag {
    display: inline-block;
    margin-top: 12px;
    font-size: 11px;
    padding: 3px 12px;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary);
}

/* Footer */
.footer {
    padding: 40px 60px 30px;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 13px;
    color: var(--text2);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
}

    .footer-links a {
        color: var(--text2);
    }

        .footer-links a:hover {
            color: var(--text);
            text-decoration: none;
        }

@media (max-width: 900px) {
    .nav {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 48px 20px 40px;
    }

        .hero h1 {
            font-size: 26px;
        }

    .section {
        padding: 40px 20px;
    }

    .features-grid, .cmd-grid, .rec-grid {
        grid-template-columns: 1fr;
    }

    .agent-layout {
        grid-template-columns: 1fr;
    }

    .compare-table {
        font-size: 12px;
    }

    .tutorial-step {
        flex-direction: column;
        gap: 12px;
    }

    .hero-account-sk {
        flex-direction: column;
        gap: 12px;
        padding: 20px 24px;
    }
}