/* 全局变量 */
:root {
    --red: #E8442A;
    --red-dark: #C03520;
    --red-light: rgba(232,68,42,0.18);
    --green-mid: #2ECC71;
    --ink: #0A0A0A;
    --ink-mid: #141414;
    --ink-light: #1E1E1E;
    --card: #161616;
    --card-border: rgba(255,255,255,0.08);
    --text-primary: #F0F0F0;
    --text-secondary: rgba(255,255,255,0.5);
    --text-muted: rgba(255,255,255,0.28);
    --gold: #F0C040;
    --gold-light: rgba(240,192,64,0.12);
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Noto Serif SC", "STSong", serif;
    background-color: var(--ink);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    padding: 0 24px;
    max-width: 1200px;
    margin: 0 auto;
}

/* 4.1 Hero 首屏 */
.hero {
    background-color: var(--ink);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

/* iOS 100vh 修复 */
@supports (-webkit-touch-callout: none) {
    .hero {
        min-height: -webkit-fill-available;
    }
}

/* 装饰光圈 */
.decoration-circle {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
}

.decoration-circle.red {
    width: 280px;
    height: 280px;
    background: rgba(232,68,42,0.12);
    top: 12px;
    right: -10px;
}

.decoration-circle.green {
    width: 220px;
    height: 220px;
    background: rgba(46,204,113,0.15);
    bottom: 12px;
    left: -10px;
}

/* 龙虾插图 */
.lobster-icon {
    position: absolute;
    top: 12px;
    right: -10px;
    width: 190px;
    opacity: 0.75;
    filter: drop-shadow(0 0 20px rgba(0,0,0,0.5));
    z-index: 0;
    font-size: 4rem;
    color: var(--red);
}

/* 公司 logo */
.logo-text {
    font-size: 18px;
    font-weight: 900;
    color: var(--white);
    letter-spacing: 0.18em;
    margin-bottom: 20px;
}

/* OPEN CLAW Wordmark */
.logo-title {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 0.22em;
    color: var(--red);
    position: relative;
}

.logo-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--red);
}

/* 主标题 */
.hero h1 {
    font-size: 36px;
    font-weight: 900;
    color: var(--red);
    letter-spacing: 0.22em;
    margin-bottom: 20px;
}

/* 副标题 */
.hero p {
    font-size: 18px;
    font-weight: 400;
    color: rgba(255,255,255,0.55);
    margin-bottom: 40px;
}

/* 特性卡片 */
.benefits {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(255,255,255,0.05);
    padding: 12px;
    border-radius: 12px;
    margin-top: 20px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border-radius: 12px;
    background: var(--card);
    border-left: 4px solid var(--red);
}

.benefit-item .tag {
    background: var(--red);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* 4.2 痛点区 */
.pain-points {
    background-color: var(--ink-mid);
    padding: 44px 24px;
}

.pain-points h2 {
    font-size: 1.8rem;
    color: var(--red);
    margin-bottom: 15px;
}

.pain-points p {
    opacity: 0.8;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

.q-item {
    background: var(--card);
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 20px;
    position: relative;
    padding-left: 60px;
}

.q-num {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--red);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
}

.q-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--white);
}

.q-item p {
    opacity: 0.8;
    color: var(--text-secondary);
}

/* 4.3 服务内容区 */
.service-content {
    background-color: var(--ink-light);
    padding: 56px 24px;
}

.service-content h2,
.promise-section h2,
.pricing h2,
.how-to-start h2,
.start-now h2 {
    font-size: 1.8rem;
    color: var(--red);
    margin-bottom: 15px;
    font-weight: 900;
}

.service-content h3,
.promise-section h3,
.pricing h3,
.how-to-start h3,
.start-now h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.service-content p,
.promise-section p,
.pricing p,
.how-to-start p,
.start-now p {
    opacity: 0.8;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

.solution-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.sol-item {
    background: var(--card);
    padding: 20px;
    border-radius: 14px;
    border: 1px solid var(--card-border);
    display: flex;
    flex-direction: row;
    gap: 14px;
}

.num {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 1px solid rgba(232,68,42,0.35);
    color: rgba(232,68,42,0.7);
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sol-item h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 3px;
}

.sol-item p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* 4.4 服务承诺区 */
.promise-section {
    background-color: var(--ink);
    padding: 56px 24px;
}

.promise-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 20px;
}

.promise-item {
    background: var(--card);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid var(--card-border);
}

.icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--red);
}

.promise-item h4 {
    margin-bottom: 10px;
    color: var(--white);
}

