/* ===== CSS Variables ===== */
:root {
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --primary-light: #818cf8;
    --primary-bg: #eef2ff;
    --success: #10b981;
    --success-dark: #059669;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #1a1a2e;
    --gray-900: #111827;
    --gray-700: #374151;
    --gray-500: #6b7280;
    --gray-300: #d1d5db;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;
    --bg: #f8f9fa;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
    --transition: all 0.3s ease;
}

/* ===== Reset ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
    background: var(--bg);
    color: var(--dark);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; outline: none; }
input, textarea, select { font-family: inherit; outline: none; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-primary {
    background: var(--primary);
    color: #fff;
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(79,70,229,0.3);
}
.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}
.btn-success {
    background: var(--success);
    color: #fff;
}
.btn-success:hover {
    background: var(--success-dark);
    transform: translateY(-1px);
}
.btn-lg { padding: 14px 36px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-100);
    z-index: 1000;
    transition: var(--transition);
}
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dark);
}
.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
}
.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}
.nav-links a {
    font-size: 0.95rem;
    color: var(--gray-700);
    font-weight: 500;
    transition: var(--transition);
}
.nav-links a:hover { color: var(--primary); }
.nav-actions { display: flex; gap: 12px; align-items: center; }

/* ===== Hero ===== */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #0f0e17 0%, #1a1a2e 40%, #16213e 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(79,70,229,0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16,185,129,0.1) 0%, transparent 70%);
    border-radius: 50%;
}
.hero .container { position: relative; z-index: 1; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 0.85rem;
    color: #c0c0e0;
    margin-bottom: 24px;
}
.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}
.hero h1 .gradient {
    background: linear-gradient(135deg, #818cf8, #c084fc, #f0abfc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p {
    font-size: 1.2rem;
    color: #a0a0c0;
    max-width: 600px;
    margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat .num { font-size: 2rem; font-weight: 800; color: #fff; }
.hero-stat .label { font-size: 0.85rem; color: #7878a0; }

/* ===== Section General ===== */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
    display: inline-block;
    background: var(--primary-bg);
    color: var(--primary);
    border-radius: 20px;
    padding: 4px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}
.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
}
.section-desc { font-size: 1.05rem; color: var(--gray-500); max-width: 600px; margin: 0 auto; }

/* ===== Features ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.feature-card {
    background: #fff;
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    padding: 32px;
    transition: var(--transition);
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}
.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.feature-icon.purple { background: var(--primary-bg); color: var(--primary); }
.feature-icon.green { background: #ecfdf5; color: var(--success); }
.feature-icon.orange { background: #fffbeb; color: var(--warning); }
.feature-icon.blue { background: #eff6ff; color: #2563eb; }
.feature-icon.pink { background: #fdf2f8; color: #db2777; }
.feature-icon.teal { background: #f0fdfa; color: #0d9488; }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.feature-card p { font-size: 0.95rem; color: var(--gray-500); }

/* ===== Tool Demo ===== */
.tool-demo {
    background: linear-gradient(135deg, #0f0e17 0%, #1a1a2e 100%);
    color: #fff;
}
.tool-demo .section-title { color: #fff; }
.tool-demo .section-desc { color: #a0a0c0; }
.tool-demo-box {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 32px;
    max-width: 760px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
}
.tool-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.tool-tab {
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    background: rgba(255,255,255,0.05);
    color: #a0a0c0;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}
.tool-tab:hover { background: rgba(255,255,255,0.1); color: #fff; }
.tool-tab.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.tool-input-group { margin-bottom: 16px; }
.tool-input-group label { display: block; font-size: 0.9rem; color: #a0a0c0; margin-bottom: 8px; }
.tool-input, .tool-textarea, .tool-select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-sm);
    color: #fff;
    font-size: 0.95rem;
    transition: var(--transition);
}
.tool-input::placeholder, .tool-textarea::placeholder { color: #6b6b8a; }
.tool-input:focus, .tool-textarea:focus, .tool-select:focus {
    border-color: var(--primary-light);
    background: rgba(255,255,255,0.12);
}
.tool-textarea { min-height: 80px; resize: vertical; font-family: inherit; }
.tool-select option { background: var(--dark); color: #fff; }
.tool-output {
    margin-top: 20px;
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    padding: 20px;
    min-height: 120px;
    font-size: 0.95rem;
    line-height: 1.8;
    white-space: pre-wrap;
    color: #e0e0f0;
    max-height: 400px;
    overflow-y: auto;
}
.tool-output:empty::before {
    content: '点击"生成"按钮，AI将为你创作内容...';
    color: #6b6b8a;
}
.tool-output.loading {
    display: flex;
    align-items: center;
    justify-content: center;
}
.loader {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(255,255,255,0.1);
    border-top-color: var(--primary-light);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.tool-demo-notice {
    margin-top: 16px;
    padding: 10px 16px;
    background: rgba(245,158,11,0.1);
    border: 1px solid rgba(245,158,11,0.3);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: #fbbf24;
    display: none;
}
.tool-demo-notice.show { display: block; }
.tool-actions { display: flex; gap: 12px; margin-top: 16px; }

/* ===== How It Works ===== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.step-card {
    text-align: center;
    position: relative;
}
.step-num {
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 20px;
}
.step-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step-card p { font-size: 0.92rem; color: var(--gray-500); }
.step-arrow {
    position: absolute;
    top: 28px;
    right: -20px;
    color: var(--gray-300);
    font-size: 1.5rem;
}

/* ===== Pricing ===== */
.pricing { background: var(--gray-50); }
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}
.pricing-card {
    background: #fff;
    border: 2px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 12px 32px rgba(79,70,229,0.15);
}
.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    border-radius: 20px;
    padding: 4px 16px;
    font-size: 0.8rem;
    font-weight: 600;
}
.pricing-name { font-size: 1.1rem; font-weight: 700; color: var(--gray-700); margin-bottom: 8px; }
.pricing-price { font-size: 2.5rem; font-weight: 800; color: var(--dark); margin-bottom: 4px; }
.pricing-price .unit { font-size: 1rem; font-weight: 400; color: var(--gray-500); }
.pricing-desc { font-size: 0.88rem; color: var(--gray-500); margin-bottom: 24px; }
.pricing-features { text-align: left; margin-bottom: 28px; }
.pricing-features li {
    padding: 8px 0;
    font-size: 0.92rem;
    color: var(--gray-700);
    display: flex;
    align-items: start;
    gap: 8px;
    border-bottom: 1px solid var(--gray-100);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features .check { color: var(--success); font-weight: bold; flex-shrink: 0; }
.pricing-features .x { color: var(--gray-300); flex-shrink: 0; }

/* ===== FAQ ===== */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
    background: #fff;
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
}
.faq-item:hover { border-color: var(--primary-light); }
.faq-question {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
}
.faq-question .arrow {
    transition: var(--transition);
    color: var(--gray-500);
    font-size: 1.2rem;
}
.faq-item.open .faq-question .arrow { transform: rotate(180deg); color: var(--primary); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 24px;
    font-size: 0.92rem;
    color: var(--gray-500);
}
.faq-item.open .faq-answer { max-height: 300px; padding: 0 24px 20px; }

/* ===== CTA ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
    color: #fff;
    text-align: center;
    padding: 64px 0;
}
.cta-section h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.cta-section p { font-size: 1.05rem; opacity: 0.9; margin-bottom: 28px; }
.cta-section .btn-primary {
    background: #fff;
    color: var(--primary);
}
.cta-section .btn-primary:hover {
    background: var(--gray-100);
}

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    color: #7878a0;
    padding: 48px 0 32px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}
.footer-brand .logo { color: #fff; margin-bottom: 12px; }
.footer-brand p { font-size: 0.9rem; max-width: 280px; }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 0.88rem; padding: 4px 0; transition: var(--transition); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
}

/* ===== Toast ===== */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--dark);
    color: #fff;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    font-size: 0.9rem;
    z-index: 2000;
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition);
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }

/* ===== Mobile Menu ===== */
.mobile-toggle { display: none; font-size: 1.5rem; background: none; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-toggle { display: block; }
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1rem; }
    .hero-stats { flex-direction: column; gap: 20px; }
    .section-title { font-size: 1.5rem; }
    .steps-grid { grid-template-columns: 1fr; }
    .step-arrow { display: none; }
    .pricing-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
}

/* ===== Quota Display ===== */
.quota-display {
    margin-top: 12px;
    font-size: 0.82rem;
    color: #a0a0c0;
    text-align: right;
}

/* ===== Modals ===== */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 14, 23, 0.6);
    backdrop-filter: blur(4px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.modal-backdrop.show { opacity: 1; visibility: visible; }
.modal {
    background: #fff;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 520px;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translateY(20px) scale(0.98);
    transition: var(--transition);
    box-shadow: 0 24px 64px rgba(0,0,0,0.2);
}
.modal-backdrop.show .modal { transform: translateY(0) scale(1); }
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-100);
}
.modal-header h3 { font-size: 1.1rem; font-weight: 700; }
.modal-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--gray-500);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.modal-close:hover { background: var(--gray-300); color: var(--dark); }
.modal-body { padding: 24px; overflow-y: auto; }

