:root {
    --ink: #1c1917;
    --muted: #78716c;
    --soft: #f9fafb;
    --line: #e7e5e4;
    --card: #ffffff;
    --primary: #b45309;
    --primary-2: #d97706;
    --primary-soft: #fef3c7;
    --deep: #111827;
    --green-soft: #f0fdf4;
    --yellow-soft: #fffbeb;
    --purple-soft: #faf5ff;
    --shadow: 0 24px 70px rgba(28, 25, 23, 0.12);
    --growth: #10b981;
    --growth-deep: #059669;
    --growth-soft: #d1fae5;
    --growth-glow: rgba(16, 185, 129, 0.35);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: #faf8f5;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

body.modal-open {
    overflow: hidden;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 18px 0;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.header-actions,
.hero-actions,
.hero-trust,
.workflow-rail,
.workflow-outcome {
    display: flex;
    align-items: center;
}

.brand {
    gap: 10px;
    font-size: 17px;
    font-weight: 800;
}

.brand-logo {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: #1c1917;
    box-shadow: 0 10px 24px rgba(180, 83, 9, 0.22);
}

.nav-links {
    gap: 28px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

.nav-links a:hover {
    color: var(--primary);
}

.header-actions {
    gap: 10px;
}

.header-cta,
.header-product-button,
.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 999px;
    padding: 0 22px;
    font-size: 14px;
    font-weight: 800;
    border: 0;
    cursor: pointer;
}

.header-product-button {
    color: #3b3227;
    background: #fff;
    border: 1px solid var(--line);
}

.header-cta,
.primary-button {
    color: #fff;
    background: linear-gradient(90deg, var(--primary-2), var(--primary));
    box-shadow: 0 14px 28px rgba(180, 83, 9, 0.24);
}

.primary-button:hover,
.header-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(16, 185, 129, 0.28);
}

.header-product-button:hover {
    transform: translateY(-1px);
}

.hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: min(1180px, calc(100% - 40px));
    margin: 12px auto 0;
    padding: 100px 0 80px;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0 -60px 0;
    z-index: -1;
    border-radius: 0 0 56px 56px;
    background:
        radial-gradient(circle at 50% 0%, rgba(217, 119, 6, 0.28), transparent 40%),
        linear-gradient(180deg, #fef7ed 0%, #faf8f5 100%);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.14em;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 22px;
    font-size: clamp(34px, 3.8vw, 46px);
    line-height: 1.08;
    letter-spacing: 0;
}

h1 span {
    white-space: nowrap;
}

h2 {
    margin-bottom: 16px;
    font-size: clamp(28px, 3.2vw, 38px);
    line-height: 1.15;
    letter-spacing: 0;
}

h3 {
    margin-bottom: 10px;
    font-size: 17px;
}

.hero-lead {
    max-width: 580px;
    margin: 0 auto 30px;
    color: #44403c;
    font-size: 17px;
    line-height: 1.72;
}

.hero-actions {
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 34px;
}

.hero-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 999px;
    padding: 0 22px;
    font-size: 14px;
    font-weight: 800;
    color: var(--primary);
    background: transparent;
    border: 1px solid rgba(180, 83, 9, 0.3);
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.hero-secondary-btn:hover {
    background: rgba(180, 83, 9, 0.06);
    border-color: var(--primary);
    transform: translateY(-1px);
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    position: relative;
    max-width: 640px;
}

.hero-trust div {
    flex: 1;
    min-width: 150px;
    padding: 16px 18px;
    position: relative;
}

.hero-trust div + div::before {
    content: "";
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--line);
}

.hero-trust strong {
    display: block;
    margin-bottom: 4px;
    font-size: 24px;
    color: var(--growth);
}

.hero-trust span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}


