:root {
  --bg: #040712;
  --bg-elevated: #0d1020;
  --bg-soft: #15182a;
  --accent: #17b1ff;
  --accent-soft: rgba(23, 177, 255, 0.15);
  --accent-strong: #3ddcff;
  --text: #f5f7ff;
  --muted: #9aa0c2;
  --border-soft: #262a40;
  --danger: #ff4b6b;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.65);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #202b5a 0, #040712 45%, #000000 100%);
  color: var(--text);
  line-height: 1.6;
}

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

a {
  color: var(--accent-strong);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
}

/* Header & navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(4, 7, 18, 0.98), rgba(4, 7, 18, 0.82));
  border-bottom: 1px solid rgba(38, 42, 64, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 16px;
  background: radial-gradient(circle at 20% 0, #ffffff 0, #17b1ff 18%, #040712 70%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 13px;
  box-shadow: 0 0 0 1px rgba(61, 220, 255, 0.25), 0 16px 32px rgba(0, 0, 0, 0.7);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-weight: 600;
  font-size: 15px;
}

.logo-subtitle {
  font-size: 11px;
  color: var(--muted);
}

.main-nav ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 18px;
}

.main-nav a {
  position: relative;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.main-nav a:hover {
  background: rgba(21, 24, 42, 0.9);
  color: var(--text);
  transform: translateY(-1px);
}

.main-nav a.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #020308;
  font-weight: 600;
  box-shadow: 0 10px 28px rgba(23, 177, 255, 0.45);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(13, 16, 32, 0.9);
  border: 1px solid rgba(38, 42, 64, 0.9);
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 16px;
  border-radius: 999px;
  background: var(--text);
}

/* Hero */

.hero {
  position: relative;
  min-height: 68vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 10% 20%, rgba(23, 177, 255, 0.25) 0, transparent 45%),
                    radial-gradient(circle at 90% 10%, rgba(255, 75, 107, 0.15) 0, transparent 40%),
                    radial-gradient(circle at 50% 120%, rgba(8, 14, 38, 0.9) 0, #000000 60%);
  opacity: 0.8;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  inset: 14%;
  border-radius: 40px;
  border: 1px solid rgba(61, 220, 255, 0.35);
  background: radial-gradient(circle at top, rgba(8, 11, 31, 0.9) 0, rgba(4, 7, 18, 0.96) 50%, rgba(4, 7, 18, 0.98) 100%);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.85);
  z-index: -1;
}

.hero-content {
  padding-block: 64px 72px;
  text-align: left;
}

