:root {
  --primary: #0b1c2d;
  --primary-2: #102237;
  --panel: rgba(13, 28, 46, 0.92);
  --panel-strong: #0a1725;
  --accent: #00bfff;
  --gold: #c6a85c;
  --green: #35d07f;
  --rose: #ff6b8b;
  --text: #f5f7fa;
  --muted: #aab7c7;
  --line: rgba(255, 255, 255, 0.1);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 8%, rgba(0, 191, 255, 0.16), transparent 30rem),
    radial-gradient(circle at 82% 10%, rgba(198, 168, 92, 0.12), transparent 28rem),
    var(--primary);
  color: var(--text);
  font-family: "Rajdhani", Arial, sans-serif;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; display: block; }

a { color: inherit; }

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(0, 191, 255, 0.75);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 999;
  transform: translateY(-140%);
  background: var(--accent);
  color: #06101c;
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 800;
}

.skip-link:focus { transform: translateY(0); }

.site-rings {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.site-rings span {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1.5px solid transparent;
  border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
}

.site-rings span:nth-child(1) {
  width: 920px;
  height: 920px;
  margin: -460px 0 0 -460px;
  border-color: rgba(0, 191, 255, 0.07);
  animation: spin 32s linear infinite;
}

.site-rings span:nth-child(2) {
  width: 620px;
  height: 620px;
  margin: -310px 0 0 -310px;
  border-color: rgba(198, 168, 92, 0.06);
  animation: spinReverse 24s linear infinite;
}

.site-rings span:nth-child(3) {
  width: 390px;
  height: 390px;
  margin: -195px 0 0 -195px;
  border-color: rgba(53, 208, 127, 0.04);
  animation: spin 46s linear infinite reverse;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spinReverse { to { transform: rotate(-360deg); } }

.site-header,
main,
.site-footer,
.sticky-cta,
.floating-whatsapp {
  position: relative;
  z-index: 2;
}

.site-header {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  margin: 12px auto 0;
  padding: 12px 14px;
  border: 1px solid rgba(198, 168, 92, 0.18);
  border-radius: 8px;
  background: rgba(9, 22, 36, 0.9);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-family: "Orbitron", Arial, sans-serif;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(198, 168, 92, 0.35);
  object-fit: cover;
}

.brand span span { color: var(--accent); }

.site-nav {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.site-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--accent);
  background: rgba(0, 191, 255, 0.1);
}

.nav-toggle {
  display: none;
  justify-self: end;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.section-band,
.section-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.72fr);
  gap: 44px;
  align-items: center;
  min-height: auto;
  padding: 78px 0 46px;
}

.hero-copy h1,
.section-head h2,
.audit-summary h2,
.product-showcase h2,
.about-grid h2,
.contact-section h2 {
  margin: 0;
  font-family: "Orbitron", Arial, sans-serif;
  letter-spacing: 0;
  line-height: 1.08;
}

