/* ==========================================
   向日葵远程控制 - 全新重构样式
   设计理念：阳光、温暖、现代、专业
   ========================================== */

/* ---------- CSS Variables ---------- */
:root {
    --gold-50: #FFFBEB;
    --gold-100: #FEF3C7;
    --gold-200: #FDE68A;
    --gold-300: #FCD34D;
    --gold-400: #FBBF24;
    --gold-500: #F59E0B;
    --gold-600: #D97706;
    --gold-700: #92400E;
    
    --brown-50: #FFFBEB;
    --brown-900: #1F1105;
    
    --green-500: #059669;
    --green-100: #D1FAE5;
    --green-50: #ECFDF5;
    
    --blue-500: #3B82F6;
    --blue-100: #DBEAFE;
    --blue-50: #EFF6FF;
    
    --bg: #FFFDF7;
    --bg-card: #FFFFFF;
    --text: #1F1105;
    --text-muted: #78716C;
    --border: #FDE68A;
    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 28px;
    --radius-xl: 36px;
    --shadow-sm: 0 2px 8px rgba(146, 64, 14, 0.06);
    --shadow: 0 8px 30px rgba(146, 64, 14, 0.08);
    --shadow-lg: 0 20px 60px rgba(146, 64, 14, 0.12);
    --shadow-gold: 0 12px 40px rgba(245, 158, 11, 0.25);
    --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* ---------- Decorative Elements ---------- */
.bg-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.petal {
    position: absolute;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle at 30% 30%, var(--gold-300), var(--gold-400));
    border-radius: 50% 0 50% 50%;
    opacity: 0.15;
    animation: petal-float 12s ease-in-out infinite;
}

.petal:nth-child(1) { top: 10%; left: 8%; animation-delay: 0s; width: 28px; height: 28px; }
.petal:nth-child(2) { top: 25%; right: 12%; animation-delay: -3s; width: 22px; height: 22px; }
.petal:nth-child(3) { top: 55%; left: 15%; animation-delay: -6s; width: 18px; height: 18px; }
.petal:nth-child(4) { top: 70%; right: 10%; animation-delay: -9s; width: 24px; height: 24px; }
.petal:nth-child(5) { top: 40%; left: 60%; animation-delay: -4s; width: 16px; height: 16px; }
.petal:nth-child(6) { top: 80%; left: 40%; animation-delay: -7s; width: 20px; height: 20px; }

@keyframes petal-float {
    0%, 100% { transform: translateY(0) rotate(0deg) scale(1); opacity: 0.15; }
    25% { transform: translateY(-30px) rotate(15deg) scale(1.1); opacity: 0.25; }
    50% { transform: translateY(-15px) rotate(-10deg) scale(0.95); opacity: 0.2; }
    75% { transform: translateY(-40px) rotate(5deg) scale(1.05); opacity: 0.18; }
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2;
}

.gradient-orb.orb-1 {
    top: -15%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--gold-300), var(--gold-200));
    animation: orb-breath 8s ease-in-out infinite;
}

.gradient-orb.orb-2 {
    bottom: -10%;
    left: -8%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--green-100), var(--blue-100));
    animation: orb-breath 8s ease-in-out infinite reverse;
}

@keyframes orb-breath {
    0%, 100% { transform: scale(1); opacity: 0.15; }
    50% { transform: scale(1.2); opacity: 0.25; }
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 14px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 253, 247, 0.85);
    backdrop-filter: blur(20px) saturate(1.5);
    border-bottom: 1px solid var(--gold-200);
    box-shadow: var(--shadow-sm);
}

.nav-content {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: var(--brown-900);
    transition: var(--transition);
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 500;
    border-radius: 50px;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--gold-600);
    background: var(--gold-50);
}

.nav-links a.active {
    color: var(--brown-900);
    background: var(--gold-100);
    font-weight: 600;
}

.nav-links .btn-nav {
    margin-left: 12px;
    background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
    color: var(--brown-900);
    font-weight: 600;
    padding: 10px 24px;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.25);
}

.nav-links .btn-nav:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
    background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
    color: var(--brown-900);
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--brown-900);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Shared Section Styles ---------- */
.section-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 100px 28px;
    position: relative;
    z-index: 1;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--gold-50);
    border: 1px solid var(--gold-200);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gold-600);
    margin-bottom: 16px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--brown-900);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
}

