:root {
    --orange: #FF6B1A;
    --orange-light: #FF9A4D;
    --yellow: #FFD166;
    --white: #FFFFFF;
    --bg: #FFF8F3;
    --section-bg: #FFF3E8;
    --text-dark: #2D1A0E;
    --text-mid: #6B3A1F;
    --text-light: #A0622A;

    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
    --radius-btn: 28px;
    --radius-tag: 20px;

    --font-family: -apple-system, "PingFang SC", "Helvetica Neue", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

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

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

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

section {
    padding: 80px 0;
}

h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
}

h1 {
    font-size: 62px;
}

h2 {
    font-size: 38px;
}

h3 {
    font-size: 28px;
    font-weight: 700;
}

p {
    font-size: 16px;
    color: var(--text-mid);
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--radius-btn);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
    color: var(--white);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 26, 0.3);
}

.btn-secondary {
    background: var(--white);
    color: var(--orange);
    border: 2px solid var(--orange);
}

.btn-secondary:hover {
    background: var(--bg);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    color: var(--text-dark);
    margin-bottom: 16px;
}

.section-desc {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-mid);
}

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

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 22px;
    }

    section {
        padding: 60px 0;
    }
}

/* ========== 导航栏 ========== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 107, 26, 0.15);
    transition: all 0.3s ease;
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(45, 26, 14, 0.08);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo img {
    width: 36px;
    height: 36px;
    border-radius: 9px;
}

.nav-logo-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--orange);
}

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

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-mid);
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--orange);
}

.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 20px;
    font-size: 14px;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
}

.nav-hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-mobile {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.nav-mobile.open {
    opacity: 1;
    visibility: visible;
}

.nav-mobile a {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.nav-mobile a:hover {
    color: var(--orange);
}

body.menu-open {
    overflow: hidden;
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .nav-mobile {
        display: flex;
    }
}

/* ========== Hero 主视觉区 ========== */
.hero {
    padding-top: 140px;
    padding-bottom: 80px;
    background: linear-gradient(160deg, #FFF8F3 0%, #FFF0E0 50%, #FFE8CC 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 107, 26, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 154, 77, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 540px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 107, 26, 0.1);
    color: var(--orange);
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-tag);
    margin-bottom: 20px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-title-line1 {
    color: var(--text-dark);
}

.hero-title-line2 {
    background: linear-gradient(135deg, var(--orange) 0%, var(--yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 17px;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 32px;
}

.hero-subtitle strong {
    color: var(--orange);
    font-weight: 700;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.hero-icon-wrapper {
    position: relative;
    width: 180px;
    height: 180px;
}

.hero-icon-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    border-radius: 36px;
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.4;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 0;
    }
}

.hero-icon {
    position: relative;
    width: 160px;
    height: 160px;
    border-radius: 36px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(255, 107, 26, 0.35);
    z-index: 1;
}

.hero-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
    max-width: 280px;
}

.hero-tag {
    padding: 8px 14px;
    background: var(--white);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-mid);
    box-shadow: 0 2px 8px rgba(45, 26, 14, 0.08);
    animation: float 3s ease-in-out infinite;
}

.hero-tag:nth-child(1) { animation-delay: 0s; }
.hero-tag:nth-child(2) { animation-delay: 0.3s; }
.hero-tag:nth-child(3) { animation-delay: 0.6s; }
.hero-tag:nth-child(4) { animation-delay: 0.9s; }
.hero-tag:nth-child(5) { animation-delay: 1.2s; }

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

@media (max-width: 900px) {
    .hero {
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-content {
        max-width: 100%;
    }

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

    .hero-buttons {
        justify-content: center;
    }

    .hero-icon-wrapper {
        width: 140px;
        height: 140px;
    }

    .hero-icon-pulse {
        width: 140px;
        height: 140px;
    }

    .hero-icon {
        width: 120px;
        height: 120px;
    }
}

/* ========== 为什么选择夸夸 ========== */
.why {
    background: var(--white);
    padding: 80px 0;
}

.why-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.why-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 36px;
    border: 1.5px solid rgba(255, 107, 26, 0.15);
    transition: all 0.3s ease;
    text-align: center;
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(255, 107, 26, 0.15);
}

