/* ===== Gate官网 - 顶级加密技术 品牌风格 ===== */
:root {
    --bg-primary: #0b1420;
    --bg-secondary: #0f1a2e;
    --bg-tertiary: #152036;
    --bg-card: #111d33;
    --gate-green: #17c3b2;
    --gate-green-dark: #0fa89a;
    --gate-green-light: #1de8d4;
    --crypto-purple: #7c3aed;
    --crypto-purple-light: #8b5cf6;
    --gold: #f0a500;
    --gold-light: #f9c940;
    --white: #ffffff;
    --text-primary: #e8ecf1;
    --text-secondary: #8899aa;
    --text-muted: #5a6a7e;
    --border-color: #1a2a42;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
    --shadow-glow-green: 0 0 20px rgba(23,195,178,0.3);
    --shadow-glow-purple: 0 0 20px rgba(124,58,237,0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: 0.3s ease;
    --max-width: 1200px;
}

/* ===== Reset & Base ===== */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* ===== Typography ===== */
h1 { font-size: 2.8rem; font-weight: 800; line-height: 1.25; background: linear-gradient(135deg, var(--white), var(--gate-green-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
h2 { font-size: 2rem; font-weight: 700; color: var(--white); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; font-weight: 600; color: var(--white); margin-bottom: 0.5rem; }
.section-desc { color: var(--text-secondary); font-size: 1.05rem; margin-bottom: 2.5rem; max-width: 600px; }

/* ===== Navbar ===== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(11,20,32,0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}
.nav-container {
    display: flex; align-items: center; justify-content: space-between;
    height: 68px;
}
.brand {
    font-size: 1.6rem; font-weight: 800; color: var(--gate-green);
    letter-spacing: -0.5px;
}
.brand:hover { color: var(--gate-green-light); }
.nav-menu { display: flex; gap: 8px; }
.nav-menu a {
    padding: 8px 16px; border-radius: var(--radius-sm);
    font-size: 0.95rem; font-weight: 500; color: var(--text-secondary);
}
.nav-menu a:hover, .nav-menu a.active { color: var(--white); background: rgba(23,195,178,0.1); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); transition: var(--transition); }
.btn-nav-download {
    padding: 8px 20px; background: var(--gate-green); color: var(--bg-primary);
    border-radius: var(--radius-sm); font-weight: 600; font-size: 0.9rem;
    white-space: nowrap;
}
.btn-nav-download:hover { background: var(--gate-green-light); box-shadow: var(--shadow-glow-green); }

/* ===== Buttons ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 32px; border-radius: var(--radius-md); font-weight: 600;
    font-size: 1rem; cursor: pointer; transition: all var(--transition);
    border: none; gap: 8px; white-space: nowrap;
}
.btn-primary {
    background: linear-gradient(135deg, var(--gate-green), var(--gate-green-dark));
    color: var(--bg-primary); box-shadow: 0 4px 16px rgba(23,195,178,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(23,195,178,0.45); }
.btn-outline {
    background: transparent; color: var(--white);
    border: 2px solid rgba(255,255,255,0.25);
}
.btn-outline:hover { border-color: var(--gate-green); color: var(--gate-green); }
.btn-outline-light {
    background: transparent; color: var(--white);
    border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline-light:hover { border-color: var(--gold); color: var(--gold); }
.btn-cta-pulse {
    animation: ctaPulse 2s ease-in-out infinite;
}
@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(23,195,178,0.5); }
    50% { box-shadow: 0 0 0 16px rgba(23,195,178,0); }
}
.btn-download { display: inline-flex; align-items: center; justify-content: center; }

/* ===== Hero Section ===== */
#hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; padding-top: 68px;
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(23,195,178,0.12) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 60%, rgba(124,58,237,0.1) 0%, transparent 60%),
                radial-gradient(ellipse at 50% 80%, rgba(240,165,0,0.06) 0%, transparent 50%);
}
.hero-content { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-badge {
    display: inline-block; padding: 6px 16px; background: rgba(23,195,178,0.15);
    border: 1px solid rgba(23,195,178,0.3); border-radius: 20px;
    color: var(--gate-green-light); font-size: 0.85rem; font-weight: 600; margin-bottom: 20px;
}
.hero-text h1 { margin-bottom: 20px; font-size: 3rem; }
.hero-desc { color: var(--text-secondary); font-size: 1.05rem; margin-bottom: 30px; line-height: 1.8; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 40px; }
.hero-stat { text-align: center; }
.stat-number { display: block; font-size: 2.2rem; font-weight: 800; color: var(--gate-green); }
.stat-label { font-size: 0.85rem; color: var(--text-muted); }
.hero-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

/* ===== Features Section ===== */
#features { padding: 100px 0; position: relative; }
#features h2 { text-align: center; }
#features .section-desc { text-align: center; 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: 1px solid var(--border-color);
    border-radius: var(--radius-lg); padding: 30px; transition: all var(--transition);
    position: relative; overflow: hidden;
}
.feature-card::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(23,195,178,0.05), rgba(124,58,237,0.05));
    opacity: 0; transition: var(--transition);
}
.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--gate-green);
    box-shadow: var(--shadow-glow-green);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon { margin-bottom: 16px; }
