:root {
    --navy: #071827;
    --navy-2: #0b2338;
    --blue: #1478f2;
    --blue-2: #4da1ff;
    --cyan: #60d8f5;
    --ink: #12202c;
    --muted: #617180;
    --line: #dfe7ee;
    --soft: #f5f8fb;
    --white: #ffffff;
    --radius: 22px;
    --shadow: 0 22px 70px rgba(7, 24, 39, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
img, svg { max-width: 100%; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid transparent;
    transition: .25s ease;
}
.site-header.scrolled {
    background: rgba(7, 24, 39, .92);
    backdrop-filter: blur(16px);
    border-color: rgba(255,255,255,.08);
}
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; gap: 12px; align-items: center; color: var(--white); }
.brand-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -.5px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    box-shadow: 0 10px 30px rgba(20,120,242,.35);
}
.brand-copy { display: grid; line-height: 1.04; }
.brand-copy strong { font-size: 17px; letter-spacing: -.4px; }
.brand-copy small { font-size: 10px; margin-top: 5px; letter-spacing: 1.8px; text-transform: uppercase; color: #9db4c7; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav > a { color: #d9e4ed; font-size: 14px; font-weight: 650; }
.main-nav > a:not(.nav-cta):hover { color: var(--white); }
.main-nav .nav-cta {
    padding: 12px 18px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 10px;
    color: var(--white);
}
.main-nav .nav-cta:hover { background: rgba(255,255,255,.08); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--white); }

