:root {
    --bg: #FFFFFF;
    --bg-subtle: #FAFAFA;
    --bg-card: #F7F7F8;
    --fg: #111111;
    --fg-muted: #6B7280;
    --fg-light: #9CA3AF;
    --accent: #0066FF;
    --accent-light: #E8F0FE;
    --accent-dark: #004FCC;
    --border: #E5E7EB;
    --border-light: #F0F0F0;
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--fg);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 768px) {
    .container { padding: 0 40px; }
}

@media (min-width: 1024px) {
    .container { padding: 0 48px; }
}

/* ─── Overline ─── */
.overline {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    position: relative;
    padding-left: 28px;
}

.overline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 2px;
    background: var(--accent);
}

/* ─── Typography ─── */
.hero-title, .section-title, .cta-title {
    font-family: var(--font-display);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--fg);
}

.section-desc {
    font-size: 1.1rem;
    color: var(--fg-muted);
    max-width: 560px;
    margin-top: 16px;
}

/* ─── Navigation ─── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background var(--transition), box-shadow var(--transition);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 768px) { .nav-inner { padding: 0 40px; } }
@media (min-width: 1024px) { .nav-inner { padding: 0 48px; } }

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
}

.logo-img {
    height: 36px;
    width: auto;
    border-radius: 4px;
}

.logo-mark {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    background: var(--accent-light);
    padding: 6px 10px;
    border-radius: 6px;
    letter-spacing: 0.05em;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--fg);
}

.nav-links {
    display: none;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--fg-muted);
    transition: color var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--accent);
    transition: width var(--transition);
}

.nav-links a:hover {
    color: var(--fg);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--fg) !important;
    color: var(--bg) !important;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600 !important;
    transition: background var(--transition), transform var(--transition);
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
    background: var(--accent) !important;
    transform: translateY(-1px);
}

@media (min-width: 768px) {
    .nav-links { display: flex; }
    .nav-toggle { display: none; }
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--fg);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    padding: 100px 24px 40px;
    gap: 24px;
    z-index: 5;
    align-items: flex-start;
}

.nav-links.open a {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--fg);
}

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-primary {
    background: var(--fg);
    color: var(--bg);
}

.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 102, 255, 0.25);
}

.btn-ghost {
    background: none;
    color: var(--fg);
    padding: 14px 8px;
}

.btn-ghost .arrow {
    transition: transform var(--transition);
}

.btn-ghost:hover .arrow {
    transform: translateX(4px);
}

.btn-outline {
    background: transparent;
    color: var(--fg);
    border: 1.5px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--fg);
    transform: translateY(-2px);
}

/* ─── Hero ─── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg-geometry {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-bg-geometry svg {
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-light);
    padding: 8px 18px;
    border-radius: 100px;
    margin-bottom: 32px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    color: var(--fg);
}

.hero-title em {
    font-style: normal;
    background: linear-gradient(135deg, var(--accent), #00AAFF);
    -webkit-background-clip: text;
    -webkit-text-color: transparent;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--fg-muted);
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 64px;
}

.hero-social-proof {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-avatars {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.avatar-pill {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 5px 14px;
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: 100px;
    color: var(--fg-muted);
}

.social-text {
    font-size: 0.82rem;
    color: var(--fg-light);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ─── Sections ─── */
.section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 64px;
}

@media (min-width: 768px) {
    .section-header { margin-bottom: 80px; }
}

/* ─── Problem ─── */
.problem { background: var(--bg-subtle); }
.problem-grid { display: grid; gap: 20px; }
@media (min-width: 768px) { .problem-grid { grid-template-columns: repeat(3, 1fr); } }

.problem-card {
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    background: var(--bg);
    transition: all var(--transition);
}

.problem-card:hover {
    border-color: #FF4444;
    box-shadow: 0 12px 40px rgba(255,68,68,0.08);
    transform: translateY(-3px);
}

.problem-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFF0F0;
    border-radius: 10px;
    margin-bottom: 20px;
    color: #FF4444;
}

.problem-card h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.problem-card p {
    font-size: 0.88rem;
    color: var(--fg-muted);
    line-height: 1.65;
}

/* ─── Solution / Values ─── */
.solution-values {
    display: grid;
    gap: 20px;
}

