:root {
  --bg: #050711;
  --bg-elevated: #0c1020;
  --bg-alt: #0a0f1c;
  --accent: #4fd1c5;
  --accent-soft: rgba(79, 209, 197, 0.12);
  --text: #f6f7fb;
  --muted: #a5afc7;
  --border-subtle: #23273a;
  --error: #f56565;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
              "Roboto", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
}

/* Simple SVG techy pattern in the background (replace if desired) */
body {
  background-image:
    radial-gradient(circle at 0 0, rgba(79, 209, 197, 0.22), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(79, 148, 255, 0.22), transparent 55%),
    url("data:image/svg+xml,%3Csvg width='160' height='160' viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop stop-color='%2310203b' offset='0'/%3E%3Cstop stop-color='%230a101f' offset='1'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='160' height='160' fill='url(%23g)' /%3E%3Cpath d='M0 80h40l40-80 40 80h40' fill='none' stroke='%231b2540' stroke-width='1' stroke-opacity='0.6'/%3E%3Ccircle cx='80' cy='80' r='6' fill='none' stroke='%234fd1c5' stroke-width='1' stroke-opacity='0.4'/%3E%3C/svg%3E");
  background-size: cover, cover, 320px 320px;
  background-attachment: fixed;
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin: 0 auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: linear-gradient(
    to bottom,
    rgba(5, 7, 17, 0.96),
    rgba(5, 7, 17, 0.82),
    transparent
  );
  border-bottom: 1px solid rgba(35, 39, 58, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.logo-mark {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.5rem;
  background: radial-gradient(circle at 30% 20%, #4fd1c5, #3182ce);
  color: #050711;
  font-size: 1rem;
}

.logo-text {
  font-size: 0.95rem;
  text-transform: uppercase;
  color: var(--muted);
}

.main-nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  position: relative;
  padding-bottom: 0.15rem;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #4fd1c5, #4299e1);
  transition: width 0.18s ease-out;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--text);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  width: 100%;
}

/* Hero */

.hero {
  position: relative;
  padding: 5.5rem 0 4.5rem;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 0, rgba(79, 209, 197, 0.25), transparent 55%),
              radial-gradient(circle at 90% 100%, rgba(66, 153, 225, 0.25), transparent 55%);
  opacity: 0.9;
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 720px;
  padding: 3.5rem 0 2.5rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  letter-spacing: 0.03em;
  margin-bottom: 0.9rem;
}

.hero-tagline {
  color: var(--muted);
  max-width: 32rem;
  line-height: 1.5;
  margin-bottom: 1.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* Sections */

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: radial-gradient(circle at 0 0, rgba(79, 209, 197, 0.08), transparent 55%),
              linear-gradient(to bottom, rgba(12, 16, 32, 0.96), rgba(5, 7, 17, 0.98));
}

.section-inner {
  backdrop-filter: blur(8px);
}

.section-header {
  margin-bottom: 1.8rem;
}

.section-header h2 {
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.25rem;
}

.section-kicker {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Grid */

.grid {
  display: grid;
  gap: 1.75rem;
}

.two-column {
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
}

.three-column {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stack-on-mobile {
  align-items: flex-start;
}

/* Cards and panels */

.card {
  border-radius: 1rem;
  padding: 1.4rem 1.35rem;
  background: linear-gradient(145deg, rgba(12, 16, 32, 0.96), rgba(9, 12, 24, 0.98));
  border: 1px solid var(--border-subtle);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out,
              border-color 0.12s ease-out, background 0.12s ease-out;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.3rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.card:hover,
.card:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.45);
  border-color: rgba(79, 209, 197, 0.7);
  background: linear-gradient(145deg, rgba(12, 18, 40, 0.98), rgba(4, 9, 20, 0.96));
}

.key-points {
  border-radius: 1rem;
  padding: 1.3rem 1.35rem;
  border: 1px solid var(--border-subtle);
  background: radial-gradient(circle at 0 0, var(--accent-soft), transparent 70%);
}

.key-points h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.key-points ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.key-points li {
  position: relative;
  margin: 0.35rem 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.key-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #4fd1c5, #4299e1);
}

/* Contact */

.contact-details {
  list-style: none;
  padding-left: 0;
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-details li + li {
  margin-top: 0.35rem;
}

.contact-form {
  border-radius: 1rem;
  padding: 1.4rem 1.35rem;
  border: 1px solid var(--border-subtle);
  background: linear-gradient(145deg, rgba(8, 12, 28, 0.96), rgba(4, 8, 20, 0.98));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.field {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.95rem;
}

.field label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.field input,
.field textarea {
  border-radius: 0.65rem;
  border: 1px solid rgba(54, 66, 100, 0.9);
  background: rgba(7, 10, 24, 0.95);
  color: var(--text);
  padding: 0.6rem 0.7rem;
  font: inherit;
  resize: vertical;
}

.field input:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: rgba(79, 209, 197, 0.9);
  box-shadow: 0 0 0 1px rgba(79, 209, 197, 0.5);
}

.form-note {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.form-status {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  min-height: 1.2em;
}

.form-status.error {
  color: var(--error);
}

.form-status.success {
  color: var(--accent);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.14s ease-out, transform 0.14s ease-out,
              box-shadow 0.14s ease-out, border-color 0.14s ease-out;
}

.btn.primary {
  background: linear-gradient(135deg, #4fd1c5, #4299e1);
  color: #050711;
  box-shadow: 0 12px 30px rgba(66, 153, 225, 0.45);
}

.btn.primary:hover,
.btn.primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(66, 153, 225, 0.6);
}

.btn.ghost {
  background: transparent;
  color: var(--muted);
  border-color: rgba(128, 140, 176, 0.9);
}

.btn.ghost:hover,
.btn.ghost:focus-visible {
  color: var(--text);
  border-color: rgba(79, 209, 197, 0.9);
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(35, 39, 58, 0.8);
  padding: 1.6rem 0 2.2rem;
  margin-top: 1rem;
  background: radial-gradient(circle at 50% 0, rgba(79, 209, 197, 0.12), transparent 60%);
}

.footer-inner {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Responsive */

@media (max-width: 768px) {
  .header-inner {
    gap: 1.5rem;
  }

  .main-nav {
    gap: 1rem;
    font-size: 0.85rem;
  }

  .hero {
    padding-top: 4.5rem;
  }

  .two-column,
  .three-column {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-form {
    margin-top: 0.75rem;
  }
}

@media (max-width: 520px) {
  .main-nav {
    display: none; /* keep header simpler on very small screens */
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}