/* ---------- Hero Section ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    padding: 0 28px;
}

.hero-inner {
    max-width: 1240px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-text {
    padding-top: 60px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: var(--gold-50);
    border: 1px solid var(--gold-200);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gold-600);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease-out;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--gold-400);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
    font-size: 64px;
    font-weight: 900;
    color: var(--brown-900);
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-title .gold {
    background: linear-gradient(135deg, var(--gold-500), #FF8C00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 480px;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
    color: var(--brown-900);
    box-shadow: var(--shadow-gold);
    font-size: 17px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 50px rgba(245, 158, 11, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--brown-900);
    border: 2px solid var(--gold-300);
}

.btn-outline:hover {
    background: var(--gold-50);
    border-color: var(--gold-400);
}

.btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.hero-visual-area {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-sunflower {
    position: relative;
    width: 380px;
    height: 380px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-18px); }
}

.sunflower-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--gold-500), #92400E);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 8px 40px rgba(146, 64, 14, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sunflower-core::after {
    content: '🌻';
    font-size: 48px;
}

.sunflower-petal {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 80px;
    background: linear-gradient(to top, var(--gold-400), var(--gold-200));
    border-radius: 50%;
    transform-origin: bottom center;
}

.petal-0 { transform: translate(-50%, -100%) rotate(0deg); }
.petal-1 { transform: translate(-50%, -100%) rotate(30deg); }
.petal-2 { transform: translate(-50%, -100%) rotate(60deg); }
.petal-3 { transform: translate(-50%, -100%) rotate(90deg); }
.petal-4 { transform: translate(-50%, -100%) rotate(120deg); }
.petal-5 { transform: translate(-50%, -100%) rotate(150deg); }
.petal-6 { transform: translate(-50%, -100%) rotate(180deg); }
.petal-7 { transform: translate(-50%, -100%) rotate(210deg); }
.petal-8 { transform: translate(-50%, -100%) rotate(240deg); }
.petal-9 { transform: translate(-50%, -100%) rotate(270deg); }
.petal-10 { transform: translate(-50%, -100%) rotate(300deg); }
.petal-11 { transform: translate(-50%, -100%) rotate(330deg); }

.connection-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    border: 2px dashed var(--gold-200);
    border-radius: 50%;
    animation: spin-slow 30s linear infinite;
}

@keyframes spin-slow {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-device-icons {
    position: absolute;
    width: 100%;
    height: 100%;
}

.hero-device-icon {
    position: absolute;
    background: var(--bg-card);
    border-radius: 16px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow);
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    animation: float-device 5s ease-in-out infinite;
}

.hero-device-icon .icon {
    font-size: 24px;
}

.hero-device-icon.icon-pc { top: -10px; right: -10px; animation-delay: 0s; }
.hero-device-icon.icon-phone { bottom: -10px; left: -10px; animation-delay: -2.5s; }

@keyframes float-device {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ---------- Stats Section ---------- */
.stats {
    padding: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.stat-item {
    text-align: center;
    padding: 40px 24px;
    position: relative;
}

.stat-item + .stat-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--gold-200);
}

.stat-number {
    font-size: 42px;
    font-weight: 900;
    color: var(--gold-600);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 15px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ---------- Features Section ---------- */
.features {
    background: var(--bg);
}

.features-header {
    text-align: center;
    margin-bottom: 60px;
}

.features-header .section-badge {
    margin-left: auto;
    margin-right: auto;
}

.features-header .section-title {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.features-header .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    border: 1px solid var(--gold-100);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: default;
    box-shadow: var(--shadow-sm);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-300), var(--gold-500));
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-300);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.feature-icon-box.gold { background: var(--gold-100); }
.feature-icon-box.green { background: var(--green-100); }
.feature-icon-box.blue { background: var(--blue-100); }

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--brown-900);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ---------- Use Cases ---------- */
.cases {
    background: linear-gradient(180deg, var(--bg) 0%, var(--gold-50) 100%);
}

.cases-header {
    text-align: center;
    margin-bottom: 60px;
}

.cases-header .section-badge {
    margin-left: auto;
    margin-right: auto;
}

.cases-header .section-title {
    margin-left: auto;
    margin-right: auto;
}

.cases-header .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.case-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 32px 20px;
    text-align: center;
    border: 1px solid transparent;
    transition: var(--transition);
    cursor: default;
    box-shadow: var(--shadow-sm);
}

.case-card:hover {
    border-color: var(--gold-300);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.case-icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    background: var(--gold-50);
    transition: var(--transition);
}

.case-card:hover .case-icon-circle {
    background: var(--gold-100);
    transform: scale(1.08);
}

.case-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--brown-900);
    margin-bottom: 6px;
}

.case-card p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ---------- CTA Section ---------- */
.cta {
    text-align: center;
}

.cta-card {
    background: linear-gradient(135deg, var(--brown-900), #2C1810);
    border-radius: var(--radius-xl);
    padding: 72px 40px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.2), transparent 70%);
    border-radius: 50%;
}

.cta-card::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15), transparent 70%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 40px;
    font-weight: 900;
    color: #FFFDF7;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.cta-subtitle {
    font-size: 18px;
    color: var(--gold-300);
    margin-bottom: 36px;
    opacity: 0.85;
}

.cta .btn-primary {
    font-size: 18px;
    padding: 16px 40px;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--brown-900);
    color: rgba(255, 253, 247, 0.8);
    position: relative;
    z-index: 1;
}

.footer-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 60px 28px 40px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(253, 230, 138, 0.15);
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo span {
    color: #FFFDF7;
}

