:root {
  --bg: #071126;
  --bg-soft: #0a1733;
  --bg-alt: #09152e;
  --panel: rgba(12, 22, 45, 0.78);
  --panel-strong: rgba(13, 19, 40, 0.95);
  --border: rgba(255, 255, 255, 0.1);
  --text: #f5f7ff;
  --muted: #b9c2d9;
  --muted-strong: #d9def0;
  --magenta: #f124c8;
  --purple: #8b2cff;
  --purple-deep: #5f16cf;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  --radius: 24px;
  --radius-sm: 18px;
  --container: 1180px;
}

* { 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(--text);
  background:
    radial-gradient(circle at top right, rgba(139, 44, 255, 0.22), transparent 22%),
    radial-gradient(circle at 20% 10%, rgba(241, 36, 200, 0.16), transparent 18%),
    linear-gradient(180deg, #071126 0%, #050d20 100%);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: #fff;
  color: #000;
  padding: .75rem 1rem;
  border-radius: .5rem;
  z-index: 1000;
}
.skip-link:focus { left: 10px; }

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.section {
  padding: 6rem 0;
}

.section-dark-alt {
  background: linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0.005));
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: .8rem;
  color: #f4a6ff;
}

.section-head {
  max-width: 760px;
  margin-bottom: 2.5rem;
}

.section-head h2,
.hero h1 {
  margin: 0 0 1rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.section-head p,
.hero-text,
.contact-copy p,
.security-copy p,
.portfolio-body p,
.service-card p,
.process-card p,
.faq-item p,
.quote-result p,
.form-note,
.footer-text {
  color: var(--muted);
}

.glass-card {
  background: linear-gradient(180deg, rgba(18, 29, 58, 0.92), rgba(9, 17, 36, 0.92));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  border-radius: 999px;
  padding: .95rem 1.45rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--magenta), var(--purple));
  color: white;
  box-shadow: 0 10px 25px rgba(139, 44, 255, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.12);
}

.btn-sm {
  padding: .75rem 1.1rem;
  font-size: .95rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 12, 28, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  min-width: 0;
}

.brand-mark-wrap {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.03);
  flex-shrink: 0;
}

.brand-mark {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.brand-tag {
  font-size: .78rem;
  color: var(--muted);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.site-nav a {
  color: var(--muted-strong);
  font-weight: 600;
}

.site-nav a:hover,
.footer-links a:hover {
  color: white;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(255,255,255,.03);
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  margin: 5px auto;
  transition: .3s ease;
}

.hero {
  overflow: hidden;
  padding-top: 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2rem;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.stat-card {
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}

.stat-card strong {
  display: block;
  font-size: 1.1rem;
}

.stat-card span {
  color: var(--muted);
  font-size: .95rem;
}

.hero-visual {
  position: relative;
  min-height: 640px;
}

.main-panel {
  position: absolute;
  inset: 40px 50px 90px 40px;
  padding: 1.5rem;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.hero-logo {
  width: min(100%, 560px);
  border-radius: 30px;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
  opacity: .85;
}
.orb-one {
  width: 220px;
  height: 220px;
  background: rgba(241, 36, 200, 0.24);
  top: 10px;
  left: 0;
}
.orb-two {
  width: 260px;
  height: 260px;
  background: rgba(139, 44, 255, 0.2);
  right: 0;
  bottom: 70px;
}

.floating-card {
  position: absolute;
  padding: 1.2rem;
  max-width: 260px;
}

.mini-label {
  display: inline-block;
  margin-bottom: .6rem;
  color: #f0b6ff;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
}

.card-a {
  top: 0;
  right: 0;
}

.card-b {
  bottom: 10px;
  left: 0;
}

.feature-strip {
  padding: 1.2rem 0 0;
}

.feature-strip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}

.feature-chip {
  padding: .85rem 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--muted-strong);
  font-weight: 600;
}

.services-grid,
.process-grid,
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}

.service-card,
.process-card,
.portfolio-card {
  padding: 1.5rem;
}

.service-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(241, 36, 200, 0.22), rgba(139, 44, 255, 0.22));
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: white;
}

.service-card h3,
.process-card h3,
.portfolio-card h3,
.quote-result h3,
.contact-copy h2,
.security-copy h2,
.section-head h2 {
  margin-top: 0;
}

.service-card ul,
.security-list,
.quote-mini-card ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted-strong);
}

.portfolio-visual {
  height: 220px;
  border-radius: 18px;
  margin-bottom: 1.1rem;
  border: 1px solid rgba(255,255,255,.08);
}

