:root {
  --bg: #050816;
  --bg-alt: #0b1020;
  --card-bg: #111827;
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.1);
  --text: #e5e7eb;
  --text-muted: #94a3b8;
  --border-subtle: #1f2937;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.65);
  --shadow-subtle: 0 8px 24px rgba(15, 23, 42, 0.4);
}

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

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #0b1120 0, #020617 52%, #000 100%);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  text-decoration: underline;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: linear-gradient(
      to bottom,
      rgba(15, 23, 42, 0.95),
      rgba(15, 23, 42, 0.85),
      transparent
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.logo {
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
  text-transform: uppercase;
  color: #e2e8f0;
}

.nav {
  display: flex;
  gap: 0.9rem;
  font-size: 0.9rem;
}

.nav-link {
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  color: #cbd5f5;
  border: 1px solid transparent;
  transition: all 0.18s ease-out;
}

.nav-link:hover {
  border-color: rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.9);
}

.nav-link.active {
  border-color: rgba(56, 189, 248, 0.8);
  background: linear-gradient(
    135deg,
    rgba(56, 189, 248, 0.18),
    rgba(37, 99, 235, 0.28)
  );
  color: #e5f4ff;
}

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

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

.hero-text h1 {
  font-size: clamp(2.2rem, 3.2vw, 2.8rem);
  line-height: 1.1;
  margin: 0 0 1.2rem;
}

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

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.hero-card {
  background: radial-gradient(circle at top left, #1f2937 0, #020617 58%);
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.6rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.hero-card h2 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-size: 1.15rem;
}

.hero-card p {
  margin-top: 0;
  margin-bottom: 0.8rem;
  color: var(--text-muted);
}

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

.hero-list li + li {
  margin-top: 0.25rem;
}

.section {
  padding: 2.5rem 0;
}

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

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

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

.card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.3rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-subtle);
}

.card h2 {
  margin-top: 0;
  margin-bottom: 0.7rem;
  font-size: 1.05rem;
}

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

.page {
  padding-bottom: 2.5rem;
}

.page-header {
  padding: 3rem 0 1.5rem;
}

.page-header h1 {
  font-size: clamp(1.8rem, 2.6vw, 2.3rem);
  margin-bottom: 0.6rem;
}

.page-header p {
  max-width: 720px;
  color: var(--text-muted);
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.two-column article h2 {
  margin-top: 0;
}

.two-column p {
  color: var(--text-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.16s ease-out;
}

.btn.primary {
  background: linear-gradient(135deg, #38bdf8, #2563eb);
  color: #0b1120;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.4);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.6);
}

.btn.secondary {
  border-color: rgba(148, 163, 184, 0.5);
  color: #e5e7eb;
  background: rgba(15, 23, 42, 0.9);
}

.btn.secondary:hover {
  border-color: rgba(148, 163, 184, 0.8);
  background: rgba(15, 23, 42, 1);
}

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  background: radial-gradient(circle at top, #020617, #000);
  padding: 1.6rem 0 1.8rem;
  margin-top: 1rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-content a {
  font-weight: 500;
}

ul {
  padding-left: 1.2rem;
}

li {
  margin-bottom: 0.25rem;
}

.contact-form {
  margin-top: 1rem;
  padding: 1.3rem 1.4rem;
  background: rgba(15, 23, 42, 0.9);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-subtle);
}

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

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

input,
textarea {
  border-radius: 0.7rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.95);
  padding: 0.55rem 0.75rem;
  color: var(--text);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.16s ease-out, box-shadow 0.16s ease-out;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.5);
}

.form-note {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.contact-alt {
  margin-top: 1.1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

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

  .site-header {
    position: static;
  }

  .header-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 2.4rem;
  }

  .container {
    padding: 0 1.1rem;
  }
}
