/* ============================================
   AI 面试官 · 营销落地页样式
   设计：Duolingo 活泼风 + Figma 现代感
   完全独立，不依赖现有 variables.css
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
    /* 品牌色 - 成长绿 */
    --brand-50: #f0fce8;
    --brand-100: #dcf8c8;
    --brand-200: #b9ef85;
    --brand-300: #89e219;
    --brand-400: #58cc02;
    --brand-500: #3b8c00;

    /* AI 智能紫 */
    --ai-100: #f3e8ff;
    --ai-300: #d8b4fe;
    --ai-500: #a855f7;
    --ai-600: #9333ea;
    --ai-700: #7c3aed;

    /* CTA 行动橙 */
    --cta-400: #fb923c;
    --cta-500: #ff6b35;
    --cta-600: #ea580c;

    /* 阳光黄 */
    --accent-400: #fbbf24;
    --accent-500: #f59e0b;

    /* 中性色 */
    --ink-900: #0f172a;
    --ink-700: #334155;
    --ink-500: #64748b;
    --ink-300: #cbd5e1;
    --ink-100: #f1f5f9;
    --ink-50: #f8fafc;

    /* 阴影 */
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12);
    --shadow-xl: 0 24px 60px rgba(15, 23, 42, 0.16);
    --shadow-brand: 0 8px 24px rgba(88, 204, 2, 0.28);
    --shadow-cta: 0 8px 24px rgba(255, 107, 53, 0.32);

    /* 圆角 */
    --r-sm: 8px;
    --r: 12px;
    --r-lg: 16px;
    --r-xl: 24px;
    --r-2xl: 32px;

    /* 字体 */
    --font: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

/* ============ 基础 ============ */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    color: var(--ink-900);
    background: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

img,
svg {
    display: block;
    max-width: 100%;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============ 通用组件 ============ */
.section-head {
    text-align: center;
    margin-bottom: 56px;
}

.section-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--brand-100);
    color: var(--brand-500);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    line-height: 1.15;
}

.section-desc {
    font-size: 17px;
    color: var(--ink-500);
    max-width: 600px;
    margin: 0 auto;
}

.accent {
    color: var(--brand-400);
    position: relative;
}

.accent::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 4px;
    height: 8px;
    background: var(--brand-200);
    border-radius: 4px;
    z-index: -1;
    opacity: 0.7;
}

/* 按钮 */
.btn-primary,
.btn-ghost,
.btn-admin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    border-radius: var(--r);
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--brand-400);
    color: white;
    padding: 12px 22px;
    font-size: 15px;
    box-shadow: var(--shadow-brand);
}

.btn-primary:hover {
    background: var(--brand-300);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(88, 204, 2, 0.36);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-ghost {
    background: transparent;
    color: var(--ink-700);
    padding: 12px 22px;
    font-size: 15px;
    border: 2px solid var(--ink-300);
}

.btn-ghost:hover {
    background: var(--ink-50);
    border-color: var(--ink-700);
}

.btn-lg {
    padding: 16px 28px;
    font-size: 16px;
}

.btn-xl {
    padding: 20px 36px;
    font-size: 18px;
    background: var(--cta-500);
    box-shadow: var(--shadow-cta);
    width: 100%;
}

.btn-xl:hover {
    background: var(--cta-400);
    box-shadow: 0 12px 32px rgba(255, 107, 53, 0.42);
}

.btn-admin {
    background: transparent;
    color: var(--ink-500);
    padding: 8px 16px;
    font-size: 14px;
    border: 1px solid var(--ink-300);
    border-radius: 999px;
    font-weight: 500;
}

.btn-admin:hover {
    background: var(--ink-50);
    color: var(--ink-700);
    border-color: var(--ink-300);
}

/* ============ 顶部导航 ============ */
.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--ink-100);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 20px;
}

.logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--brand-400), var(--ai-600));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-text {
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--ink-700);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--brand-400);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* ============ Hero 区 ============ */
.hero {
    padding: 80px 0 100px;
    background: radial-gradient(ellipse at top right, var(--brand-50) 0%, transparent 50%),
                radial-gradient(ellipse at bottom left, var(--ai-100) 0%, transparent 50%),
                #ffffff;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--ai-100);
    color: var(--ai-700);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ai-500);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-sub {
    font-size: 18px;
    color: var(--ink-500);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.hero-meta {
    list-style: none;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.hero-meta li {
    font-size: 14px;
    color: var(--ink-500);
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-meta span {
    color: var(--brand-400);
    font-weight: 800;
}

/* Hero 截图卡 */
.hero-visual {
    position: relative;
}

.screenshot {
    background: white;
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--ink-100);
}

.shot-bar {
    height: 36px;
    background: var(--ink-50);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 16px;
    border-bottom: 1px solid var(--ink-100);
}

.shot-bar .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.shot-bar .red { background: #ff5f57; }
.shot-bar .yellow { background: #ffbd2e; }
.shot-bar .green { background: #28c840; }

.shot-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: linear-gradient(180deg, #fff 0%, var(--brand-50) 100%);
}

.shot-row.match {
    display: flex;
    align-items: center;
    gap: 16px;
}

.shot-tag {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink-700);
    flex-shrink: 0;
}

.shot-bar-meter {
    flex: 1;
    height: 24px;
    background: var(--ink-100);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.meter-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--brand-400), var(--brand-300));
    border-radius: 12px;
    transition: width 1s ease;
}

.meter-value {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-weight: 700;
    font-size: 13px;
}

.shot-row:not(.match):not(.question) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.shot-card {
    background: white;
    border: 1px solid var(--ink-100);
    border-radius: var(--r);
    padding: 12px 14px;
    box-shadow: var(--shadow-sm);
}

.shot-card-head {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink-900);
    margin-bottom: 4px;
}

.shot-card-body {
    font-size: 12px;
    color: var(--ink-500);
}

.shot-card-body b {
    color: var(--brand-400);
}

.shot-row.question {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: var(--ai-100);
    padding: 14px 16px;
    border-radius: var(--r);
}

.shot-q {
    font-size: 13px;
    color: var(--ink-700);
    line-height: 1.5;
}

/* 浮动卡片 */
.float-card {
    position: absolute;
    background: white;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink-900);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--ink-100);
    animation: float 3s ease-in-out infinite;
}

