:root {
  --bg: #07111f;
  --bg-elevated: #0d1b2e;
  --bg-card: rgba(13, 27, 46, 0.78);
  --text: #eef4ff;
  --muted: #aebbd0;
  --soft: #7f8fa7;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #60a5fa;
  --accent-strong: #2563eb;
  --gold: #d4af37;
  --emerald: #2dd4bf;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.22), transparent 35%),
    radial-gradient(circle at 80% 10%, rgba(45, 212, 191, 0.13), transparent 32%),
    linear-gradient(180deg, #07111f 0%, #081322 48%, #050914 100%);
  color: var(--text);
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(7, 17, 31, 0.78);
  border-bottom: 1px solid var(--line);
}

.navbar {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #081322;
  background: linear-gradient(135deg, var(--gold), #f8e7a4);
  box-shadow: 0 14px 34px rgba(212, 175, 55, 0.18);
}

.brand-name {
  font-size: 1.08rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a {
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.nav-cta {
  color: var(--text) !important;
  border: 1px solid var(--line);
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.hero {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: 56px;
  padding: 72px 0;
}

.hero-glow {
  position: absolute;
  inset: 12% auto auto 42%;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  background: rgba(96, 165, 250, 0.12);
  filter: blur(80px);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--emerald);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(3rem, 7vw, 6.7rem);
  line-height: 0.94;
  letter-spacing: -0.075em;
  margin-bottom: 28px;
}

.hero-text {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.15rem;
}

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

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.primary-button {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.34);
}

.secondary-button {
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
}

.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
}

.secondary-button:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.25);
}

.hero-card {
  position: relative;
  z-index: 1;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
    var(--bg-card);
  box-shadow: var(--shadow);
}

.card-topline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 28px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--emerald);
  box-shadow: 0 0 0 7px rgba(45, 212, 191, 0.12);
}

.hero-card h2 {
  font-size: 3.2rem;
  line-height: 1;
  letter-spacing: -0.06em;
  margin-bottom: 4px;
}

.subtitle {
  color: var(--gold);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.hero-card > p:not(.subtitle) {
  color: var(--muted);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.metric {
  display: block;
  color: var(--text);
  font-size: 1.35rem;
  font-weight: 800;
}

.metric-label {
  display: block;
  color: var(--soft);
  font-size: 0.78rem;
  margin-top: 4px;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading h2,
.agentia-copy h2 {
  font-size: clamp(2rem, 4vw, 3.9rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
  margin-bottom: 0;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.value-card,
.portfolio-card,
.agentia-panel {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.value-card {
  padding: 28px;
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  color: #081322;
  background: linear-gradient(135deg, var(--gold), #f6d76f);
  font-weight: 900;
  margin-bottom: 22px;
}

.value-card h3,
.portfolio-card h3 {
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.value-card p,
.portfolio-card p,
.agentia-copy p {
  color: var(--muted);
}

.portfolio-section {
  padding-top: 52px;
}

.portfolio-card {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 30px;
  margin-bottom: 16px;
}

.portfolio-card.featured {
  background:
    linear-gradient(135deg, rgba(96, 165, 250, 0.16), rgba(45, 212, 191, 0.07)),
    rgba(255, 255, 255, 0.045);
}

.project-label {
  color: var(--gold) !important;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
  margin-bottom: 10px;
}

.text-link {
  flex: 0 0 auto;
  align-self: center;
  color: var(--text);
  font-weight: 800;
}

.agentia-panel {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 34px;
  padding: 38px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(212, 175, 55, 0.10), transparent 34%),
    rgba(255, 255, 255, 0.045);
}

.agentia-copy p {
  font-size: 1.05rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 12px;
}

.feature-list li {
  color: var(--muted);
  padding-left: 28px;
  position: relative;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--emerald);
}

.agentia-console {
  align-self: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(2, 6, 23, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), var(--shadow);
  overflow: hidden;
}

.console-header {
  display: flex;
  gap: 8px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.console-header span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.console-body {
  padding: 24px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.9rem;
}

.console-label {
  color: var(--gold);
  margin-bottom: 18px;
}

.console-line {
  color: var(--muted);
  margin-bottom: 10px;
}

.console-ready {
  color: var(--emerald);
  margin-top: 22px;
  font-weight: 800;
}

.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 46px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .navbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
    gap: 16px;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    gap: 18px;
    padding-bottom: 4px;
  }

  .hero,
  .agentia-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 52px;
  }

  .value-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-card,
  .site-footer {
    flex-direction: column;
  }

  .text-link {
    align-self: flex-start;
  }
}

@media (max-width: 560px) {
  .navbar,
  .hero,
  .section,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .nav-links {
    font-size: 0.86rem;
  }

  .hero-card,
  .agentia-panel {
    padding: 24px;
    border-radius: 24px;
  }

  .metric-row {
    grid-template-columns: 1fr;
  }

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

  .primary-button,
  .secondary-button {
    width: 100%;
  }
}