.hero h1 {
  font-size: clamp(32px, 4vw, 40px);
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.hero p {
  max-width: 640px;
  color: var(--muted);
  font-size: 15px;
}

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

/* Generic sections */

.section {
  padding-block: 52px;
}

.section-highlight {
  background: radial-gradient(circle at top, rgba(23, 177, 255, 0.05) 0, rgba(4, 7, 18, 0.97) 55%, #040712 100%);
}

.section-accent {
  background: radial-gradient(circle at top, rgba(23, 177, 255, 0.1) 0, rgba(4, 7, 18, 1) 55%);
  border-top: 1px solid rgba(38, 42, 64, 0.9);
}

.page-hero {
  padding-block: 44px 20px;
  border-bottom: 1px solid rgba(38, 42, 64, 0.8);
  background: radial-gradient(circle at top left, rgba(23, 177, 255, 0.18) 0, rgba(4, 7, 18, 1) 50%);
}

.page-hero h1 {
  font-size: 28px;
  margin-bottom: 8px;
}

.page-hero p {
  max-width: 640px;
  color: var(--muted);
  font-size: 15px;
}

/* Layout helpers */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

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

.two-column {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 26px;
  align-items: flex-start;
}

/* Cards, panels, checklist */

.card,
.panel {
  background: radial-gradient(circle at top, rgba(33, 39, 83, 0.85) 0, rgba(8, 11, 31, 1) 46%, rgba(4, 7, 18, 1) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(38, 42, 64, 0.85);
  padding: 20px 18px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.card::before,
.panel::before {
  content: "";
  position: absolute;
  inset: -40%;
  background-image: radial-gradient(circle at top left, rgba(23, 177, 255, 0.15) 0, transparent 45%);
  opacity: 0.6;
  mix-blend-mode: screen;
  pointer-events: none;
}

.card h2,
.card h3,
.panel h2,
.panel h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.card p,
.panel p {
  color: var(--muted);
  font-size: 14px;
}

.service-card ul {
  padding-left: 18px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  font-size: 14px;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 12px;
  color: var(--accent-strong);
}

/* Steps */

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.steps li {
  background: radial-gradient(circle at top left, rgba(23, 177, 255, 0.12) 0, rgba(8, 11, 31, 1) 55%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(38, 42, 64, 0.9);
  padding: 16px 18px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.6);
}

.steps h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Project cards */

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.project-card {
  background: radial-gradient(circle at top left, rgba(23, 177, 255, 0.1) 0, rgba(8, 11, 31, 1) 50%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(38, 42, 64, 0.9);
  padding: 18px 18px 16px;
  box-shadow: var(--shadow-soft);
}

.project-card h2 {
  margin: 0 0 4px;
  font-size: 17px;
}

.project-meta {
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.project-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* Testimonials */

.testimonial-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.testimonial {
  background: radial-gradient(circle at top, rgba(23, 177, 255, 0.12) 0, rgba(8, 11, 31, 1) 52%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(38, 42, 64, 0.9);
  padding: 18px 18px 14px;
  box-shadow: var(--shadow-soft);
}

.quote {
  position: relative;
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--muted);
}

.quote::before {
  content: "“";
  position: absolute;
  left: -10px;
  top: -10px;
  font-size: 30px;
  color: rgba(61, 220, 255, 0.4);
}

.author {
  margin: 0;
  font-size: 13px;
  color: var(--text);
}

/* CTA */

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.cta h2 {
  margin: 0 0 6px;
}

.cta p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease, transform 0.1s ease, border-color 0.16s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #020308;
  box-shadow: 0 10px 28px rgba(23, 177, 255, 0.45);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-strong), #6af0ff);
  box-shadow: 0 16px 40px rgba(23, 177, 255, 0.55);
  transform: translateY(-1px);
}

.btn-outline {
  border-color: rgba(38, 42, 64, 0.9);
  background: rgba(8, 11, 31, 0.6);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--accent);
  background: rgba(23, 177, 255, 0.16);
  box-shadow: 0 10px 26px rgba(23, 177, 255, 0.4);
}

.btn-light {
  background: #f5f7ff;
  color: #050814;
  border-color: transparent;
}

.btn-light:hover {
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(14, 19, 51, 0.7);
  transform: translateY(-1px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--accent-strong);
  text-decoration: none;
}

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

/* Contact form */

.contact-form {
  display: grid;
  gap: 10px;
}

.contact-form label {
  font-size: 13px;
}

.contact-form input,
.contact-form textarea {
  background: rgba(5, 8, 22, 0.9);
  border-radius: 12px;
  border: 1px solid rgba(38, 42, 64, 0.95);
  padding: 8px 10px;
  color: var(--text);
  font: inherit;
  font-size: 14px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(61, 220, 255, 0.4);
}

.contact-form textarea {
  resize: vertical;
  min-height: 90px;
}

.form-note {
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(38, 42, 64, 0.9);
  background: radial-gradient(circle at top, rgba(20, 26, 64, 1) 0, #020308 55%);
  padding-block: 18px;
  margin-top: 30px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

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

/* Responsive */

@media (max-width: 800px) {
  .hero-overlay {
    inset: 10%;
    border-radius: 28px;
  }

  .header-inner {
    padding-block: 10px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav ul {
    position: absolute;
    right: 20px;
    top: 64px;
    flex-direction: column;
    background: rgba(5, 8, 22, 0.98);
    padding: 10px;
    border-radius: 18px;
    border: 1px solid rgba(38, 42, 64, 0.95);
    min-width: 180px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.85);
    transform-origin: top right;
    transform: scaleY(0.9);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.16s ease, transform 0.16s ease;
  }

  .main-nav.open ul {
    opacity: 1;
    transform: scaleY(1);
    pointer-events: auto;
  }

  .main-nav a {
    display: block;
    padding: 6px 12px;
  }

  .hero {
    min-height: 0;
  }

  .hero-content {
    padding-block: 44px 48px;
  }

  .grid-3,
  .grid-2,
  .two-column,
  .project-grid,
  .testimonial-list,
  .cta {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .grid-3,
  .grid-2,
  .two-column,
  .project-grid,
  .testimonial-list {
    display: grid;
  }
}

@media (max-width: 480px) {
  .hero-overlay {
    inset: 8%;
    border-radius: 22px;
  }

  .section,
  .page-hero {
    padding-inline: 0;
  }

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

