/* ========== Reset & Base ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --accent: #f97316;
    --accent2: #ec4899;
    --cyan: #06b6d4;
    --emerald: #10b981;
    --bg-body: #f0f4ff;
    --bg-white: #ffffff;
    --text-dark: #1e1b4b;
    --text-body: #374151;
    --text-muted: #6b7280;
    --border: #e5e7eb;
    --safe-bottom: env(safe-area-inset-bottom, 0px);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', 'Microsoft YaHei', sans-serif;
    background: var(--bg-body);
    color: var(--text-body);
    line-height: 1.6;
    overflow-x: hidden;
    overscroll-behavior: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: calc(64px + var(--safe-bottom));
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ========== Animations ========== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.5); }
    70% { box-shadow: 0 0 0 10px rgba(249, 115, 22, 0); }
    100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0); }
}

@keyframes bannerGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.45s ease-out, transform 0.45s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== 1. Banner ========== */
.banner {
    position: relative;
    padding: 48px 24px 40px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 30%, #a855f7 55%, #ec4899 80%, #f43f5e 100%);
    background-size: 300% 300%;
    animation: bannerGradient 10s ease infinite;
    overflow: hidden;
    text-align: center;
}

.banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 80%;
    background: radial-gradient(ellipse, rgba(255,255,255,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(255,255,255,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.banner-badge {
    position: relative;
    z-index: 1;
    display: inline-block;
    padding: 4px 14px;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    font-size: 12px;
    color: rgba(255,255,255,0.9);
    letter-spacing: 1px;
    margin-bottom: 18px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.banner-company {
    position: relative;
    z-index: 1;
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 3px;
    margin-bottom: 6px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.banner-tagline {
    position: relative;
    z-index: 1;
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.banner-slogan {
    position: relative;
    z-index: 1;
    font-size: 16px;
    color: rgba(255,255,255,0.95);
    max-width: 300px;
    margin: 0 auto 24px;
    line-height: 1.7;
}

.banner-slogan strong {
    color: #fef08a;
    text-shadow: 0 1px 6px rgba(254,240,138,0.4);
}

.banner-stats {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-bottom: 24px;
}

.banner-stat {
    text-align: center;
}

.banner-stat-num {
    font-size: 26px;
    font-weight: 700;
    color: #fef08a;
    display: block;
    text-shadow: 0 2px 4px rgba(0,0,0,0.12);
}

.banner-stat-label {
    font-size: 11px;
    color: rgba(255,255,255,0.8);
}

.banner-cta {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    background: linear-gradient(135deg, #fff, #fef3c7);
    color: #f97316;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    animation: pulse 2s infinite;
    transition: transform 0.2s;
}

.banner-cta:active { transform: scale(0.96); }
.banner-cta svg { width: 18px; height: 18px; }

/* ========== Section Common ========== */
.section {
    padding: 40px 16px;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 4px;
}

.section-subtitle {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 24px;
}

.section-title-bar {
    width: 32px;
    height: 3px;
    border-radius: 2px;
    margin: 8px auto 0;
    background: linear-gradient(90deg, var(--primary), var(--accent2));
}

/* ========== 2. About ========== */
.about {
    background: var(--bg-white);
}

.about-content {
    max-width: 400px;
    margin: 0 auto;
}

.about-text {
    font-size: 13px;
    line-height: 1.8;
    color: var(--text-body);
    text-indent: 2em;
    margin-bottom: 16px;
}

.about-highlights {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    padding: 16px;
    background: linear-gradient(135deg, #f0f0ff, #fdf2f8);
    border-radius: 14px;
}

.about-highlight-item {
    text-align: center;
}

.about-highlight-num {
    font-size: 26px;
    font-weight: 700;
    display: block;
}

.about-highlight-item:nth-child(1) .about-highlight-num { color: #6366f1; }
.about-highlight-item:nth-child(2) .about-highlight-num { color: #ec4899; }
.about-highlight-item:nth-child(3) .about-highlight-num { color: #f97316; }

.about-highlight-label {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ========== 3. Services ========== */
.services {
    background: var(--bg-body);
}

.service-featured {
    max-width: 400px;
    margin: 0 auto;
    background: linear-gradient(135deg, #6366f1, #818cf8);
    border-radius: 18px;
    padding: 24px 20px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.service-featured::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 50%;
    height: 50%;
    background: radial-gradient(ellipse, rgba(255,255,255,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.service-featured-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.service-featured-icon {
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-featured-icon svg {
    width: 28px;
    height: 28px;
}

.service-featured-name {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
}

.service-featured-tag {
    font-size: 12px;
    color: rgba(255,255,255,0.75);
    margin-top: 2px;
}

.service-featured-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.service-featured-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(255,255,255,0.12);
    border-radius: 10px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.service-featured-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fef08a;
    flex-shrink: 0;
    margin-top: 6px;
}

.service-featured-item strong {
    font-size: 14px;
    display: block;
    margin-bottom: 2px;
}

.service-featured-item p {
    font-size: 11px;
    color: rgba(255,255,255,0.8);
    line-height: 1.4;
}

/* ========== 4. Advantages ========== */
.advantages {
    background: var(--bg-white);
}

.adv-list {
    max-width: 400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.adv-item {
    padding: 16px 12px;
    border-radius: 14px;
    text-align: center;
}

.adv-item:nth-child(1) { background: linear-gradient(135deg, #eef2ff, #e0e7ff); }
.adv-item:nth-child(2) { background: linear-gradient(135deg, #fdf2f8, #fce7f3); }
.adv-item:nth-child(3) { background: linear-gradient(135deg, #ecfdf5, #d1fae5); }
.adv-item:nth-child(4) { background: linear-gradient(135deg, #fff7ed, #ffedd5); }

.adv-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 8px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.adv-item:nth-child(1) .adv-icon { background: linear-gradient(135deg, #6366f1, #818cf8); }
.adv-item:nth-child(2) .adv-icon { background: linear-gradient(135deg, #ec4899, #f472b6); }
.adv-item:nth-child(3) .adv-icon { background: linear-gradient(135deg, #10b981, #34d399); }
.adv-item:nth-child(4) .adv-icon { background: linear-gradient(135deg, #f97316, #fb923c); }

.adv-icon svg { width: 20px; height: 20px; }

.adv-text h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.adv-text p {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ========== 5. Cases ========== */
.cases {
    background: var(--bg-body);
}

.cases-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    max-width: 400px;
    margin: 0 auto;
}

.case-item {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}

.case-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.case-item:nth-child(1) .case-icon { background: #eef2ff; }
.case-item:nth-child(2) .case-icon { background: #ecfdf5; }
.case-item:nth-child(3) .case-icon { background: #fff7ed; }
.case-item:nth-child(4) .case-icon { background: #f3e8ff; }
.case-item:nth-child(5) .case-icon { background: #fdf2f8; }

.case-info h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1px;
}

.case-info p {
    font-size: 10px;
    color: var(--text-muted);
    line-height: 1.3;
}

/* ========== 6. Contact ========== */
.contact {
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #a855f7, #ec4899);
    color: #fff;
    text-align: center;
    padding: 40px 20px 56px;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 70%;
    height: 70%;
    background: radial-gradient(ellipse, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.contact-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 13px;
    position: relative;
    color: rgba(255,255,255,0.9);
}

.contact-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    opacity: 0.8;
}

.contact-phone {
    font-size: 28px;
    font-weight: 700;
    color: #fef08a;
    margin: 16px 0 4px;
    position: relative;
    letter-spacing: 1px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.contact-phone-small {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    margin-bottom: 18px;
    position: relative;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 36px;
    background: linear-gradient(135deg, #fff, #fef3c7);
    color: #f97316;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    transition: transform 0.2s;
    position: relative;
}

.contact-btn:active { transform: scale(0.96); }
.contact-btn svg { width: 18px; height: 18px; }

/* ========== Floating CTA ========== */
.floating-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 8px 16px;
    padding-bottom: calc(8px + var(--safe-bottom));
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.floating-info {
    flex: 1;
}

.floating-info strong {
    display: block;
    font-size: 13px;
    color: var(--primary);
}

.floating-info span {
    font-size: 11px;
    color: var(--text-muted);
}

.floating-call {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    background: linear-gradient(135deg, var(--primary), var(--accent2));
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 3px 12px rgba(99, 102, 241, 0.3);
    transition: transform 0.2s;
    white-space: nowrap;
}

.floating-call:active { transform: scale(0.96); }
.floating-call svg { width: 16px; height: 16px; }

/* ========== Footer ========== */
.footer {
    text-align: center;
    padding: 14px 16px;
    font-size: 11px;
    color: var(--text-muted);
    background: var(--bg-white);
    line-height: 1.6;
}