.feature-icon img { width: 56px; height: 56px; border-radius: var(--radius-sm); }
.feature-card h3 { position: relative; }
.feature-card p { color: var(--text-secondary); font-size: 0.95rem; position: relative; }

/* ===== Services Overview ===== */
#services { padding: 100px 0; background: var(--bg-secondary); }
#services h2 { text-align: center; }
#services .section-desc { text-align: center; margin-left: auto; margin-right: auto; }
.services-overview {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.service-card {
    background: var(--bg-tertiary); border-radius: var(--radius-lg);
    overflow: hidden; border: 1px solid var(--border-color);
    transition: all var(--transition);
}
.service-card:hover { transform: translateY(-4px); border-color: var(--crypto-purple); box-shadow: var(--shadow-glow-purple); }
.service-card img { width: 100%; height: 180px; object-fit: cover; }
.service-card h3 { padding: 16px 20px 4px; }
.service-card p { padding: 0 20px 16px; color: var(--text-secondary); font-size: 0.9rem; }

/* ===== CTA Section ===== */
#cta {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(23,195,178,0.08), rgba(124,58,237,0.08));
}
.cta-content { text-align: center; }
.cta-text h2 { font-size: 2rem; margin-bottom: 12px; }
.cta-text p { color: var(--text-secondary); margin-bottom: 30px; }
.cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ===== Page Hero ===== */
.page-hero {
    padding: 140px 0 60px;
    text-align: center;
    background: radial-gradient(ellipse at 50% 0%, rgba(23,195,178,0.1) 0%, transparent 60%),
                radial-gradient(ellipse at 50% 100%, rgba(124,58,237,0.06) 0%, transparent 50%);
}
.page-hero h1 { font-size: 2.6rem; margin-bottom: 16px; }
.page-hero-desc { color: var(--text-secondary); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* ===== About Page ===== */
#about-intro { padding: 80px 0; }
.about-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-intro-text p { color: var(--text-secondary); margin-bottom: 16px; }
.about-intro-text .btn { margin-top: 16px; }
.about-intro-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

#timeline { padding: 80px 0; background: var(--bg-secondary); }
#timeline h2 { text-align: center; }
#timeline .section-desc { text-align: center; margin-left: auto; margin-right: auto; }
.timeline-list { max-width: 800px; margin: 0 auto; position: relative; }
.timeline-list::before {
    content: ''; position: absolute; left: 100px; top: 0; bottom: 0;
    width: 2px; background: linear-gradient(to bottom, var(--gate-green), var(--crypto-purple));
}
.timeline-item { display: flex; gap: 40px; margin-bottom: 32px; }
.timeline-year {
    width: 80px; text-align: right; flex-shrink: 0;
    font-size: 1.2rem; font-weight: 700; color: var(--gate-green); padding-top: 8px;
}
.timeline-card {
    flex: 1; background: var(--bg-tertiary); border: 1px solid var(--border-color);
    border-radius: var(--radius-md); padding: 20px 24px;
    position: relative; transition: var(--transition);
}
.timeline-card::before {
    content: ''; position: absolute; left: -11px; top: 16px;
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--gate-green); border: 3px solid var(--bg-secondary);
}
.timeline-card:hover { border-color: var(--gate-green); box-shadow: var(--shadow-glow-green); }

#security { padding: 80px 0; }
#security h2 { text-align: center; }
#security .section-desc { text-align: center; margin-left: auto; margin-right: auto; }
.security-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.security-card {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-lg); padding: 30px; text-align: center;
    transition: all var(--transition);
}
.security-card:hover { transform: translateY(-4px); border-color: var(--crypto-purple); box-shadow: var(--shadow-glow-purple); }
.security-icon { margin-bottom: 16px; display: flex; justify-content: center; }
.security-icon img { width: 64px; height: 64px; border-radius: 50%; }
.security-card p { color: var(--text-secondary); font-size: 0.93rem; }

