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

:root {
    --bg: #0a0a0f;
    --bg-card: #12121a;
    --bg-card-hover: #1a1a26;
    --accent: #4f8fff;
    --accent-glow: rgba(79, 143, 255, 0.12);
    --text: #e4e4e7;
    --text-muted: #9494a0;
    --border: #1e1e2a;
    --radius: 12px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ── NAV ── */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
nav .container {
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
}
.logo {
    font-size: 1.1rem; font-weight: 700; color: var(--text);
    display: flex; align-items: center; gap: 10px;
}
.logo svg { width: 28px; height: 28px; flex-shrink: 0; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
    color: var(--text-muted); font-size: 0.9rem; font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
    background: var(--accent); color: #fff !important; padding: 8px 20px;
    border-radius: 8px; font-size: 0.875rem; font-weight: 600;
    transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.85; }
.mobile-toggle {
    display: none; background: none; border: none;
    color: var(--text); cursor: pointer; padding: 4px;
}

/* ── HERO ── */
.hero {
    min-height: 100vh; display: flex; align-items: center;
    padding-top: 64px;
    background:
        radial-gradient(ellipse 60% 50% at 50% 0%, rgba(79,143,255,0.07), transparent),
        var(--bg);
}
.hero-inner { text-align: center; max-width: 720px; margin: 0 auto; }
.hero-badge {
    display: inline-block; font-size: 0.78rem; font-weight: 600;
    color: var(--accent); background: var(--accent-glow);
    padding: 6px 16px; border-radius: 20px; margin-bottom: 24px;
    letter-spacing: 0.06em; text-transform: uppercase;
}
.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 700;
    line-height: 1.15; margin-bottom: 20px;
}
.hero p {
    font-size: 1.1rem; color: var(--text-muted);
    max-width: 540px; margin: 0 auto 36px;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn-primary {
    display: inline-block;
    background: var(--accent); color: #fff !important; padding: 14px 32px;
    border-radius: 10px; font-size: 1rem; font-weight: 600;
    transition: opacity 0.2s; border: none; cursor: pointer;
}
.btn-primary:hover { opacity: 0.85; }
.btn-secondary {
    display: inline-block;
    background: transparent; color: var(--text); padding: 14px 32px;
    border-radius: 10px; font-size: 1rem; font-weight: 500;
    border: 1px solid var(--border); transition: border-color 0.2s;
}
.btn-secondary:hover { border-color: var(--text-muted); }

/* ── SERVICE PREVIEW CARDS ── */
.services-preview {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
    margin-top: 72px;
}
.sp-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 28px 24px; text-align: left;
    transition: border-color 0.25s, background 0.25s;
}
.sp-card:hover { border-color: var(--accent); background: var(--bg-card-hover); }
.sp-card .icon, .service-header .icon {
    width: 44px; height: 44px; border-radius: 10px;
    background: var(--accent-glow); display: flex; align-items: center;
    justify-content: center; margin-bottom: 16px; flex-shrink: 0;
}
.sp-card .icon svg, .service-header .icon svg {
    width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 1.5;
}
.sp-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.sp-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.55; }

/* ── SECTIONS COMMON ── */
section { padding: 100px 0; }
.section-label {
    font-size: 0.78rem; font-weight: 600; color: var(--accent);
    text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px;
}
.section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700;
    margin-bottom: 16px;
}
.section-desc {
    font-size: 1rem; color: var(--text-muted); max-width: 600px;
    margin-bottom: 56px;
}

/* ── APPROACH ── */
.approach { border-top: 1px solid var(--border); }
.approach-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.approach-card {
    display: flex; gap: 20px; align-items: flex-start;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 28px 24px;
    transition: border-color 0.25s;
}
.approach-card:hover { border-color: var(--accent); }
.step-num {
    font-size: 1.5rem; font-weight: 700; color: var(--accent);
    opacity: 0.5; line-height: 1; flex-shrink: 0;
}
.approach-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.approach-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.55; }

/* ── SERVICES DETAIL ── */
.services-detail { border-top: 1px solid var(--border); }
.service-blocks { display: flex; flex-direction: column; gap: 24px; }
.service-block {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 36px 32px;
    transition: border-color 0.25s;
}
.service-block:hover { border-color: var(--accent); }
.service-header {
    display: flex; align-items: center; gap: 16px; margin-bottom: 16px;
}
.service-header h3 { font-size: 1.15rem; font-weight: 600; }
.service-block p {
    font-size: 0.925rem; color: var(--text-muted); line-height: 1.65;
    margin-bottom: 12px;
}
.service-block p:last-child { margin-bottom: 0; }

/* ── CTA ── */
.cta-section {
    border-top: 1px solid var(--border);
    background:
        radial-gradient(ellipse 50% 60% at 50% 100%, rgba(79,143,255,0.06), transparent),
        var(--bg);
}
.cta-box { text-align: center; max-width: 560px; margin: 0 auto; }
.cta-desc {
    font-size: 1rem; color: var(--text-muted); margin-bottom: 32px;
}

/* ── FOOTER ── */
footer {
    border-top: 1px solid var(--border);
    padding: 40px 0;
}
.footer-inner {
    display: flex; align-items: center; justify-content: space-between;
}
.footer-brand p {
    font-size: 0.8rem; color: var(--text-muted); margin-top: 8px;
}
.footer-brand .logo { font-size: 0.95rem; }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
    color: var(--text-muted); font-size: 0.85rem;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .nav-links { 
        display: none; flex-direction: column; gap: 0;
        position: absolute; top: 64px; left: 0; right: 0;
        background: rgba(10, 10, 15, 0.97); border-bottom: 1px solid var(--border);
        padding: 16px 24px;
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 12px 0; display: block; }
    .nav-cta { display: none; }
    .mobile-toggle { display: block; }

    .services-preview { grid-template-columns: 1fr; }
    .approach-grid { grid-template-columns: 1fr; }

    .service-block { padding: 24px 20px; }

    .footer-inner { flex-direction: column; gap: 24px; text-align: center; }
    .footer-links { justify-content: center; }

    .hero { min-height: auto; padding: 120px 0 60px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .btn-primary, .btn-secondary { width: 100%; text-align: center; }
}
