*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --primary: #ffffff;
    --accent: #00d4ff;
    --accent2: #7b61ff;
    --glass: rgba(0,0,0,0.03);
    --glass-border: rgba(0,0,0,0.08);
    --text: #1a1a2e;
    --text-muted: #6b7280;
    --section-padding: 7rem 4vw;
}
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
    background: var(--primary);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.7;
}

/* ===== NAV ===== */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 1.2rem 4vw;
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: padding 0.3s, box-shadow 0.3s;
}
nav.scrolled { padding: 0.7rem 4vw; box-shadow: 0 2px 20px rgba(0,0,0,0.06); }
.logo {
    display: flex; align-items: center; gap: 0.6rem;
    font-weight: 700; font-size: 1.25rem; letter-spacing: 1px;
    text-decoration: none; color: var(--text);
}
.logo-icon {
    width: 36px; height: 36px; border-radius: 10px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 1rem; color: #fff;
}
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
    color: var(--text-muted); text-decoration: none;
    font-size: 0.9rem; font-weight: 400;
    transition: color 0.3s; position: relative;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px; background: var(--accent);
    transition: width 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
    padding: 0.55rem 1.6rem; border-radius: 8px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #fff; font-weight: 600; font-size: 0.85rem;
    text-decoration: none; transition: transform 0.3s, box-shadow 0.3s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 30px rgba(0,212,255,0.3); }
.mobile-toggle {
    display: none; background: none; border: none; cursor: pointer;
    flex-direction: column; gap: 5px; padding: 5px;
}
.mobile-toggle span {
    display: block; width: 24px; height: 2px;
    background: var(--text); border-radius: 2px; transition: all 0.3s;
}
@media (max-width: 900px) {
    .mobile-toggle { display: flex; }
    .nav-links {
        display: none; position: fixed;
        top: 68px; left: 0; right: 0;
        background: rgba(255,255,255,0.97);
        backdrop-filter: blur(20px);
        flex-direction: column; padding: 2rem 4vw;
        border-bottom: 1px solid var(--glass-border);
        gap: 1.5rem;
    }
    .nav-links.open { display: flex; }
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh; display: flex; align-items: center;
    justify-content: center; text-align: center;
    position: relative; overflow: hidden;
    padding: 10rem 4vw 6rem;
}
.hero-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    background-repeat: no-repeat;
    transition: opacity 1s ease;
    z-index: 0;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(10,10,30,0.08) 0%, rgba(10,10,30,0.03) 50%, rgba(255,255,255,0.4) 100%);
    z-index: 1;
}
.hero-glow {
    position: absolute; width: 600px; height: 600px; border-radius: 50%;
    filter: blur(150px); opacity: 0.18; pointer-events: none;
}
.hero-glow.g1 { top: -10%; left: 20%; background: var(--accent); }
.hero-glow.g2 { bottom: -10%; right: 10%; background: var(--accent2); }
.hero-content { position: relative; z-index: 2; max-width: 900px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.4rem 1.2rem; border-radius: 50px;
    background: var(--glass); border: 1px solid var(--glass-border);
    font-size: 0.8rem; color: var(--accent); margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}
.hero-badge .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent); animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900; line-height: 1.15;
    letter-spacing: -1px; margin-bottom: 1.5rem;
}
.hero h1 .gradient {
    background: linear-gradient(135deg, #0090b3, #5a3de8);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p {
    font-size: 1.15rem; color: var(--text-muted);
    max-width: 650px; margin: 0 auto 2.5rem; line-height: 1.9;
}
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-primary {
    padding: 0.85rem 2.5rem; border-radius: 12px; border: none;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #fff; font-weight: 700; font-size: 1rem;
    cursor: pointer; transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,212,255,0.35); }