.pain-section,
.workflow-section,
.features-section,
.comparison-section,
.cta-section {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 86px 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-heading p:not(.eyebrow),
.cta-section p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

.pain-grid,
.feature-grid {
    display: grid;
    gap: 18px;
}

.pain-grid {
    grid-template-columns: repeat(3, 1fr);
}

.pain-grid article,
.feature-card {
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 28px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(28, 25, 23, 0.06);
}

.pain-grid span {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 24px;
    border-radius: 16px;
    color: var(--primary);
    background: #fef7ed;
    font-size: 20px;
    font-weight: 900;
}

.pain-grid p,
.feature-card p {
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.72;
}

.workflow-section {
    overflow: hidden;
    border-radius: 40px;
    padding-right: 34px;
    padding-left: 34px;
    background:
        radial-gradient(circle at 50% 0%, rgba(217, 119, 6, 0.10), transparent 50%),
        linear-gradient(180deg, #2a211c 0%, #1a1410 100%);
}

.workflow-section .section-heading h2 {
    color: #fff;
}

.workflow-rail {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    gap: 0;
    padding: 22px 8px 8px;
}

.workflow-rail::before {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    top: 82px;
    height: 2px;
    background: linear-gradient(90deg, rgba(217, 119, 6, 0.12), rgba(217, 119, 6, 0.88), rgba(16, 185, 129, 0.88), rgba(16, 185, 129, 0.12));
}

.workflow-step,
.workflow-outcome {
    position: relative;
    min-width: 0;
    display: grid;
    place-items: center;
    align-content: center;
    min-height: 220px;
    border: 0;
    border-radius: 0;
    padding: 18px 12px;
    color: #fff;
    text-align: center;
    background: transparent;
}

.workflow-step::after {
    content: "→";
    position: absolute;
    top: 60px;
    right: -10px;
    z-index: 2;
    width: auto;
    height: auto;
    color: rgba(217, 119, 6, 0.9);
    background: transparent;
    font-size: 22px;
    font-weight: 900;
}

.workflow-step span {
    display: grid;
    place-items: center;
    min-width: 92px;
    height: 52px;
    padding: 0 18px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.52);
    border-radius: 26px;
    color: #111827;
    background: linear-gradient(135deg, #fde68a, #d97706);
    box-shadow: 0 18px 50px rgba(180, 83, 9, 0.22);
    font-size: 15px;
    font-weight: 900;
}

.workflow-step:nth-child(1) span {
    background: linear-gradient(135deg, #fef3c7, #f59e0b);
    box-shadow: 0 18px 50px rgba(245, 158, 11, 0.22);
}

.workflow-step:nth-child(2) span {
    background: linear-gradient(135deg, #fcd34d, #d97706);
    box-shadow: 0 18px 50px rgba(217, 119, 6, 0.22);
}

.workflow-step:nth-child(3) span {
    background: linear-gradient(135deg, #fbbf24, #b45309);
    box-shadow: 0 18px 50px rgba(180, 83, 9, 0.22);
}

.workflow-step h3,
.workflow-outcome h3 {
    color: #fff;
}

.workflow-step p {
    margin: 8px 0 0;
    max-width: 180px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
    line-height: 1.65;
}

.workflow-outcome {
    border-radius: 32px;
    background:
        radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.35), transparent 48%),
        linear-gradient(135deg, rgba(5, 150, 105, 0.92), rgba(16, 185, 129, 0.72));
    box-shadow: 0 24px 70px rgba(16, 185, 129, 0.30);
}

.workflow-outcome span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin: 0 0 18px;
    border-radius: 50%;
    color: #059669;
    background: #fff;
    font-size: 22px;
    font-weight: 900;
}

.workflow-outcome h3 {
    margin-bottom: 0;
    font-size: 20px;
}

.capabilities-section {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 86px 0;
}

.capability-row {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(360px, 1.1fr);
    gap: 64px;
    align-items: center;
    padding: 60px 0;
}

.capability-row + .capability-row {
    border-top: 1px solid var(--line);
}

.capability-badge {
    display: inline-block;
    border-radius: 999px;
    padding: 6px 16px;
    margin-bottom: 16px;
    font-size: 13px;
    font-weight: 800;
}

.badge-hotspot {
    color: #b45309;
    background: #fffbeb;
}

.badge-script {
    color: #b91c1c;
    background: #fef2f2;
}

.badge-clip {
    color: #047857;
    background: #ecfdf5;
}

.capability-copy h3 {
    margin-bottom: 10px;
    font-size: 24px;
    color: var(--ink);
}

.capability-lead {
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.65;
}

.capability-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.capability-list li {
    position: relative;
    padding-left: 22px;
    color: var(--ink);
    font-size: 15px;
    line-height: 1.65;
}

.capability-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 3px;
    background: linear-gradient(135deg, var(--primary-2), var(--primary));
}

.capability-screen {
    display: flex;
    align-items: center;
    justify-content: center;
}

.screen-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 9 / 16;
    border: 2px dashed var(--line);
    border-radius: 24px;
    background: var(--soft);
    color: var(--muted);
}

.screen-placeholder span {
    font-size: 15px;
    font-weight: 700;
}

