/* ============================================================
   猫语翻译器 Pro — 官网样式
   主色：#FF8340（暖橙）  辅色：#7B5EA7（紫罗兰）
   ============================================================ */

:root {
    --primary:       #FF8340;
    --primary-dark:  #E06520;
    --accent:        #7B5EA7;
    --accent-light:  #9B7DC7;
    --text:          #1d1d1f;
    --light-text:    #86868b;
    --bg:            #ffffff;
    --section-bg:    #fdf9f6;
    --border:        #e8ddd4;
    --transition:    all 0.3s ease;
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: "SF Pro Display", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: var(--text);
    line-height: 1.5;
    overflow-x: hidden;
}

a { text-decoration: none; color: var(--primary); transition: var(--transition); }
a:hover { opacity: 0.8; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 600; }

h1 { font-size: 56px; line-height: 1.08; letter-spacing: -0.02em; }
h2 { font-size: 40px; text-align: center; margin-bottom: 16px; }
h3 { font-size: 36px; line-height: 1.18; letter-spacing: -0.01em; }

section { padding: 100px 20px; }

/* ── Navigation ── */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 48px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(90deg, #FF8340, #7B5EA7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    flex-shrink: 0;
    display: block;
}

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

.nav-links a {
    color: var(--text);
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 0.01em;
}

.nav-links a:hover { color: var(--primary); opacity: 1; }

/* ── Hero ── */
header {
    background:
        radial-gradient(circle at 15% 25%, rgba(255, 131, 64, 0.42), transparent 48%),
        radial-gradient(circle at 85% 20%, rgba(123, 94, 167, 0.42), transparent 52%),
        radial-gradient(circle at 50% 85%, rgba(255, 131, 64, 0.18), transparent 45%),
        linear-gradient(150deg, rgba(12, 8, 10, 0.86) 0%, rgba(26, 16, 32, 0.86) 55%, rgba(20, 12, 8, 0.86) 100%),
        url('../images/hero-cat.jpg') center / cover no-repeat;
}

.hero {
    min-height: 92vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 80px 24px;
    position: relative;
    overflow: hidden;
}

/* Paw-print dot pattern */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
    pointer-events: none;
}

.hero > * { position: relative; z-index: 1; }

.hero-badge {
    display: inline-block;
    background: rgba(255, 131, 64, 0.18);
    border: 1px solid rgba(255, 131, 64, 0.4);
    color: rgba(255, 200, 140, 0.95);
    padding: 6px 20px;
    border-radius: 980px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.03em;
    margin-bottom: 28px;
}

.hero h1 {
    background: linear-gradient(100deg, #ffffff 0%, #ffd4a8 45%, #c9b8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
}

.subtitle {
    font-size: 20px;
    max-width: 620px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.6;
    margin-bottom: 44px;
}

.hero-cta { display: flex; gap: 16px; align-items: center; margin-bottom: 60px; }

.cta-button {
    background: linear-gradient(90deg, #FF8340, #FF6020);
    color: white;
    padding: 15px 40px;
    border-radius: 980px;
    font-size: 17px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 12px 32px rgba(255, 131, 64, 0.4);
    letter-spacing: 0.01em;
}

.cta-button:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 18px 40px rgba(255, 131, 64, 0.5);
    opacity: 1;
}

.cta-secondary {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    padding-bottom: 2px;
    transition: var(--transition);
}

.cta-secondary:hover { color: white; border-color: white; opacity: 1; }

/* Hero stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 40px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 20px 48px;
    backdrop-filter: blur(10px);
}

.stat-item { text-align: center; }

.stat-number {
    display: block;
    font-size: 26px;
    font-weight: 700;
    background: linear-gradient(90deg, #FF8340, #FFB080);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.01em;
}

.stat-label {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
    letter-spacing: 0.03em;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.15);
}

/* ── Features ── */
.features {
    background: var(--bg);
    padding: 100px 20px;
}

.features-intro {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
    font-size: 19px;
    color: var(--light-text);
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--section-bg);
    border-radius: 20px;
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.feature-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 16px 40px rgba(255, 131, 64, 0.13);
    border-color: rgba(255, 131, 64, 0.22);
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    letter-spacing: -0.005em;
}

.feature-card p {
    color: var(--light-text);
    font-size: 14px;
    line-height: 1.65;
}

.feature-icon {
    margin: 0 auto 22px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fff3eb, #f0ecff);
    border-radius: 22px;
    box-shadow: 0 4px 16px rgba(255, 131, 64, 0.1);
}

.feature-icon img { width: 42px; height: 42px; }

/* ── Showcase sections ── */
.showcase {
    background: var(--section-bg);
    padding: 100px 20px;
}

.showcase-reverse {
    background: var(--bg);
}

