:root {
  --black: #020306;
  --surface: #080b12;
  --surface-2: #0d111b;
  --blue: #1476ff;
  --blue-light: #54c7ff;
  --blue-dark: #06368f;
  --silver: #dce3ec;
  --muted: #9da8b9;
  --white: #ffffff;
  --border: rgba(255,255,255,.12);
  --shadow: 0 24px 80px rgba(0, 91, 255, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  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: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }

.page-glow { position: fixed; border-radius: 50%; filter: blur(120px); opacity: .2; z-index: -1; }
.glow-one { width: 420px; height: 420px; background: var(--blue); left: -180px; top: 120px; }
.glow-two { width: 500px; height: 500px; background: #7ecbff; right: -260px; top: 500px; opacity: .1; }

.site-header {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 20;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .03em; }
.brand img { width: 54px; height: 54px; object-fit: cover; border-radius: 12px; }
.nav-menu { display: flex; align-items: center; gap: 30px; color: #c7cfdb; font-size: .92rem; font-weight: 600; }
.nav-menu a { transition: .25s ease; }
.nav-menu a:hover { color: var(--blue-light); }
.nav-cta { border: 1px solid rgba(82,198,255,.45); padding: 12px 18px; border-radius: 999px; background: rgba(20,118,255,.1); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; }
.menu-toggle span { width: 26px; height: 2px; background: white; display: block; margin: 5px; }

.section-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.hero { min-height: calc(100vh - 92px); display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 48px; padding: 70px 0 100px; }
.eyebrow { color: var(--blue-light); text-transform: uppercase; letter-spacing: .22em; font-size: .76rem; font-weight: 800; margin: 0 0 20px; }
.hero h1, .section-heading h2, .about-copy h2, .contact-copy h2 { margin: 0; letter-spacing: -.04em; }
.hero h1 { font-size: clamp(3.2rem, 7vw, 6.3rem); line-height: .96; max-width: 780px; }
.hero h1 span { background: linear-gradient(90deg, #1476ff, #5cd4ff 45%, #eef4fb 95%); -webkit-background-clip: text; color: transparent; }
.hero-text { max-width: 650px; font-size: 1.05rem; line-height: 1.8; color: var(--muted); margin: 28px 0; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 0 24px; border-radius: 10px; font-weight: 800; border: 1px solid transparent; cursor: pointer; transition: transform .25s, box-shadow .25s, border-color .25s; }
.button:hover { transform: translateY(-3px); }
.button-primary { background: linear-gradient(135deg, #0c55d9, #179dff); box-shadow: 0 16px 40px rgba(20,118,255,.3); color: white; }
.button-secondary { border-color: var(--border); background: rgba(255,255,255,.035); color: white; }
.hero-stats { display: flex; gap: 34px; margin-top: 44px; flex-wrap: wrap; }
.hero-stats div { display: grid; gap: 4px; }
.hero-stats strong { font-size: 1.1rem; }
.hero-stats span { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; }

.hero-visual { display: flex; justify-content: center; }
.logo-stage { width: min(520px, 100%); aspect-ratio: 1; display: grid; place-items: center; position: relative; border-radius: 50%; background: radial-gradient(circle, rgba(20,118,255,.2), transparent 62%); }
.logo-stage > img { width: 82%; border-radius: 28px; box-shadow: 0 34px 100px rgba(0,0,0,.75); position: relative; z-index: 3; }
.orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(92,212,255,.26); animation: spin 18s linear infinite; }
.orbit::after { content: ""; position: absolute; width: 10px; height: 10px; background: var(--blue-light); border-radius: 50%; box-shadow: 0 0 25px var(--blue-light); top: 12%; left: 11%; }
.orbit-one { inset: 1%; }
.orbit-two { inset: 10%; animation-direction: reverse; animation-duration: 13s; }
.floating-card { position: absolute; z-index: 5; padding: 12px 16px; border: 1px solid rgba(255,255,255,.18); background: rgba(7,10,17,.8); backdrop-filter: blur(12px); border-radius: 10px; font-weight: 700; font-size: .78rem; box-shadow: var(--shadow); }
.card-one { left: -4%; top: 20%; }
.card-two { right: -6%; top: 34%; }
.card-three { left: 13%; bottom: 5%; }
@keyframes spin { to { transform: rotate(360deg); } }

.brand-strip { overflow: hidden; white-space: nowrap; display: flex; justify-content: space-around; gap: 40px; border-block: 1px solid var(--border); padding: 20px 4%; color: #728094; letter-spacing: .28em; font-size: .72rem; font-weight: 800; background: rgba(255,255,255,.02); }
.section-block { padding: 120px 0; }
.section-heading { max-width: 760px; margin-bottom: 54px; }
.section-heading h2, .about-copy h2, .contact-copy h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1.06; }
.section-heading > p:last-child, .about-copy p, .contact-copy p { color: var(--muted); line-height: 1.8; }

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card { padding: 34px 28px; min-height: 310px; border: 1px solid var(--border); border-radius: 18px; background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018)); transition: .3s ease; }
.service-card:hover { transform: translateY(-8px); border-color: rgba(82,198,255,.55); box-shadow: var(--shadow); }
.service-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(135deg, var(--blue-dark), var(--blue)); font-weight: 900; margin-bottom: 54px; }
.service-card h3 { font-size: 1.25rem; margin: 0 0 14px; }
.service-card p { color: var(--muted); line-height: 1.7; font-size: .92rem; }

.portfolio-section { padding: 120px 0; background: linear-gradient(180deg, transparent, rgba(16,35,72,.25), transparent); }
.project-grid { display: grid; grid-template-columns: 1.2fr .8fr; grid-template-rows: repeat(2, 280px); gap: 20px; }
.project-card { padding: 36px; border-radius: 22px; overflow: hidden; border: 1px solid var(--border); position: relative; display: flex; flex-direction: column; justify-content: flex-end; }
.project-card::before { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; right: -80px; top: -100px; background: radial-gradient(circle, rgba(255,255,255,.22), transparent 70%); }
.project-blue { grid-row: span 2; background: linear-gradient(145deg, #073181, #0c7fe7 55%, #05090e); }
.project-silver { background: linear-gradient(145deg, #545e6f, #151a22 60%); }
.project-dark { background: linear-gradient(145deg, #11192b, #040508); }
.project-label { text-transform: uppercase; font-size: .7rem; letter-spacing: .18em; color: #bee7ff; margin-bottom: 10px; }
.project-card h3 { font-size: clamp(1.7rem, 3vw, 3rem); margin: 0 0 12px; }
.project-card p { max-width: 560px; color: rgba(255,255,255,.75); line-height: 1.65; }
.project-card span { font-size: .82rem; font-weight: 800; color: #dff4ff; }

.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.about-logo-wrap { border-radius: 26px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }
.about-copy p { margin: 24px 0; }
.text-link { color: var(--blue-light); font-weight: 800; }

.contact-section { padding: 120px 0; border-top: 1px solid var(--border); background: radial-gradient(circle at 15% 20%, rgba(20,118,255,.2), transparent 35%); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.contact-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; padding: 30px; border: 1px solid var(--border); border-radius: 20px; background: rgba(255,255,255,.035); }
.contact-form label { display: grid; gap: 9px; color: #d8e1ee; font-size: .82rem; font-weight: 700; }
.contact-form label:nth-child(4), .contact-form .button { grid-column: 1 / -1; }
input, select, textarea { width: 100%; color: white; background: #070a10; border: 1px solid rgba(255,255,255,.14); border-radius: 9px; padding: 14px 15px; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--blue-light); box-shadow: 0 0 0 3px rgba(82,198,255,.12); }
textarea { resize: vertical; }

.site-footer { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 34px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-size: .78rem; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 44px; height: 44px; object-fit: cover; border-radius: 10px; }
.footer-brand div { display: grid; gap: 4px; }
.footer-brand strong { color: white; }

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

@media (max-width: 980px) {
  .hero, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  .hero-visual { order: -1; }
  .logo-stage { max-width: 500px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .project-card, .project-blue { grid-row: auto; min-height: 310px; }
  .about-grid, .contact-grid { gap: 45px; }
}

@media (max-width: 760px) {
  .site-header { min-height: 78px; }
  .brand span { display: none; }
  .menu-toggle { display: block; }
  .nav-menu { position: absolute; top: 72px; left: 0; right: 0; padding: 24px; display: none; flex-direction: column; align-items: stretch; background: rgba(4,6,10,.97); border: 1px solid var(--border); border-radius: 14px; }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 10px; }
  .hero { min-height: auto; gap: 28px; padding-bottom: 80px; }
  .hero h1 { font-size: clamp(2.8rem, 15vw, 4.6rem); }
  .floating-card { display: none; }
  .hero-stats { gap: 22px; }
  .service-grid { grid-template-columns: 1fr; }
  .section-block, .portfolio-section, .contact-section { padding: 85px 0; }
  .contact-form { grid-template-columns: 1fr; padding: 22px; }
  .contact-form label, .contact-form label:nth-child(4), .contact-form .button { grid-column: auto; }
  .site-footer { flex-direction: column; align-items: flex-start; }
  .brand-strip { justify-content: flex-start; }
}