.why-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.why-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.why-desc {
    font-size: 15px;
    color: var(--text-mid);
    line-height: 1.7;
}

@media (max-width: 900px) {
    .why-cards {
        grid-template-columns: 1fr;
        max-width: 480px;
    }
}

/* ========== 功能特色 ========== */
.features {
    background: var(--section-bg);
    padding: 80px 0;
}

.features-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-row:nth-child(even) .feature-content {
    order: 2;
}

.feature-row:nth-child(even) .feature-visual {
    order: 1;
}

.feature-content {
    max-width: 480px;
}

.feature-row:nth-child(even) .feature-content {
    justify-items: end;
}

.feature-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--orange);
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: block;
}

.feature-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.feature-desc {
    font-size: 15px;
    color: var(--text-mid);
    line-height: 1.8;
}

.feature-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 360px;
    height: 240px;
    border-radius: var(--radius-lg);
    background: linear-gradient(160deg, #FFF8F3 0%, #FFE8CC 100%);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.feature-visual-icon {
    font-size: 64px;
}

.feature-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.feature-visual[data-screen="1"]::before { content: '💡'; }
.feature-visual[data-screen="2"]::before { content: '📓'; }
.feature-visual[data-screen="3"]::before { content: '🎯'; }
.feature-visual[data-screen="4"]::before { content: '🏆'; }

@media (max-width: 900px) {
    .feature-row {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 48px;
    }

    .feature-row:nth-child(even) .feature-content {
        order: 1;
    }

    .feature-row:nth-child(even) .feature-visual {
        order: 2;
    }

    .feature-content {
        max-width: 100%;
    }

    .feature-visual {
        max-width: 100%;
        height: 200px;
    }
}

/* ========== 品牌理念 ========== */
.philosophy {
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
    padding: 100px 0;
    color: var(--white);
    text-align: center;
}

.philosophy .section-tag {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
}

.philosophy .section-title {
    color: var(--white);
    max-width: 700px;
    margin: 0 auto 20px;
    font-size: 36px;
}

.philosophy .section-desc {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 17px;
}