.hero {
    position: relative;
    min-height: 780px;
    padding: 150px 0 95px;
    overflow: hidden;
    background:
        radial-gradient(circle at 77% 35%, rgba(20,120,242,.16), transparent 28%),
        linear-gradient(135deg, #061521 0%, #071d2e 50%, #0a253d 100%);
    color: var(--white);
}
.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 180px;
    background: linear-gradient(to top, rgba(4,15,24,.32), transparent);
    pointer-events: none;
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(4px); opacity: .24; }
.hero-glow-one { width: 280px; height: 280px; background: #1378f2; right: 5%; top: 15%; }
.hero-glow-two { width: 220px; height: 220px; background: #60d8f5; right: 37%; bottom: -100px; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.02fr .98fr; gap: 70px; align-items: center; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 20px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #83c2ff;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow.dark { color: var(--blue); }
.eyebrow.light { color: #8fd2ff; }
.hero h1 { margin: 0; max-width: 690px; font-size: clamp(48px, 5.7vw, 75px); line-height: .98; letter-spacing: -3.4px; }
.hero h1 span { color: #82bfff; }
.hero-lead { max-width: 650px; margin: 28px 0 0; color: #c7d5e0; font-size: 18px; line-height: 1.75; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border: 0;
    border-radius: 11px;
    font-weight: 750;
    font-size: 14px;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: var(--white); background: linear-gradient(135deg, var(--blue), #1c8bff); box-shadow: 0 14px 34px rgba(20,120,242,.28); }
.btn-secondary { color: var(--white); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.15); }
.btn-full { width: 100%; }
.hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 42px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.09); }
.hero-proof div { display: grid; gap: 5px; }
.hero-proof strong { font-size: 15px; }
.hero-proof span { color: #8fa7ba; font-size: 12px; line-height: 1.5; }

.hero-visual { position: relative; min-height: 520px; }
.visual-shell {
    position: absolute;
    right: 0;
    top: 20px;
    width: 94%;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 22px;
    overflow: hidden;
    background: #0d2437;
    box-shadow: 0 40px 90px rgba(0,0,0,.3);
    transform: perspective(1200px) rotateY(-5deg) rotateX(2deg);
}
.window-bar { min-height: 46px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; background: rgba(255,255,255,.035); border-bottom: 1px solid rgba(255,255,255,.07); }
.window-bar span { color: #7894aa; font-size: 11px; }
.window-dots { display: flex; gap: 7px; }
.window-dots i { width: 8px; height: 8px; border-radius: 50%; background: #355065; }
.visual-content { display: grid; grid-template-columns: 70px 1fr; min-height: 370px; }
.mock-sidebar { padding: 20px 0; display: flex; flex-direction: column; align-items: center; gap: 18px; border-right: 1px solid rgba(255,255,255,.06); }
.mock-logo { width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(135deg,var(--blue),var(--cyan)); margin-bottom: 5px; }
.mock-sidebar i { width: 25px; height: 7px; border-radius: 5px; background: #1e3b51; }
.mock-sidebar i.active { background: #2689f6; }
.mock-dashboard { padding: 24px; }
.mock-topline { display: flex; justify-content: space-between; margin-bottom: 22px; }
.mock-topline span:first-child { width: 120px; height: 13px; border-radius: 7px; background: #28475e; }
.mock-topline span:last-child { width: 70px; height: 26px; border-radius: 8px; background: #173c5a; }
.metric-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.metric-row article { padding: 15px; border: 1px solid rgba(255,255,255,.06); border-radius: 12px; background: #102b40; }
.metric-row small { display: block; color: #7390a5; font-size: 10px; }
.metric-row strong { display: block; margin-top: 8px; font-size: 18px; }
.metric-row em { display: block; margin-top: 5px; color: #69dfb2; font-style: normal; font-size: 9px; }
.chart-panel { margin-top: 14px; padding: 16px; border: 1px solid rgba(255,255,255,.06); border-radius: 13px; background: #102b40; }
.chart-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.chart-head span { font-size: 11px; font-weight: 700; }
.chart-head small { color: #6f8da3; font-size: 9px; }
.chart-panel svg { display: block; height: 140px; width: 100%; }
.chart-grid-line { fill: none; stroke: rgba(255,255,255,.06); stroke-width: 1; }
.chart-area { fill: url(#chartFill); }
.chart-line { fill: none; stroke: #49a0ff; stroke-width: 3; stroke-linecap: round; }
.code-card {
    position: absolute;
    width: 310px;
    left: -15px;
    bottom: 2px;
    z-index: 3;
    padding: 18px 20px;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 16px;
    background: rgba(6, 20, 31, .92);
    box-shadow: 0 24px 55px rgba(0,0,0,.32);
    backdrop-filter: blur(14px);
}
.code-title { margin-bottom: 12px; color: #8aa3b7; font-size: 10px; }
.code-title span { display: inline-block; padding: 4px 7px; margin-right: 7px; border-radius: 5px; color: #a8d6ff; background: rgba(20,120,242,.15); }
.code-card pre { margin: 0; overflow: hidden; color: #c3d3df; font: 11px/1.7 "SFMono-Regular", Consolas, monospace; }
.code-card b { color: #8ac8ff; } .code-card span { color: #77e2bb; } .code-card i { color: #d8a5ff; font-style: normal; } .code-card u { color: #ffd18d; text-decoration: none; }

.trust-strip { background: #06141f; color: #94abba; border-top: 1px solid rgba(255,255,255,.05); }
.trust-grid { min-height: 82px; display: grid; grid-template-columns: repeat(4,1fr); align-items: center; text-align: center; }
.trust-grid span { padding: 8px 16px; font-size: 12px; letter-spacing: .45px; text-transform: uppercase; border-right: 1px solid rgba(255,255,255,.08); }
.trust-grid span:last-child { border-right: 0; }
.section { padding: 115px 0; }
.section-heading { max-width: 720px; margin-bottom: 55px; }
.section-heading h2, .about-copy h2, .contact-copy h2, .approach-panel h2 { margin: 0; font-size: clamp(36px, 4vw, 54px); line-height: 1.06; letter-spacing: -2px; }
.section-heading p, .about-copy p, .contact-copy p, .approach-panel p { color: var(--muted); font-size: 17px; line-height: 1.78; }
.service-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.service-card { position: relative; min-height: 310px; padding: 28px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: .25s ease; }
.service-card:hover { transform: translateY(-6px); border-color: #c7d9ea; box-shadow: 0 20px 55px rgba(26,57,85,.1); }
.service-number { position: absolute; top: 22px; right: 24px; color: #c8d4de; font-weight: 800; font-size: 12px; letter-spacing: 1px; }
.service-icon { width: 50px; height: 50px; margin-bottom: 62px; border-radius: 14px; background: linear-gradient(145deg,#e8f3ff,#f6fbff); border: 1px solid #d8eafa; position: relative; }
.service-icon::before, .service-icon::after { content:""; position:absolute; }
.icon-layers::before { width: 21px; height: 15px; border: 2px solid var(--blue); border-radius: 4px; left: 13px; top: 13px; box-shadow: 4px 5px 0 -1px #d7eaff; }
.icon-chart::before { left: 13px; bottom: 12px; width: 4px; height: 13px; background: var(--blue); box-shadow: 8px -7px 0 var(--blue), 16px -2px 0 var(--blue); border-radius: 2px; }
.icon-link::before { width: 15px; height: 9px; border: 2px solid var(--blue); border-radius: 10px; transform: rotate(-35deg); left: 9px; top: 16px; }
.icon-link::after { width: 15px; height: 9px; border: 2px solid var(--blue); border-radius: 10px; transform: rotate(-35deg); left: 22px; top: 23px; }
.icon-briefcase::before { width: 23px; height: 16px; border: 2px solid var(--blue); border-radius: 4px; left: 11px; top: 17px; }
.icon-briefcase::after { width: 10px; height: 5px; border: 2px solid var(--blue); border-bottom: 0; border-radius: 3px 3px 0 0; left: 18px; top: 12px; }
.service-card h3 { margin: 0 0 13px; font-size: 21px; letter-spacing: -.5px; }
.service-card p { margin: 0; color: var(--muted); line-height: 1.7; font-size: 14px; }

.about { background: var(--soft); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; }
.about-visual { position: relative; min-height: 490px; }
.experience-card { position: absolute; z-index: 2; top: 0; left: 0; width: 72%; padding: 36px; border-radius: 24px; background: var(--navy); color: var(--white); box-shadow: var(--shadow); }
.experience-card span { display: block; color: #87a8c1; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; }
.experience-card strong { display: block; margin: 20px 0 6px; font-size: 58px; letter-spacing: -3px; color: #85c1ff; }
.experience-card small { display: block; max-width: 280px; color: #c1d0db; font-size: 14px; line-height: 1.6; }
.system-card { position: absolute; right: 0; bottom: 0; width: 78%; min-height: 270px; padding: 28px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.system-card-head { display:flex; justify-content:space-between; align-items:center; margin-bottom: 32px; font-size: 13px; font-weight: 700; }
.system-card-head em { font-style: normal; color: #16946e; font-size: 10px; background: #e6f8f2; padding: 5px 9px; border-radius: 20px; }
.system-bars { display: grid; gap: 12px; }
.system-bars i { height: 9px; width: var(--w); border-radius: 7px; background: linear-gradient(90deg,#2485f5,#7ac0ff); }
.system-grid-small { display:grid; grid-template-columns: repeat(3,1fr); gap:10px; margin-top: 28px; }
.system-grid-small span { height: 45px; border-radius: 9px; background: #f1f6fa; border: 1px solid #e6edf3; }
.about-copy p { margin: 21px 0 0; }
.about-copy strong { color: var(--ink); }
.about-checks { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px 22px; margin-top: 30px; }
.about-checks span { position: relative; padding-left: 25px; font-size: 13px; font-weight: 700; color: #33495a; }
.about-checks span::before { content: "✓"; position: absolute; left: 0; top: -1px; color: var(--blue); font-weight: 900; }

.approach { padding-top: 0; background: var(--soft); }
.approach-panel { display: grid; grid-template-columns: 1fr .82fr; gap: 70px; align-items: end; padding: 62px; border-radius: 26px; color: var(--white); background: linear-gradient(135deg,#071827,#0d3150); }
.approach-panel p { color: #bed0dc; margin: 0; }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.contact-copy p { margin: 22px 0 0; max-width: 540px; }
.contact-list { display: grid; gap: 14px; margin-top: 35px; }
.contact-list > * { display: flex; align-items: center; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.contact-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; color: var(--blue); background: #edf6ff; font-size: 11px; font-weight: 850; }
.contact-list span span { display: grid; }
.contact-list small { display: block; color: #8a9aa7; font-size: 10px; text-transform: uppercase; letter-spacing: .8px; }
.contact-list strong { display: block; margin-top: 4px; font-size: 14px; }
.contact-form { padding: 34px; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 18px 55px rgba(19,48,73,.09); }
.form-row { display: grid; grid-template-columns: repeat(2,1fr); gap: 15px; }
.contact-form label { display: grid; gap: 8px; margin-bottom: 16px; }
.contact-form label > span { font-size: 11px; font-weight: 800; color: #425667; }
.contact-form input, .contact-form textarea { width: 100%; padding: 14px 15px; border: 1px solid #d8e2ea; border-radius: 10px; outline: none; color: var(--ink); background: #fbfdff; transition: .2s ease; }
.contact-form textarea { resize: vertical; min-height: 145px; }
.contact-form input:focus, .contact-form textarea:focus { border-color: #7fb8f3; box-shadow: 0 0 0 3px rgba(20,120,242,.08); background: var(--white); }
.form-note { display: block; margin-top: 12px; color: #8b99a4; line-height: 1.5; font-size: 10px; }

.site-footer { padding: 54px 0; color: #a5bac9; background: #06141f; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .6fr 1fr; gap: 40px; align-items: end; }
.footer-brand { margin-bottom: 16px; }
.site-footer p { max-width: 320px; margin: 0; font-size: 12px; line-height: 1.7; }
.footer-links, .footer-meta { display: grid; gap: 10px; font-size: 12px; }
.footer-links a:hover, .footer-meta a:hover { color: var(--white); }
.footer-meta { text-align: right; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1020px) {
    .hero { min-height: auto; padding-bottom: 110px; }
    .hero-grid { grid-template-columns: 1fr; gap: 55px; }
    .hero-copy { max-width: 760px; }
    .hero-visual { width: min(760px,100%); min-height: 540px; }
    .visual-shell { width: 92%; }
    .service-grid { grid-template-columns: repeat(2,1fr); }
    .about-grid { gap: 50px; }
    .contact-grid { gap: 45px; }
}

@media (max-width: 780px) {
    .container { width: min(100% - 28px, 1180px); }
    .nav-wrap { min-height: 70px; }
    .menu-toggle { display: block; }
    .main-nav {
        position: absolute;
        top: 70px;
        left: 14px;
        right: 14px;
        display: none;
        padding: 18px;
        border: 1px solid rgba(255,255,255,.1);
        border-radius: 15px;
        background: #0a2133;
        box-shadow: 0 18px 40px rgba(0,0,0,.25);
    }
    .main-nav.open { display: grid; gap: 8px; }
    .main-nav > a { padding: 11px 10px; }
    .main-nav .nav-cta { margin-top: 6px; text-align:center; }
    .hero { padding: 125px 0 80px; }
    .hero h1 { letter-spacing: -2.2px; }
    .hero-lead { font-size: 16px; }
    .hero-proof { grid-template-columns: 1fr; }
    .hero-visual { min-height: 440px; }
    .visual-shell { width: 100%; transform: none; }
    .visual-content { grid-template-columns: 48px 1fr; }
    .mock-sidebar { gap: 14px; }
    .mock-sidebar i { width: 18px; }
    .mock-dashboard { padding: 16px; }
    .metric-row article { padding: 10px; }
    .metric-row strong { font-size: 13px; }
    .chart-panel svg { height: 110px; }
    .code-card { width: 250px; left: 8px; bottom: -12px; }
    .trust-grid { grid-template-columns: repeat(2,1fr); padding: 12px 0; }
    .trust-grid span { border-right: 0; min-height: 45px; display:grid; place-items:center; }
    .section { padding: 85px 0; }
    .service-grid { grid-template-columns: 1fr; }
    .service-card { min-height: 250px; }
    .service-icon { margin-bottom: 38px; }
    .about-grid, .contact-grid, .approach-panel { grid-template-columns: 1fr; }
    .about-grid { gap: 55px; }
    .about-visual { min-height: 430px; }
    .approach-panel { padding: 38px 28px; gap: 26px; }
    .contact-grid { gap: 50px; }
    .footer-grid { grid-template-columns: 1fr; align-items: start; }
    .footer-meta { text-align: left; }
}

@media (max-width: 520px) {
    .brand-copy { display:none; }
    .hero h1 { font-size: 45px; }
    .hero-actions { display: grid; }
    .btn { width: 100%; }
    .hero-visual { min-height: 370px; }
    .window-bar span { display: none; }
    .visual-shell { border-radius: 16px; }
    .mock-sidebar { display:none; }
    .visual-content { grid-template-columns: 1fr; min-height: 300px; }
    .metric-row { gap: 7px; }
    .metric-row article { padding: 9px 8px; }
    .metric-row small, .metric-row em { font-size: 8px; }
    .code-card { display:none; }
    .section-heading h2, .about-copy h2, .contact-copy h2, .approach-panel h2 { letter-spacing: -1.3px; }
    .experience-card { width: 86%; padding: 28px; }
    .experience-card strong { font-size: 48px; }
    .system-card { width: 88%; }
    .about-checks, .form-row { grid-template-columns: 1fr; }
    .contact-form { padding: 24px 20px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}
