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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #050816;
  color: #f9fafb;
  line-height: 1.6;
}

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

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(5, 8, 22, 0.96), rgba(5, 8, 22, 0.7));
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  width: 40px;
  height: 40px;
}

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

.logo-title {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.logo-subtitle {
  font-size: 0.75rem;
  color: #9ca3af;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.9rem;
}

.main-nav a {
  color: #e5e7eb;
  padding: 0.3rem 0;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #22c55e, #ef4444);
  transition: width 0.2s ease-out;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

/* Hero */

.hero {
  padding: 4.5rem 0 3.5rem;
  background:
    radial-gradient(circle at top left, rgba(34, 197, 94, 0.15), transparent 55%),
    radial-gradient(circle at top right, rgba(248, 113, 113, 0.18), transparent 55%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.1rem, 2.8vw, 2.8rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}

.hero-text p {
  margin: 0 0 1.5rem;
  color: #cbd5f5;
  max-width: 36rem;
}

.accent {
  background: linear-gradient(90deg, #22c55e, #ef4444);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.4rem;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: #9ca3af;
}

.hero-highlights span {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 0.4rem 0.7rem;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.hero-card {
  background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.14), transparent 55%), rgba(15, 23, 42, 0.96);
  border-radius: 1rem;
  padding: 1.2rem 1.3rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.95);
}

.hero-card h2 {
  font-size: 1rem;
  margin: 0 0 0.5rem;
}

.hero-card p {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: #e5e7eb;
}

.hero-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.25rem;
  font-size: 0.85rem;
  color: #9ca3af;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.35rem;
}

.hero-chip {
  aspect-ratio: 1 / 1;
  border-radius: 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background:
    radial-gradient(circle at 20% 20%, rgba(34, 197, 94, 0.4), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(248, 113, 113, 0.4), transparent 55%);
  position: relative;
  overflow: hidden;
}

.hero-chip::before,
.hero-chip::after {
  content: "";
  position: absolute;
  inset: 28%;
  border-radius: inherit;
  border: 1px solid rgba(15, 23, 42, 0.7);
}

.hero-chip::after {
  inset: 10%;
  opacity: 0.7;
}

/* Sections */

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: radial-gradient(circle at top center, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.98));
}

.section-title {
  font-size: 1.6rem;
  margin: 0 0 0.5rem;
}

.section-intro {
  margin: 0 0 2rem;
  color: #cbd5f5;
  max-width: 40rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
}

.card {
  background: rgba(15, 23, 42, 0.96);
  border-radius: 0.9rem;
  padding: 1.1rem 1.15rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.9);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.card p {
  margin: 0;
  font-size: 0.9rem;
  color: #e5e7eb;
}

/* Layout helpers */

.two-columns {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
  gap: 2rem;
  align-items: start;
}

.list-checks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.list-checks li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
}

.list-checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #22c55e;
  font-weight: 600;
}

/* Info panel */

.info-panel {
  background: rgba(15, 23, 42, 0.96);
  border-radius: 0.9rem;
  padding: 1.25rem 1.3rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
}

.info-panel h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
}

.info-list li span {
  display: inline-block;
  min-width: 7.5rem;
  color: #9ca3af;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, background 0.12s ease-out, border-color 0.12s ease-out;
}

.btn.primary {
  background: linear-gradient(90deg, #22c55e, #ef4444);
  color: #f9fafb;
  box-shadow: 0 10px 30px rgba(248, 113, 113, 0.35);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 38px rgba(248, 113, 113, 0.5);
}

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

.btn.ghost:hover {
  background: rgba(15, 23, 42, 0.9);
}

.btn.large {
  padding-inline: 1.7rem;
  padding-block: 0.8rem;
}

/* Page header */

.page-header {
  padding: 3rem 0 1.5rem;
  background:
    radial-gradient(circle at top left, rgba(34, 197, 94, 0.18), transparent 55%),
    radial-gradient(circle at top right, rgba(248, 113, 113, 0.18), transparent 55%);
}

.page-header h1 {
  margin: 0 0 0.5rem;
  font-size: 1.8rem;
}

.page-header p {
  margin: 0;
  color: #cbd5f5;
}

/* Contact form */

.contact-form {
  display: grid;
  gap: 0.9rem;
}

.form-group {
  display: grid;
  gap: 0.3rem;
}

label {
  font-size: 0.85rem;
  color: #e5e7eb;
}

input,
textarea {
  border-radius: 0.5rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.95);
  color: #f9fafb;
  padding: 0.5rem 0.7rem;
  font-family: inherit;
  font-size: 0.9rem;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #22c55e;
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.4);
}

textarea {
  resize: vertical;
}

.form-helper {
  font-size: 0.8rem;
  color: #9ca3af;
}

/* Legal */

.legal-content {
  display: grid;
  gap: 1.6rem;
  font-size: 0.9rem;
  color: #e5e7eb;
}

.legal-content h2 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

/* CTA block */

.cta-block {
  background: radial-gradient(circle at left, rgba(34, 197, 94, 0.17), transparent 65%), rgba(15, 23, 42, 0.98);
  border-radius: 1rem;
  padding: 1.7rem 1.6rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
}

.cta-block h2 {
  margin: 0 0 0.3rem;
  font-size: 1.4rem;
}

.cta-block p {
  margin: 0;
  color: #cbd5f5;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  padding: 1.1rem 0 1.3rem;
  background: rgba(5, 8, 22, 0.98);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  color: #9ca3af;
}

/* Responsive */

@media (max-width: 900px) {
  .hero-inner,
  .two-columns,
  .cards-grid,
  .cta-block {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-inner,
  .two-columns {
    display: flex;
    flex-direction: column;
  }

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

  .hero {
    padding-top: 3.5rem;
  }

  .site-header {
    position: sticky;
  }
}

@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .hero-inner {
    gap: 2.2rem;
  }

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

  .cta-block {
    flex-direction: column;
    align-items: flex-start;
  }

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