.gradient-1 { background: radial-gradient(circle at 20% 20%, rgba(241,36,200,.8), transparent 28%), linear-gradient(135deg, #0c1835, #090f22 70%); }
.gradient-2 { background: radial-gradient(circle at 70% 35%, rgba(139,44,255,.85), transparent 26%), linear-gradient(135deg, #0b132c, #071126 70%); }
.gradient-3 { background: radial-gradient(circle at 50% 70%, rgba(241,36,200,.65), transparent 26%), linear-gradient(135deg, #09122a, #050b1d 70%); }
.gradient-4 { background: radial-gradient(circle at 30% 30%, rgba(139,44,255,.7), transparent 25%), radial-gradient(circle at 70% 60%, rgba(241,36,200,.6), transparent 22%), linear-gradient(135deg, #081428, #070b18 70%); }

.process-grid { grid-template-columns: repeat(4, 1fr); }

.step {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--magenta), var(--purple));
  font-weight: 800;
}

.security-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 1.5rem;
  align-items: center;
}

.security-panel {
  padding: 1.6rem;
}

.security-pill {
  display: inline-block;
  margin-bottom: 1rem;
  padding: .5rem .9rem;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: #f4b3ff;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.security-item {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.security-item:last-child { border-bottom: none; }
.security-item strong { display: block; }
.security-item span { color: var(--muted); }

.quote-layout,
.contact-grid,
.faq-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 1.5rem;
}

.quote-form,
.quote-result,
.contact-form,
.contact-card {
  padding: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.second-grid .full,
.field.full {
  grid-column: 1 / -1;
}

.field label,
.addon-group legend {
  display: block;
  margin-bottom: .45rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  color: var(--text);
  padding: .95rem 1rem;
  outline: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(241,36,200,.6);
  box-shadow: 0 0 0 4px rgba(241,36,200,.12);
}

.addon-group {
  margin: 1.2rem 0;
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.08);
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .8rem;
}

.check-grid label {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--muted-strong);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.quote-result {
  align-self: start;
}

.price-range {
  display: flex;
  align-items: baseline;
  gap: .7rem;
  margin: 1rem 0;
}

.price-range span {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}

.price-range small {
  color: var(--muted);
  font-weight: 700;
}

.quote-breakdown {
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 1rem 0;
  margin: 1rem 0 1.4rem;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .45rem 0;
  color: var(--muted-strong);
}

.quote-mini-card {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}

.faq-head { margin-bottom: 0; }
.faq-list { display: grid; gap: 1rem; }
.faq-item { padding: 1.1rem 1.25rem; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  position: relative;
  padding-right: 1.6rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: #f8b5ff;
  font-size: 1.3rem;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin-bottom: 0; }

.contact-grid { align-items: start; }
.contact-card {
  margin-top: 1.2rem;
  display: grid;
  gap: 1rem;
}
.contact-card strong {
  display: block;
  margin-bottom: .25rem;
}
.contact-card a { color: #ffd8ff; }

.site-footer {
  padding: 2.5rem 0 1rem;
  border-top: 1px solid rgba(255,255,255,.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .7fr .7fr;
  gap: 1.5rem;
  align-items: start;
}

.footer-brand { margin-bottom: 1rem; }

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .5rem;
  color: var(--muted);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  color: var(--muted);
  border-top: 1px solid rgba(255,255,255,.08);
}

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

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }

@media (max-width: 1080px) {
  .hero-grid,
  .security-grid,
  .quote-layout,
  .contact-grid,
  .faq-grid,
  .footer-grid,
  .services-grid,
  .portfolio-grid,
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-visual {
    min-height: 560px;
  }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    position: absolute;
    top: calc(100% + .6rem);
    right: 1rem;
    left: 1rem;
    padding: 1rem;
    border-radius: 20px;
    background: rgba(8, 18, 40, .96);
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: flex-start;
    display: none;
  }
  .site-nav.open { display: flex; }
  .nav-cta { width: 100%; }
  .brand-tag { white-space: normal; }
  .hero-grid,
  .security-grid,
  .quote-layout,
  .contact-grid,
  .faq-grid,
  .footer-grid,
  .services-grid,
  .portfolio-grid,
  .process-grid,
  .form-grid,
  .check-grid,
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    min-height: 520px;
  }
  .main-panel {
    inset: 70px 12px 120px 12px;
  }
  .card-a {
    top: 10px;
    right: 12px;
  }
  .card-b {
    bottom: 0;
    left: 12px;
  }
  .section {
    padding: 4.8rem 0;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 1.2rem), var(--container));
  }
  .nav-wrap { min-height: 74px; }
  .brand-mark-wrap { width: 48px; height: 48px; }
  .brand-name { font-size: 1.15rem; }
  .hero { padding-top: 3.5rem; }
  .floating-card { max-width: 220px; padding: 1rem; }
  .main-panel { padding: .8rem; }
  .price-range span { font-size: 2rem; }
  .footer-bottom { flex-direction: column; }
}