.screen-placeholder p {
    margin: 0;
    font-size: 13px;
}

.screen-duo {
    position: relative;
    width: 100%;
    max-width: 440px;
    aspect-ratio: 0.72;
}

.screen-phone {
    position: absolute;
    margin: 0;
    overflow: hidden;
    border: 6px solid #292524;
    border-radius: 28px;
    background: #292524;
    box-shadow: var(--shadow);
}

.screen-phone img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.screen-phone-front {
    z-index: 2;
    width: 58%;
    top: 5%;
    right: 5%;
    bottom: 5%;
}

.screen-phone-back {
    z-index: 1;
    width: 52%;
    top: 18%;
    left: 5%;
    bottom: 8%;
    opacity: 0.88;
    transform: rotate(-5deg);
}

.features-section {
    border-radius: 40px;
    padding-right: 34px;
    padding-left: 34px;
}

.feature-grid {
    grid-template-columns: repeat(4, 1fr);
}

.feature-card {
    background: #ffffff;
    border-left: 4px solid var(--line);
}

.feature-card:nth-child(1) {
    border-left-color: #f59e0b;
}

.feature-card:nth-child(2) {
    border-left-color: #a78bfa;
}

.feature-card:nth-child(3) {
    border-left-color: var(--growth);
}

.feature-card:nth-child(4) {
    border-left-color: #f97316;
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 22px;
    border-radius: 16px;
    color: var(--primary);
    background: #fff;
    box-shadow: 0 10px 22px rgba(28, 25, 23, 0.08);
    font-size: 13px;
    font-weight: 900;
}

.comparison-section {
    padding-top: 36px;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.comparison-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 280px;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 28px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(28, 25, 23, 0.06);
}

.comparison-card span {
    align-self: flex-start;
    border-radius: 999px;
    padding: 6px 12px;
    color: #57534e;
    background: #f5f0eb;
    font-size: 12px;
    font-weight: 800;
}

.comparison-card h3 {
    margin: 0;
    font-size: 20px;
    color: var(--ink);
    line-height: 1.35;
}

.comparison-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
}

.comparison-card-strong {
    border-color: rgba(217, 119, 6, 0.34);
    background:
        radial-gradient(circle at 90% 10%, rgba(16, 185, 129, 0.12), transparent 32%),
        linear-gradient(180deg, #fffaf2, #ffffff);
}

.comparison-card-strong span {
    color: #fff;
    background: linear-gradient(90deg, var(--primary-2), var(--primary));
}

.cases-section {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 86px 0;
}

.case-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 32px;
}

.case-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0 22px;
    color: var(--muted);
    background: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.case-tab:hover {
    color: var(--ink);
    border-color: #d6d0c8;
}

.case-tab.is-active {
    color: #fff;
    background: linear-gradient(90deg, var(--primary-2), var(--primary));
    border-color: transparent;
    box-shadow: 0 10px 22px rgba(180, 83, 9, 0.22);
}

.case-panels {
    max-width: 680px;
    margin: 0 auto;
}