.btn-secondary {
    padding: 0.85rem 2.5rem; border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: var(--glass); color: var(--text);
    font-weight: 500; font-size: 1rem; cursor: pointer;
    backdrop-filter: blur(10px); transition: all 0.3s;
    text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* ===== STATS BAR ===== */
.stats {
    display: grid; grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: linear-gradient(180deg, rgba(0,212,255,0.04), rgba(123,97,255,0.03));
}
.stat {
    padding: 3rem 2rem; text-align: center;
    border-right: 1px solid var(--glass-border);
}
.stat:last-child { border-right: none; }
.stat-number {
    font-size: 2.8rem; font-weight: 900;
    background: linear-gradient(135deg, #0090b3, #5a3de8);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-label { color: var(--text-muted); font-size: 0.85rem; margin-top: 0.3rem; }

/* ===== SECTIONS ===== */
section { padding: var(--section-padding); }
.section-label {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.75rem; text-transform: uppercase; letter-spacing: 3px;
    color: var(--accent); margin-bottom: 1rem; font-weight: 500;
}
.section-label::before {
    content: ''; width: 30px; height: 1px; background: var(--accent);
}
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800; margin-bottom: 1rem; line-height: 1.2;
}
.section-desc { color: var(--text-muted); max-width: 600px; font-size: 1.05rem; line-height: 1.8; }
.section-header { margin-bottom: 4rem; }

/* ===== SERVICE CARDS ===== */
.services-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}
.service-card {
    padding: 2.5rem; border-radius: 16px;
    background: var(--glass); border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    transition: transform 0.4s, border-color 0.4s, box-shadow 0.4s;
    position: relative; overflow: hidden;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 3px; background: linear-gradient(90deg, var(--accent), var(--accent2));
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.4s;
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(0,212,255,0.3); box-shadow: 0 20px 60px rgba(0,0,0,0.06); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
    width: 56px; height: 56px; border-radius: 14px;
    background: linear-gradient(135deg, rgba(0,212,255,0.15), rgba(123,97,255,0.15));
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.5rem;
}
.service-icon svg { width: 28px; height: 28px; color: var(--accent); }
.service-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.8rem; }
.service-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.8; }
.service-card ul { list-style: none; margin-top: 1rem; }
.service-card ul li {
    padding: 0.4rem 0; color: var(--text-muted); font-size: 0.85rem;
    display: flex; align-items: flex-start; gap: 0.5rem;
}
.service-card ul li::before {
    content: '→'; color: var(--accent); font-weight: 700; flex-shrink: 0;
}

/* ===== ABOUT ===== */
.about {
    display: grid; grid-template-columns: 1fr 1fr; gap: 5rem;
    align-items: center;
}
.about-visual {
    aspect-ratio: 4/3; border-radius: 20px;
    background: linear-gradient(135deg, rgba(0,212,255,0.08), rgba(123,97,255,0.08));
    border: 1px solid var(--glass-border);
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
}
.about-visual svg { width: 60%; opacity: 0.5; }

/* ===== SERVICE IMAGES ===== */
.service-image {
    display: block;
    max-width: 480px;
    max-height: 240px;
    width: auto;
    height: auto;
    margin: 0 auto 2.5rem;
    border-radius: 14px;
    border: 1px solid var(--glass-border);
    object-fit: cover;
    transition: transform 0.3s, box-shadow 0.3s, opacity 0.6s;
    opacity: 0.85;
}
.service-image:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
    opacity: 1;
}
.about-features { display: grid; gap: 1.5rem; margin-top: 2rem; }
.about-feature {
    display: flex; gap: 1rem; align-items: flex-start;
}
.about-feature .check {
    width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0;
    background: linear-gradient(135deg, rgba(0,212,255,0.2), rgba(123,97,255,0.2));
    display: flex; align-items: center; justify-content: center;
    margin-top: 2px;
}
.about-feature .check svg { width: 16px; height: 16px; color: var(--accent); }
.about-feature h4 { font-size: 1rem; font-weight: 600; margin-bottom: 0.2rem; }
.about-feature p { color: var(--text-muted); font-size: 0.85rem; }

