/* ========================================
   火必APP官网 - 全局样式表
   配色：红橙色调 (Huobi品牌风格)
   ======================================== */

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

:root {
    --primary-color: #f0323c;
    --primary-dark: #d91f2a;
    --primary-light: #ff5a63;
    --secondary-color: #1a1a2e;
    --accent-color: #ff6b35;
    --gold-color: #ffc107;
    --success-color: #2ed573;
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a68;
    --text-muted: #8888a0;
    --bg-primary: #ffffff;
    --bg-secondary: #fafafa;
    --bg-dark: #141414;
    --bg-gradient: linear-gradient(135deg, #141414 0%, #2d1f1f 50%, #3d1010 100%);
    --card-shadow: 0 4px 20px rgba(0,0,0,0.08);
    --card-shadow-hover: 0 12px 40px rgba(0,0,0,0.15);
    --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    --border-radius: 12px;
    --max-width: 1200px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.8;
    font-weight: 400;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a { color: var(--primary-color); text-decoration:none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

.container { max-width: var(--max-width); margin:0 auto; padding:0 24px; }

/* Header */
.site-header {
    position: fixed; top:0; left:0; right:0; z-index:1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
}
.site-header.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.12); }

.main-nav { display:flex; align-items:center; justify-content:space-between; height:72px; }

.brand {
    display:flex; align-items:center; gap:12px; font-size:1.25rem; font-weight:700;
    color: var(--bg-dark); text-decoration:none;
}
.brand-logo {
    width:40px; height:40px; background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius:10px; display:flex; align-items:center; justify-content:center;
    color:white; font-weight:800; font-size:1.1rem;
}
.brand-text { background: linear-gradient(135deg, var(--primary-color), var(--accent-color)); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }

.nav-links { display:flex; list-style:none; gap:8px; align-items:center; }
.nav-links a {
    color: var(--text-primary); font-weight:500; padding:10px 18px;
    border-radius:8px; transition: var(--transition); font-size:0.95rem;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color); background: rgba(240,50,60,0.1);
}

.nav-actions { display:flex; align-items:center; gap:12px; }

.btn {
    display:inline-flex; align-items:center; justify-content:center;
    padding:12px 28px; border-radius:8px; font-weight:600; font-size:0.95rem;
    cursor:pointer; border:none; transition: var(--transition); text-decoration:none; line-height:1;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color:white; box-shadow: 0 4px 15px rgba(240,50,60,0.4);
}
.btn-primary:hover { transform:translateY(-2px); box-shadow: 0 8px 25px rgba(240,50,60,0.5); color:white; }
.btn-outline { background:transparent; color: var(--primary-color); border:2px solid var(--primary-color); }
.btn-outline:hover { background: var(--primary-color); color:white; }
.btn-ghost { background:transparent; color: var(--text-primary); }
.btn-ghost:hover { color: var(--primary-color); background: rgba(240,50,60,0.1); }

.mobile-toggle {
    display:none; flex-direction:column; gap:5px; background:none; border:none;
    cursor:pointer; padding:8px;
}
.mobile-toggle span {
    width:28px; height:3px; background: var(--text-primary);
    border-radius:3px; transition: var(--transition);
}
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px,6px); }
.mobile-toggle.active span:nth-child(2) { opacity:0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px,-6px); }

/* Hero */
.hero {
    min-height:100vh; background: var(--bg-gradient); position:relative;
    display:flex; align-items:center; overflow:hidden; padding-top:72px;
}
.hero::before {
    content:''; position:absolute; top:0; left:0; right:0; bottom:0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(240,50,60,0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,107,53,0.1) 0%, transparent 40%);
    pointer-events:none;
}
.hero-particles { position:absolute; top:0; left:0; right:0; bottom:0; overflow:hidden; pointer-events:none; }
.hero-particles span {
    position:absolute; display:block; width:4px; height:4px;
    background: rgba(240,50,60,0.4); border-radius:50%;
    animation: float-up linear infinite;
}
@keyframes float-up {
    0% { transform: translateY(100vh) scale(0); opacity:0; }
    10% { opacity:1; transform: scale(1); }
    90% { opacity:1; }
    100% { transform: translateY(-10vh) scale(0.5); opacity:0; }
}