.footer-brand-desc {
    font-size: 14px;
    color: rgba(255, 253, 247, 0.6);
    line-height: 1.8;
    max-width: 260px;
}

.footer-col h5 {
    font-size: 15px;
    font-weight: 700;
    color: #FFFDF7;
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: rgba(255, 253, 247, 0.6);
    margin-bottom: 12px;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--gold-400);
}

.footer-bottom {
    text-align: center;
    padding-top: 28px;
    font-size: 13px;
    color: rgba(255, 253, 247, 0.4);
}

/* ---------- Download Page ---------- */
.download-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 28px 60px;
    position: relative;
    z-index: 1;
}

.download-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 56px 48px;
    text-align: center;
    border: 1px solid var(--gold-200);
    box-shadow: var(--shadow-lg);
    max-width: 520px;
    width: 100%;
}

.download-icon {
    width: 88px;
    height: 88px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    box-shadow: var(--shadow-gold);
    animation: float 4s ease-in-out infinite;
}

.download-card h1 {
    font-size: 32px;
    font-weight: 800;
    color: var(--brown-900);
    margin-bottom: 6px;
}

.download-tagline {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.download-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--gold-50);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 32px;
}

.meta-item {
    padding: 16px;
    background: var(--gold-50);
}

.meta-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.meta-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--brown-900);
}

.download-card .btn-download {
    width: 100%;
    justify-content: center;
    font-size: 18px;
    padding: 16px;
    margin-bottom: 24px;
}

.platform-tags {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.platform-tag {
    padding: 6px 14px;
    background: var(--gold-50);
    border: 1px solid var(--gold-200);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gold-600);
    transition: var(--transition);
}

.platform-tag:hover {
    background: var(--gold-100);
    transform: translateY(-1px);
}

.back-home {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-muted);
    transition: var(--transition);
}

.back-home:hover {
    color: var(--gold-600);
}

.back-home svg {
    width: 16px;
    height: 16px;
}

/* ---------- 404 Page ---------- */
.error-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 28px 60px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.error-visual {
    position: relative;
    width: 180px;
    height: 180px;
    margin-bottom: 40px;
}

.error-sunflower {
    width: 100%;
    height: 100%;
    position: relative;
}

.error-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gold-500), #92400E);
    border-radius: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.error-petal {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 40px;
    background: linear-gradient(to top, var(--gold-200), var(--gold-100));
    border-radius: 50%;
    transform-origin: bottom center;
    opacity: 0.5;
    animation: wilt 3s ease-in-out infinite;
}

@keyframes wilt {
    0%, 100% { transform: translate(-50%, -100%) rotate(var(--r)) scaleY(1); }
    50% { transform: translate(-50%, -100%) rotate(var(--r)) scaleY(0.7); opacity: 0.3; }
}

.error-code {
    font-size: 120px;
    font-weight: 900;
    line-height: 1;
    color: var(--brown-900);
    margin-bottom: 16px;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.error-page h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--brown-900);
    margin-bottom: 12px;
}

.error-page p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 36px;
    line-height: 1.8;
}

.error-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ---------- Scroll to top ---------- */
.scroll-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--bg-card);
    border: 1px solid var(--gold-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--gold-100);
    transform: translateY(-4px);
}

.scroll-top svg {
    width: 20px;
    height: 20px;
    color: var(--gold-600);
}

/* ---------- Scroll Animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
        max-width: 600px;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual-area {
        order: -1;
    }
    
    .hero-sunflower {
        width: 260px;
        height: 260px;
    }
    
    .connection-ring {
        width: 220px;
        height: 220px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cases-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-item + .stat-item::before {
        display: none;
    }
    
    .section-title {
        font-size: 34px;
    }
    
    .cta-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        flex-direction: column;
        background: rgba(255, 253, 247, 0.98);
        backdrop-filter: blur(20px);
        padding: 100px 32px 40px;
        gap: 4px;
        transition: var(--transition);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.open {
        right: 0;
    }
    
    .nav-links a {
        font-size: 16px;
        padding: 12px 16px;
        display: flex;
        width: 100%;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-sunflower {
        width: 200px;
        height: 200px;
    }
    
    .sunflower-core {
        width: 60px;
        height: 60px;
    }
    
    .sunflower-petal {
        width: 24px;
        height: 50px;
    }
    
    .connection-ring {
        width: 170px;
        height: 170px;
    }
    
    .hero-device-icon {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-title {
        font-size: 30px;
    }
    
    .cta-card {
        padding: 48px 28px;
    }
    
    .cta-title {
        font-size: 26px;
    }
    
    .download-card {
        padding: 40px 28px;
    }
    
    .error-code {
        font-size: 80px;
    }
    
    .section-container {
        padding: 60px 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-sunflower {
        width: 160px;
        height: 160px;
    }
    
    .sunflower-core {
        width: 46px;
        height: 46px;
    }
    
    .sunflower-petal {
        width: 18px;
        height: 36px;
    }
    
    .connection-ring {
        width: 130px;
        height: 130px;
    }
    
    .hero-device-icon {
        display: none;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