.showcase-inner {
    display: flex;
    gap: 72px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.showcase-reverse .showcase-inner { flex-direction: row; }

.showcase-content { flex: 1; }

.showcase-content h3 {
    font-size: 42px;
    margin-bottom: 24px;
    line-height: 1.15;
    background: linear-gradient(100deg, #FF8340, #7B5EA7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.showcase-content p {
    font-size: 17px;
    color: var(--light-text);
    line-height: 1.75;
    margin-bottom: 28px;
}

.showcase-content p strong { color: var(--text); }

.showcase-features {
    margin-bottom: 36px;
}

.showcase-features li {
    font-size: 15px;
    color: var(--light-text);
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.showcase-features li::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
}

.showcase-features li:last-child { border-bottom: none; }

.explore-button {
    display: inline-block;
    background: linear-gradient(90deg, #FF8340, #FF6020);
    color: white;
    padding: 13px 32px;
    border-radius: 980px;
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 8px 24px rgba(255, 131, 64, 0.28);
}

.explore-button:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 14px 32px rgba(255, 131, 64, 0.38);
    opacity: 1;
}

.showcase-image {
    flex: 1;
    position: relative;
}

.showcase-image img {
    width: 100%;
    border-radius: 28px;
    box-shadow: 0 28px 56px rgba(0, 0, 0, 0.16);
    object-fit: cover;
    aspect-ratio: 4/3;
    transition: var(--transition);
}

.showcase-image img:hover {
    transform: translateY(-6px);
    box-shadow: 0 36px 64px rgba(0, 0, 0, 0.2);
}

/* ── Download ── */
.download {
    background: var(--bg);
    padding: 100px 20px;
}

.download-options {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
}

.download-header {
    text-align: center;
    margin-bottom: 56px;
}

.download-header h3 {
    font-size: 32px;
    margin-bottom: 14px;
    background: linear-gradient(90deg, #FF8340, #7B5EA7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.download-subtitle {
    font-size: 17px;
    color: var(--light-text);
    max-width: 560px;
    margin: 0 auto;
}

.download-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.download-content--centered {
    justify-content: center;
}

.download-qrcodes {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 380px;
}

.qrcode-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    width: 100%;
    max-width: 320px;
}

.qrcode-tab {
    flex: 1;
    padding: 10px 16px;
    border: 1.5px solid var(--border);
    background: var(--section-bg);
    border-radius: 980px;
    color: var(--light-text);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.qrcode-tab:hover { background: rgba(255, 131, 64, 0.08); border-color: rgba(255, 131, 64, 0.3); }

.qrcode-tab.active {
    background: linear-gradient(90deg, #FF8340, #FF6020);
    color: white;
    border-color: transparent;
    box-shadow: 0 6px 18px rgba(255, 131, 64, 0.3);
}

.qrcode-displays { width: 100%; }

.qrcode-display {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.qrcode-display.active { display: flex; opacity: 1; }

.download-desc {
    color: var(--light-text);
    font-size: 14px;
    text-align: center;
}

.download-tip {
    color: var(--light-text);
    font-size: 13px;
    text-align: center;
    background: rgba(255, 131, 64, 0.06);
    border: 1px solid rgba(255, 131, 64, 0.15);
    padding: 8px 20px;
    border-radius: 10px;
}

.development-notice {
    color: var(--light-text);
    font-size: 15px;
    padding: 24px 32px;
    background: var(--section-bg);
    border-radius: 14px;
    border: 1.5px dashed var(--border);
    text-align: center;
}

.store-button {
    display: inline-block;
    transition: var(--transition);
    padding: 6px;
    border-radius: 10px;
}

.store-button:hover { transform: scale(1.05); background: rgba(0,0,0,0.04); opacity: 1; }

.store-button img { height: 52px; width: auto; object-fit: contain; }

/* ── Support ── */
.support {
    background: var(--section-bg);
    padding: 100px 20px;
}

.support-content {
    display: flex;
    gap: 36px;
    max-width: 1200px;
    margin: 0 auto;
}

.support-card {
    flex: 1;
    background: var(--bg);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
}

.support-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.support-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.support-card h3 { margin: 24px 26px 10px; font-size: 22px; }

.support-card p {
    margin: 0 26px 16px;
    color: var(--light-text);
    font-size: 14px;
    line-height: 1.65;
}

.support-email {
    margin: 0 26px 16px;
    padding: 12px 16px;
    background: rgba(255, 131, 64, 0.06);
    border: 1px solid rgba(255, 131, 64, 0.15);
    border-radius: 11px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.email-label { font-weight: 500; color: var(--text); font-size: 13px; }

.support-email a { color: var(--primary); font-weight: 500; font-size: 13px; }
.support-email a:hover { text-decoration: underline; opacity: 1; }

.support-link {
    display: block;
    margin: 0 26px 26px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

/* ── Footer ── */
footer {
    background: #0c0810;
    color: rgba(255,255,255,0.75);
    padding: 64px 20px 32px;
    text-align: center;
}

.footer-content { max-width: 1200px; margin: 0 auto; }

.footer-logo {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 32px;
    background: linear-gradient(90deg, #FFB080, #A080D0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin: 40px 0;
    text-align: left;
}

.footer-column { min-width: 140px; }

.footer-column h5 { font-size: 13px; margin-bottom: 18px; color: white; letter-spacing: 0.04em; text-transform: uppercase; }

.footer-column ul { display: flex; flex-direction: column; gap: 10px; }

.footer-column a { color: rgba(255,255,255,0.5); font-size: 13px; }
.footer-column a:hover { color: white; opacity: 1; }

.copyright {
    color: rgba(255,255,255,0.35);
    font-size: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.07);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hero-stats { gap: 28px; padding: 18px 32px; }
}

@media (max-width: 900px) {
    h1 { font-size: 40px; }
    h2 { font-size: 32px; }
    h3 { font-size: 28px; }

    .showcase-inner,
    .showcase-reverse .showcase-inner,
    .download-content {
        flex-direction: column;
        gap: 44px;
    }

    .showcase-content h3 { font-size: 30px; }

    .hero-stats { flex-direction: column; gap: 16px; padding: 20px 28px; }
    .stat-divider { width: 40px; height: 1px; }

    .support-content { flex-direction: column; }
}

@media (max-width: 768px) {
    nav { padding: 16px 20px; }
    .nav-links { display: none; }

    section { padding: 72px 20px; }

    .subtitle { font-size: 17px; }

    .hero-cta { flex-direction: column; gap: 12px; }

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

    .footer-links { flex-direction: column; gap: 28px; align-items: center; text-align: center; }
    .footer-column { min-width: unset; }
}

@media (max-width: 480px) {
    h1 { font-size: 32px; }
    .features-grid { grid-template-columns: 1fr; }
}
