:root {
  --color-bg: #02040a;
  --color-bg-alt: #041125;
  --color-surface: #071a3b;
  --color-surface-alt: #0b2046;
  --color-accent: #1e63ff; /* blue */
  --color-accent-soft: rgba(30, 99, 255, 0.12);
  --color-accent-strong: #e63946; /* red */
  --color-text: #f6f7fb;
  --color-text-muted: #a8b0c3;
  --color-border-subtle: rgba(255, 255, 255, 0.06);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.45);
  --shadow-subtle: 0 10px 30px rgba(0, 0, 0, 0.35);
  --max-width: 1120px;
}

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-text);
  background: radial-gradient(circle at top, #0b1b3a 0, var(--color-bg) 55%);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

a:hover,
a:focus-visible {
  text-decoration: underline;
}

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

/* Header & navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(3, 10, 17, 0.95), rgba(3, 10, 17, 0.7));
  border-bottom: 1px solid var(--color-border-subtle);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--color-text);
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: radial-gradient(circle at 20% 0, #e63946 0, #1e63ff 45%, #02040a 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-subtle);
}

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

.logo-name {
  font-weight: 600;
  font-size: 1rem;
}

.logo-tagline {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  text-decoration: none;
  position: relative;
  padding-bottom: 0.1rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-strong));
  transition: width 160ms ease-out;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: 1px solid var(--color-border-subtle);
  border-radius: 999px;
  padding: 0;
  cursor: pointer;
}

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

/* Hero */

.hero {
  padding: 4.5rem 0 3.5rem;
}

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

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

.hero-text p {
  margin: 0 0 1.25rem;
  color: var(--color-text-muted);
  max-width: 36rem;
  font-size: 0.98rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: transform 130ms ease-out, box-shadow 130ms ease-out, background 130ms ease-out, border-color 130ms ease-out;
}

.btn.primary {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-strong));
  color: #020309;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.45);
}

.btn.ghost {
  background: rgba(8, 23, 38, 0.85);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--color-text);
}

.btn.full-width {
  width: 100%;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
}

.hero-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-highlights li {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(circle at top left, rgba(230, 57, 70, 0.16), rgba(7, 26, 59, 0.96));
}

.hero-panel {
  position: relative;
  padding: 1.5rem;
}

.hero-badge {
  position: absolute;
  top: 0;
  right: 1.5rem;
  transform: translateY(-50%);
  background: radial-gradient(circle at 0 0, #e63946 0, #1e63ff 55%, #02040a 100%);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: var(--shadow-subtle);
}

.hero-card {
  background: radial-gradient(circle at top, rgba(30, 99, 255, 0.12), rgba(7, 26, 59, 0.98));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.6rem 1.4rem 1.4rem;
  box-shadow: var(--shadow-soft);
}

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

.hero-card p {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.hero-card ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Sections */

.section {
  padding: 3.25rem 0;
}

.section.alt {
  background: radial-gradient(circle at top, rgba(10, 36, 81, 0.9), #02040a 70%);
}

.section-inner {
  background: linear-gradient(130deg, rgba(7, 26, 59, 0.98), rgba(3, 12, 30, 0.98));
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-soft);
  padding: 2rem 1.8rem;
}

.section h2 {
  font-size: 1.5rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.section-intro {
  margin: 0 0 1.5rem;
  color: var(--color-text-muted);
  max-width: 40rem;
  font-size: 0.95rem;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.about-list h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.about-list ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--color-text-muted);
  font-size: 0.93rem;
}

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

.card {
  background: radial-gradient(circle at top left, rgba(30, 99, 255, 0.14), rgba(7, 26, 59, 0.97));
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.2rem 1rem;
  font-size: 0.9rem;
}

.card-outlined {
  background: rgba(4, 15, 32, 0.95);
  border-style: dashed;
}

.card h3 {
  margin: 0 0 0.5rem;
}

.card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--color-text-muted);
}

.cert-list {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  color: var(--color-text-muted);
  font-size: 0.93rem;
}

.callout {
  background: radial-gradient(circle at top right, rgba(30, 99, 255, 0.22), rgba(7, 26, 59, 0.96));
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.2rem 1rem;
  font-size: 0.9rem;
}

.callout h3 {
  margin-top: 0;
}

.callout ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--color-text-muted);
}

.contact-section .section-inner {
  background: linear-gradient(135deg, rgba(8, 25, 46, 0.97), rgba(4, 10, 20, 0.97));
}

.contact-list {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.93rem;
  color: var(--color-text-muted);
}

.contact-form {
  background: rgba(2, 6, 14, 0.9);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 1.1rem;
  box-shadow: var(--shadow-subtle);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.9rem;
}

.form-row label {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.form-row input,
.form-row textarea {
  background: rgba(5, 13, 24, 0.95);
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.48rem 0.65rem;
  color: var(--color-text);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 130ms ease-out, box-shadow 130ms ease-out, background 130ms ease-out;
}

.form-row input:focus-visible,
.form-row textarea:focus-visible {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px rgba(30, 164, 255, 0.35);
  background: rgba(4, 10, 20, 0.95);
}

.form-row textarea {
  resize: vertical;
  min-height: 110px;
}

.form-note {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.form-status {
  min-height: 1.1em;
  margin: 0.2rem 0 0;
  font-size: 0.8rem;
}

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

.form-status.success {
  color: #7dffb5;
}

/* Footer */

.site-footer {
  margin-top: auto;
  padding: 1.5rem 0 2rem;
  background: radial-gradient(circle at top, #020509, #000308 60%);
  border-top: 1px solid var(--color-border-subtle);
}

.footer-inner {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

.footer-meta {
  margin-top: 0.2rem;
}

/* Responsive */

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

  .hero-panel {
    order: -1;
  }

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

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

@media (max-width: 720px) {
  .header-inner {
    padding-inline: 1rem;
  }

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

  .nav-links {
    position: absolute;
    top: 100%;
    right: 1.2rem;
    background: rgba(3, 10, 17, 0.98);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-subtle);
    padding: 0.5rem 0.9rem;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: var(--shadow-soft);
    transform-origin: top right;
    transform: scale(0.9);
    opacity: 0;
    pointer-events: none;
    transition: opacity 130ms ease-out, transform 130ms ease-out;
  }

  .nav-links.open {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .section-inner {
    padding-inline: 1.2rem;
  }

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

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

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

  .section {
    padding-block: 2.6rem;
  }
}

