:root {
  --bg-deep: #050815;
  --bg-deeper: #020309;
  --bg-card: #0b1021;
  --bg-card-soft: #0d1326;
  --bg-nav: rgba(4, 8, 20, 0.85);

  --accent: #c5d7ff;
  --accent-soft: #9fb6ff;
  --accent-strong: #4f8cff;
  --tag-green: #2ddf84;

  --text-main: #f5f7ff;
  --text-soft: #c4cae0;
  --text-muted: #8b91a5;

  --border-card: #1b2337;
  --border-soft: #272f49;

  --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.7);
  --radius-card: 18px;
  --max-width: 1120px;
}

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

body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
               "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #101731 0, #050815 45%, #020309 100%);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

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

main {
  min-height: 100vh;
  padding: 2.5rem 1.25rem 3.5rem;
  display: flex;
  justify-content: center;
}

.wrapper {
  width: 100%;
  max-width: var(--max-width);
}

/* Header / nav */

.header-shell {
  position: sticky;
  top: 0;
  z-index: 20;
  margin-bottom: 2.25rem;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  background: var(--bg-nav);
  border: 1px solid #181f34;
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: conic-gradient(from 220deg, #4f8cff, #7a9dff, #293bff, #151a3b);
  border: 1px solid #303b6b;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.brand-mark span {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e5ecff;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text strong {
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.nav {
  display: none;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.nav a {
  position: relative;
  padding-bottom: 0.15rem;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-soft), var(--accent-strong));
  transition: width 160ms ease-out;
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

@media (min-width: 780px) {
  .nav {
    display: flex;
  }
}

/* Panels / cards */

.panel {
  background: radial-gradient(circle at top left, #151c3a 0, var(--bg-card-soft) 40%, var(--bg-card) 100%);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-soft);
  padding: 1.75rem 1.6rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 900px) {
  .panel {
    padding: 2.1rem 2rem;
  }
}

/* Hero layout */

.hero-layout {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .hero-layout {
    grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.4fr);
    align-items: stretch;
  }
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(45, 223, 132, 0.32);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #d8ffe9;
  background: rgba(7, 38, 23, 0.85);
}

.tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tag-green);
  box-shadow: 0 0 14px rgba(45, 223, 132, 0.95);
}

.hero h1 {
  margin: 0.9rem 0 0.75rem;
  font-size: 2.1rem;
  line-height: 1.2;
}

.hero h1 span {
  color: var(--accent);
}

.hero-sub {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.96rem;
  max-width: 40rem;
}

.hero-grid {
  display: grid;
  gap: 1.2rem;
  margin-top: 1.8rem;
}

@media (min-width: 720px) {
  .hero-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Icon chips */

.icon-pill {
  padding: 1.0rem 1.0rem;
  border-radius: 16px;
  border: 1px solid var(--border-soft);
  background: radial-gradient(circle at top, #151b37 0, #090d1e 55%);
}

.icon-pill-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.icon-pill-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 0, #4f8cff, #2839ff 65%, #151a36 100%);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.7);
  font-size: 0.95rem;
}

.icon-pill-title {
  font-size: 0.9rem;
  font-weight: 600;
}

.icon-pill p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Side hero card */

.hero-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-side-block + .hero-side-block {
  margin-top: 1.3rem;
}

.metric-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.1rem;
}

@media (min-width: 600px) {
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.metric-card {
  border-radius: 14px;
  border: 1px solid var(--border-soft);
  background: #080b18;
  padding: 0.85rem 0.9rem;
}

.metric-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.metric-value {
  font-size: 0.95rem;
  color: var(--text-soft);
}

/* Generic sections */

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

.section-header h2 {
  margin: 0;
  font-size: 1.35rem;
}

.section-header p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.cards-3 {
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 820px) {
  .cards-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.card {
  border-radius: 16px;
  border: 1px solid var(--border-soft);
  background: #070a17;
  padding: 0.9rem 1rem;
}

.card h3 {
  margin: 0 0 0.4rem;
  font-size: 0.98rem;
}

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

.card ul {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Contact section */

.contact-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}

@media (min-width: 680px) {
  .contact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.contact-item {
  border-radius: 16px;
  background: #050814;
  border: 1px solid var(--border-soft);
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-top {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.contact-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, #4f8cff, #2737ff 60%, #141830);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.contact-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.contact-item span,
.contact-item a {
  font-size: 0.88rem;
  color: var(--text-soft);
}

.footer-note {
  margin-top: 1.1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Anchors */

.anchor-offset {
  scroll-margin-top: 90px;
}

/* Mobile tweaks */

@media (max-width: 640px) {
  main {
    padding-top: 1.5rem;
  }
  .header {
    border-radius: 14px;
    padding-inline: 1rem;
  }
}


.contact-quick-link {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  margin-left: 0.4rem;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #0b0c10;
  font-weight: 600;
  font-size: 0.82rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: opacity 0.15s ease-out;
}

.contact-quick-link:hover {
  opacity: 0.85;
}
