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

body {
  margin: 0;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #050816;
  color: #f5f5f7;
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(5, 8, 22, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 14px;
}

.logo span {
  color: #4fd1ff;
}

.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 14px;
}

.main-nav a {
  padding: 6px 10px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  border: 1px solid transparent;
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
}

.main-nav a.active {
  border-color: #4fd1ff;
}

.nav-cta {
  border-color: #4fd1ff;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.5);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #f5f5f7;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

main {
  padding: 40px 40px 80px;
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
  gap: 40px;
  align-items: center;
  padding: 40px;
  border-radius: 24px;
  background: radial-gradient(circle at top left, #111827 0, #020617 45%, #020617 100%);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.hero-text h1 {
  font-size: clamp(28px, 3vw, 34px);
  margin-bottom: 16px;
}

.hero-text p {
  color: #cbd5f5;
  max-width: 520px;
}

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

.hero-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
}

.hero-list li {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.hero-image {
  text-align: center;
}

.image-placeholder {
  padding: 8px;
  border-radius: 24px;
  border: 1px dashed rgba(148, 163, 184, 0.6);
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.2), transparent 55%);
}

.image-placeholder img {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 18px;
}

.image-note {
  margin-top: 10px;
  font-size: 12px;
  color: #94a3b8;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  background: transparent;
  font-family: inherit;
}

.btn.primary {
  background: linear-gradient(135deg, #38bdf8, #4f46e5);
  color: #0f172a;
  font-weight: 600;
}

.btn.primary:hover {
  filter: brightness(1.05);
}

.btn.ghost {
  border-color: rgba(148, 163, 184, 0.6);
  color: #e5e7eb;
}

.btn.ghost:hover {
  background: rgba(148, 163, 184, 0.1);
}

/* Sections */

.grid-section {
  margin-top: 48px;
}

.grid-section h2 {
  font-size: 22px;
  margin-bottom: 20px;
}

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

.card {
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.35), rgba(15, 23, 42, 0.95));
  border-radius: 18px;
  padding: 18px 18px 20px;
  border: 1px solid rgba(148, 163, 184, 0.6);
}

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

.card p {
  margin: 0;
  color: #e2e8f0;
}

/* Strip */

.strip {
  margin-top: 56px;
}

.strip-inner {
  border-radius: 18px;
  border: 1px dashed rgba(148, 163, 184, 0.6);
  padding: 22px 22px 24px;
  background: linear-gradient(120deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.98));
}

.strip-inner p {
  margin-top: 0;
  margin-bottom: 10px;
  color: #cbd5f5;
}

.inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
}

.inline-list li {
  padding: 6px 10px;
  border-radius: 999px;
  background: #020617;
  border: 1px solid rgba(148, 163, 184, 0.6);
}

/* Divider */

.section-divider {
  margin-top: 56px;
  margin-bottom: 24px;
  max-width: 780px;
}

.section-divider h2 {
  margin-bottom: 10px;
}

/* Media blocks */

.media-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 48px;
}

.media-block {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.5fr);
  gap: 22px;
  align-items: center;
}

.media-block.reverse {
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr);
}

.media-image img {
  width: 100%;
  border-radius: 18px;
  display: block;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: #020617;
}

.media-text h3 {
  margin-top: 0;
  margin-bottom: 6px;
}

/* Image row */

.image-row {
  margin-bottom: 48px;
}

.image-row h2 {
  margin-bottom: 16px;
}

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

.image-card {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: #020617;
}

.image-card img {
  width: 100%;
  display: block;
  height: 160px;
  object-fit: cover;
}

.image-card figcaption {
  padding: 10px 12px;
  font-size: 13px;
  color: #e5e7eb;
}

.image-row-note {
  margin-top: 10px;
  font-size: 12px;
  color: #94a3b8;
}

/* Steps */

.steps {
  margin-bottom: 48px;
}

.steps h2 {
  margin-bottom: 14px;
}

.steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: radial-gradient(circle at top, rgba(59, 130, 246, 0.35), #020617 55%);
}

.steps-list li {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.4);
  font-size: 14px;
}