.hero-content {
    display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center;
    position:relative; z-index:2; padding:80px 0;
}
.hero-text { color:white; }
.hero-badge {
    display:inline-flex; align-items:center; gap:8px;
    background: rgba(240,50,60,0.2); border:1px solid rgba(240,50,60,0.4);
    padding:8px 16px; border-radius:50px; font-size:0.875rem;
    color: var(--primary-light); margin-bottom:24px; animation: fadeInDown 0.8s ease-out;
}
.hero-badge::before {
    content:''; width:8px; height:8px; background: var(--primary-color);
    border-radius:50%; animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:0.5;transform:scale(1.3);} }

.hero h1 { font-size:3.5rem; font-weight:800; line-height:1.2; margin-bottom:24px; animation: fadeInUp 0.8s ease-out 0.2s both; }
.hero h1 span { background: linear-gradient(135deg, var(--primary-color), var(--accent-color)); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.hero-subtitle { font-size:1.25rem; color:rgba(255,255,255,0.8); margin-bottom:36px; line-height:1.8; animation: fadeInUp 0.8s ease-out 0.4s both; }
.hero-actions { display:flex; gap:16px; flex-wrap:wrap; animation: fadeInUp 0.8s ease-out 0.6s both; }
.hero-actions .btn-primary { padding:16px 36px; font-size:1rem; }
.hero-actions .btn-outline { border-color:rgba(255,255,255,0.5); color:white; }
.hero-actions .btn-outline:hover { background:white; color: var(--bg-dark); }

.hero-stats { display:flex; gap:40px; margin-top:48px; animation: fadeInUp 0.8s ease-out 0.8s both; }
.hero-stat { text-align:left; }
.hero-stat-number { font-size:2rem; font-weight:800; color: var(--primary-color); }
.hero-stat-label { font-size:0.875rem; color:rgba(255,255,255,0.7); margin-top:4px; }

.hero-visual { position:relative; animation: fadeInRight 1s ease-out 0.3s both; }
.hero-image { border-radius:20px; box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.hero-floating-card {
    position:absolute; background:rgba(255,255,255,0.95); backdrop-filter:blur(10px);
    padding:16px 20px; border-radius:12px; box-shadow: var(--card-shadow-hover);
    display:flex; align-items:center; gap:12px; animation: float 6s ease-in-out infinite;
}
.hero-floating-card.card-1 { top:-20px; left:-40px; animation-delay:0s; }
.hero-floating-card.card-2 { bottom:30px; right:-30px; animation-delay:-3s; }
.hero-floating-icon { width:44px; height:44px; border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:1.2rem; }
.hero-floating-icon.red { background: rgba(240,50,60,0.15); color: var(--primary-color); }
.hero-floating-icon.gold { background: rgba(255,193,7,0.2); color: var(--gold-color); }
.hero-floating-text strong { display:block; font-size:0.9rem; color: var(--text-primary); }
.hero-floating-text span { font-size:0.8rem; color: var(--text-muted); }

@keyframes float { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-15px);} }
@keyframes fadeInUp { from{opacity:0;transform:translateY(30px);} to{opacity:1;transform:translateY(0);} }
@keyframes fadeInDown { from{opacity:0;transform:translateY(-20px);} to{opacity:1;transform:translateY(0);} }
@keyframes fadeInRight { from{opacity:0;transform:translateX(30px);} to{opacity:1;transform:translateX(0);} }

/* Section common */
.section { padding:100px 0; }
.section-header { text-align:center; margin-bottom:64px; }
.section-tag {
    display:inline-block; padding:6px 16px; background: rgba(240,50,60,0.1);
    color: var(--primary-color); border-radius:50px; font-size:0.875rem;
    font-weight:600; margin-bottom:16px;
}
.section-title { font-size:2.5rem; font-weight:800; color: var(--text-primary); margin-bottom:16px; }
.section-subtitle { font-size:1.1rem; color: var(--text-secondary); max-width:600px; margin:0 auto; }

