* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #f5a623;
    --primary-dark: #e8940f;
    --secondary: #ffd54f;
    --accent: #ffca28;
    --text-dark: #4a3412;
    --text-body: #6b4f1d;
    --text-muted: rgba(74, 52, 18, 0.72);
    --glass: rgba(255, 255, 255, 0.55);
    --glass-border: rgba(255, 193, 7, 0.35);
    --gradient-main: linear-gradient(145deg, #fff9e6 0%, #ffe9a8 28%, #ffd54f 62%, #ffc107 100%);
    --gradient-btn: linear-gradient(135deg, #ffd54f 0%, #ffb300 55%, #f5a623 100%);
    --shadow-lg: 0 18px 40px rgba(180, 120, 0, 0.18);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: var(--text-dark);
    background: var(--gradient-main);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

#particles-js {
    position: fixed;
    inset: 0;
    z-index: 0;
    opacity: 0.68;
    pointer-events: none;
}

#particles-js canvas {
    display: block;
}

.page-wrap {
    position: relative;
    z-index: 1;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 249, 230, 0.82);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 193, 7, 0.28);
}

.nav-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-dark);
}

.brand-logo {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(245, 166, 35, 0.35);
}

.brand-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 1.1rem;
    color: #fff;
    background: var(--gradient-btn);
    box-shadow: 0 8px 20px rgba(245, 166, 35, 0.35);
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.nav-links {
    display: flex;
    gap: 1.75rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.25s ease, transform 0.25s ease;
}

.nav-links a:hover {
    color: var(--primary-dark);
    transform: translateY(-1px);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 7rem 1.5rem 4rem;
}

.hero-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(255, 193, 7, 0.45);
    font-size: 0.85rem;
    color: var(--text-body);
    margin-bottom: 1.25rem;
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.08;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.hero-title .highlight {
    background: linear-gradient(135deg, #e8940f 0%, #f5a623 45%, #ff8f00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 34rem;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-bottom: 2.5rem;
}

.btn {
    border: none;
    cursor: pointer;
    border-radius: 14px;
    padding: 0.95rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    color: #fff;
    background: var(--gradient-btn);
    box-shadow: 0 12px 28px rgba(245, 166, 35, 0.38);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(245, 166, 35, 0.48);
}

.btn-secondary {
    color: var(--text-dark);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 193, 7, 0.45);
    backdrop-filter: blur(12px);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.92);
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat-item strong {
    display: block;
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.stat-item span {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.phone-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-shell {
    width: min(320px, 88vw);
    aspect-ratio: 9 / 18;
    border-radius: 34px;
    padding: 12px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.85), rgba(255, 224, 130, 0.45));
    border: 1px solid rgba(255, 193, 7, 0.45);
    box-shadow: var(--shadow-lg), 0 0 60px rgba(255, 193, 7, 0.28);
    position: relative;
}

.phone-shell::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 92px;
    height: 22px;
    border-radius: 999px;
    background: rgba(74, 52, 18, 0.18);
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 26px;
    overflow: hidden;
    background: linear-gradient(180deg, #fffdf5 0%, #fff3c4 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3.2rem 1.2rem 1.2rem;
}

.phone-logo {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    object-fit: cover;
    margin-bottom: 1rem;
    box-shadow: 0 12px 24px rgba(245, 166, 35, 0.28);
}

.phone-logo-fallback {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    background: var(--gradient-btn);
    margin-bottom: 1rem;
}

.phone-app-name {
    color: var(--text-dark);
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.phone-slogan {
    color: var(--text-body);
    font-size: 0.82rem;
    margin-bottom: 1.4rem;
}

.phone-cards {
    width: 100%;
    display: grid;
    gap: 0.65rem;
}

.phone-card {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 193, 7, 0.28);
    border-radius: 14px;
    padding: 0.75rem 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--text-dark);
    font-size: 0.82rem;
    font-weight: 600;
}

.phone-card i {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    background: rgba(255, 193, 7, 0.22);
    color: var(--primary-dark);
    font-size: 0.8rem;
}

.phone-glow {
    position: absolute;
    inset: -30%;
    background: radial-gradient(circle, rgba(255, 213, 79, 0.35) 0%, transparent 65%);
    z-index: -1;
    animation: glow-spin 18s linear infinite;
}

@keyframes glow-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.features {
    padding: 4rem 1.5rem 5rem;
}

.section-inner {
    max-width: 1180px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}

.feature-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(14px);
    border-radius: 18px;
    padding: 1.4rem 1.2rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(180, 120, 0, 0.14);
}

.feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
    background: rgba(255, 193, 7, 0.22);
    color: var(--primary-dark);
    font-size: 1.15rem;
}

.feature-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.45rem;
    color: var(--text-dark);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.footer {
    padding: 1.5rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.88rem;
    border-top: 1px solid rgba(255, 193, 7, 0.28);
    background: rgba(255, 255, 255, 0.25);
}

.footer a {
    color: var(--text-body);
    text-decoration: none;
}

.footer a:hover {
    color: var(--primary-dark);
}

@media (max-width: 960px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions,
    .hero-stats {
        justify-content: center;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-links {
        display: none;
    }
}

@media (max-width: 560px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 6rem;
    }
}