.hero-copy h1 {
  max-width: 760px;
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.hero-lede {
  max-width: 640px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-family: "Orbitron", Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.7px;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid;
  border-radius: 8px;
  padding: 12px 18px;
  color: var(--text);
  cursor: pointer;
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

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

.btn-primary {
  border-color: rgba(198, 168, 92, 0.5);
  background: linear-gradient(135deg, rgba(198, 168, 92, 0.25), rgba(0, 191, 255, 0.18));
  color: var(--gold);
}

.btn-secondary {
  border-color: rgba(0, 191, 255, 0.32);
  background: rgba(0, 191, 255, 0.08);
  color: var(--accent);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.trust-grid div,
.audit-grid article,
.service-card,
.project-card,
.tool-card,
.about-grid article,
.lead-form,
.showcase-screen,
.system-window {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.trust-grid div {
  padding: 16px;
}

.trust-grid strong {
  display: block;
  color: var(--gold);
  font-family: "Orbitron", Arial, sans-serif;
  font-size: 24px;
}

.trust-grid span,
.section-head p,
.audit-grid p,
.service-card p,
.project-card p,
.tool-card p,
.about-grid p,
.contact-copy p,
.site-footer p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-panel {
  display: grid;
  gap: 18px;
  justify-items: center;
  align-self: stretch;
  align-content: center;
  padding: 24px;
  border: 1px solid rgba(198, 168, 92, 0.14);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(13, 28, 46, 0.82), rgba(9, 22, 36, 0.66));
}

.hero-logo {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  border: 2px solid rgba(198, 168, 92, 0.4);
  box-shadow: 0 0 44px rgba(0, 191, 255, 0.18);
  object-fit: cover;
}

.system-window,
.showcase-screen {
  width: 100%;
  overflow: hidden;
}

.window-bar {
  display: flex;
  gap: 7px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rose);
}

.window-bar span:nth-child(2) { background: var(--gold); }
.window-bar span:nth-child(3) { background: var(--green); }

pre {
  margin: 0;
  padding: 24px;
  white-space: pre-wrap;
  color: #dce9f7;
  font-size: 15px;
  line-height: 1.7;
}

.section-wrap {
  padding: 58px 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(260px, 0.7fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 26px;
}

.section-head h2,
.audit-summary h2,
.product-showcase h2,
.about-grid h2,
.contact-section h2 {
  color: var(--text);
  font-size: clamp(1.7rem, 3vw, 2.7rem);
}

.audit-summary {
  display: grid;
  gap: 20px;
  border-top: 1px solid rgba(198, 168, 92, 0.15);
}

.audit-grid,
.service-grid,
.project-grid,
.tools-strip,
.about-grid,
.toolbox-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.audit-grid article,
.service-card,
.project-card,
.tool-card,
.about-grid article {
  padding: 22px;
}

.audit-grid h3,
.service-card h3,
.project-card h3,
.tool-card h3,
.about-grid h3 {
  margin: 0 0 8px;
  color: var(--gold);
  font-family: "Orbitron", Arial, sans-serif;
  font-size: 17px;
  letter-spacing: 0;
}

.inline-link {
  width: fit-content;
  display: inline-flex;
  color: var(--accent);
  font-weight: 900;
  text-decoration: none;
}

.inline-link:hover { text-decoration: underline; }

.service-card,
.project-card,
.tool-card {
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.service-card:hover,
.project-card:hover,
.tool-card:hover,
.tool-widget:hover {
  transform: translateY(-3px);
  border-color: rgba(198, 168, 92, 0.35);
}

.meta-row,
.tag-list,
.filter-chips,
.contact-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill,
.tag-list span,
.filter-chips button {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 6px 11px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.filter-chips button {
  cursor: pointer;
}

.filter-chips button.active,
.filter-chips button:hover {
  border-color: rgba(0, 191, 255, 0.45);
  color: var(--accent);
  background: rgba(0, 191, 255, 0.12);
}

.service-details {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.service-details details {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.service-details summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 900;
}

.portfolio-toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 16px;
  align-items: end;
  margin-bottom: 18px;
}

.search-field {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  padding: 13px 14px;
  outline: 0;
}

select option { color: #111827; }

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(0, 191, 255, 0.62);
  box-shadow: 0 0 0 4px rgba(0, 191, 255, 0.13);
}

.project-media {
  display: grid;
  min-height: 168px;
  place-items: center;
  margin: -22px -22px 18px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(0, 191, 255, 0.14), rgba(198, 168, 92, 0.12)),
    #091624;
  color: rgba(245, 247, 250, 0.76);
  font-family: "Orbitron", Arial, sans-serif;
  font-weight: 900;
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.product-showcase,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: 28px;
  align-items: center;
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.check-list li {
  color: var(--muted);
}

.check-list li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--green);
}

.terminal-lines {
  display: grid;
  gap: 12px;
  padding: 24px;
}

.terminal-lines p {
  margin: 0;
  color: var(--muted);
}

.terminal-lines span {
  display: inline-flex;
  min-width: 86px;
  color: var(--accent);
  font-weight: 900;
}

.about-grid {
  align-items: stretch;
}

.about-grid > div {
  grid-column: span 3;
}

.contact-methods {
  margin-top: 20px;
}

.contact-methods a,
.contact-methods span {
  color: var(--accent);
  font-weight: 900;
  text-decoration: none;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 22px;
}

.lead-form label,
.newsletter label,
.tool-widget label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 800;
}

.toolbox-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tool-widget {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.tool-widget h3 {
  margin: 0;
  color: var(--gold);
  font-family: "Orbitron", Arial, sans-serif;
  font-size: 18px;
  letter-spacing: 0;
}

.tool-widget p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.check-row {
  grid-template-columns: auto 1fr;
  align-items: center;
  justify-content: start;
}

.check-row input {
  width: auto;
}

.tool-output {
  display: block;
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(198, 168, 92, 0.18);
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(198, 168, 92, 0.07);
  color: var(--gold);
  font-weight: 900;
}

.text-output {
  color: var(--text);
  resize: vertical;
}

.search-preview {
  display: grid;
  gap: 5px;
  padding: 14px;
  border-radius: 8px;
  background: #f8fafc;
  color: #1f2937;
}

.search-preview span {
  color: #15803d;
  font-size: 13px;
}

.search-preview strong {
  color: #1d4ed8;
  font-size: 18px;
  font-weight: 600;
}

.search-preview p {
  margin: 0;
  color: #4b5563;
}

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

.form-note,
.newsletter p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 40px auto 0;
  padding: 36px 0 54px;
  border-top: 1px solid rgba(198, 168, 92, 0.16);
}

.site-footer h2 {
  margin: 0 0 12px;
  color: var(--gold);
  font-family: "Orbitron", Arial, sans-serif;
  font-size: 13px;
  letter-spacing: 0;
}

.site-footer a {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
}

.site-footer a:hover { color: var(--accent); }

.footer-brand { margin-bottom: 12px; }

.newsletter {
  display: grid;
  gap: 10px;
}

.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 18px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(9, 22, 36, 0.9);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.sticky-cta a {
  min-width: 94px;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--text);
  text-align: center;
  text-decoration: none;
  font-weight: 900;
}

.sticky-cta a:first-child {
  background: rgba(198, 168, 92, 0.18);
  color: var(--gold);
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 82px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 16px;
  background: #25d366;
  color: #06101c;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 16px 40px rgba(37, 211, 102, 0.26);
}

.empty-state {
  margin: 20px 0 0;
  color: var(--muted);
}

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

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .hero,
  .section-head,
  .product-showcase,
  .contact-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .trust-grid,
  .audit-grid,
  .service-grid,
  .project-grid,
  .tools-strip,
  .about-grid,
  .toolbox-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid > div {
    grid-column: span 2;
  }

  .portfolio-toolbar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    grid-template-columns: 1fr auto;
    width: min(100% - 20px, 1180px);
    margin-top: 10px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 76px;
    left: 10px;
    right: 10px;
    display: none;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(9, 22, 36, 0.98);
  }

  .site-nav.open {
    display: grid;
  }

  .site-nav a {
    justify-content: center;
  }

  .section-band,
  .section-wrap,
  .site-footer {
    width: min(100% - 24px, 1180px);
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
    gap: 26px;
  }

  .hero-copy h1 {
    font-size: 2.35rem;
  }

  .hero-lede {
    font-size: 18px;
  }

  .trust-grid,
  .audit-grid,
  .service-grid,
  .project-grid,
  .tools-strip,
  .about-grid,
  .toolbox-grid,
  .lead-form {
    grid-template-columns: 1fr;
  }

  .about-grid > div {
    grid-column: span 1;
  }

  .full-field {
    grid-column: auto;
  }

  .btn,
  .hero-actions a,
  .project-actions a {
    width: 100%;
  }

  .floating-whatsapp {
    right: 12px;
    bottom: 78px;
  }

  .sticky-cta {
    width: calc(100% - 24px);
  }

  .sticky-cta a {
    flex: 1;
  }
}
