:root {
  --navy: #07142c;
  --navy-2: #0a1d3f;
  --blue: #1155ff;
  --cyan: #05c9f5;
  --violet: #8b2cff;
  --ink: #111a2d;
  --muted: #60708c;
  --line: #dfe6f2;
  --soft: #f4f7fc;
  --white: #ffffff;
  --shadow: 0 26px 70px rgba(12, 33, 76, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header { position: relative; z-index: 20; height: 84px; max-width: 1200px; margin: 0 auto; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: .94rem; font-weight: 850; letter-spacing: .01em; color: var(--navy); }
.brand-mark { width: 52px; height: 40px; display: grid; place-items: center; flex: 0 0 auto; }
.brand-mark img { width: 52px; height: auto; max-width: 100%; }
nav { display: flex; align-items: center; gap: 30px; font-size: .9rem; font-weight: 700; color: #33415c; }
nav a { transition: color .2s ease, transform .2s ease; }
nav a:hover { color: var(--blue); }
.nav-cta { padding: 11px 17px; color: #fff; background: var(--navy); border-radius: 10px; }
.nav-cta:hover { color: #fff; transform: translateY(-2px); }
.menu-button { display: none; border: 0; background: transparent; padding: 8px; }
.menu-button > span:not(.sr-only) { width: 23px; height: 2px; display: block; margin: 5px 0; background: var(--navy); }

.hero { position: relative; min-height: 720px; padding: 92px max(28px, calc((100vw - 1144px) / 2)) 112px; display: grid; grid-template-columns: 1.02fr .98fr; gap: 70px; align-items: center; isolation: isolate; background: linear-gradient(180deg, #fff 0%, #f7f9fe 100%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; opacity: .5; background-image: linear-gradient(#dfe7f5 1px, transparent 1px), linear-gradient(90deg, #dfe7f5 1px, transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(to right, #000, transparent 60%); }
.hero::after { content: ""; position: absolute; width: 450px; height: 450px; left: -240px; top: 40px; border-radius: 50%; background: rgba(3, 201, 245, .18); filter: blur(70px); z-index: -1; }
.eyebrow, .section-kicker { display: inline-flex; align-items: center; gap: 9px; color: var(--blue); font-size: .76rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 6px rgba(5, 201, 245, .12); }
.hero h1 { max-width: 680px; margin: 22px 0 24px; color: var(--navy); font-size: clamp(3rem, 5vw, 5.15rem); line-height: 1.08; letter-spacing: -.065em; }
.hero h1 em { display: block; padding-bottom: .15em; margin-bottom: -.15em; font-style: normal; color: transparent; background: linear-gradient(100deg, #0759ff 0%, #6734ef 65%, #a31df1 100%); -webkit-background-clip: text; background-clip: text; }
.hero-copy > p { max-width: 610px; margin: 0; color: var(--muted); font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 38px; }
.button { min-height: 50px; padding: 13px 20px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; border-radius: 11px; font-size: .92rem; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-3px); }
.button-primary { color: #fff; background: linear-gradient(110deg, #0c59fa, #7134ee); box-shadow: 0 14px 30px rgba(52, 75, 226, .26); }
.button-secondary { border: 1px solid #d7dfed; background: rgba(255,255,255,.8); }
.hero-proof { display: flex; gap: 28px; }
.hero-proof div { min-width: 96px; padding-right: 27px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.hero-proof div:last-child { border: 0; }
.hero-proof strong { font-size: 1.05rem; color: var(--navy); }
.hero-proof span { color: var(--muted); font-size: .75rem; }

.hero-visual { position: relative; min-height: 500px; }
.orb { position: absolute; border-radius: 50%; filter: blur(2px); }
.orb-one { width: 360px; height: 360px; right: 10px; top: 40px; background: linear-gradient(145deg, #13d1f8, #2456f7 48%, #922fff); opacity: .92; }
.orb-two { width: 175px; height: 175px; left: 20px; bottom: 10px; background: linear-gradient(145deg, #b329fa, #154ff3); opacity: .18; filter: blur(20px); }
.screen { position: absolute; overflow: hidden; border: 1px solid rgba(255,255,255,.8); background: #fff; border-radius: 18px; box-shadow: 0 35px 80px rgba(5, 22, 64, .22); }
.screen-main { width: 88%; height: 355px; left: 0; top: 64px; transform: rotate(-2.5deg); }
.screen-bar, .browser-top { height: 38px; padding: 0 13px; display: flex; align-items: center; gap: 6px; color: #8b96aa; background: #f7f9fc; border-bottom: 1px solid #e5eaf2; font-size: .65rem; }
.screen-bar i, .browser-top i { width: 7px; height: 7px; border-radius: 50%; background: #d8dfeb; }
.screen-bar span, .browser-top span { margin-left: 8px; }
.screen-content { position: relative; height: calc(100% - 38px); padding: 57px 46px; background: linear-gradient(125deg, #07152f 0%, #0a2851 62%, #1643a1 100%); }
.screen-content::after { content: ""; position: absolute; width: 210px; height: 210px; right: -28px; bottom: -50px; border-radius: 50%; background: linear-gradient(135deg, #09cef4, #8e28f9); }
.screen-label { font-size: .58rem; color: #2ed7ff; font-weight: 800; letter-spacing: .14em; }
.screen-title { width: 55%; height: 20px; margin-top: 18px; border-radius: 8px; background: #fff; }
.screen-title.short { width: 39%; margin-top: 10px; }
.screen-text { width: 45%; height: 7px; margin-top: 21px; border-radius: 8px; background: rgba(255,255,255,.35); box-shadow: 0 12px rgba(255,255,255,.22); }
.screen-button { width: 86px; height: 28px; margin-top: 36px; border-radius: 7px; background: linear-gradient(90deg, #0cc9f5, #6d36f1); }
.phone { position: absolute; z-index: 3; right: 6px; bottom: 8px; width: 150px; height: 300px; padding: 30px 15px; border: 7px solid #09142c; border-radius: 30px; background: linear-gradient(160deg, #f7faff, #edf2fc); box-shadow: 0 28px 60px rgba(6, 17, 50, .26); transform: rotate(5deg); }
.phone-notch { position: absolute; width: 54px; height: 13px; top: 7px; left: 41px; background: #09142c; border-radius: 20px; }
.phone-logo { width: 46px; height: 46px; margin: 10px auto 28px; display: grid; place-items: center; color: #fff; font-size: .9rem; font-weight: 900; border-radius: 14px; background: linear-gradient(135deg, #05bff4, #164cef 52%, #9b28f9); }
.phone-lines i { display: block; height: 7px; margin: 10px 0; border-radius: 9px; background: #ccd6e8; }
.phone-lines i:nth-child(2) { width: 72%; }
.phone-lines i:nth-child(3) { width: 86%; }
.phone-action { margin-top: 33px; padding: 9px 5px; text-align: center; color: #fff; font-size: .65rem; font-weight: 800; border-radius: 8px; background: var(--navy); }
.floating-note { position: absolute; z-index: 4; left: -28px; bottom: 23px; padding: 13px 18px; display: flex; align-items: center; gap: 12px; border: 1px solid rgba(255,255,255,.8); border-radius: 13px; background: rgba(255,255,255,.92); box-shadow: 0 18px 45px rgba(10, 29, 69, .17); backdrop-filter: blur(10px); }
.floating-note > span { width: 28px; height: 28px; display: grid; place-items: center; color: #fff; border-radius: 50%; background: #17be8a; }
.floating-note strong, .floating-note small { display: block; }
.floating-note strong { font-size: .78rem; }
.floating-note small { color: var(--muted); font-size: .66rem; }

.section { padding: 110px max(28px, calc((100vw - 1144px) / 2)); }
.section-heading { margin-bottom: 44px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: end; }
.section-heading h2, .process h2, .contact h2 { margin: 10px 0 0; color: var(--navy); font-size: clamp(2.2rem, 4vw, 3.55rem); line-height: 1.05; letter-spacing: -.045em; }
.section-heading > p { max-width: 500px; margin: 0; color: var(--muted); }
.section-heading.compact { grid-template-columns: 1fr; }
.projects { background: var(--white); }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.project-card { padding: 12px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 10px 36px rgba(18, 43, 87, .06); transition: transform .25s ease, box-shadow .25s ease; }
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.project-wide { grid-column: 1 / -1; }
.browser-preview { position: relative; height: 360px; overflow: hidden; border: 1px solid #dce3ef; border-radius: 12px; background: #edf2fa; }
.project-wide .browser-preview { height: 465px; }
.browser-top { position: relative; z-index: 2; height: 34px; }
.browser-preview iframe { width: 256.42%; height: 900px; border: 0; transform: scale(.39); transform-origin: 0 0; pointer-events: none; background: #fff; }
.project-wide .browser-preview iframe { width: 196.08%; transform: scale(.51); }
.browser-preview > a { position: absolute; inset: 34px 0 0; z-index: 3; }
.project-info { padding: 20px 10px 9px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.project-info span { color: var(--blue); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.project-info h3 { margin: 3px 0 0; color: var(--navy); font-size: 1.45rem; line-height: 1.2; }
.project-info > a { white-space: nowrap; font-size: .84rem; font-weight: 800; }

.services { background: var(--soft); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.service-card { min-height: 275px; padding: 26px 24px; display: flex; flex-direction: column; border: 1px solid #dee6f2; border-radius: 16px; background: #fff; }
.service-number { color: #9aabc4; font-size: .72rem; font-weight: 850; letter-spacing: .08em; }
.service-card h3 { margin: auto 0 10px; color: var(--navy); font-size: 1.22rem; line-height: 1.2; }
.service-card p { margin: 0; color: var(--muted); font-size: .9rem; }

.service-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.service-detail { min-width: 0; padding: clamp(24px, 3vw, 38px); border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: 16px; background: #fff; display: flex; flex-direction: column; }
.service-detail:nth-child(2) { border-top-color: var(--violet); }
.service-detail h3 { margin: 12px 0; color: var(--navy); font-size: clamp(1.75rem, 3vw, 2.25rem); line-height: 1.15; letter-spacing: -.03em; }
.service-detail p, .service-detail li { color: var(--muted); font-size: 1rem; }
.service-detail p { margin: 0; }
.service-detail ul { padding-left: 22px; margin: 24px 0; }
.service-detail li + li { margin-top: 10px; }
.service-detail li::marker { color: var(--blue); }
.service-detail .service-step { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.service-detail .button { align-self: flex-start; margin-top: 22px; }

.process { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.process-intro { position: sticky; top: 120px; align-self: start; }
.process-intro > p { max-width: 390px; color: var(--muted); }
.process-list { margin: 0; padding: 0; list-style: none; }
.process-list li { padding: 34px 0; display: grid; grid-template-columns: 60px 1fr; gap: 20px; border-top: 1px solid var(--line); }
.process-list li:last-child { border-bottom: 1px solid var(--line); }
.process-list > li > span { width: 42px; height: 42px; display: grid; place-items: center; color: var(--blue); font-size: .75rem; font-weight: 850; border-radius: 50%; background: #eef3ff; }
.process-list h3 { margin: 0 0 6px; color: var(--navy); font-size: 1.25rem; }
.process-list p { margin: 0; color: var(--muted); }

.contact { padding-top: 40px; }
.contact-card { position: relative; overflow: hidden; padding: 72px; color: #fff; border-radius: 28px; background: var(--navy); isolation: isolate; }
.contact-card::before { content: "NS"; position: absolute; z-index: -1; right: -30px; top: -95px; color: rgba(255,255,255,.035); font-size: 24rem; font-weight: 950; line-height: 1; letter-spacing: -.1em; }
.contact-card::after { content: ""; position: absolute; z-index: -1; width: 400px; height: 400px; right: -100px; bottom: -270px; border-radius: 50%; background: linear-gradient(135deg, #07c9f4, #6132ed, #a226f6); filter: blur(18px); }
.section-kicker.light { color: #46ddff; }
.contact h2 { max-width: 820px; color: #fff; }
.contact p { max-width: 640px; color: #b7c5dd; }
.button-light { margin-top: 18px; color: var(--navy); background: #fff; }
.contact small { display: block; margin-top: 22px; color: #8fa3c5; }

footer { max-width: 1144px; min-height: 128px; margin: 0 auto; padding: 28px; display: flex; align-items: center; justify-content: space-between; gap: 28px; color: #74829a; font-size: .8rem; }
.footer-brand { color: var(--navy); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 70px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { min-height: 480px; max-width: 650px; width: 100%; margin: 0 auto; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .process { grid-template-columns: 1fr; gap: 50px; }
  .process-intro { position: static; }
}

@media (max-width: 720px) {
  .site-header { height: 72px; padding: 0 20px; }
  .menu-button { display: block; }
  nav { position: absolute; left: 16px; right: 16px; top: 68px; padding: 18px; display: none; flex-direction: column; align-items: stretch; gap: 4px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
  nav.open { display: flex; }
  nav a { padding: 10px 12px; }
  .nav-cta { text-align: center; margin-top: 4px; }
  .hero { padding: 64px 20px 85px; gap: 42px; }
  .hero h1 { font-size: clamp(2.8rem, 14vw, 4.4rem); }
  .hero-copy > p { font-size: 1rem; }
  .hero-proof { gap: 16px; overflow-x: auto; }
  .hero-proof div { min-width: 105px; padding-right: 15px; }
  .hero-visual { min-height: 355px; }
  .orb-one { width: 260px; height: 260px; }
  .screen-main { width: 95%; height: 245px; top: 30px; }
  .screen-content { padding: 40px 28px; }
  .phone { width: 108px; height: 220px; right: 0; border-width: 5px; border-radius: 22px; padding: 25px 11px; }
  .phone-notch { left: 29px; width: 42px; height: 10px; }
  .phone-logo { width: 35px; height: 35px; margin-bottom: 18px; }
  .phone-action { margin-top: 20px; }
  .floating-note { left: 0; bottom: 0; }
  .section { padding: 82px 20px; }
  .project-grid, .service-grid, .service-details { grid-template-columns: 1fr; }
  .project-wide { grid-column: auto; }
  .browser-preview, .project-wide .browser-preview { height: 280px; }
  .browser-preview iframe, .project-wide .browser-preview iframe { width: 333.34%; transform: scale(.30); }
  .project-info { align-items: start; }
  .service-card { min-height: 220px; }
  .contact { padding-top: 20px; }
  .contact-card { padding: 46px 26px; border-radius: 20px; }
  footer { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