#team { padding: 80px 0; background: var(--bg-secondary); }
#team h2 { text-align: center; }
#team .section-desc { text-align: center; margin-left: auto; margin-right: auto; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card {
    background: var(--bg-tertiary); border-radius: var(--radius-lg);
    overflow: hidden; text-align: center; border: 1px solid var(--border-color);
    padding-bottom: 24px; transition: all var(--transition);
}
.team-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 0 20px rgba(240,165,0,0.2); }
.team-card img { width: 100%; height: 280px; object-fit: cover; }
.team-card h3 { margin-top: 16px; }
.team-role { color: var(--gate-green); font-size: 0.9rem; font-weight: 600; margin-bottom: 8px; }
.team-card p { color: var(--text-secondary); font-size: 0.9rem; padding: 0 20px; }

/* ===== Services Page ===== */
#services { padding: 80px 0; }
.services-grid { display: flex; flex-direction: column; gap: 40px; max-width: 950px; margin: 0 auto; }
.service-card-full {
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-lg); overflow: hidden;
    transition: all var(--transition); align-items: center;
}
.service-card-full.reverse .service-card-img { order: 2; }
.service-card-full.reverse .service-card-body { order: 1; }
.service-card-full:hover { border-color: var(--gate-green); box-shadow: var(--shadow-glow-green); }
.service-card-img { height: 100%; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; }
.service-card-body { padding: 32px; }
.service-card-body h2 { font-size: 1.6rem; margin-bottom: 12px; }
.service-card-body > p { color: var(--text-secondary); margin-bottom: 16px; }
.service-features-list { margin-bottom: 20px; padding-left: 20px; }
.service-features-list li { color: var(--text-secondary); font-size: 0.93rem; padding: 4px 0; list-style: disc; }
.service-features-list li::marker { color: var(--gate-green); }

#service-table { padding: 80px 0; background: var(--bg-secondary); }
#service-table h2 { text-align: center; margin-bottom: 2rem; }
.table-wrap { overflow-x: auto; }
.service-table {
    width: 100%; border-collapse: collapse; border-radius: var(--radius-md); overflow: hidden;
    background: var(--bg-tertiary);
}
.service-table thead { background: linear-gradient(135deg, var(--gate-green-dark), var(--crypto-purple)); }
.service-table th {
    padding: 16px 20px; text-align: left; font-weight: 600; color: var(--white); font-size: 0.95rem;
}
.service-table td {
    padding: 14px 20px; border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary); font-size: 0.93rem;
}
.service-table tr:hover td { background: rgba(23,195,178,0.05); }

/* ===== FAQ Page ===== */
#faq-content { padding: 60px 0 80px; }
.faq-search { margin-bottom: 40px; }
.faq-search input {
    width: 100%; max-width: 600px; padding: 14px 20px;
    background: var(--bg-tertiary); border: 1px solid var(--border-color);
    border-radius: var(--radius-md); color: var(--white); font-size: 1rem;
    outline: none; transition: var(--transition);
}
.faq-search input:focus { border-color: var(--gate-green); box-shadow: 0 0 0 3px rgba(23,195,178,0.15); }
.faq-search input::placeholder { color: var(--text-muted); }
.faq-category { margin-bottom: 40px; }
.faq-category h2 {
    font-size: 1.3rem; color: var(--gate-green); margin-bottom: 16px;
    padding-bottom: 8px; border-bottom: 2px solid rgba(23,195,178,0.2);
}
.faq-item {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-md); margin-bottom: 10px;
    transition: all var(--transition); overflow: hidden;
}
.faq-item:hover { border-color: var(--gate-green); }
.faq-item[open] { border-color: var(--gate-green); box-shadow: var(--shadow-glow-green); }
.faq-item summary {
    padding: 16px 48px 16px 20px; cursor: pointer; font-weight: 600; color: var(--white);
    position: relative; list-style: none; font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
    font-size: 1.5rem; color: var(--gate-green); transition: var(--transition);
}
.faq-item[open] summary::after { content: '−'; }
.faq-answer { padding: 0 20px 20px; color: var(--text-secondary); font-size: 0.95rem; line-height: 1.8; }

