:root {
  --bg: #07111f;
  --bg-soft: #091827;
  --card: #0d1b2b;
  --card-2: #10243a;
  --text: #f7f9fc;
  --muted: #96a9bd;
  --accent: #17b8f5;
  --accent-2: #078bd0;
  --line: rgba(255,255,255,.085);
  --shadow: 0 24px 70px rgba(0,0,0,.30);
  --radius: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }

.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.app-shell { min-height: 100vh; background: var(--bg); }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(5,14,25,.88); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.header-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: max-content; }
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; background: linear-gradient(135deg, #34d0ff, #0876bd); color: #00131f; font-size: 15px; font-weight: 900; box-shadow: 0 10px 26px rgba(23,184,245,.22); }
.brand-name { font-size: 15px; font-weight: 800; letter-spacing: .14em; }
.brand-name strong { color: #68d3ff; }
.desktop-nav { display: flex; align-items: center; gap: 26px; color: #c3cfdb; font-size: 13px; }
.desktop-nav a { transition: .2s ease; }
.desktop-nav a:hover { color: var(--accent); }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { width: 42px; height: 42px; list-style: none; border: 1px solid var(--line); border-radius: 10px; display: grid; place-content: center; gap: 5px; cursor: pointer; }
.mobile-menu summary::-webkit-details-marker { display:none; }
.mobile-menu summary span { width: 18px; height: 2px; background: white; display: block; border-radius: 3px; }
.mobile-menu nav { position: absolute; right: 0; top: 50px; min-width: 220px; padding: 12px; background: #081625; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); display: grid; gap: 4px; }
.mobile-menu nav a { padding: 11px 12px; border-radius: 9px; color: #cbd7e2; }
.mobile-menu nav a:hover { background: rgba(255,255,255,.04); color: var(--accent); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 20px; border-radius: 10px; font-size: 14px; font-weight: 700; border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, #1fc4ff, #0aa4e9); color: #02111b; box-shadow: 0 12px 28px rgba(23,184,245,.16); }
.btn-primary:hover { box-shadow: 0 16px 34px rgba(23,184,245,.25); }
.btn-outline { border-color: rgba(65,201,255,.72); background: rgba(255,255,255,.025); color: white; }
.btn-outline:hover { background: rgba(23,184,245,.08); }
.btn-light { background: #eefaff; color: #062034; min-width: 220px; }

.hero { position: relative; min-height: 690px; display: flex; align-items: center; overflow: hidden; background: radial-gradient(circle at 82% 18%, rgba(22,184,245,.17), transparent 24%), radial-gradient(circle at 14% 100%, rgba(0,105,170,.12), transparent 30%), #07111f; }
.hero-grid-background { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px); background-size: 46px 46px; mask-image: linear-gradient(to right, transparent, black 60%, transparent); pointer-events: none; }
.hero-grid {
    position: relative;
    z-index: 1;
    padding: 72px 0;
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    gap: 48px;
    align-items: center;
}
.eyebrow { margin: 0 0 16px; color: #65cef9; font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before { content: ""; display: inline-block; width: 27px; height: 2px; background: var(--accent); margin: 0 12px 3px 0; }
.hero h1 { margin: 0; max-width: 720px; font-size: clamp(49px, 5.7vw, 76px); line-height: .98; letter-spacing: -.048em; font-weight: 800; }
.hero h1 span { color: var(--accent); }
.hero-description { max-width: 650px; margin: 24px 0 0; color: #c4d0dc; font-size: 18px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; margin-top: 22px; color: #a9b8c6; font-size: 12px; }
.hero-meta a { color: #5acbfa; }
.available { display: inline-flex; align-items: center; gap: 8px; }
.available i { width: 8px; height: 8px; border-radius: 50%; background: #42dc8e; box-shadow: 0 0 15px rgba(66,220,142,.7); }
.hero-card { position: relative; min-height: 478px; padding: 27px; border: 1px solid rgba(255,255,255,.10); border-radius: 24px; background: radial-gradient(circle at 76% 18%, rgba(23,184,245,.19), transparent 28%), linear-gradient(145deg,#0b1b2b 0%,#101926 55%,#07111f 100%); box-shadow: var(--shadow); overflow: hidden; }
.hero-card::before { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; border: 1px solid rgba(23,184,245,.14); right: -90px; top: -100px; }
.hero-card-copy { position: relative; z-index: 2; max-width: 460px; }
.mini-label { color: #5bcaf9; font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.hero-card h2 { margin: 9px 0 10px; font-size: 28px; line-height: 1.1; letter-spacing: -.03em; }
.hero-card p { margin: 0; max-width: 440px; color: #95a9bd; font-size: 14px; line-height: 1.55; }
.hero-card img { width: 100%; height: 274px; object-fit: cover; margin-top: 20px; border-radius: 15px; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.code-badge { position: absolute; right: 26px; bottom: 16px; color: rgba(23,184,245,.075); font-size: 78px; font-weight: 900; line-height: 1; }

.section { padding: 82px 0; border-top: 1px solid var(--line); background: var(--bg); }
.compact-section { padding-top: 72px; padding-bottom: 72px; }
.section-heading { max-width: 770px; margin-bottom: 34px; }
.two-column-heading { max-width: none; display: grid; grid-template-columns: .85fr 1.65fr; gap: 70px; align-items: end; }
.section h2, .cta-section h2 { margin: 0; color: white; font-size: clamp(34px, 4vw, 48px); line-height: 1.05; letter-spacing: -.038em; }
.section-lead { margin: 16px 0 0; color: #9cafc1; font-size: 15px; line-height: 1.65; }
.two-column-heading .section-lead { margin: 0 0 4px; }

.services-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.service-card { min-height: 270px; padding: 24px 22px; border-radius: 16px; border: 1px solid rgba(255,255,255,.085); background: linear-gradient(180deg,#102236,#0b1725); transition: .22s ease; }
.service-card:hover { transform: translateY(-5px); border-color: rgba(23,184,245,.34); background: linear-gradient(180deg,#112a43,#0c1928); box-shadow: 0 18px 42px rgba(0,0,0,.20); }
.icon-shell { width: 47px; height: 47px; display: grid; place-items: center; border-radius: 12px; color: var(--accent); background: rgba(23,184,245,.08); border: 1px solid rgba(23,184,245,.30); }
.icon-shell svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin: 27px 0 10px; font-size: 18px; line-height: 1.2; }
.service-card p { margin: 0; color: #96a8ba; font-size: 13.5px; line-height: 1.58; }

.about-section { background: linear-gradient(90deg,#07111f 0%,#091827 55%,#07111f 100%); }
.about-grid { display: grid; grid-template-columns: .82fr 1.18fr .68fr; gap: 38px; align-items: center; }
.portrait-card { position: relative; padding: 10px; border-radius: 20px; border: 1px solid var(--line); background: #0b1724; box-shadow: 0 20px 55px rgba(0,0,0,.24); }
.portrait-card > img { width: 100%; height: 440px; object-fit: cover; object-position: center 35%; border-radius: 14px; }
.portrait-badge { position: absolute; right: -14px; bottom: 22px; min-width: 150px; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(23,184,245,.28); background: rgba(8,26,42,.92); box-shadow: 0 16px 36px rgba(0,0,0,.26); }
.portrait-badge strong { display: block; color: #28c6ff; font-size: 19px; }
.portrait-badge span { color: #c3d1dc; font-size: 11px; }
.about-copy > p:not(.eyebrow) { margin: 0 0 13px; color: #adbdca; font-size: 15px; line-height: 1.65; }
.about-copy strong { color: white; }
.inline-cta { margin-top: 8px; }
.facts { padding-left: 26px; border-left: 1px solid var(--line); }
.fact { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.fact:last-child { border-bottom: 0; }
.fact > span { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 10px; background: rgba(23,184,245,.08); border: 1px solid rgba(23,184,245,.22); color: var(--accent); font-size: 11px; font-weight: 800; }
.fact strong { display: block; margin-bottom: 4px; font-size: 14px; }
.fact p { margin: 0; color: #8fa3b6; font-size: 12px; line-height: 1.45; }

.tech-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.tech-grid article { padding: 20px; border-radius: 14px; border: 1px solid var(--line); background: #0b1724; }
.tech-grid h3 { margin: 0 0 13px; font-size: 14px; }
.tech-grid p { margin: 0; color: #b5c4d0; font-size: 12px; line-height: 1.7; }

.projects-section { background: #06101c; }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.project-card { overflow: hidden; border-radius: 17px; border: 1px solid var(--line); background: #0c1928; transition: .22s ease; }
.project-card:hover { transform: translateY(-5px); border-color: rgba(23,184,245,.32); box-shadow: 0 20px 50px rgba(0,0,0,.22); }
.project-image { height: 218px; overflow: hidden; background: #0a1f31; }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.project-card:hover .project-image img { transform: scale(1.03); }
.project-body { padding: 21px; }
.project-kicker { color: #55ccfa; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.project-card h3 { margin: 8px 0 9px; font-size: 19px; line-height: 1.2; }
.project-card p { margin: 0; color: #9bafc1; font-size: 13px; line-height: 1.55; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.tags span { padding: 6px 9px; border-radius: 7px; background: rgba(23,184,245,.08); border: 1px solid rgba(23,184,245,.12); color: #73d4fc; font-size: 11px; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.process-card { padding: 22px 20px 24px; border-top: 1px solid var(--line); }
.process-card > span { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: rgba(23,184,245,.09); border: 1px solid rgba(23,184,245,.24); color: #1dc2ff; font-size: 13px; font-weight: 800; }
.process-card h3 { margin: 18px 0 8px; font-size: 18px; }
.process-card p { margin: 0; color: #98acbd; font-size: 13px; line-height: 1.55; }

.cta-section { padding: 62px 0; background: linear-gradient(90deg,rgba(7,31,53,.98),rgba(5,100,173,.76)), radial-gradient(circle at 86% 35%,rgba(44,203,255,.24),transparent 25%); border-top: 1px solid rgba(255,255,255,.08); }
.cta-grid { display: grid; grid-template-columns: 1.6fr .6fr; gap: 50px; align-items: center; }
.eyebrow.light { color: #a7e5ff; }
.cta-section h2 { max-width: 820px; }
.cta-section p:not(.eyebrow) { max-width: 760px; color: #d2e3ef; font-size: 14px; line-height: 1.65; }
.cta-actions { display: grid; justify-items: stretch; gap: 10px; }
.cta-actions span { text-align: center; color: #d0e4f0; font-size: 11px; }

.site-footer { padding: 28px 0; background: #050d16; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; gap: 30px; align-items: center; }
.footer-grid p { margin: 0; color: #7f93a7; font-size: 12px; }

.not-found { min-height: 75vh; display: grid; place-items: center; align-content: center; gap: 12px; text-align: center; padding: 50px 20px; }
.not-found > span { color: var(--accent); font-size: 14px; font-weight: 800; letter-spacing: .16em; }
.not-found h1 { margin: 0 0 10px; }
.not-found p { color: var(--muted); }

.reveal { animation: reveal .75s both cubic-bezier(.2,.7,.2,1); }
.delay-1 { animation-delay: .08s; }
.delay-2 { animation-delay: .16s; }
.delay-3 { animation-delay: .24s; }
@keyframes reveal { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

@media (max-width: 1100px) {
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .header-cta { margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-copy { max-width: 820px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card:last-child { grid-column: 1 / -1; min-height: auto; }
  .about-grid { grid-template-columns: .78fr 1.22fr; }
  .facts { grid-column: 1 / -1; border-left: 0; padding-left: 0; display: grid; grid-template-columns: repeat(2,1fr); gap: 0 24px; }
  .tech-grid { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 780px) {
  .container { width: min(100% - 28px, var(--container)); }
  .header-cta { display: none; }
  .hero-grid { padding: 54px 0 58px; gap: 34px; }
  .hero h1 { font-size: 47px; }
  .hero-card { min-height: auto; }
  .hero-card img { height: 230px; }
  .section { padding: 62px 0; }
  .two-column-heading, .about-grid, .cta-grid { grid-template-columns: 1fr; gap: 24px; }
  .services-grid, .projects-grid, .process-grid, .tech-grid, .facts { grid-template-columns: 1fr; }
  .service-card:last-child { grid-column: auto; }
  .portrait-card { max-width: 460px; }
  .portrait-card > img { height: 500px; }
  .facts { margin-top: 6px; }
  .footer-grid { grid-template-columns: 1fr; gap: 15px; align-items: start; }
}

@media (max-width: 520px) {
  .brand-name { font-size: 13px; }
  .brand-mark { width: 37px; height: 37px; }
  .hero h1 { font-size: 41px; }
  .hero-description { font-size: 16px; }
  .hero-actions { display: grid; }
  .hero-actions .btn { width: 100%; }
  .hero-meta { display: grid; gap: 10px; }
  .hero-card { padding: 20px; border-radius: 19px; }
  .hero-card h2 { font-size: 24px; }
  .hero-card img { height: 205px; }
  .portrait-card > img { height: 430px; }
  .portrait-badge { right: 8px; }
  .section h2, .cta-section h2 { font-size: 34px; }
}
