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

:root {
    --primary: #e84118;
    --primary-light: #ff6b47;
    --secondary: #2f3640;
    --accent: #fbc531;
    --dark: #1e272e;
    --light: #f5f6fa;
    --white: #ffffff;
    --gray: #718093;
    --shadow: 0 8px 30px rgba(232, 65, 24, 0.12);
    --shadow-hover: 0 15px 50px rgba(232, 65, 24, 0.2);
    --gradient: linear-gradient(135deg, #e84118 0%, #c23616 100%);
    --radius: 16px;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", -apple-system, sans-serif;
    color: var(--secondary);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--white);
}

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

.bg-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.4;
}

.circle-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(232, 65, 24, 0.08) 0%, transparent 70%);
    top: -200px;
    right: -100px;
}

.circle-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(251, 197, 49, 0.1) 0%, transparent 70%);
    bottom: 20%;
    left: -100px;
}

.circle-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(232, 65, 24, 0.05) 0%, transparent 70%);
    top: 50%;
    right: 10%;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.875rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(232, 65, 24, 0.3);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.5px;
}

.brand-slogan {
    font-size: 0.7rem;
    color: var(--gray);
    letter-spacing: 1px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.main-nav a {
    font-weight: 500;
    color: var(--secondary);
    transition: var(--transition);
    position: relative;
}

.main-nav a:not(.nav-cta)::before {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
    transition: var(--transition);
}

.main-nav a:not(.nav-cta):hover::before {
    width: 100%;
}

.main-nav a:not(.nav-cta):hover {
    color: var(--primary);
}

.nav-cta {
    background: var(--gradient);
    color: white !important;
    padding: 0.625rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(232, 65, 24, 0.3);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 65, 24, 0.4);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

.hero-section {
    min-height: 100vh;
    padding: 7rem 2rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.badge {
    display: inline-block;
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #b8860b;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(251, 197, 49, 0.3);
}

.hero-title {
    font-size: 3.75rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--dark);
    letter-spacing: -1px;
}

.highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(232, 65, 24, 0.2);
    z-index: -1;
    border-radius: 4px;
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--gray);
    max-width: 480px;
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1.75rem;
    border-radius: 14px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.cta-button.primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 8px 25px rgba(232, 65, 24, 0.35);
}

.cta-button.primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(232, 65, 24, 0.45);
}

.cta-button.secondary {
    background: white;
    color: var(--secondary);
    border: 2px solid #e1e1e1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.cta-button.secondary:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.cta-icon {
    font-size: 1.5rem;
}

.cta-content {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.cta-label {
    font-size: 0.75rem;
    opacity: 0.85;
}

.cta-text {
    font-weight: 700;
    font-size: 0.95rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--dark);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, #ddd, transparent);
}

.hero-image {
    position: relative;
    animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.phone-frame {
    width: 300px;
    height: 600px;
    background: linear-gradient(180deg, #1e272e 0%, #2f3640 100%);
    border-radius: 45px;
    padding: 12px;
    margin: 0 auto;
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.25),
        0 0 0 3px #3d4654;
    animation: phoneFloat 4s ease-in-out infinite;
}

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

.phone-notch {
    width: 100px;
    height: 28px;
    background: #1e272e;
    border-radius: 20px;
    margin: 0 auto 15px;
}

.phone-content {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 35px;
    overflow: hidden;
}

.app-screen {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.screen-header {
    background: var(--gradient);
    padding: 1.5rem;
    color: white;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.recipe-list {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
    background: #f8f9fa;
}

.recipe-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    background: white;
    padding: 0.75rem;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.recipe-item:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.recipe-pic {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    flex-shrink: 0;
}

.recipe-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.recipe-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark);
}

.recipe-time {
    font-size: 0.75rem;
    color: var(--gray);
}

.floating-badge {
    position: absolute;
    background: white;
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow);
    animation: badgeFloat 3s ease-in-out infinite;
}

.badge-1 {
    top: 10%;
    left: -20px;
    animation-delay: 0s;
}

