:root {
  --bg: #0f1222;
  --surface: #151935;
  --surface-2: #1b2045;
  --text: #e8ebff;
  --muted: #a7b0d7;
  --primary: #6c5ce7;
  --primary-600: #5a49e0;
  --accent: #00d4ff;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html, body {
  padding: 0;
  margin: 0;
  background: radial-gradient(1200px 800px at 80% -20%, rgba(108, 92, 231, 0.25), transparent 50%),
              radial-gradient(1000px 700px at -10% 20%, rgba(0, 212, 255, 0.18), transparent 50%),
              var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell,
    "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.5;
}

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  padding: clamp(48px, 8vw, 72px) 0;
}

.section-header {
  margin-bottom: 28px;
  display: grid;
  justify-items: start;
}

.section-kicker {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}

.section-title {
  margin: 6px 0 12px 0;
  font-size: 34px;
  line-height: 1.2;
}

.section-subtitle {
  color: var(--muted);
  max-width: 720px;
}

.card, .tile {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.card {
  padding: 22px;
}

.tile {
  padding: 18px;
}

hr.divider {
  height: 1px;
  border: 0;
  background: var(--border);
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(1.2) blur(8px);
  background: rgba(10, 12, 26, 0.6);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 28px;
  height: 28px;
}

.brand .name {
  font-weight: 700;
  letter-spacing: 0.4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 10px 14px;
  color: var(--muted);
  border-radius: 10px;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.nav-links a.active {
  color: var(--text);
  background: rgba(108, 92, 231, 0.12);
}

.nav-cta {
  margin-left: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.12s ease, background 0.2s ease, border 0.2s ease, box-shadow 0.2s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-600));
  border-color: rgba(255, 255, 255, 0.06);
  color: white;
  box-shadow: 0 10px 24px rgba(108, 92, 231, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 14px 28px rgba(108, 92, 231, 0.45);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.hero {
  padding: 72px 0 40px 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 3.3rem);
  line-height: 1.1;
  margin: 0 0 12px 0;
}

.hero p {
  color: var(--muted);
  margin: 0 0 18px 0;
  font-size: 18px;
}

.hero .actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.feature {
  padding: 18px;
}

.feature h3 {
  margin: 4px 0 6px 0;
}

.feature p {
  color: var(--muted);
  margin: 0;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  color: var(--muted);
}

.footer .links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer .links a {
  color: var(--muted);
}

.footer .links a:hover {
  color: var(--text);
}

.form {
  display: grid;
  gap: 12px;
}

.input, .textarea, .select {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 12px;
  color: var(--text);
}

.textarea {
  min-height: 140px;
  resize: vertical;
}

.label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--muted);
}

.muted { color: var(--muted); }
.center { text-align: center; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--text);
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

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

@media (max-width: 800px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; }
  .header.nav-open .nav-links {
    display: flex;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    padding: 12px 16px 16px 16px;
    background: rgba(10, 12, 26, 0.96);
    border-bottom: 1px solid var(--border);
    gap: 8px;
    flex-direction: column;
  }
}


.section-header.center {
  justify-items: center;
}

.avatar {
  width: 80px;
  height: 80px;
  border-radius: 9999px;
  object-fit: cover;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  margin-bottom: 10px;
}

.icon {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  display: inline-block;
}

.mt-12 { margin-top: 12px; }

.mt-16 { margin-top: 16px; }

.mb-18 { margin-bottom: 18px; }

.mt-18 { margin-top: 18px; }

.ml-8 { margin-left: 8px; }

/* Utilities */

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  padding: 10px 16px;
  box-shadow: var(--shadow);
  z-index: 100;
}

.skip-link:focus-visible {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  clip: auto;
}

@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: clamp(48px, 12vw, 64px) 0 32px 0;
  }
  .hero p {
    font-size: 16px;
  }
}