/* ===== History Items ===== */
.history-item {
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 12px;
    transition: var(--transition);
}
.history-item:hover { border-color: var(--primary-light); }
.history-item-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.history-tool {
    background: var(--primary-bg);
    color: var(--primary);
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 0.78rem;
    font-weight: 600;
}
.history-time { font-size: 0.78rem; color: var(--gray-300); flex: 1; }
.history-delete {
    background: none;
    color: var(--gray-300);
    font-size: 1rem;
    padding: 0 4px;
}
.history-delete:hover { color: var(--danger); }
.history-input {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.history-result {
    font-size: 0.85rem;
    color: var(--gray-700);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.history-empty {
    text-align: center;
    color: var(--gray-300);
    padding: 48px 24px;
    font-size: 0.9rem;
}

/* ===== Upgrade Modal ===== */
.upgrade-modal { max-width: 400px; }
.upgrade-benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    text-align: left;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin-bottom: 16px;
}
.upgrade-benefits div { font-size: 0.92rem; color: var(--gray-700); }
.upgrade-price { display: flex; align-items: baseline; justify-content: center; gap: 12px; }
.upgrade-price .old { color: var(--gray-300); text-decoration: line-through; font-size: 1rem; }
.upgrade-price .new { color: var(--primary); font-size: 2rem; font-weight: 800; }

/* ===== Daily Sign-in + Quota Row ===== */
.quota-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
}
.quota-row .quota-display { margin: 0; }
.signin-btn {
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.15s, box-shadow 0.15s;
}
.signin-btn:not(:disabled):hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.4);
}
.signin-btn:disabled { cursor: default; }