.float-1 {
    top: -16px;
    right: 32px;
    color: var(--brand-500);
}

.float-2 {
    bottom: -16px;
    left: 32px;
    color: var(--ai-600);
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ============ 数据条 ============ */
.stats {
    padding: 48px 0;
    background: var(--ink-900);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-num {
    font-size: 40px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--brand-300), var(--ai-300));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--ink-300);
}

/* ============ 核心功能区 ============ */
.features {
    padding: 100px 0;
    background: #fff;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 32px 28px;
    border-radius: var(--r-xl);
    background: var(--ink-50);
    border: 1px solid var(--ink-100);
    transition: all 0.3s ease;
    position: relative;
}

.feature-card:hover {
    background: white;
    border-color: var(--brand-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--r);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.icon-blue { background: #dbeafe; }
.icon-green { background: var(--brand-100); }
.icon-orange { background: #ffedd5; }
.icon-purple { background: var(--ai-100); }
.icon-pink { background: #fce7f3; }
.icon-cyan { background: #cffafe; }

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: var(--ink-500);
    line-height: 1.7;
}

/* ============ 使用流程 ============ */
.flow {
    padding: 100px 0;
    background: var(--ink-50);
}

.flow-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.flow-step {
    flex: 1;
    min-width: 180px;
    max-width: 220px;
    background: white;
    padding: 32px 24px;
    border-radius: var(--r-xl);
    border: 1px solid var(--ink-100);
    text-align: center;
    position: relative;
    transition: all 0.3s;
}

.flow-step:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.step-num {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--brand-400);
    color: white;
    font-weight: 800;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-brand);
}

.step-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.flow-step h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.flow-step p {
    font-size: 13px;
    color: var(--ink-500);
}

.flow-arrow {
    font-size: 24px;
    color: var(--brand-400);
    font-weight: 700;
    flex-shrink: 0;
}

/* ============ 能力提升区 ============ */
.benefits {
    padding: 100px 0;
    background: #fff;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.benefits-text .section-tag,
.benefits-text .section-title,
.benefits-text .section-desc {
    text-align: left;
    margin-left: 0;
}

.benefits-text .section-desc {
    margin-bottom: 32px;
}

.benefit-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benefit-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.benefit-check {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--brand-100);
    color: var(--brand-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    flex-shrink: 0;
}

.benefit-list strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.benefit-list p {
    font-size: 14px;
    color: var(--ink-500);
}

/* benefits 卡片 */
.benefits-visual {
    position: relative;
}

.benefit-card {
    background: white;
    border: 1px solid var(--ink-100);
    border-radius: var(--r-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.benefit-card-head {
    padding: 16px 24px;
    background: var(--ink-900);
    color: white;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bc-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-400);
}

.benefit-card-body {
    padding: 24px;
}

.bc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--ink-100);
}

.bc-row:last-of-type {
    border-bottom: none;
}

.bc-label {
    font-size: 14px;
    color: var(--ink-500);
}

.bc-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--brand-500);
}

.bc-value.warn {
    color: var(--cta-500);
}

.bc-divider {
    height: 1px;
    background: var(--ink-100);
    margin: 16px 0;
}

.bc-q {
    font-size: 14px;
    color: var(--ink-700);
    padding: 12px;
    background: var(--ai-100);
    border-radius: var(--r-sm);
    margin-bottom: 8px;
    line-height: 1.5;
}

.bc-q:last-child {
    margin-bottom: 0;
}

/* ============ 下载区 ============ */
.download {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--brand-50), var(--ai-100));
}

.download-card {
    background: white;
    border-radius: var(--r-2xl);
    padding: 56px;
    box-shadow: var(--shadow-xl);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.download-left .section-tag,
.download-left .section-title,
.download-left .section-desc {
    text-align: left;
    margin-left: 0;
}

.download-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--ink-100);
}

.download-meta div {
    font-size: 14px;
    color: var(--ink-500);
}

.download-meta b {
    display: block;
    color: var(--ink-900);
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 2px;
}

.download-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.download-right .btn-ghost {
    background: white;
}

.download-tip {
    font-size: 13px;
    color: var(--ink-500);
    margin-top: 8px;
    text-align: center;
}

/* ============ Footer ============ */
.footer {
    background: var(--ink-900);
    color: var(--ink-300);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    color: white;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--ink-500);
    max-width: 280px;
}

.footer-col h5 {
    color: white;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--ink-300);
    margin-bottom: 10px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--brand-300);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    font-size: 13px;
    color: var(--ink-500);
}

/* ============ 响应式 ============ */
@media (max-width: 968px) {
    .nav-links {
        display: none;
    }

    .hero {
        padding: 48px 0 64px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

    .hero-sub {
        font-size: 16px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .stat-num {
        font-size: 32px;
    }

    .features,
    .flow,
    .benefits,
    .download {
        padding: 64px 0;
    }

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

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .flow-steps {
        flex-direction: column;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .download-card {
        grid-template-columns: 1fr;
        padding: 32px 24px;
        gap: 32px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }

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

    .hero-cta {
        flex-direction: column;
    }

    .btn-lg {
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .shot-row:not(.match):not(.question) {
        grid-template-columns: 1fr;
    }
}