/* ===== WHY US ===== */
.why-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.why-card {
    text-align: center; padding: 3rem 2rem;
    border-radius: 16px; background: var(--glass);
    border: 1px solid var(--glass-border);
    transition: transform 0.3s;
}
.why-card:hover { transform: translateY(-4px); }
.why-number {
    font-size: 3rem; font-weight: 900;
    background: linear-gradient(135deg, #0090b3, #5a3de8);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}
.why-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.6rem; }
.why-card p { color: var(--text-muted); font-size: 0.9rem; }

/* ===== PROCESS / TIMELINE ===== */
.timeline {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem; position: relative;
}
.timeline::before {
    content: ''; position: absolute; top: 40px; left: 10%; right: 10%;
    height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent2));
    opacity: 0.3;
}
.timeline-item { text-align: center; position: relative; }
.timeline-dot {
    width: 16px; height: 16px; border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    margin: 32px auto 1.5rem;
    box-shadow: 0 0 0 6px rgba(0,212,255,0.15);
}
.timeline-item h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.timeline-item p { color: var(--text-muted); font-size: 0.85rem; }
.timeline-step {
    display: inline-block; padding: 0.2rem 0.8rem; border-radius: 50px;
    background: var(--glass); border: 1px solid var(--glass-border);
    font-size: 0.7rem; font-weight: 600; color: var(--accent);
    text-transform: uppercase; letter-spacing: 1px;
}

/* ===== CONTACT ===== */
.contact-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
}
.contact-info { display: grid; gap: 2rem; }
.contact-item {
    display: flex; gap: 1rem; align-items: flex-start;
}
.contact-icon {
    width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
    background: var(--glass); border: 1px solid var(--glass-border);
    display: flex; align-items: center; justify-content: center;
}
.contact-icon svg { width: 22px; height: 22px; color: var(--accent); }
.contact-item h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.2rem; }
.contact-item p { color: var(--text-muted); font-size: 0.9rem; }
.contact-form { display: grid; gap: 1.2rem; }
.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%; padding: 1rem 1.2rem;
    background: var(--glass); border: 1px solid var(--glass-border);
    border-radius: 12px; color: var(--text); font-size: 0.95rem;
    font-family: inherit; outline: none;
    transition: border-color 0.3s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--accent); }
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form input::placeholder, .contact-form textarea::placeholder, .contact-form select { color: var(--text-muted); }

/* ===== CTA ===== */
.cta-section {
    text-align: center;
    padding: 8rem 4vw;
    position: relative;
}
.cta-section::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent, rgba(0,212,255,0.04), transparent);
}
.cta-section h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 1rem; position: relative; }
.cta-section p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 2.5rem; position: relative; }

/* ===== BANNER (page header) ===== */
.page-banner {
    padding: 10rem 4vw 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-banner-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    filter: brightness(1.3);
}
.page-banner-overlay {
    position: absolute; inset: 0;
    background: rgba(0, 0, 0, 0.15);
    z-index: 1;
}
.page-banner h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900; margin-bottom: 1rem;
    position: relative; z-index: 2;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.page-banner p {
    color: rgba(255,255,255,0.95); font-size: 1.1rem;
    max-width: 600px; margin: 0 auto;
    position: relative; z-index: 2;
    text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

/* ===== FOOTER ===== */
footer {
    padding: 3rem 4vw;
    border-top: 1px solid var(--glass-border);
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 1rem;
}
footer p { color: var(--text-muted); font-size: 0.8rem; }
footer a { color: var(--accent); text-decoration: none; }

/* ===== ANIMATIONS ===== */
.fade-up {
    opacity: 1; transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.js {
    opacity: 0; transform: translateY(40px);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .stats { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2) { border-right: none; }
    .about { grid-template-columns: 1fr; }
    .about-visual { order: -1; }
    .why-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .timeline::before { display: none; }
}
@media (max-width: 600px) {
    .stats { grid-template-columns: 1fr; }
    .stat { border-right: none; border-bottom: 1px solid var(--glass-border); }
    .stat:last-child { border-bottom: none; }
}