@media (min-width: 768px) { .solution-values { grid-template-columns: repeat(3, 1fr); } }

.value-card {
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    background: var(--bg);
    transition: all var(--transition);
}

.value-card:hover {
    border-color: var(--accent);
    box-shadow: 0 12px 40px rgba(0, 102, 255, 0.08);
    transform: translateY(-3px);
}

.value-icon {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent);
    opacity: 0.15;
    display: block;
    margin-bottom: 8px;
    line-height: 1;
}

.value-card h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.value-card p {
    font-size: 0.88rem;
    color: var(--fg-muted);
    line-height: 1.65;
}

/* ─── Services ─── */
.services { background: var(--fg); color: var(--bg); }
.services .section-desc { color: rgba(255,255,255,0.55); }
.services-grid { display: grid; gap: 20px; }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }

.service-card {
    background: #1A1A1F;
    padding: 36px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.06);
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
}

.service-card:hover {
    border-color: rgba(0, 102, 255, 0.3);
    background: #1E1E25;
    transform: translateY(-2px);
}

.service-number {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.12em;
    display: block;
    margin-bottom: 18px;
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #FFFFFF;
}

.service-card p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
}

.service-line {
    position: absolute;
    bottom: 0;
    left: 36px;
    right: 36px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.service-card:hover .service-line { transform: scaleX(1); }

/* ─── Product ─── */
.product { background: var(--bg-subtle); }
.product-layout { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .product-layout { grid-template-columns: 1fr 1fr; gap: 64px; } }

.product-lead {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--fg);
    margin-bottom: 12px;
}

