:root {
  --bg: #08090d;
  --bg-soft: #0d1016;
  --surface: #11151c;
  --surface-strong: #171d29;
  --surface-alt: #0f141d;
  --text: #f5f7fa;
  --muted: #9aa3b2;
  --border: rgba(255, 255, 255, 0.08);
  --accent: #7fa8ff;
  --accent-soft: rgba(127, 168, 255, 0.18);
  --accent-strong: #9ddcff;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
  --container: min(1120px, calc(100% - 2rem));
  --radius: 22px;
  --radius-sm: 14px;
  --transition: 200ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(circle at top, rgba(127, 168, 255, 0.12), transparent 35%),
    linear-gradient(180deg, #08090d 0%, #0a0d12 100%);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  cursor: pointer;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 6rem 0;
}

.hero {
  padding-top: 7.5rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-header {
  max-width: 640px;
  margin-bottom: 2rem;
}

.section-header h2,
.hero-copy h1 {
  margin: 0;
  letter-spacing: -0.05em;
  line-height: 1.06;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid transparent;
  background: rgba(8, 9, 13, 0.35);
  backdrop-filter: blur(10px);
  transition: background-color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(8, 9, 13, 0.82);
  border-color: var(--border);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 150px;
}

.brand img {
  width: 200px;
  height: auto;
  transition: transform 220ms ease, filter 220ms ease;
  filter: drop-shadow(0 0 8px rgba(157, 220, 255, 0.14));
}


.brand:hover img,
.brand:focus-visible img {
  transform: translateY(-1px) scale(1.01);
  filter: drop-shadow(0 0 12px rgba(157, 220, 255, 0.24));
}

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

.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color var(--transition);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.nav-cta {
  margin-left: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.9rem 1.4rem;
  font-weight: 600;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background-color var(--transition);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  border-color: rgba(157, 220, 255, 0.25);
  box-shadow: 0 14px 36px rgba(127, 168, 255, 0.25);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 18px 40px rgba(127, 168, 255, 0.35);
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 4vw, 3.5rem);
}

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

.lead {
  max-width: 620px;
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.hero-trust {
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.95rem;
  padding-left: 1rem;
  border-left: 1px solid var(--border);
}

.hero-visual {
  display: flex;
  justify-content: center;
  animation: heroFloat 10s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.visual-frame {
  position: relative;
  width: min(100%, 560px);
  aspect-ratio: 1.1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: calc(var(--radius) + 10px);
  background: linear-gradient(180deg, rgba(17, 21, 28, 0.86), rgba(11, 15, 20, 0.82));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.visual-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(127, 168, 255, 0.2), transparent 28%);
}

.visual-glow {
  position: absolute;
  inset: 10% 12% auto auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(127, 168, 255, 0.35) 0%, transparent 68%);
  filter: blur(16px);
}

.system-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  stroke: url(#lineGlow);
  stroke-width: 2.5;
  fill: none;
  opacity: 0.9;
}

.system-svg circle {
  fill: rgba(157, 220, 255, 0.9);
  stroke: rgba(255, 255, 255, 0.28);
  stroke-width: 1.5;
}

.data-panel {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 180px;
  background: rgba(16, 21, 29, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
  padding: 0.85rem 1rem;
  z-index: 2;
}

.panel-main {
  left: 10%;
  top: 12%;
}

.panel-small {
  min-width: 110px;
  padding: 0.75rem 0.9rem;
}

.small-top {
  right: 12%;
  top: 15%;
}

.small-bottom {
  left: 16%;
  bottom: 15%;
}

.panel-label,
.detail-label {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel-main strong,
.panel-small strong {
  font-size: 1.2rem;
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  background: rgba(92, 185, 120, 0.15);
  color: #a9f3bf;
  border: 1px solid rgba(92, 185, 120, 0.2);
}

.section-intro {
  max-width: 760px;
  margin: 0 0 2.2rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.feature-grid,
.service-grid,
.value-grid {
  display: grid;
  gap: 1.5rem;
}

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

.feature-card,
.service-card,
.value-item,
.process-step,
.contact-form,
.contact-copy {
  border: 1px solid var(--border);
  background: rgba(17, 21, 28, 0.9);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.12);
}

.feature-card,
.service-card,
.value-item {
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.feature-card:hover,
.service-card:hover,
.value-item:hover {
  transform: translateY(-4px);
  border-color: rgba(127, 168, 255, 0.35);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.icon-wrap,
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-soft);
  border: 1px solid rgba(163, 187, 255, 0.2);
  margin-bottom: 1rem;
}

.icon-wrap svg,
.card-icon svg {
  width: 26px;
  height: 26px;
  fill: var(--accent-strong);
}

.feature-card h3,
.service-card h3,
.value-item h3,
.process-step h3 {
  margin: 0 0 0.6rem;
  font-size: 1.4rem;
}

.feature-card p,
.service-card p,
.value-item p,
.process-step p,
.contact-intro,
.contact-details,
.footer-brand p,
.footer-bottom p {
  margin: 0;
  color: var(--muted);
}

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

.service-card {
  min-height: 100%;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.feature-card,
.value-item,
.process-step {
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.feature-card:hover,
.value-item:hover,
.process-step:hover {
  transform: translateY(-4px);
  border-color: rgba(127, 168, 255, 0.3);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card.reveal {
  transition-delay: calc(var(--stagger-index, 0) * 80ms);
}

.why-us-section {
  background: rgba(9, 14, 19, 0.8);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.value-item {
  position: relative;
  overflow: hidden;
}

.value-item::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(127, 168, 255, 0.45), rgba(157, 220, 255, 0.15));
}

.value-number {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.process-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
  padding-top: 1rem;
}

.process-timeline::before {
  content: "";
  position: absolute;
  top: 3.7rem;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(90deg, rgba(127, 168, 255, 0.08), rgba(127, 168, 255, 0.8), rgba(127, 168, 255, 0.08));
}

.process-step {
  position: relative;
  border-radius: var(--radius);
  padding: 1.5rem 1.2rem 1.3rem;
  z-index: 1;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(127, 168, 255, 0.16);
  color: var(--accent-strong);
  border: 1px solid rgba(127, 168, 255, 0.25);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.tech-section {
  padding-top: 3rem;
}

.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.tech-grid span {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: rgba(17, 21, 28, 0.7);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.7rem;
  align-items: start;
}

.contact-copy,
.contact-form {
  border-radius: var(--radius);
  padding: 2rem;
}

.contact-copy {
  min-height: 100%;
}

.contact-details {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.detail-item {
  display: grid;
  gap: 0.3rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--border);
}

.contact-copy a {
  color: var(--text);
}

.contact-intro {
  margin-top: 1rem;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

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

.form-field {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

label {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(9, 14, 19, 0.8);
  color: var(--text);
  padding: 0.9rem 1rem;
  transition: border-color var(--transition), box-shadow var(--transition), background-color var(--transition);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(127, 168, 255, 0.9);
  box-shadow: 0 0 0 4px rgba(127, 168, 255, 0.12);
}

textarea {
  resize: vertical;
  min-height: 150px;
}

.form-status {
  min-height: 1.5rem;
  margin: 0.75rem 0 1rem;
  font-size: 0.95rem;
}

.form-status.error {
  color: #ffb5b5;
}

.form-status.success {
  color: #b6f7c6;
}

.submit-btn {
  width: 100%;
}

button:disabled {
  cursor: wait;
  opacity: 0.8;
}

.site-footer {
  padding: 2.6rem 0 1.2rem;
  border-top: 1px solid var(--border);
  background: rgba(8, 9, 13, 0.7);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 1.2rem;
}

.footer-brand {
  display: grid;
  gap: 0.8rem;
}

.footer-brand img {
  width: 160px;
}

.footer-nav,
.social-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  color: var(--muted);
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--text);
}

.social-links span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.2rem 0.45rem;
}

.footer-bottom {
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(10, 14, 20, 0.6);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

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

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

@media (max-width: 980px) {
  .hero-grid,
  .contact-wrap,
  .feature-grid,
  .service-grid,
  .value-grid,
  .process-timeline {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .contact-wrap {
    grid-template-columns: 1fr;
  }

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

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

  .process-timeline::before {
    display: none;
  }
}

@media (max-width: 760px) {
  .site-header {
    background: rgba(8, 9, 13, 0.86);
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(12, 16, 21, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  }

  .site-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav a {
    width: 100%;
    padding: 0.2rem 0;
  }

  .nav-cta {
    margin-left: 0;
    width: 100%;
  }

  .feature-grid,
  .service-grid,
  .value-grid,
  .process-timeline,
  .form-grid:not(.single) {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 4.8rem 0;
  }

  .hero {
    padding-top: 6.2rem;
  }

  .brand img {
    width: 148px;
  }

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

  .hero-visual {
    animation: none !important;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .contact-copy,
  .contact-form {
    padding: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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

.site-nav a.btn-primary {
  color: #ffffff !important;
}