.case-card {
    display: none;
    flex-direction: column;
    gap: 14px;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 28px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(28, 25, 23, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

.case-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 50px rgba(28, 25, 23, 0.1);
}

.case-card.is-active {
    display: flex;
}

.case-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.case-tag {
    display: inline-block;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 800;
}

.tag-ktv {
    color: #b45309;
    background: #fffbeb;
}

.tag-food {
    color: #b91c1c;
    background: #fef2f2;
}

.tag-tea {
    color: #047857;
    background: #ecfdf5;
}

.tag-beauty {
    color: #7c3aed;
    background: #faf5ff;
}

.tag-retail {
    color: #1d4ed8;
    background: #eff6ff;
}

.case-scale {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.case-card h3 {
    margin-bottom: 0;
    font-size: 16px;
    color: var(--ink);
}

.case-pain {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.case-solution {
    display: flex;
    gap: 10px;
    border-radius: 14px;
    padding: 14px;
    background: #f9fafb;
}

.case-solution span {
    flex-shrink: 0;
    display: inline-block;
    align-self: flex-start;
    border-radius: 6px;
    padding: 2px 8px;
    color: var(--primary);
    background: #fef7ed;
    font-size: 11px;
    font-weight: 800;
}

.case-solution p {
    margin: 0;
    color: var(--ink);
    font-size: 13px;
    line-height: 1.7;
}

.case-result {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.case-result strong {
    font-size: 22px;
    color: var(--growth-deep);
    line-height: 1;
}

.case-result span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.cta-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 40px;
    border-radius: 36px;
    padding: 44px;
    color: #fff;
    background:
        radial-gradient(circle at 82% 18%, rgba(217, 119, 6, 0.15), transparent 26%),
        linear-gradient(135deg, #2a211c, #1a1410);
}

.cta-section h2 {
    max-width: 680px;
    color: #fff;
}

.cta-section p {
    max-width: 680px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.72);
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 0 0 36px;
    color: var(--muted);
    font-size: 13px;
}

.footer-brand,
.footer-meta {
    display: flex;
    align-items: center;
}

.footer-brand {
    gap: 10px;
    color: #57534e;
    font-weight: 800;
}

.footer-logo {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    background: #1c1917;
}

.footer-meta {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px 18px;
}

.footer-meta a:hover {
    color: var(--primary);
}

.qr-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.qr-modal.is-open {
    display: flex;
}

.qr-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(28, 25, 23, 0.58);
    backdrop-filter: blur(12px);
}

.qr-dialog {
    position: relative;
    z-index: 1;
    width: min(430px, 100%);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 32px;
    padding: 30px;
    text-align: center;
    background:
        radial-gradient(circle at 50% 0%, rgba(217, 119, 6, 0.2), transparent 34%),
        #ffffff;
    box-shadow: 0 30px 90px rgba(28, 25, 23, 0.28);
}

.qr-close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    color: #78716c;
    background: #f5f0eb;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
}

.qr-brand-logo {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 20px;
    background: #1c1917;
    box-shadow: 0 14px 32px rgba(180, 83, 9, 0.22);
}

.qr-dialog h2 {
    margin-bottom: 10px;
    font-size: 24px;
}

.qr-dialog p:not(.eyebrow) {
    margin: 0 auto 20px;
    color: var(--muted);
    line-height: 1.7;
}

.qr-image {
    width: min(300px, 100%);
    margin: 0 auto;
    border-radius: 22px;
    border: 1px solid var(--line);
    box-shadow: 0 18px 45px rgba(28, 25, 23, 0.12);
}

@media (max-width: 980px) {
    .nav-links {
        display: none;
    }

    .capability-row {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 0;
    }

    .capability-screen {
        order: -1;
    }

    .screen-placeholder {
        max-width: 280px;
    }

    .screen-duo {
        max-width: 360px;
    }

    .screen-phone {
        border-width: 5px;
        border-radius: 24px;
    }

    .hero-section {
        padding-top: 64px;
        padding-bottom: 60px;
    }

    .pain-grid,
    .feature-grid,
    .comparison-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .workflow-rail {
        display: flex;
        overflow-x: auto;
        padding-bottom: 8px;
    }

    .workflow-rail::before {
        display: none;
    }

    .workflow-step,
    .workflow-outcome {
        min-width: 230px;
    }

    .case-panels {
        max-width: 100%;
    }
}

@media (max-width: 680px) {
    .site-header,
    .hero-section,
    .pain-section,
    .workflow-section,
    .features-section,
    .comparison-section,
    .capabilities-section,
    .cases-section,
    .cta-section,
    .site-footer {
        width: min(100% - 28px, 1180px);
    }

    .header-actions {
        display: none;
    }

    h1 {
        font-size: 36px;
    }

    .hero-lead {
        font-size: 16px;
    }

    .pain-grid,
    .feature-grid,
    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .capability-row {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 36px 0;
    }

    .capability-copy h3 {
        font-size: 21px;
    }

    .screen-placeholder {
        max-width: 220px;
    }

    .screen-duo {
        max-width: 280px;
    }

    .screen-phone {
        border-width: 4px;
        border-radius: 20px;
    }

    .workflow-section,
    .features-section,
    .comparison-section,
    .cta-section {
        border-radius: 28px;
        padding-right: 20px;
        padding-left: 20px;
    }

    .cta-section {
        display: block;
    }

    .comparison-card {
        min-height: auto;
    }

    .cta-section .primary-button {
        margin-top: 24px;
        width: 100%;
    }

    .site-footer {
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 28px;
    }

    .footer-meta {
        justify-content: flex-start;
    }

    .hero-trust {
        flex-direction: column;
        gap: 0;
    }

    .hero-trust div + div::before {
        display: none;
    }

    .hero-trust div {
        min-width: auto;
        padding: 12px 0;
    }

    .hero-trust strong {
        font-size: 20px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-secondary-btn {
        width: 100%;
    }
}