.product-desc {
    font-size: 1rem;
    color: var(--fg-muted);
    line-height: 1.7;
    margin-bottom: 28px;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.feature-tag {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 7px 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 100px;
    transition: all var(--transition);
}

.feature-tag:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.product-trust {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 0;
    border-top: 1px solid var(--border);
}

.trust-label { font-size: 0.82rem; color: var(--fg-light); }
.trust-names { font-family: var(--font-display); font-size: 0.88rem; font-weight: 700; color: var(--accent); }

/* Dashboard Mockup */
.dashboard-mockup {
    background: var(--fg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 80px rgba(0,0,0,0.12);
}

.mockup-toolbar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 11px 14px;
    background: #1A1A1F;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.mockup-dot { width: 8px; height: 8px; border-radius: 50%; }
.mockup-dot:nth-child(1) { background: #FF5F56; }
.mockup-dot:nth-child(2) { background: #FFBD2E; }
.mockup-dot:nth-child(3) { background: #27C93F; }
.mockup-title { font-family: var(--font-display); font-size: 0.68rem; color: rgba(255,255,255,0.35); margin-left: 8px; }
.mockup-body { display: flex; min-height: 240px; }
.mockup-sidebar { width: 130px; background: #131316; padding: 14px 10px; display: flex; flex-direction: column; gap: 3px; }
.mockup-nav-item { font-family: var(--font-display); font-size: 0.68rem; padding: 7px 10px; border-radius: 5px; color: rgba(255,255,255,0.35); }
.mockup-nav-item.active { background: rgba(0,102,255,0.2); color: var(--accent); }
.mockup-content { flex: 1; padding: 14px; display: flex; flex-direction: column; gap: 14px; }
.mockup-stat-row { display: flex; gap: 10px; }
.mockup-stat-card { flex: 1; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); border-radius: 8px; padding: 12px; }
.mockup-stat-number { font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; color: #FFFFFF; }
.mockup-stat-label { font-size: 0.62rem; color: rgba(255,255,255,0.35); }
.mockup-chart { display: flex; align-items: flex-end; gap: 7px; flex: 1; padding: 10px; background: rgba(255,255,255,0.03); border-radius: 8px; border: 1px solid rgba(255,255,255,0.04); }
.chart-bar { flex: 1; background: linear-gradient(to top, var(--accent), rgba(0,102,255,0.35)); border-radius: 3px 3px 0 0; min-height: 6px; }
@media (max-width: 480px) { .mockup-sidebar { display: none; } }

/* ─── Portfolio ─── */
.portfolio-grid { display: grid; gap: 20px; }
@media (min-width: 768px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }

.portfolio-card {
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    background: var(--bg);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.portfolio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.portfolio-card:hover {
    border-color: var(--accent);
    box-shadow: 0 16px 56px rgba(0,102,255,0.08);
    transform: translateY(-4px);
}

.portfolio-card:hover::before { opacity: 1; }
.portfolio-label { font-family: var(--font-display); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.portfolio-card h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; margin-bottom: 4px; }
.portfolio-subtitle { font-size: 0.85rem; color: var(--fg-muted); margin-bottom: 14px; }
.portfolio-card p { font-size: 0.86rem; color: var(--fg-muted); line-height: 1.65; margin-bottom: 18px; }
.portfolio-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.portfolio-meta span { font-family: var(--font-display); font-size: 0.68rem; font-weight: 600; padding: 4px 10px; background: var(--bg-subtle); border-radius: 100px; color: var(--fg-muted); }

/* ─── Gov Projects ─── */
.gov-projects { margin-top: 56px; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; background: var(--bg); }
.gov-header { margin-bottom: 28px; }
.gov-header .overline { margin-bottom: 8px; }
.gov-header p { font-size: 0.92rem; color: var(--fg-muted); }
.gov-list { display: flex; flex-direction: column; }
.gov-row { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 20px 0; border-bottom: 1px solid var(--border-light); align-items: baseline; }
.gov-row:last-child { border-bottom: none; }
.gov-client { font-family: var(--font-display); font-size: 0.92rem; font-weight: 700; color: var(--fg); }
.gov-service { font-size: 0.82rem; font-weight: 600; color: var(--accent); }

/* ─── Clients ─── */
.clients { background: var(--bg-subtle); }
.clients-grid { display: grid; gap: 14px; }
@media (min-width: 480px) { .clients-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .clients-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .clients-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1280px) { .clients-grid { grid-template-columns: repeat(5, 1fr); } }

.client-card {
    padding: 22px 18px;
    text-align: center;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    background: var(--bg);
    transition: all var(--transition);
}

.client-card:hover {
    border-color: var(--accent);
    background: var(--bg);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,102,255,0.07);
}

.client-icon { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; color: var(--fg-light); transition: color var(--transition); }
.client-card:hover .client-icon { color: var(--accent); }
.client-name { font-family: var(--font-display); font-size: 0.84rem; font-weight: 700; margin-bottom: 2px; }
.client-type { font-size: 0.68rem; color: var(--fg-light); }

/* ─── CTA ─── */
.cta { background: var(--fg); color: var(--bg); text-align: center; }
.cta .overline { color: #6DB3FF; }
.cta .overline::before { background: #6DB3FF; }
.cta-title { font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 3.2rem); font-weight: 900; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 18px; }
.cta-desc { font-size: 1.05rem; color: rgba(255,255,255,0.55); max-width: 460px; margin: 0 auto 36px; line-height: 1.7; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 48px; }
.cta .btn-primary { background: var(--accent); }
.cta .btn-primary:hover { background: #3388FF; }
.cta .btn-outline { color: rgba(255,255,255,0.65); border-color: rgba(255,255,255,0.2); }
.cta .btn-outline:hover { color: var(--bg); border-color: var(--bg); }
.cta-contact-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 36px; }
.cta-contact-item { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.45); font-size: 0.88rem; }
.cta-contact-item a { color: rgba(255,255,255,0.65); transition: color var(--transition); }
.cta-contact-item a:hover { color: var(--bg); }

/* ─── Footer ─── */
.footer { background: #0A0A0C; color: rgba(255,255,255,0.4); padding: 40px 0; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand .logo-mark { background: rgba(255,255,255,0.1); color: #6DB3FF; }
.footer-logo-img { height: 28px; width: auto; border-radius: 4px; }
.footer-brand-text { display: flex; flex-direction: column; }
.footer-brand .logo-text { color: rgba(255,255,255,0.8); font-family: var(--font-display); font-size: 1rem; font-weight: 700; letter-spacing: 0.05em; }
.footer-tagline { font-size: 0.82rem; color: rgba(255,255,255,0.3); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 0.82rem; color: rgba(255,255,255,0.35); transition: color var(--transition); }
.footer-links a:hover { color: rgba(255,255,255,0.8); }
.footer-legal p { font-size: 0.78rem; }

/* ─── Reveal Animation ─── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

::selection { background: var(--accent); color: var(--bg); }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--fg-light); }