/* ===== Example Chips ===== */
.example-chips {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}
.chip-label { font-size: 0.78rem; color: #94a3b8; }
.chip {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    color: #c7d2fe;
    border-radius: 999px;
    padding: 4px 14px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}
.chip:hover {
    background: rgba(99,102,241,0.25);
    border-color: #818cf8;
}

/* ===== Who Uses This ===== */
.who-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}
.who-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px 24px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.who-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}
.who-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
}
.who-card h3 { font-size: 1.05rem; margin-bottom: 10px; color: #1e293b; }
.who-scene { font-size: 0.9rem; color: #475569; line-height: 1.7; margin-bottom: 14px; }
.who-tools {
    font-size: 0.78rem;
    color: #6366f1;
    background: #eef2ff;
    border-radius: 8px;
    padding: 6px 10px;
    display: inline-block;
}

@media (max-width: 640px) {
    .quota-row { flex-direction: column; align-items: stretch; }
    .signin-btn { width: 100%; }
}

/* ===== Hero Two-Column (v2) ===== */
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: center;
}
.hero-quick {
    display: flex;
    gap: 10px;
    max-width: 520px;
    margin-bottom: 14px;
}
.hero-quick-input {
    flex: 1;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1.5px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}
.hero-quick-input::placeholder { color: #7878a0; }
.hero-quick-input:focus { border-color: var(--primary-light); }
.hero-quick-btn { white-space: nowrap; padding: 14px 22px; border-radius: 12px; }
.hero-quick-tips {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #7878a0;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.hero-quick-tips a {
    color: #a5b4fc;
    text-decoration: none;
    padding: 3px 12px;
    border: 1px solid rgba(165,180,252,0.35);
    border-radius: 14px;
    transition: all 0.2s;
}
.hero-quick-tips a:hover { background: rgba(165,180,252,0.15); }

/* Demo window (typewriter preview) */
.demo-window {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,0.35);
    backdrop-filter: blur(8px);
}
.demo-window-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.dw-dot { width: 11px; height: 11px; border-radius: 50%; }
.dw-dot.red { background: #ff5f57; }
.dw-dot.yellow { background: #febc2e; }
.dw-dot.green { background: #28c840; }
.dw-title {
    margin-left: 10px;
    font-size: 0.8rem;
    color: #a0a0c0;
}
.demo-window-body { padding: 18px 20px 22px; }
.dw-input-line {
    font-size: 0.85rem;
    color: #7878a0;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(255,255,255,0.12);
}
.dw-input-line span { color: #e0e0f0; font-weight: 600; }
.dw-output {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #e8e8f5;
    min-height: 130px;
}
.dw-cursor-line {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: #6c6c90;
    margin-top: 14px;
}
.dw-cursor {
    width: 8px;
    height: 16px;
    background: var(--primary-light);
    border-radius: 2px;
    animation: blink 1s infinite;
}
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:0.15;} }
.hero-right-note {
    text-align: center;
    font-size: 0.8rem;
    color: #6c6c90;
    margin-top: 14px;
}

/* ===== Before / After ===== */
.ba-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}
.ba-card {
    border-radius: 16px;
    padding: 28px;
    display: flex;
    flex-direction: column;
}
.ba-before {
    background: #f8f8fa;
    border: 1.5px dashed #d5d5e0;
}
.ba-after {
    background: linear-gradient(135deg, #eef2ff 0%, #faf5ff 100%);
    border: 2px solid var(--primary-light);
    box-shadow: 0 12px 40px rgba(79,70,229,0.12);
}
.ba-tag { font-size: 0.9rem; font-weight: 700; margin-bottom: 16px; }
.ba-before .ba-tag { color: #9ca3af; }
.ba-after .ba-tag { color: var(--primary); }
.ba-card > p {
    flex: 1;
    font-size: 1rem;
    line-height: 1.9;
    color: #374151;
}
.ba-foot {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(0,0,0,0.06);
    font-size: 0.82rem;
    color: #9ca3af;
}
.ba-after .ba-foot { color: var(--primary); font-weight: 600; }

/* ===== Compare Table ===== */
.compare-wrap {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 16px;
    overflow-x: auto;
    box-shadow: 0 8px 32px rgba(15,14,23,0.08);
}
.compare-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    min-width: 680px;
}
.compare-table th, .compare-table td {
    padding: 16px 18px;
    text-align: left;
    font-size: 0.92rem;
    border-bottom: 1px solid #eef0f5;
    vertical-align: top;
}
.compare-table thead th {
    background: #1a1a2e;
    color: #fff;
    font-weight: 700;
    white-space: nowrap;
}
.compare-table thead th .ct-sub {
    display: block;
    font-size: 0.72rem;
    font-weight: 400;
    color: #a0a0c0;
    margin-top: 2px;
}
.compare-table .ct-first { color: #6b7280; font-weight: 600; width: 18%; }
.compare-table tbody tr:nth-child(even) { background: #fafafe; }
.compare-table tbody tr:hover { background: var(--primary-bg); }
.compare-table .ct-us {
    background: rgba(79,70,229,0.06);
    color: var(--primary);
    font-weight: 700;
}
.compare-table thead .ct-us {
    background: var(--primary);
    color: #fff;
    position: relative;
}
.compare-cta { text-align: center; margin-top: 40px; }

/* ===== Hero/compare mobile ===== */
@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-right { max-width: 520px; margin: 0 auto; }
    .ba-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .hero h1 { font-size: 2.1rem; }
    .hero-stats { gap: 24px; flex-wrap: wrap; }
    .hero-quick { flex-direction: column; }
    .hero-quick-btn { width: 100%; }
}

/* ===== Media Upload (image/video -> copy) ===== */
.media-upload { margin-bottom: 18px; }
.media-drop {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1.5px dashed #c7cbe8;
    border-radius: 12px;
    background: #f8f9ff;
    cursor: pointer;
    transition: all 0.2s;
    flex-wrap: wrap;
}
.media-drop:hover { border-color: var(--primary); background: var(--primary-bg); }
.media-icon { font-size: 1.5rem; }
.media-text { font-size: 0.9rem; font-weight: 600; color: var(--dark, #1a1a2e); }
.media-hint { font-size: 0.76rem; color: #9ca3af; width: 100%; padding-left: 42px; }
.media-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    margin-top: 8px;
}
.media-status { flex: 1; font-size: 0.84rem; color: #166534; }
.media-clear {
    background: none;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 4px 10px;
    font-size: 0.76rem;
    color: #6b7280;
    cursor: pointer;
}
.media-clear:hover { border-color: #ef4444; color: #ef4444; }

.tool-textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.92rem;
    line-height: 1.7;
    resize: vertical;
    outline: none;
    font-family: inherit;
    transition: border-color 0.2s;
}
.tool-textarea:focus { border-color: var(--primary-light); }

/* ===== Result Actions (一稿多发 + 追问改稿) ===== */
.result-actions {
    margin-top: 14px;
    padding: 14px;
    border: 1.5px solid var(--primary-light);
    border-radius: 12px;
    background: linear-gradient(135deg, #eef2ff 0%, #faf5ff 100%);
}
.ra-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.ra-row + .ra-row { margin-top: 10px; padding-top: 10px; border-top: 1px dashed rgba(79,70,229,0.25); }
.ra-label { font-size: 0.84rem; font-weight: 700; color: var(--primary); white-space: nowrap; }
.ra-btn {
    padding: 6px 12px;
    border-radius: 16px;
    border: 1px solid var(--primary-light);
    background: #fff;
    color: var(--primary);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}
.ra-btn:hover { background: var(--primary); color: #fff; }
.ra-btn.ra-go { background: var(--primary); color: #fff; }
.ra-input {
    flex: 1;
    min-width: 140px;
    padding: 7px 12px;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    font-size: 0.8rem;
    outline: none;
}
.ra-input:focus { border-color: var(--primary-light); }

/* ===== Feature cards: exclusive highlight ===== */
.feature-hot { border: 1.5px solid rgba(239,68,68,0.25); position: relative; }
.feature-icon.red { background: #fee2e2; color: #dc2626; }
.hot-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #ef4444, #f97316);
    border-radius: 8px;
    padding: 2px 8px;
    vertical-align: middle;
    margin-left: 4px;
}

/* ===== Share reward (v3) ===== */
.share-btn { border: 1.5px solid rgba(251,191,36,0.5); }
.reward-hint {
    font-size: 0.78rem;
    color: #7878a0;
    text-align: center;
    margin-top: 10px;
}
.share-sec { padding-top: 20px; }
.share-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    max-width: 960px;
    margin: 0 auto;
    padding: 36px 40px;
    border-radius: 20px;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 60%, #4338ca 100%);
    color: #fff;
    box-shadow: 0 20px 50px rgba(49,46,129,0.35);
}
.share-banner h2 { font-size: 1.5rem; margin-bottom: 10px; }
.share-banner p { font-size: 0.95rem; line-height: 1.8; color: #c7d2fe; }
.share-banner b { color: #fde047; }
.share-rules {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 16px;
    font-size: 0.85rem;
}
.share-rules span {
    padding: 6px 14px;
    border-radius: 16px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
}
.share-banner-action { text-align: center; flex-shrink: 0; }
.share-note { font-size: 0.75rem !important; margin-top: 8px; color: #a5b4fc !important; }
@media (max-width: 800px) {
    .share-banner { flex-direction: column; text-align: center; padding: 28px 22px; }
    .share-rules { justify-content: center; }
}

/* ===== Share Sheet (platform picker) ===== */
.share-sheet-mask {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15,14,23,0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    align-items: flex-end;
    justify-content: center;
}
.share-sheet-mask.show { display: flex; }
.share-sheet {
    background: #fff;
    width: 100%;
    max-width: 460px;
    border-radius: 20px 20px 0 0;
    padding: 22px 22px 28px;
    animation: sheetUp 0.25s ease;
}
@keyframes sheetUp { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.ss-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.ss-head h3 { font-size: 1.1rem; color: #1a1a2e; }
.ss-close {
    background: none;
    border: none;
    font-size: 1.1rem;
    color: #9ca3af;
    cursor: pointer;
    padding: 4px 8px;
}
.ss-tip { font-size: 0.84rem; color: #6b7280; margin-bottom: 18px; }
.ss-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.ss-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 6px;
    border: 1.5px solid #e8eaf3;
    border-radius: 14px;
    background: #fafbff;
    cursor: pointer;
    transition: all 0.15s;
}
.ss-item:hover { border-color: var(--primary-light); background: var(--primary-bg); transform: translateY(-2px); }
.ss-icon { font-size: 1.6rem; }
.ss-name { font-size: 0.88rem; font-weight: 700; color: #1a1a2e; }
.ss-desc { font-size: 0.68rem; color: #9ca3af; text-align: center; line-height: 1.5; }
@media (max-width: 480px) {
    .ss-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Prompt Pack 促销横幅 ===== */
.pack-promo-wrap { padding: 0 20px; margin-top: -8px; }
.pack-promo-bar {
    max-width: 1080px; margin: 0 auto; display: flex; align-items: center; gap: 14px;
    background: linear-gradient(135deg, #eef2ff 0%, #fdf4ff 100%);
    border: 1.5px solid #c7d2fe; border-radius: 16px;
    padding: 14px 22px; text-decoration: none;
    transition: transform .2s, box-shadow .2s;
}
.pack-promo-bar:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(79,70,229,0.15); }
.pack-promo-icon { font-size: 1.8rem; flex-shrink: 0; }
.pack-promo-text { flex: 1; display: flex; flex-direction: column; gap: 2px; color: #1e1b4b; }
.pack-promo-text b { font-size: 0.98rem; }
.pack-promo-text small { font-size: 0.78rem; color: #6366f1; }
.pack-promo-price { font-size: 1.3rem; font-weight: 800; color: #4f46e5; flex-shrink: 0; }
.pack-promo-price del { font-size: 0.8rem; color: #94a3b8; font-weight: 400; margin-left: 6px; }
.pack-promo-cta { flex-shrink: 0; background: #4f46e5; color: #fff; font-size: 0.82rem; font-weight: 600; padding: 8px 16px; border-radius: 999px; }
@media (max-width: 720px) {
    .pack-promo-bar { flex-wrap: wrap; gap: 8px; padding: 12px 16px; }
    .pack-promo-text small { display: none; }
    .pack-promo-price { font-size: 1.05rem; margin-left: 40px; }
}
