:root {
  --bg-main: #020617;
  --bg-soft: rgba(15, 23, 42, 0.96);
  --bg-elevated: rgba(15, 23, 42, 0.98);
  --border-soft: rgba(148, 163, 184, 0.35);
  --accent: #00f5d4;
  --accent-strong: #00ffa8;
  --accent-soft: rgba(0, 245, 212, 0.18);
  --text-main: #f9fafb;
  --text-muted: #94a3b8;
  --danger: #fb7185;
}

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #111827 0, #02040a 55%);
  color: var(--text-main);
  min-height: 100vh;
}

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

/* Layout */

.page-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-main {
  flex: 1;
  padding: 3rem 1.5rem 3.5rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Header + Nav */

.site-header {
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.9);
  background: linear-gradient(
    to right,
    rgba(15, 23, 42, 0.95),
    rgba(15, 23, 42, 0.7),
    rgba(15, 23, 42, 0.95)
  );
  backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

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

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 0%, #22d3ee 0, #0f172a 40%, #020617 100%);
  box-shadow: 0 0 24px rgba(0, 245, 212, 0.4);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.brand-text-main {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-text-sub {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-strong);
}

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

.nav-link {
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  color: var(--text-muted);
  border: 1px solid transparent;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.72rem;
}

.nav-link:hover {
  border-color: var(--accent-soft);
  color: var(--text-main);
  background: rgba(15, 23, 42, 0.8);
}

.nav-link.active {
  border-color: var(--accent);
  background: radial-gradient(circle at top left, var(--accent-soft), rgba(15, 23, 42, 0.97));
  color: var(--accent);
  box-shadow: 0 0 18px rgba(0, 245, 212, 0.35);
}

.nav-cta {
  border-radius: 999px;
  padding: 0.5rem 1rem;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #020617;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 245, 212, 0.5);
}

/* Hero */

.hero {
  margin-bottom: 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

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

.hero-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-strong);
  margin-bottom: 0.75rem;
}

.hero-title {
  font-size: clamp(2.2rem, 3vw, 2.7rem);
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.hero-highlight {
  color: var(--accent);
  text-shadow: 0 0 18px rgba(34, 211, 238, 0.7);
}

.hero-subtitle {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 34rem;
  margin-bottom: 1.4rem;
}

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

.btn {
  border-radius: 999px;
  padding: 0.6rem 1.3rem;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  background: none;
  color: var(--text-main);
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  border-color: rgba(34, 211, 238, 0.1);
  box-shadow: 0 10px 30px rgba(0, 245, 212, 0.5);
  color: #020617;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(0, 245, 212, 0.65);
}

.btn-ghost {
  border-color: var(--border-soft);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-muted);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.9);
}

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

/* Cards / sections */

.section {
  margin-bottom: 3rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 600;
}

.section-kicker {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-strong);
  margin-bottom: 0.35rem;
}

.section-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 30rem;
}

.card-grid {
  display: grid;
  gap: 1.5rem;
}

.card-grid.columns-3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card-grid.columns-2 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.card {
  border-radius: 1.3rem;
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  padding: 1.3rem 1.4rem;
  box-shadow: 0 18px 45px rgba(2, 6, 23, 0.85);
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.card-tag {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--accent-soft);
  margin-bottom: 0.6rem;
}

.card-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 0.7rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.card-list li::before {
  content: "• ";
  color: var(--accent-strong);
}

/* Simple form */

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

.form-row-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.9rem;
}

@media (max-width: 640px) {
  .form-row-2 {
    grid-template-columns: minmax(0, 1fr);
  }
}

label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.input,
.textarea {
  width: 100%;
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.92);
  color: var(--text-main);
  padding: 0.6rem 0.85rem;
  font-size: 0.9rem;
  outline: none;
  resize: vertical;
  min-height: 42px;
}

.input::placeholder,
.textarea::placeholder {
  color: rgba(148, 163, 184, 0.7);
}

.input:focus,
.textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.45);
  background: rgba(15, 23, 42, 0.98);
}

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

/* Footer */

.site-footer {
  padding: 1.2rem 1.5rem 1.6rem;
  border-top: 1px solid rgba(15, 23, 42, 0.95);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-accent {
  color: var(--accent);
}

/* Utility */

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

/* ---------------- HAMBURGER MENU ---------------- */

.hamburger {
  display: none;
  flex-direction: column;
  width: 32px;
  height: 26px;
  justify-content: space-between;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--accent);
  border-radius: 3px;
  transition: 0.3s ease;
  box-shadow: 0 0 8px rgba(0, 245, 212, 0.6);
}

/* When active (X animation) */
.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* MOBILE LAYOUT */
@media (max-width: 860px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    left: 0;
    background: rgba(15, 23, 42, 0.97);
    border-top: 1px solid var(--border-soft);
    display: none;
    flex-direction: column;
    padding: 1rem 1.5rem;
    gap: 0.8rem;
    animation: fadeSlideDown 0.25s ease forwards;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-link,
  .nav-cta {
    width: 100%;
    text-align: left;
    padding: 0.7rem 0.9rem;
    font-size: 0.95rem;
  }
}

/* Slide down animation */
@keyframes fadeSlideDown {
  from {
    transform: translateY(-10px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
