:root {
  --bg: #0b1020;
  --panel: #01040f;
  --panel-soft: #0f1530;
  --text: #edf2ff;
  --muted: #b9c3e1;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #8cb4ff;
  --accent-2: #d6e3ff;
  --max: 1100px;
  --frame-pad: 20px;
}

/* Reset / base */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top, rgba(120, 150, 255, 0.18), transparent 35%),
    linear-gradient(180deg, #0a1022 0%, #0c1328 100%);
  color: var(--text);
  line-height: 1.6;
}

/* Main centered frame */
.page-frame {
  max-width: 1100px;
  margin: 0 auto;
  min-height: 100vh;
  padding: var(--frame-pad);
  background-color: #0b1e3f;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
}

/* Shared inner containers */
.container {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.narrow {
  max-width: 780px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;

  margin-left: calc(-1 * var(--frame-pad));
  margin-right: calc(-1 * var(--frame-pad));
  padding-left: var(--frame-pad);
  padding-right: var(--frame-pad);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85); /* semi-transparent */
  border-bottom: 1px solid var(--line);
  z-index: -1;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.04em;
  color: white;
}

.nav nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Links / text */
a {
  color: var(--accent-2);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

p {
  color: var(--muted);
}

strong {
  color: white;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.08;
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.2;
  margin-top: 0;
}

h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.82rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 60ch;
}

/* Hero */
.hero {
  padding: 5rem 0 3rem;
}

.small-hero {
  padding-top: 4.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section.alt {
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

.hero-card {
  min-height: 100%;
}

.feature-list {
  margin: 0;
  padding-left: 1.2rem;
}

/* Buttons */
.actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.button {
  display: inline-block;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: white;
  text-decoration: none;
}

.button.primary {
  background: var(--accent);
  color: #09111f;
  border-color: transparent;
  font-weight: 700;
}

.text-link {
  font-weight: 700;
}

/* Footer */
.site-footer {
  padding: 2rem 0 3rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

/* Social text links */
.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  text-decoration: none;
  font-weight: 600;
  color: #333;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  transition: 0.3s;
}

.social-links a:hover {
  background-color: #f0f0f0;
}

/* Social icons */
.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.social-icons img,
.social-icons svg {
  width: 20px;
  height: 20px;
  display: block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-icons a:hover img,
.social-icons a:hover svg {
  transform: scale(1.08);
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 850px) {
  .hero-grid,
  .cards,
  .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

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