/* ──────────────────────────────────────────────
   Design Tokens
   ────────────────────────────────────────────── */
:root {
    --blue:        #2563eb;
    --blue-light:  #dbeafe;
    --blue-mid:    #3b82f6;
    --navy:        #1e3a5f;
    --white:       #ffffff;
    --gray-50:     #f8fafc;
    --gray-100:    #f1f5f9;
    --gray-200:    #e2e8f0;
    --gray-500:    #64748b;
    --gray-700:    #334155;
    --gray-900:    #0f172a;

    --radius-sm:   6px;
    --radius:      12px;
    --radius-lg:   20px;
    --radius-xl:   32px;

    --shadow:      0 4px 16px rgba(0,0,0,.08);
    --shadow-md:   0 8px 32px rgba(0,0,0,.12);
    --shadow-blue: 0 8px 32px rgba(37,99,235,.25);

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --font-slab: 'Roboto Slab', 'PingFang SC', 'Microsoft YaHei', serif;

    --nav-h: 64px;
}

/* ──────────────────────────────────────────────
   Reset
   ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-sans);
    color: var(--gray-900);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; width: 100%; object-fit: cover; }

/* ──────────────────────────────────────────────
   Utilities
   ────────────────────────────────────────────── */
.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}
.section-title {
    font-family: var(--font-slab);
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--gray-900);
    line-height: 1.2;
}
.section-subtitle {
    margin-top: 12px;
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 560px;
}
.highlight {
    font-style: normal;
    color: var(--blue);
}

/* ──────────────────────────────────────────────
   Navigation
   ────────────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-h);
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
}
.nav-container {
    max-width: 1120px;
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo-icon {
    font-family: var(--font-slab);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: -0.5px;
}
.nav-links {
    display: flex;
    gap: 40px;
}
.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-700);
    transition: color .2s;
}
.nav-links a:hover { color: var(--blue); }

/* ──────────────────────────────────────────────
   Hero
   ────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    padding-top: var(--nav-h);
    background: linear-gradient(160deg, var(--gray-50) 0%, #eef4ff 60%, #dbeafe 100%);
    display: flex;
    align-items: center;
}
.hero-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 80px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.eyebrow { margin-bottom: 20px; }
.eyebrow-pill {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 999px;
    background: var(--blue-light);
    color: var(--blue);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.hero-title {
    font-family: var(--font-slab);
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    line-height: 1.15;
    color: var(--gray-900);
    margin-bottom: 20px;
}
.hero-description {
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 480px;
    margin-bottom: 36px;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
}
.btn-primary {
    background: var(--blue);
    color: var(--white);
    box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(37,99,235,.35);
}
.btn-secondary {
    background: var(--white);
    color: var(--gray-700);
    border: 1.5px solid var(--gray-200);
}
.btn-secondary:hover {
    border-color: var(--blue);
    color: var(--blue);
}

/* Browser Frame */
.hero-visual { position: relative; }
.browser-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    background: var(--white);
}
.browser-header {
    height: 36px;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    padding: 0 14px;
    border-bottom: 1px solid var(--gray-200);
}
.browser-dots { display: flex; gap: 6px; }
.dot {
    width: 10px; height: 10px;
    border-radius: 50%;
}
.dot-red { background: #fc5c5c; }
.dot-yellow { background: #fbbf24; }
.dot-green { background: #34d399; }
.browser-content {
    height: 340px;
    overflow: hidden;
}
.browser-content img {
    height: 100%;
    transition: transform .4s;
}
.browser-content img:hover { transform: scale(1.03); }

.status-chip {
    position: absolute;
    bottom: -16px;
    left: 24px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 8px;
}
.status-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16,185,129,.2);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(16,185,129,.2); }
    50%       { box-shadow: 0 0 0 6px rgba(16,185,129,.08); }
}

/* ──────────────────────────────────────────────
   Services
   ────────────────────────────────────────────── */
.services {
    padding: 120px 0 100px;
    background: var(--white);
}
.services .section-title,
.services .section-subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 60px;
}
.service-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    transition: all .25s;
}
.service-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: var(--blue-light);
    background: var(--white);
}
.service-icon-chip {
    width: 52px; height: 52px;
    border-radius: var(--radius);
    background: var(--blue-light);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--gray-900);
}
.service-card p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ──────────────────────────────────────────────
   About
   ────────────────────────────────────────────── */
.about {
    padding: 100px 0;
    background: var(--gray-50);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.about-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 440px;
}
.about-image img {
    height: 100%;
    transition: transform .4s;
}
.about-image:hover img { transform: scale(1.04); }
.about-content .section-title { margin-bottom: 20px; }
.about-text {
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 16px;
}
.stats {
    display: flex;
    gap: 40px;
    margin-top: 36px;
    padding-top: 36px;
    border-top: 1px solid var(--gray-200);
}
.stat-number {
    font-family: var(--font-slab);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--blue);
    line-height: 1;
}
.stat-label {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-top: 6px;
}

/* ──────────────────────────────────────────────
   Contact
   ────────────────────────────────────────────── */
.contact {
    padding: 100px 0;
    background: var(--white);
}
.contact .section-title,
.contact .section-subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 60px;
}
.contact-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: all .25s;
}
.contact-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.contact-icon {
    width: 56px; height: 56px;
    border-radius: var(--radius);
    background: var(--blue-light);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.contact-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--gray-900);
}
.contact-card p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.8;
}
.contact-card a {
    color: var(--blue);
    font-weight: 600;
    transition: color .2s;
}
.contact-card a:hover { color: #1d4ed8; }

/* ──────────────────────────────────────────────
   Footer
   ────────────────────────────────────────────── */
.footer {
    background: var(--gray-900);
    color: rgba(255,255,255,.6);
    padding: 48px 0 24px;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 20px;
}
.company-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}
.footer-text { font-size: 0.9rem; }
.footer-links a {
    font-size: 0.85rem;
    color: rgba(255,255,255,.5);
    transition: color .2s;
    border-bottom: 1px solid rgba(255,255,255,.15);
    padding-bottom: 2px;
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
    text-align: center;
    font-size: 0.8rem;
}

/* ──────────────────────────────────────────────
   Responsive
   ────────────────────────────────────────────── */
@media (max-width: 900px) {
    .hero-container,
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .hero-visual { order: -1; }
    .services-grid,
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .nav-links { gap: 20px; }
    .hero-title { font-size: 2.2rem; }
    .stats { gap: 24px; }
    .footer-content { flex-direction: column; text-align: center; }
}