/* Features */
.features { background: var(--bg-secondary); }
.features-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(320px,1fr)); gap:32px; }
.feature-card {
    background:white; padding:40px 32px; border-radius: var(--border-radius);
    box-shadow: var(--card-shadow); transition: var(--transition); border:1px solid rgba(0,0,0,0.04);
}
.feature-card:hover { transform:translateY(-8px); box-shadow: var(--card-shadow-hover); }
.feature-icon {
    width:64px; height:64px; border-radius:16px; display:flex; align-items:center; justify-content:center;
    font-size:1.8rem; margin-bottom:24px;
    background: linear-gradient(135deg, rgba(240,50,60,0.1), rgba(240,50,60,0.05));
    color: var(--primary-color);
}
.feature-card:nth-child(2) .feature-icon { background: linear-gradient(135deg, rgba(255,107,53,0.1), rgba(255,107,53,0.05)); color: var(--accent-color); }
.feature-card:nth-child(3) .feature-icon { background: linear-gradient(135deg, rgba(255,193,7,0.15), rgba(255,193,7,0.05)); color: var(--gold-color); }
.feature-card:nth-child(4) .feature-icon { background: linear-gradient(135deg, rgba(46,213,115,0.1), rgba(46,213,115,0.05)); color: var(--success-color); }
.feature-card:nth-child(5) .feature-icon { background: linear-gradient(135deg, rgba(240,50,60,0.1), rgba(240,50,60,0.05)); color: var(--primary-color); }
.feature-card:nth-child(6) .feature-icon { background: linear-gradient(135deg, rgba(26,26,46,0.08), rgba(26,26,46,0.03)); color: var(--secondary-color); }
.feature-card h3 { font-size:1.3rem; font-weight:700; margin-bottom:12px; color: var(--text-primary); }
.feature-card p { color: var(--text-secondary); line-height:1.8; }

/* Services */
.services { background:white; }
.services-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:48px; }
.service-item { display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:center; }
.service-item.reverse { direction:rtl; }
.service-item.reverse > * { direction:ltr; }
.service-image { border-radius: var(--border-radius); overflow:hidden; box-shadow: var(--card-shadow); }
.service-content h3 { font-size:1.8rem; font-weight:700; margin-bottom:16px; color: var(--text-primary); }
.service-content p { color: var(--text-secondary); margin-bottom:24px; line-height:1.8; }
.service-list { list-style:none; margin-bottom:24px; }
.service-list li { padding:8px 0; color: var(--text-secondary); display:flex; align-items:center; gap:10px; }
.service-list li::before {
    content:'✓'; width:24px; height:24px; background: rgba(240,50,60,0.1); color: var(--primary-color);
    border-radius:50%; display:inline-flex; align-items:center; justify-content:center;
    font-weight:700; font-size:0.75rem; flex-shrink:0;
}

