:root {
  --bg: #07111b;
  --bg-2: #0d1b29;
  --ink: #0c1420;
  --muted: #657083;
  --line: #dbe3ec;
  --light: #f6f8fb;
  --white: #ffffff;
  --accent: #64c8ff;
  --accent-2: #9de0ff;
  --radius: 22px;
  --shadow: 0 22px 60px rgba(2, 10, 18, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--light); line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.section-dark { background: linear-gradient(135deg, #050b11 0%, #0a1723 55%, #172d42 100%); color: var(--white); }
.section-light { background: #fff; }
.section-pad { padding: 78px 0; }
.section-tight { padding: 0 0 64px; }

.site-header { position: absolute; top: 0; left: 0; width: 100%; z-index: 20; color: #fff; }
.nav-wrap { height: 78px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; }
.brand { font-size: 28px; font-weight: 800; letter-spacing: -.04em; }
.brand span, h1 span, h2 span, .mock-nav span span, .phone-top span, .phone h3 span { color: var(--accent); }
.nav-links { display: flex; justify-content: flex-end; gap: 28px; font-size: 14px; }
.nav-links a { opacity: .88; }
.nav-links a:hover { opacity: 1; color: var(--accent-2); }
.menu-toggle { display: none; background: transparent; border: 0; color: #fff; font-size: 28px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 23px; border-radius: 11px; background: linear-gradient(180deg, #78d4ff, #53bdf2); color: #04101a; font-weight: 750; border: 1px solid transparent; box-shadow: 0 10px 30px rgba(83,189,242,.18); transition: transform .18s ease, box-shadow .18s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(83,189,242,.28); }
.btn-small { min-height: 42px; padding: 0 20px; font-size: 14px; }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; box-shadow: none; }
.btn-outline-dark { background: transparent; border-color: #9aa8b8; color: var(--ink); box-shadow: none; }

.hero { min-height: 650px; padding: 130px 0 70px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 46% 54%; align-items: center; gap: 20px; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 750; opacity: .75; margin: 0 0 14px; }
.eyebrow.muted { color: #657083; opacity: 1; }
h1 { font-size: clamp(48px, 6vw, 76px); line-height: .98; margin: 0 0 24px; letter-spacing: -.055em; }
h2 { font-size: clamp(34px, 4.2vw, 48px); line-height: 1.03; letter-spacing: -.045em; margin: 0 0 18px; }
h3 { line-height: 1.15; }
.lead { max-width: 640px; font-size: 19px; color: #cbd5df; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.trust-row { margin-top: 44px; display: flex; gap: 34px; color: #d8e1ea; }
.trust-row div { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.trust-row strong { font-size: 22px; color: #fff; }

.device-stage { position: relative; min-height: 460px; }
.laptop { position: absolute; width: 86%; right: 1%; top: 0; filter: drop-shadow(0 32px 42px rgba(0,0,0,.4)); transform: perspective(1000px) rotateY(-3deg); }
.laptop-screen { aspect-ratio: 16/10; border: 9px solid #111820; border-radius: 17px 17px 9px 9px; padding: 20px; background: radial-gradient(circle at 70% 35%, #30495f 0 22%, transparent 48%), linear-gradient(160deg, #0d1720, #20394f 58%, #08111a); }
.mock-nav { display: flex; justify-content: space-between; font-size: 11px; color: #d9e5ef; }
.mock-nav > span:first-child { font-size: 16px; font-weight: 800; }
.mock-hero { margin: 55px 0 0 20px; }
.mock-hero p { font-size: clamp(32px, 4vw, 52px); line-height: .97; font-weight: 750; letter-spacing: -.045em; margin: 0 0 22px; }
.mock-hero b { color: var(--accent); }
.mock-hero span { display: inline-block; border-radius: 999px; background: var(--accent); color: #04101a; padding: 8px 16px; font-size: 11px; }
.laptop-base { height: 18px; margin: 0 -7%; background: linear-gradient(#aab2b8, #4d5357); border-radius: 0 0 50% 50%; box-shadow: inset 0 3px 4px rgba(255,255,255,.55); }
.phone { position: absolute; right: -1%; bottom: 2%; width: 24%; min-width: 150px; aspect-ratio: .48; padding: 7px; background: #090d11; border: 2px solid #3d4954; border-radius: 31px; box-shadow: 0 26px 40px rgba(0,0,0,.5); }
.phone-notch { position: absolute; width: 42%; height: 16px; background: #05070a; border-radius: 0 0 13px 13px; left: 29%; top: 7px; z-index: 2; }
.phone-screen { height: 100%; border-radius: 24px; padding: 28px 13px 16px; background: linear-gradient(170deg, #111c25, #07111a); }
.phone-top { display: flex; justify-content: space-between; font-size: 10px; font-weight: 800; }
.phone h3 { font-size: 20px; margin: 30px 0 8px; }
.phone p { font-size: 10px; color: #c2ced8; }
.phone-art { height: 28%; border-radius: 8px; margin: 18px 0; background: linear-gradient(145deg, #0e2235, #253e55); position: relative; overflow: hidden; }
.phone-art::after { content: ""; position: absolute; inset: 38% -10% -20%; background: linear-gradient(145deg, #0b1622 0 50%, #172a3b 50%); transform: rotate(-8deg); }
.phone button { width: 100%; border: 0; border-radius: 999px; background: var(--accent); padding: 9px 6px; font-size: 10px; font-weight: 700; }

.two-col { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: end; }
.section-intro { margin-bottom: 42px; }
.section-intro p { color: var(--muted); font-size: 18px; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.service-card { padding: 14px 0 8px; }
.icon-box { width: 70px; height: 70px; border-radius: 18px; display: grid; place-items: center; background: #f0f4f9; font-size: 28px; margin-bottom: 20px; }
.service-card h3 { font-size: 19px; margin: 0 0 9px; }
.service-card p { color: var(--muted); margin: 0; }

.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.feature-panel { min-height: 390px; border-radius: var(--radius); padding: 38px; overflow: hidden; }
.feature-dark { color: #fff; background: radial-gradient(circle at 78% 22%, #6e5a59 0 5%, transparent 25%), linear-gradient(145deg, #101821, #0b1117 55%, #243a4d); position: relative; }
.feature-dark::after { content: ""; position: absolute; inset: 42% -10% -22% 30%; background: linear-gradient(150deg, transparent 0 20%, rgba(40,62,80,.9) 20% 48%, rgba(9,16,23,.9) 48%); transform: rotate(-5deg); opacity: .8; }
.feature-dark > * { position: relative; z-index: 2; }
.feature-dark p:not(.eyebrow) { max-width: 500px; color: #d2dae3; }
.feature-work { background: linear-gradient(145deg, #f6f8fb, #eaf0f6); display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; }
.feature-work p { color: var(--muted); }
.app-card-wrap { display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.app-card { display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 14px; padding: 16px; background: #111820; color: #fff; border-radius: 18px; box-shadow: var(--shadow); transition: transform .18s ease; }
.app-card:hover { transform: translateY(-3px); }
.app-icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, #2b74ff, #65d0ff); font-weight: 850; }
.app-card strong, .app-card span { display: block; }
.app-card span { font-size: 12px; color: #aeb8c2; }
.app-card i { font-size: 30px; font-style: normal; color: #8ea0b1; }

.about { border-top: 1px solid #edf1f5; }
.about-grid { align-items: start; }
.about p { color: var(--muted); font-size: 17px; }

.cta { padding: 58px 0; }
.cta-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; }
.cta h2 { margin-bottom: 10px; }
.cta p:not(.eyebrow) { color: #c8d2db; max-width: 760px; }

footer { background: #050a0f; color: #b8c2cc; padding: 25px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 13px; }
.footer-inner .brand { color: #fff; font-size: 22px; }

@media (max-width: 900px) {
  .nav-wrap { grid-template-columns: auto auto; }
  .menu-toggle { display: block; justify-self: end; }
  .nav-cta { display: none; }
  .nav-links { position: absolute; left: 20px; right: 20px; top: 70px; display: none; flex-direction: column; background: rgba(5,12,19,.97); border: 1px solid rgba(255,255,255,.09); border-radius: 16px; padding: 18px; gap: 8px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 8px; }
  .hero-grid { grid-template-columns: 1fr; }
  .device-stage { min-height: 420px; margin-top: 28px; }
  .laptop { width: 88%; right: 8%; }
  .phone { right: 1%; }
  .two-col, .feature-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-work { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; }
}

@media (max-width: 580px) {
  .container { width: min(100% - 28px, 1180px); }
  .hero { padding-top: 110px; }
  h1 { font-size: 48px; }
  .lead { font-size: 17px; }
  .trust-row { gap: 14px; flex-wrap: wrap; }
  .trust-row div { width: calc(50% - 7px); }
  .device-stage { min-height: 310px; }
  .laptop { width: 96%; right: 6%; }
  .phone { width: 26%; min-width: 105px; border-radius: 22px; }
  .phone-screen { border-radius: 17px; padding: 20px 9px 10px; }
  .phone h3 { font-size: 13px; margin-top: 20px; }
  .phone p, .phone-top { font-size: 7px; }
  .phone button { font-size: 7px; padding: 6px; }
  .mock-hero { margin: 35px 0 0 10px; }
  .mock-hero p { font-size: 26px; }
  .service-grid { grid-template-columns: 1fr; }
  .feature-panel { padding: 28px 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
