:root {
  --blue: #2563eb;
  --cyan: #06b6d4;
  --violet: #8b5cf6;
  --dark: #0b1220;
  --muted: #64748b;
  --white: #ffffff;
  --line: rgba(255, 255, 255, 0.12);
  --glass: rgba(15, 23, 42, 0.64);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, sans-serif;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 8%, rgba(37, 99, 235, 0.26), transparent 28rem),
    radial-gradient(circle at 82% 22%, rgba(6, 182, 212, 0.18), transparent 24rem),
    linear-gradient(180deg, #06101f 0%, #0b1220 48%, #050914 100%);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.cursor-glow {
  position: fixed;
  inset: auto auto 0 0;
  width: 21rem;
  height: 21rem;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.24), transparent 68%);
  transform: translate3d(var(--mx, 50vw), var(--my, 50vh), 0);
  z-index: 0;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(7, 13, 26, 0.58);
  backdrop-filter: blur(22px);
  transition: box-shadow 0.25s, background 0.25s;
}
.site-header.scrolled { box-shadow: var(--shadow); background: rgba(7, 13, 26, 0.82); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 0; }
.brand span span { color: #60a5fa; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--cyan) 56%, var(--violet));
  box-shadow: 0 12px 36px rgba(37, 99, 235, 0.35);
}
.nav { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 600; }
.nav a { color: rgba(255, 255, 255, 0.78); }
.nav a:hover { color: white; }
.nav-cta, .button {
  border: 0;
  border-radius: 14px;
  padding: 13px 18px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
}
.nav-cta, .button.primary { background: linear-gradient(135deg, var(--blue), #2aa7f2); color: white !important; box-shadow: 0 16px 42px rgba(37, 99, 235, 0.34); }
.button.ghost { border: 1px solid var(--line); background: rgba(255, 255, 255, 0.06); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: transparent; }
.menu-toggle span { display: block; height: 2px; margin: 8px; background: white; }

.section-shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; position: relative; z-index: 1; }
.hero { min-height: calc(100vh - 90px); display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 48px; align-items: center; padding: 74px 0 52px; }
.eyebrow { color: var(--cyan); text-transform: uppercase; letter-spacing: 0.16em; font-size: 12px; font-weight: 800; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(44px, 7vw, 84px); line-height: 0.98; letter-spacing: 0; margin-bottom: 24px; }
h2 { font-size: clamp(30px, 4vw, 54px); line-height: 1.05; letter-spacing: 0; margin-bottom: 18px; }
.hero-lead, .section-heading p, .about-card p, .cta p { color: rgba(255, 255, 255, 0.72); line-height: 1.8; max-width: 620px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-stage { min-height: 520px; position: relative; perspective: 1000px; }
.browser-card {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  animation: float 7s ease-in-out infinite;
}
.main-card { width: 68%; height: 350px; left: 4%; top: 96px; transform: rotateY(-10deg) rotateX(4deg); }
.tilt-one { width: 46%; height: 260px; right: 4%; top: 38px; transform: rotateZ(8deg); animation-delay: -2s; }
.tilt-two { width: 48%; height: 250px; right: 1%; bottom: 42px; transform: rotateZ(6deg); animation-delay: -4s; }
.browser-bar { height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 14px; background: rgba(255, 255, 255, 0.08); }
.browser-bar span { width: 8px; height: 8px; border-radius: 50%; background: #ef4444; }
.browser-bar span:nth-child(2) { background: #f59e0b; }
.browser-bar span:nth-child(3) { background: #22c55e; }
.mock-site { height: calc(100% - 34px); padding: 32px; background-size: cover; }
.mock-site h3 { font-size: 28px; max-width: 360px; }
.mock-site.light { color: #0b1220; background: linear-gradient(135deg, #f8fafc, #dbeafe 48%, #fff7ed); }
.mock-site.dark { background: linear-gradient(135deg, #030712, #111827 50%, #1e3a8a); }
.mock-site.neon { background: radial-gradient(circle at 78% 42%, rgba(34, 197, 94, 0.55), transparent 7rem), linear-gradient(135deg, #030712, #071923); }
.mock-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mock-grid:before, .mock-grid:after { content: ""; grid-column: span 2; height: 74px; border-radius: 12px; background: rgba(15, 23, 42, 0.1); }

.stats, .cta, .about-card, .process, .testimonials { border: 1px solid var(--line); border-radius: 28px; background: var(--glass); backdrop-filter: blur(24px); box-shadow: var(--shadow); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-bottom: 100px; overflow: hidden; }
.stats article { padding: 30px; background: rgba(255, 255, 255, 0.035); }
.stats strong { display: block; font-size: 42px; }
.stats span, .project-card p, .service-card p, .testimonial-card span { color: rgba(255, 255, 255, 0.62); }
.section-heading { margin-bottom: 30px; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.filters button { border: 1px solid var(--line); color: white; background: rgba(255, 255, 255, 0.06); border-radius: 999px; padding: 10px 14px; cursor: pointer; }
.filters button.active { background: rgba(37, 99, 235, 0.9); }
.project-grid, .service-grid, .testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.project-card, .service-card, .testimonial-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.project-card:hover, .service-card:hover { transform: translateY(-8px) scale(1.01); box-shadow: var(--shadow); border-color: rgba(6, 182, 212, 0.45); }
.project-shot { height: 210px; background: var(--shot); background-size: cover; background-position: center; }
.project-body, .service-card, .testimonial-card { padding: 22px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }
.tags span, .tech-cloud span { font-size: 12px; font-weight: 700; color: #bfdbfe; background: rgba(37, 99, 235, 0.18); border: 1px solid rgba(96, 165, 250, 0.2); border-radius: 999px; padding: 8px 10px; }
.text-link { color: #60a5fa; font-weight: 800; background: transparent; border: 0; cursor: pointer; padding: 0; }
.split-section, .process, .two-column, .testimonials, .cta { margin-top: 110px; }
.service-grid { grid-template-columns: repeat(4, 1fr); }
.service-card i { font-style: normal; font-size: 28px; }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.timeline article { padding: 24px; border-radius: 18px; background: rgba(255,255,255,0.06); }
.timeline b { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, var(--blue), var(--violet)); margin-bottom: 14px; }
.two-column { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 18px; align-items: stretch; }
.tech-cloud { display: flex; flex-wrap: wrap; gap: 12px; align-content: center; padding: 28px; border: 1px solid var(--line); border-radius: 28px; background: rgba(255,255,255,0.05); }
.testimonials { padding: 34px; }
.testimonial-card strong { display: block; color: #facc15; margin-bottom: 14px; }
.cta { display: flex; justify-content: space-between; gap: 32px; align-items: center; padding: 44px; }
label { color: rgba(255,255,255,0.7); font-size: 13px; font-weight: 700; }
input, textarea { width: 100%; margin-top: 6px; border: 1px solid var(--line); border-radius: 14px; color: white; background: rgba(255,255,255,0.08); padding: 13px 14px; outline: none; }
textarea { min-height: 110px; resize: vertical; }
label:has([type="checkbox"]) { display: flex; gap: 10px; align-items: center; }
[type="checkbox"] { width: 18px; margin: 0; }
.footer { width: min(1180px, calc(100% - 32px)); margin: 90px auto 28px; display: flex; gap: 24px; align-items: center; justify-content: space-between; color: rgba(255,255,255,0.62); }
.footer div { display: flex; gap: 18px; }
.project-modal { position: fixed; inset: 0; z-index: 40; padding: 28px; background: rgba(3, 7, 18, 0.84); backdrop-filter: blur(18px); overflow: auto; }
.modal-card { width: min(980px, 100%); margin: 24px auto; border: 1px solid var(--line); border-radius: 28px; background: #091120; box-shadow: var(--shadow); overflow: hidden; }
.modal-hero { height: 360px; background: var(--shot); background-size: cover; background-position: center; }
.modal-content { padding: 34px; display: grid; gap: 24px; }
.modal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.modal-grid article { padding: 18px; border-radius: 18px; background: rgba(255,255,255,0.06); }
.close-modal { float: right; border: 1px solid var(--line); border-radius: 12px; color: white; background: rgba(255,255,255,0.08); padding: 10px 12px; cursor: pointer; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -18px; } }

@media (max-width: 920px) {
  .menu-toggle { display: block; }
  .nav { position: absolute; top: calc(100% + 10px); left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: rgba(7, 13, 26, 0.94); }
  .nav.open { display: flex; }
  .hero, .two-column { grid-template-columns: 1fr; }
  .hero-stage { min-height: 430px; }
  .stats, .project-grid, .service-grid, .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr; }
  .cta, .footer { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 620px) {
  .site-header, .section-shell, .footer { width: min(100% - 20px, 1180px); }
  .hero { padding-top: 44px; }
  h1 { font-size: 42px; }
  .hero-stage { min-height: 360px; }
  .main-card { width: 82%; height: 250px; left: 0; }
  .tilt-one, .tilt-two { width: 62%; height: 190px; right: 0; }
  .stats, .project-grid, .service-grid, .testimonial-grid, .modal-grid { grid-template-columns: 1fr; }
  .cta, .testimonials { padding: 22px; }
  .footer div { flex-wrap: wrap; }
}