.badge-2 {
    bottom: 20%;
    right: -20px;
    animation-delay: 1.5s;
}

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

.badge-emoji {
    font-size: 1.25rem;
}

.badge-text {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--dark);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
    font-size: 0.8rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--gray);
    border-bottom: 2px solid var(--gray);
    transform: rotate(45deg);
}

.showcase-section,
.features-section,
.testimonials-section {
    padding: 6rem 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, 220px);
    gap: 1.25rem;
}

.showcase-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.showcase-card.large {
    grid-column: span 2;
    grid-row: span 2;
}

.showcase-card:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-hover);
}

.card-image {
    width: 100%;
    height: 100%;
    transition: var(--transition);
}

.showcase-card:hover .card-image {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
}

.card-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.card-desc {
    font-size: 0.85rem;
    opacity: 0.85;
}

.showcase-card.large .card-title {
    font-size: 1.75rem;
}

.features-section {
    background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
    border-radius: 60px;
    margin: 4rem auto;
    max-width: 1100px;
}

.features-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-hover);
}

.feature-icon-wrap {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #fff5f3 0%, #ffe8e3 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon {
    font-size: 2rem;
}

.feature-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: var(--gray);
    line-height: 1.7;
}

.download-section {
    padding: 5rem 2rem;
    background: var(--gradient);
    position: relative;
    overflow: hidden;
}

.download-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.download-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5rem;
    position: relative;
    z-index: 1;
}

.download-visual {
    flex-shrink: 0;
}

.download-qr {
    width: 160px;
    height: 160px;
    background: white;
    border-radius: 20px;
    padding: 12px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.qr-inner {
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            0deg,
            var(--dark) 0px,
            var(--dark) 8px,
            white 8px,
            white 10px
        ),
        repeating-linear-gradient(
            90deg,
            var(--dark) 0px,
            var(--dark) 8px,
            white 8px,
            white 10px
        ),
        linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.qr-inner::after {
    content: '菜谱大全';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--dark);
}

.qr-label {
    display: block;
    text-align: center;
    color: white;
    font-weight: 600;
    margin-top: 0.75rem;
}

.download-info {
    text-align: center;
    color: white;
}

.download-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.download-text {
    font-size: 1.05rem;
    opacity: 0.9;
    max-width: 450px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    color: var(--dark);
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.download-btn .btn-icon {
    font-size: 1.5rem;
}

.download-btn .btn-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    text-align: left;
}

.download-btn .btn-text small {
    font-size: 0.7rem;
    color: var(--gray);
}

.download-btn .btn-text strong {
    font-size: 0.95rem;
    font-weight: 700;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 24px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid #f0f0f0;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-hover);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #f5f6fa 0%, #e1e1e1 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 700;
    color: var(--dark);
    font-size: 1.05rem;
}

.author-title {
    font-size: 0.8rem;
    color: var(--gray);
}

.testimonial-rating {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    letter-spacing: 3px;
}

.testimonial-text {
    color: var(--gray);
    line-height: 1.8;
    font-size: 0.95rem;
}

.site-footer {
    background: var(--dark);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-icon {
    font-size: 1.5rem;
}

.footer-copy {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
}

.link-divider {
    color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .hero-desc {
        margin: 0 auto 2rem;
    }

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

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

    .showcase-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(3, 180px);
    }

    .showcase-card.large {
        grid-column: span 2;
        grid-row: span 2;
    }

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

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

    .menu-toggle {
        display: flex;
    }

    .hero-section {
        padding: 6rem 1.5rem 3rem;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .phone-frame {
        width: 250px;
        height: 500px;
    }

    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 160px);
    }

    .showcase-card.large {
        grid-column: span 2;
        grid-row: span 1;
    }

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

    .download-wrapper {
        flex-direction: column;
        gap: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .download-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.875rem;
    }

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

    .cta-button {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-divider {
        display: none;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 180px);
    }

    .showcase-card.large {
        grid-column: span 1;
    }

    .floating-badge {
        display: none;
    }
}