.promise-item p {
    opacity: 0.8;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* 4.5 价格方案区 */
.pricing {
    background-color: var(--ink-mid);
    padding: 56px 24px;
}

.price-tabs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
}

.tab {
    padding: 10px 20px;
    background: var(--card);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.tab.active {
    background: var(--red);
    color: var(--white);
}

.plan-card {
    background: var(--card);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 30px;
    border: 2px solid var(--card-border);
    position: relative;
}

.plan-card.basic {
    border-color: var(--card-border);
}

.plan-card.advanced {
    border-color: var(--red);
}

.plan-card.max {
    border-color: var(--card-border);
}

.plan-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--white);
}

.plan-card p {
    opacity: 0.8;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.price {
    font-size: 2rem;
    margin-bottom: 15px;
}

.amount {
    color: var(--red);
    font-weight: bold;
}

.original {
    color: var(--text-muted);
    font-size: 1rem;
    margin-left: 5px;
}

.discount {
    background: var(--red);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    margin-bottom: 20px;
}

.details ul {
    list-style: none;
    margin-top: 15px;
}

.details li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.details li i {
    color: var(--green-mid);
    margin-right: 10px;
}

.badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--red);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
}

/* 4.6 购买流程区 */
.how-to-start {
    background-color: var(--ink-light);
    padding: 56px 24px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.step {
    background: var(--card);
    padding: 20px;
    border-radius: 16px;
}

.step-num {
    width: 40px;
    height: 40px;
    background: var(--red);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.step h4 {
    margin-bottom: 10px;
    color: var(--white);
}

.step p {
    opacity: 0.8;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* 4.7 尾页 QR 区 */
.start-now {
    background-color: var(--ink);
    padding: 56px 24px;
}

.qrcode-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
}

.qrcode-item {
    text-align: center;
}

.qrcode-item img {
    width: 150px;
    height: 150px;
    border: 1px solid var(--card-border);
    border-radius: 8px;
}

.qrcode-item p {
    margin-top: 10px;
    font-size: 0.9rem;
    opacity: 0.8;
    color: var(--text-secondary);
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.contact-item {
    text-align: center;
    padding: 15px;
    background: var(--card);
    border-radius: 12px;
    width: 200px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--red);
    margin-bottom: 10px;
}

.contact-item div {
    font-size: 0.9rem;
    opacity: 0.8;
    color: var(--text-secondary);
}

.note {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
    color: var(--text-muted);
}

/* Footer */
.footer {
    background-color: var(--ink);
    padding: 40px 24px;
    text-align: center;
    color: var(--text-muted);
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.brand {
    font-size: 1.5rem;
    color: var(--red);
    margin-bottom: 10px;
    font-weight: 900;
}

.footer p {
    opacity: 0.8;
    font-size: 0.9rem;
    margin: 5px 0;
}

/* 4.7 尾页 QR 区 —— 新增联系卡片样式 */
.contact-wrapper {
    background: #161616;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.contact-header {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
    color: #F0F0F0;
    margin-bottom: 15px;
}

.contact-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.contact-card {
    flex: 1;
    text-align: center;
    padding: 15px;
    background: #161616;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.08);
}

.contact-card div {
    font-size: 1.1rem;
    color: #F0F0F0;
    margin-bottom: 5px;
}

.contact-card .small {
    font-size: 0.8rem;
    opacity: 0.8;
    color: #F0F0F0;
}

.q-item.no-number {
    padding-left: 20px; /* 原来是 60px，现在左移 */
}

/* 价格方案中的功能项对勾 */
.pricing .details li::before {
    content: "✔";
    color: #2ECC71;
    font-weight: bold;
    margin-right: 10px;
}

/* 痛点区大括号装饰 */
.q-item::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 10px;
    background: linear-gradient(to bottom, #E8442A, #E8442A);
    border-radius: 8px 0 0 8px;
    z-index: 1;
    box-shadow: inset 0 0 8px rgba(0,0,0,0.3), 0 0 8px rgba(0,0,0,0.2);
}

/* 顶部圆角更明显 */
.q-item::before {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

/* 响应式 */
@media (max-width: 768px) {
    .hero, .pain-points, .service-content, .promise-section, .pricing, .how-to-start, .start-now, .footer {
        padding: 44px 18px;
    }

    .qrcode-container {
        flex-direction: column;
        align-items: center;
    }

    .qrcode-item {
        width: 100%;
        max-width: 150px;
    }

    .contact-info {
        flex-direction: column;
        gap: 15px;
    }
}