/* Markets */
.markets { background: var(--bg-dark); padding:60px 0; }
.markets-header { text-align:center; margin-bottom:40px; }
.markets-header h2 { color:white; font-size:2rem; font-weight:700; }
.markets-table-wrapper { overflow-x:auto; border-radius: var(--border-radius); background: rgba(255,255,255,0.03); border:1px solid rgba(255,255,255,0.08); }
.markets-table { width:100%; border-collapse:collapse; min-width:600px; }
.markets-table th, .markets-table td { padding:16px 20px; text-align:left; }
.markets-table th { color:rgba(255,255,255,0.6); font-weight:600; font-size:0.85rem; text-transform:uppercase; letter-spacing:0.5px; border-bottom:1px solid rgba(255,255,255,0.08); }
.markets-table td { color:white; border-bottom:1px solid rgba(255,255,255,0.05); }
.market-coin { display:flex; align-items:center; gap:12px; }
.market-coin-icon { width:36px; height:36px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-weight:700; color:white; font-size:0.85rem; }
.coin-btc { background: linear-gradient(135deg,#f7931a,#e68209); }
.coin-eth { background: linear-gradient(135deg,#627eea,#4a6bdb); }
.coin-usdt { background: linear-gradient(135deg,#26a17b,#1e8a68); }
.coin-sol { background: linear-gradient(135deg,#9945ff,#7b35d4); }
.coin-huobi { background: linear-gradient(135deg,#f0323c,#d91f2a); }
.coin-xrp { background: linear-gradient(135deg,#23292f,#00aae4); }
.coin-doge { background: linear-gradient(135deg,#c2a633,#a88f25); }
.coin-ada { background: linear-gradient(135deg,#0033ad,#00227a); }
.coin-name { font-weight:600; }
.coin-symbol { color:rgba(255,255,255,0.5); font-size:0.85rem; }
.price-up { color: var(--success-color); font-weight:600; }
.price-down { color: var(--primary-color); font-weight:600; }

/* CTA */
.cta { background: var(--bg-gradient); position:relative; overflow:hidden; }
.cta::before {
    content:''; position:absolute; top:-50%; right:-20%; width:80%; height:200%;
    background: radial-gradient(ellipse, rgba(240,50,60,0.15) 0%, transparent 70%);
    pointer-events:none;
}
.cta-content { position:relative; z-index:2; text-align:center; color:white; max-width:800px; margin:0 auto; }
.cta h2 { font-size:2.8rem; font-weight:800; margin-bottom:20px; }
.cta p { font-size:1.2rem; color:rgba(255,255,255,0.8); margin-bottom:36px; }
.cta-form { display:flex; gap:12px; max-width:500px; margin:0 auto; flex-wrap:wrap; justify-content:center; }
.cta-form input {
    flex:1; min-width:200px; padding:16px 20px; border:2px solid rgba(255,255,255,0.2);
    border-radius:8px; background: rgba(255,255,255,0.1); color:white; font-size:1rem;
    font-family:inherit; outline:none; transition: var(--transition);
}
.cta-form input::placeholder { color: rgba(255,255,255,0.5); }
.cta-form input:focus { border-color: var(--primary-color); background: rgba(255,255,255,0.15); }
.cta-form .btn-primary { padding:16px 32px; }

/* Stats */
.stats { background:white; padding:80px 0; }
.stats-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:32px; }
.stat-card { text-align:center; padding:32px 20px; }
.stat-number {
    font-size:3rem; font-weight:800;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
    margin-bottom:8px;
}
.stat-label { color: var(--text-secondary); font-size:1rem; }

/* FAQ */
.faq { background: var(--bg-secondary); }
.faq-list { max-width:800px; margin:0 auto; }
.faq-item { background:white; border-radius: var(--border-radius); margin-bottom:16px; box-shadow: var(--card-shadow); overflow:hidden; }
.faq-question {
    width:100%; padding:24px 28px; background:none; border:none; font-size:1.05rem;
    font-weight:600; color: var(--text-primary); text-align:left; cursor:pointer;
    display:flex; justify-content:space-between; align-items:center; font-family:inherit; transition: var(--transition);
}
.faq-question:hover { color: var(--primary-color); }
.faq-question-icon {
    width:28px; height:28px; background: rgba(240,50,60,0.1); border-radius:50%;
    display:flex; align-items:center; justify-content:center; color: var(--primary-color);
    font-size:1.2rem; transition: var(--transition); flex-shrink:0;
}
.faq-item.active .faq-question-icon { transform:rotate(45deg); background: var(--primary-color); color:white; }
.faq-answer { max-height:0; overflow:hidden; transition: max-height 0.3s ease-out; }
.faq-answer-inner { padding:0 28px 24px; color: var(--text-secondary); line-height:1.8; }
.faq-item.active .faq-answer { max-height:500px; }

/* Download */
.download { background:white; }
.download-content { display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; }
.download-info h2 { font-size:2.5rem; font-weight:800; margin-bottom:20px; }
.download-info p { color: var(--text-secondary); font-size:1.1rem; margin-bottom:32px; line-height:1.8; }
.download-buttons { display:flex; gap:16px; flex-wrap:wrap; margin-bottom:32px; }
.download-btn {
    display:flex; align-items:center; gap:12px; padding:16px 24px; background: var(--bg-dark);
    color:white; border-radius:12px; text-decoration:none; transition: var(--transition);
}
.download-btn:hover { transform:translateY(-3px); box-shadow: var(--card-shadow-hover); color:white; }
.download-btn-icon { font-size:2rem; }
.download-btn-text small { display:block; font-size:0.75rem; opacity:0.7; }
.download-btn-text strong { display:block; font-size:1.1rem; }
.download-qr { display:flex; gap:32px; align-items:center; }
.qr-code { width:160px; height:160px; background:#f0f0f0; border-radius:12px; display:flex; align-items:center; justify-content:center; padding:12px; }
.qr-code img { width:100%; height:100%; }
.qr-label { color: var(--text-secondary); font-size:0.9rem; text-align:center; margin-top:12px; }

/* Page Header */
.page-header {
    background: var(--bg-gradient); padding:120px 0 80px; text-align:center; color:white;
    position:relative; overflow:hidden;
}
.page-header::before {
    content:''; position:absolute; top:0; left:0; right:0; bottom:0;
    background-image:
        radial-gradient(circle at 30% 50%, rgba(240,50,60,0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255,107,53,0.1) 0%, transparent 40%);
}
.page-header-content { position:relative; z-index:2; }
.page-header h1 { font-size:3rem; font-weight:800; margin-bottom:16px; }
.page-header p { font-size:1.2rem; color:rgba(255,255,255,0.8); max-width:600px; margin:0 auto; }
.breadcrumb { margin-top:24px; font-size:0.9rem; color:rgba(255,255,255,0.6); }
.breadcrumb a { color:rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: var(--primary-color); }
.breadcrumb span { margin:0 10px; opacity:0.5; }

/* About */
.about-intro { padding:80px 0; }
.about-grid { display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; }
.about-text h2 { font-size:2.2rem; font-weight:700; margin-bottom:24px; }
.about-text p { color: var(--text-secondary); line-height:1.8; margin-bottom:16px; }
.about-image img { border-radius: var(--border-radius); box-shadow: var(--card-shadow-hover); }
.values { background: var(--bg-secondary); }
.values-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:32px; }
.value-card { background:white; padding:40px 32px; border-radius: var(--border-radius); text-align:center; box-shadow: var(--card-shadow); transition: var(--transition); }
.value-card:hover { transform:translateY(-5px); box-shadow: var(--card-shadow-hover); }
.value-icon { width:70px; height:70px; border-radius:50%; background: linear-gradient(135deg, rgba(240,50,60,0.15), rgba(240,50,60,0.05)); display:flex; align-items:center; justify-content:center; font-size:1.8rem; margin:0 auto 20px; color: var(--primary-color); }
.value-card h3 { font-size:1.3rem; margin-bottom:12px; }
.value-card p { color: var(--text-secondary); line-height:1.7; }

.timeline { background:white; }
.timeline-wrapper { position:relative; padding-left:40px; max-width:800px; margin:0 auto; }
.timeline-wrapper::before { content:''; position:absolute; left:15px; top:0; bottom:0; width:3px; background: linear-gradient(to bottom, var(--primary-color), transparent); }
.timeline-item { position:relative; padding-bottom:40px; }
.timeline-item::before { content:''; position:absolute; left:-31px; top:8px; width:16px; height:16px; background: var(--primary-color); border-radius:50%; box-shadow: 0 0 0 4px rgba(240,50,60,0.2); }
.timeline-year { font-weight:700; color: var(--primary-color); font-size:1.1rem; margin-bottom:4px; }
.timeline-content h3 { font-size:1.2rem; margin-bottom:8px; }
.timeline-content p { color: var(--text-secondary); line-height:1.7; }

.team { background: var(--bg-secondary); }
.team-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:32px; }
.team-card { background:white; border-radius: var(--border-radius); overflow:hidden; box-shadow: var(--card-shadow); transition: var(--transition); }
.team-card:hover { transform:translateY(-5px); box-shadow: var(--card-shadow-hover); }
.team-photo { aspect-ratio:1; overflow:hidden; }
.team-photo img { width:100%; height:100%; object-fit:cover; transition: var(--transition); }
.team-card:hover .team-photo img { transform:scale(1.05); }
.team-info { padding:24px; text-align:center; }
.team-info h3 { font-size:1.15rem; margin-bottom:4px; }
.team-info .role { color: var(--primary-color); font-size:0.9rem; margin-bottom:12px; }
.team-info p { color: var(--text-secondary); font-size:0.85rem; line-height:1.6; }

/* Contact */
.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:60px; padding:80px 0; }
.contact-info h2 { font-size:2rem; font-weight:700; margin-bottom:20px; }
.contact-info p { color: var(--text-secondary); line-height:1.8; margin-bottom:32px; }
.contact-item { display:flex; gap:16px; margin-bottom:24px; align-items:flex-start; }
.contact-icon { width:48px; height:48px; border-radius:12px; background: rgba(240,50,60,0.1); color: var(--primary-color); display:flex; align-items:center; justify-content:center; font-size:1.3rem; flex-shrink:0; }
.contact-item h4 { font-size:1rem; margin-bottom:4px; }
.contact-item p { color: var(--text-secondary); font-size:0.95rem; margin:0; }
.contact-form-wrapper { background:white; padding:40px; border-radius: var(--border-radius); box-shadow: var(--card-shadow-hover); }
.contact-form h3 { font-size:1.5rem; margin-bottom:24px; }
.form-group { margin-bottom:20px; }
.form-group label { display:block; font-size:0.9rem; font-weight:600; margin-bottom:8px; color: var(--text-primary); }
.form-group input, .form-group textarea, .form-group select {
    width:100%; padding:14px 16px; border:2px solid #e8e8f0; border-radius:8px; font-size:0.95rem;
    font-family:inherit; transition: var(--transition); background: var(--bg-secondary); color: var(--text-primary); outline:none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--primary-color); background:white; }
.form-group textarea { resize:vertical; min-height:120px; }
.form-group.error input, .form-group.error textarea { border-color: var(--primary-color); }
.form-error { color: var(--primary-color); font-size:0.85rem; margin-top:6px; display:none; }
.form-group.error .form-error { display:block; }
.map-section { background: var(--bg-secondary); }
.map-wrapper { border-radius: var(--border-radius); overflow:hidden; box-shadow: var(--card-shadow); }

/* News */
.news-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(340px,1fr)); gap:32px; padding:80px 0; }
.news-card { background:white; border-radius: var(--border-radius); overflow:hidden; box-shadow: var(--card-shadow); transition: var(--transition); }
.news-card:hover { transform:translateY(-8px); box-shadow: var(--card-shadow-hover); }
.news-card-image { aspect-ratio:16/10; overflow:hidden; }
.news-card-image img { width:100%; height:100%; object-fit:cover; transition: var(--transition); }
.news-card:hover .news-card-image img { transform:scale(1.05); }
.news-card-content { padding:28px; }
.news-card-meta { display:flex; gap:16px; font-size:0.85rem; color: var(--text-muted); margin-bottom:12px; }
.news-card-meta .tag { color: var(--primary-color); font-weight:600; }
.news-card h3 { font-size:1.15rem; font-weight:700; margin-bottom:12px; line-height:1.5; transition: var(--transition); }
.news-card:hover h3 { color: var(--primary-color); }
.news-card p { color: var(--text-secondary); font-size:0.95rem; line-height:1.7; margin-bottom:16px; }
.read-more { display:inline-flex; align-items:center; gap:6px; color: var(--primary-color); font-weight:600; font-size:0.9rem; }
.read-more::after { content:'→'; transition: var(--transition); }
.read-more:hover::after { transform:translateX(5px); }
.pagination { display:flex; justify-content:center; gap:8px; margin-bottom:80px; }
.pagination a, .pagination span { width:44px; height:44px; display:inline-flex; align-items:center; justify-content:center; border-radius:8px; background:white; color: var(--text-primary); font-weight:600; transition: var(--transition); }
.pagination a:hover { background: var(--primary-color); color:white; }
.pagination .active { background: var(--primary-color); color:white; }

.news-detail { padding:60px 0 100px; }
.news-detail-wrapper { max-width:800px; margin:0 auto; }
.news-detail-header { margin-bottom:40px; }
.news-detail-header h1 { font-size:2.2rem; font-weight:800; line-height:1.4; margin-bottom:16px; }
.news-detail-meta { display:flex; gap:24px; color: var(--text-muted); font-size:0.9rem; padding-bottom:24px; border-bottom:1px solid #e8e8f0; flex-wrap:wrap; }
.news-detail-image { border-radius: var(--border-radius); overflow:hidden; margin-bottom:40px; }
.news-detail-body { font-size:1.05rem; line-height:2; color: var(--text-secondary); }
.news-detail-body p { margin-bottom:20px; }
.news-detail-body h2 { font-size:1.5rem; font-weight:700; margin:40px 0 16px; color: var(--text-primary); }
.news-detail-body h3 { font-size:1.2rem; font-weight:600; margin:28px 0 12px; color: var(--text-primary); }
.news-detail-body ul, .news-detail-body ol { margin-bottom:20px; padding-left:24px; }
.news-detail-body li { margin-bottom:8px; }
.news-detail-footer { margin-top:60px; padding-top:32px; border-top:1px solid #e8e8f0; display:flex; justify-content:space-between; flex-wrap:wrap; gap:16px; }
.news-detail-footer a { color: var(--text-secondary); font-weight:500; }
.news-detail-footer a:hover { color: var(--primary-color); }

/* Products */
.products-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(320px,1fr)); gap:32px; padding:80px 0; }
.product-card {
    background:white; border-radius: var(--border-radius); padding:40px 32px; box-shadow: var(--card-shadow);
    transition: var(--transition); border:1px solid rgba(0,0,0,0.04); position:relative; overflow:hidden;
}
.product-card::before {
    content:''; position:absolute; top:0; left:0; right:0; height:4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform:scaleX(0); transform-origin:left; transition: transform 0.3s ease;
}
.product-card:hover { transform:translateY(-8px); box-shadow: var(--card-shadow-hover); }
.product-card:hover::before { transform:scaleX(1); }
.product-card.featured { border:2px solid var(--primary-color); background: linear-gradient(135deg, white 0%, rgba(240,50,60,0.03) 100%); }
.product-badge { position:absolute; top:20px; right:20px; background: var(--primary-color); color:white; padding:4px 12px; border-radius:50px; font-size:0.75rem; font-weight:600; }
.product-icon { width:64px; height:64px; border-radius:16px; background: linear-gradient(135deg, rgba(240,50,60,0.1), rgba(240,50,60,0.05)); color: var(--primary-color); display:flex; align-items:center; justify-content:center; font-size:1.8rem; margin-bottom:24px; }
.product-card h3 { font-size:1.4rem; font-weight:700; margin-bottom:12px; }
.product-card > p { color: var(--text-secondary); line-height:1.7; margin-bottom:24px; }
.product-features { list-style:none; margin-bottom:24px; }
.product-features li { padding:6px 0; color: var(--text-secondary); font-size:0.9rem; display:flex; align-items:center; gap:10px; }
.product-features li::before { content:'✓'; color: var(--primary-color); font-weight:700; }
.product-price { font-size:2rem; font-weight:800; color: var(--text-primary); margin-bottom:4px; }
.product-price-note { color: var(--text-muted); font-size:0.85rem; margin-bottom:24px; }
.product-card .btn { width:100%; }

/* Footer */
.site-footer { background: var(--bg-dark); color: rgba(255,255,255,0.7); padding:80px 0 0; }
.footer-grid { display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr 1fr; gap:48px; margin-bottom:60px; }
.footer-brand .brand { color:white; margin-bottom:16px; }
.footer-brand .brand .brand-text { -webkit-text-fill-color:white; }
.footer-brand p { line-height:1.8; font-size:0.95rem; margin-bottom:24px; }
.social-links { display:flex; gap:12px; }
.social-links a { width:40px; height:40px; border-radius:50%; background:rgba(255,255,255,0.1); display:flex; align-items:center; justify-content:center; color:white; font-size:1rem; transition: var(--transition); text-decoration:none; }
.social-links a:hover { background: var(--primary-color); transform:translateY(-3px); }
.footer-column h4 { color:white; font-size:1rem; font-weight:700; margin-bottom:20px; }
.footer-column ul { list-style:none; }
.footer-column ul li { margin-bottom:12px; }
.footer-column ul a { color:rgba(255,255,255,0.7); font-size:0.9rem; transition: var(--transition); }
.footer-column ul a:hover { color: var(--primary-color); padding-left:4px; }
.footer-bottom { border-top:1px solid rgba(255,255,255,0.1); padding:24px 0; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; }
.footer-bottom p { font-size:0.85rem; color:rgba(255,255,255,0.5); }
.footer-bottom-links { display:flex; gap:24px; }
.footer-bottom-links a { color:rgba(255,255,255,0.5); font-size:0.85rem; transition: var(--transition); }
.footer-bottom-links a:hover { color: var(--primary-color); }

/* Back to top */
.back-to-top {
    position:fixed; bottom:30px; right:30px; width:50px; height:50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color:white; border-radius:50%; display:flex; align-items:center; justify-content:center;
    font-size:1.2rem; cursor:pointer; opacity:0; visibility:hidden; transition: var(--transition);
    box-shadow: 0 4px 20px rgba(240,50,60,0.4); border:none; z-index:999;
}
.back-to-top.visible { opacity:1; visibility:visible; }
.back-to-top:hover { transform:translateY(-5px); box-shadow: 0 8px 30px rgba(240,50,60,0.5); }

/* Reveal */
.reveal { opacity:0; transform:translateY(30px); transition: all 0.8s ease-out; }
.reveal.active { opacity:1; transform:translateY(0); }

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 { font-size:2.8rem; }
    .hero-content { grid-template-columns:1fr; gap:40px; padding:60px 0; }
    .hero-visual { max-width:500px; margin:0 auto; }
    .services-grid { grid-template-columns:1fr; gap:60px; }
    .service-item { grid-template-columns:1fr; }
    .service-item.reverse { direction:ltr; }
    .stats-grid { grid-template-columns:repeat(2,1fr); }
    .footer-grid { grid-template-columns:1fr 1fr 1fr; gap:32px; }
    .download-content { grid-template-columns:1fr; text-align:center; }
    .download-buttons, .download-qr { justify-content:center; }
    .contact-grid { grid-template-columns:1fr; gap:40px; }
    .about-grid { grid-template-columns:1fr; gap:40px; }
}

@media (max-width: 768px) {
    .mobile-toggle { display:flex; }
    .nav-links {
        position:fixed; top:72px; left:0; right:0; background:white; flex-direction:column;
        padding:24px; gap:8px; box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        transform:translateY(-100%); opacity:0; visibility:hidden; transition: var(--transition);
    }
    .nav-links.active { transform:translateY(0); opacity:1; visibility:visible; }
    .nav-links a { display:block; padding:14px 20px; }
    .nav-actions .btn-ghost { display:none; }
    .hero { min-height:auto; padding-top:100px; }
    .hero h1 { font-size:2.2rem; }
    .hero-subtitle { font-size:1.05rem; }
    .hero-stats { gap:24px; }
    .hero-stat-number { font-size:1.5rem; }
    .section { padding:70px 0; }
    .section-title { font-size:1.8rem; }
    .stats-grid { grid-template-columns:1fr 1fr; gap:20px; }
    .stat-number { font-size:2.2rem; }
    .cta h2 { font-size:2rem; }
    .cta-form { flex-direction:column; }
    .cta-form input, .cta-form .btn-primary { width:100%; }
    .page-header { padding:100px 0 60px; }
    .page-header h1 { font-size:2.2rem; }
    .footer-grid { grid-template-columns:1fr 1fr; }
    .footer-brand { grid-column:1 / -1; }
    .footer-bottom { flex-direction:column; text-align:center; }
    .contact-form-wrapper { padding:24px; }
    .news-detail-header h1 { font-size:1.6rem; }
    .download-info h2 { font-size:2rem; }
    .qr-code { width:120px; height:120px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size:1.8rem; }
    .hero-actions { flex-direction:column; }
    .hero-actions .btn { width:100%; }
    .stats-grid { grid-template-columns:1fr; }
    .footer-grid { grid-template-columns:1fr; }
    .features-grid { grid-template-columns:1fr; }
    .products-grid { grid-template-columns:1fr; }
    .news-grid { grid-template-columns:1fr; }
}

/* Accessibility */
:focus { outline:2px solid var(--primary-color); outline-offset:2px; }
:focus:not(:focus-visible) { outline:none; }
:focus-visible { outline:2px solid var(--primary-color); outline-offset:2px; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border-width:0; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration:0.01ms !important; transition-duration:0.01ms !important; scroll-behavior:auto !important; }
}