/* ===== Contact Page ===== */
#contact-form { padding: 60px 0 80px; }
.contact-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 50px; }
.contact-form-wrap h2 { margin-bottom: 8px; }
.contact-form-wrap > p { color: var(--text-secondary); margin-bottom: 24px; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.9rem; font-weight: 600; color: var(--text-primary); }
.form-group input, .form-group select, .form-group textarea {
    padding: 12px 16px; background: var(--bg-tertiary); border: 1px solid var(--border-color);
    border-radius: var(--radius-sm); color: var(--white); font-size: 0.95rem;
    outline: none; transition: var(--transition); font-family: inherit;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--gate-green); box-shadow: 0 0 0 3px rgba(23,195,178,0.15);
}
.form-group select { cursor: pointer; }
.form-group select option { background: var(--bg-tertiary); color: var(--white); }
.contact-form .btn { align-self: flex-start; margin-top: 8px; }
.contact-info-wrap h2 { margin-bottom: 20px; }
.contact-info-item {
    display: flex; gap: 16px; align-items: center; padding: 16px;
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-md); margin-bottom: 12px; transition: var(--transition);
}
.contact-info-item:hover { border-color: var(--gate-green); }
.contact-info-icon img { width: 48px; height: 48px; border-radius: 50%; }
.contact-info-item h3 { font-size: 1rem; margin-bottom: 4px; }
.contact-info-item p { color: var(--text-secondary); font-size: 0.9rem; }
.contact-info-item a { color: var(--gate-green); text-decoration: underline; }
.biz-cooperation { display: flex; flex-direction: column; gap: 14px; }
.biz-item {
    padding: 16px 20px; background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-md); border-left: 3px solid var(--gold); transition: var(--transition);
}
.biz-item:hover { border-color: var(--gold); box-shadow: 0 0 12px rgba(240,165,0,0.15); }
.biz-item h3 { color: var(--gold); font-size: 1rem; }
.biz-item p { color: var(--text-secondary); font-size: 0.9rem; }

/* ===== Footer ===== */
footer {
    background: var(--bg-secondary); border-top: 1px solid var(--border-color);
    padding: 60px 0 0;
}
.footer-content { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand { color: var(--gate-green); font-size: 1.3rem; margin-bottom: 12px; }
.footer-col p { color: var(--text-secondary); font-size: 0.9rem; }
.footer-col h4 { color: var(--white); margin-bottom: 16px; font-size: 1rem; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--text-secondary); font-size: 0.9rem; }
.footer-col a:hover { color: var(--gate-green); }
.footer-bottom { padding: 20px 0; border-top: 1px solid var(--border-color); text-align: center; }
.footer-bottom p { color: var(--text-muted); font-size: 0.85rem; }

/* ===== Animations ===== */
.reveal {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.fadeInUp { animation: fadeInUp 0.6s ease forwards; }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== Lock Animation ===== */
@keyframes lockShield {
    0%, 100% { box-shadow: 0 0 0 0 rgba(23,195,178,0.4); }
    50% { box-shadow: 0 0 0 20px rgba(23,195,178,0); }
}
.lock-animate { animation: lockShield 2.5s ease-in-out infinite; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    h1 { font-size: 2.2rem; }
    .hero-text h1 { font-size: 2.2rem; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .services-overview { grid-template-columns: repeat(2, 1fr); }
    .security-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    .hero-content { grid-template-columns: 1fr; text-align: center; gap: 30px; }
    .hero-text h1 { font-size: 2rem; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; gap: 24px; }
    .hero-image { order: -1; }
    .hero-image img { max-height: 300px; width: 100%; }

    .nav-menu {
        display: none; position: absolute; top: 68px; left: 0; right: 0;
        background: rgba(15,26,46,0.98); flex-direction: column; padding: 16px;
        border-bottom: 1px solid var(--border-color);
    }
    .nav-menu.active { display: flex; }
    .nav-toggle { display: flex; }
    .btn-nav-download { display: none; }

    .features-grid { grid-template-columns: 1fr; }
    .services-overview { grid-template-columns: 1fr; }
    .service-card-full { grid-template-columns: 1fr; }
    .service-card-full.reverse .service-card-img { order: -1; }
    .service-card-full.reverse .service-card-body { order: 1; }

    .about-intro-grid { grid-template-columns: 1fr; }
    .about-intro-image { order: -1; }
    .timeline-item { flex-direction: column; gap: 8px; }
    .timeline-list::before { left: 10px; }
    .timeline-year { width: auto; text-align: left; }
    .timeline-card::before { left: -1px; }

    .security-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }

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

    .footer-content { grid-template-columns: 1fr; }
    .footer-bottom { text-align: center; }
}

@media (max-width: 480px) {
    .hero-stats { gap: 16px; }
    .stat-number { font-size: 1.6rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
}