.philosophy-quote {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.philosophy-quote p {
    font-size: 20px;
    font-style: italic;
    line-height: 1.8;
    color: var(--white);
    margin-bottom: 20px;
}

.philosophy-quote cite {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-style: normal;
}

@media (max-width: 900px) {
    .philosophy {
        padding: 60px 0;
    }

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

    .philosophy-quote {
        padding: 28px;
    }

    .philosophy-quote p {
        font-size: 17px;
    }
}

/* ========== 应用截图 ========== */
.screenshots {
    background: var(--white);
    padding: 80px 0;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.screenshots-grid::-webkit-scrollbar {
    display: none;
}

.screenshot-card {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    border-radius: 32px;
    padding: 40px 24px 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.bg-orange { background: linear-gradient(180deg, #FFA057 0%, #FF6B1A 100%); }
.bg-blue { background: linear-gradient(180deg, #3B82F6 0%, #1E3A8A 100%); }
.bg-green { background: linear-gradient(180deg, #34D399 0%, #065F46 100%); }
.bg-purple { background: linear-gradient(180deg, #A78BFA 0%, #4C1D95 100%); }

.card-header {
    text-align: center;
    color: #fff;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    min-height: 60px;
}

.card-header h3 {
    font-size: 22px;
    font-weight: 800;
    margin: 0;
    line-height: 1.4;
    color: #fff;
}

.card-image-wrapper {
    width: 100%;
    margin-bottom: -10px;
}

.card-image-wrapper .screenshot-img {
    width: 100%;
    height: auto;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.2);
    display: block;
}

@media (max-width: 900px) {
    .screenshots-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .screenshot-card {
        max-width: 320px;
        padding: 32px 20px 0;
    }

    .card-header h3 {
        font-size: 20px;
    }
}

/* ========== 关于我们 ========== */
.about {
    background: var(--section-bg);
    padding: 80px 0;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.about-content {
    max-width: 480px;
}

.about-content .section-tag {
    text-align: left;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.about-content p {
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-logo {
    width: 120px;
    height: 120px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(255, 107, 26, 0.25);
    margin-bottom: 20px;
}

.about-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-tagline {
    font-size: 14px;
    color: var(--text-mid);
    text-align: center;
}

@media (max-width: 900px) {
    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-content .section-tag,
    .about-content .section-title {
        text-align: center;
    }

    .about-content {
        max-width: 100%;
    }
}

/* ========== 联系我们 ========== */
.contact {
    background: var(--white);
    padding: 80px 0;
}

.contact-cards {
    display: flex;
    justify-content: center;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
    flex-wrap: wrap;
}

.contact-card {
    flex: 1;
    min-width: 200px;
    max-width: 260px;
    background: var(--bg);
    border-radius: var(--radius-md);
    padding: 28px;
    border: 1.5px solid rgba(255, 107, 26, 0.15);
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(255, 107, 26, 0.1);
}

.contact-icon {
    font-size: 32px;
    margin-bottom: 12px;
    display: block;
}

.contact-label {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.contact-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
}

.contact-card a.contact-value {
    color: var(--orange);
    transition: color 0.3s ease;
}

.contact-card a.contact-value:hover {
    color: var(--orange-light);
}

@media (max-width: 900px) {
    .contact-cards {
        flex-direction: column;
        align-items: center;
    }

    .contact-card {
        max-width: 100%;
    }
}

/* ========== Footer ========== */
.footer {
    background: var(--text-dark);
    padding: 32px 48px;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.footer-logo-icon {
    font-size: 20px;
}

.footer-logo-text {
    font-size: 18px;
    font-weight: 700;
    color: #FFB347;
}

.footer-copyright {
    font-size: 14px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.85);
}

.footer-records {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.footer-records a {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s ease;
}

.footer-records a:hover {
    color: #FFB347;
}

.footer-records span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 900px) {
    .footer {
        padding: 24px 20px;
    }

    .footer-records {
        flex-direction: column;
        gap: 12px;
    }
}

/* ========== 入场动效 ========== */
[data-animate] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="fadeInLeft"] {
    transform: translateX(-30px);
}

[data-animate="fadeInLeft"].animated {
    transform: translateX(0);
}

[data-animate="fadeInRight"] {
    transform: translateX(30px);
}

[data-animate="fadeInRight"].animated {
    transform: translateX(0);
}

.feature-row[data-animate] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature-row[data-animate].animated {
    opacity: 1;
}

.feature-row:nth-child(odd)[data-animate] {
    transform: translateX(-40px);
}

.feature-row:nth-child(odd)[data-animate].animated {
    transform: translateX(0);
}

.feature-row:nth-child(even)[data-animate] {
    transform: translateX(40px);
}

.feature-row:nth-child(even)[data-animate].animated {
    transform: translateX(0);
}

.why-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.why-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.why-card:nth-child(1) { transition-delay: 0.1s; }
.why-card:nth-child(2) { transition-delay: 0.2s; }
.why-card:nth-child(3) { transition-delay: 0.3s; }

.screenshot-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.screenshot-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.screenshot-card:nth-child(1) { transition-delay: 0.1s; }
.screenshot-card:nth-child(2) { transition-delay: 0.2s; }
.screenshot-card:nth-child(3) { transition-delay: 0.3s; }
.screenshot-card:nth-child(4) { transition-delay: 0.4s; }

.contact-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.contact-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.contact-card:nth-child(1) { transition-delay: 0.1s; }
.contact-card:nth-child(2) { transition-delay: 0.2s; }
.contact-card:nth-child(3) { transition-delay: 0.3s; }

.philosophy-quote[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.philosophy-quote[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}