.steps-list li:last-child {
  border-bottom: none;
}

.steps-list strong {
  display: block;
}

.steps-list span {
  display: block;
  color: #cbd5f5;
}

/* Contact teaser */

.contact-teaser {
  margin-top: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 2fr);
  gap: 28px;
  align-items: center;
  padding: 22px 24px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.3), #020617 60%);
}

.inline-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  font-size: 13px;
}

.inline-form label {
  display: none;
}

.inline-form input {
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: #020617;
  color: #e5e7eb;
  font-family: inherit;
}

.inline-form input::placeholder {
  color: #64748b;
}

/* Pages */

.page {
  max-width: 960px;
  margin: 0 auto;
}

.page-header {
  margin-bottom: 28px;
}

.page-header h1 {
  margin-bottom: 6px;
}

.page-header p {
  color: #cbd5f5;
  max-width: 680px;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.two-col h2 {
  margin-top: 0;
}

.ordered {
  padding-left: 20px;
}

.unordered {
  padding-left: 18px;
}

/* Cases */

.cases {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.case {
  padding: 20px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: radial-gradient(circle at top, rgba(30, 64, 175, 0.4), #020617 55%);
}

.case-meta {
  font-size: 13px;
  color: #a5b4fc;
}

/* Contact form */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.contact-form input,
.contact-form textarea,
.contact-form select {
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: #020617;
  color: #e5e7eb;
  font-family: inherit;
  font-size: 14px;
}

.contact-form textarea {
  resize: vertical;
}

/* Content */

.content h2 {
  margin-top: 28px;
  margin-bottom: 10px;
}

.content h3 {
  margin-top: 20px;
  margin-bottom: 8px;
  font-size: 16px;
}

.content p {
  margin-top: 0;
  margin-bottom: 12px;
  color: #cbd5f5;
}

.content ul {
  margin-top: 8px;
  margin-bottom: 16px;
  color: #cbd5f5;
}

.content-date {
  margin-top: 32px;
  font-size: 13px;
  color: #64748b;
}

/* Contact info block */
.contact-info {
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.25), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(148, 163, 184, 0.5);
  border-radius: 18px;
  padding: 20px;
  margin-top: 24px;
}

.contact-info h3 {
  margin-top: 0;
  margin-bottom: 16px;
}

.contact-info p {
  margin: 0 0 8px;
  color: #e5e7eb;
  font-size: 14px;
}

.contact-info a {
  color: #4fd1ff;
  transition: color 0.15s ease;
}

.contact-info a:hover {
  color: #7dd3fc;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.5);
  padding: 24px 40px 30px;
  background: #020617;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  font-size: 13px;
  margin-bottom: 12px;
}

.footer-cols h4 {
  margin-top: 0;
  margin-bottom: 8px;
}

.footer-cols p {
  margin: 0 0 8px;
  color: #94a3b8;
}

.footer-cols ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-cols li {
  margin-bottom: 4px;
}

.footer-cols a {
  color: #cbd5f5;
  transition: color 0.15s ease;
}

.footer-cols a:hover {
  color: #4fd1ff;
}

.footer-copy {
  font-size: 12px;
  color: #64748b;
  text-align: center;
}

/* Responsive */

@media (max-width: 960px) {
  main {
    padding: 24px 18px 50px;
  }

  .site-header {
    padding: 14px 18px;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(5, 8, 22, 0.98);
    flex-direction: column;
    padding: 20px;
    gap: 8px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.3);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 16px;
    text-align: center;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding: 24px;
  }

  .hero-image {
    order: -1;
  }

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

  .media-block,
  .media-block.reverse {
    grid-template-columns: minmax(0, 1fr);
  }

  .image-row-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-teaser {
    grid-template-columns: minmax(0, 1fr);
    padding: 20px;
  }

  .inline-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .two-col {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-cols {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .site-footer {
    padding: 24px 18px 30px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 18px;
  }

  .hero-text h1 {
    font-size: 24px;
  }

  .page-header h1 {
    font-size: 26px;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-actions {
    flex-direction: column;
  }
}
