/* Base layout and theme */
:root {
  --bg: #050e17;
  --panel: #0c1825;
  --panel-2: #0f2233;
  --text: #e6f1ff;
  --muted: #9fb1c7;
  --accent: #f7b500;
  --accent-2: #3dd6c7;
  --border: #153049;
  --shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
  --radius: 16px;
  --radius-sm: 12px;
  --gradient: radial-gradient(circle at 20% 20%, rgba(61, 214, 199, 0.18), transparent 35%), radial-gradient(circle at 80% 0%, rgba(247, 181, 0, 0.18), transparent 38%), linear-gradient(135deg, #0c1c2a 0%, #07111b 60%, #050c15 100%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: "Space Grotesk", "Manrope", system-ui, -apple-system, sans-serif;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 16px;
  color: var(--muted);
}

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

.page {
  background: var(--gradient);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  background: rgba(5, 14, 23, 0.8);
}

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

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--accent), var(--accent-2));
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #051019;
  box-shadow: 0 10px 30px rgba(247, 181, 0, 0.35);
}

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

.brand-name {
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-sub {
  font-size: 12px;
  color: var(--muted);
}

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

.nav-links a {
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text);
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.06);
}

.link-button {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #051019;
  box-shadow: 0 10px 25px rgba(247, 181, 0, 0.25);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  cursor: pointer;
}

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

main {
  padding: 48px 24px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(12, 30, 46, 0.9), rgba(7, 19, 30, 0.85));
  box-shadow: var(--shadow);
}

.hero h1 {
  font-size: clamp(32px, 4vw, 44px);
}

.hero .lede {
  font-size: 18px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  font-size: 12px;
  color: var(--accent-2);
  margin-bottom: 12px;
}

.lede {
  font-size: 17px;
}

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

.primary-button,
.secondary-button {
  padding: 14px 18px;
  border-radius: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.primary-button {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #041019;
  box-shadow: 0 14px 35px rgba(247, 181, 0, 0.3);
}

.secondary-button {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

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

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.stat-number {
  font-size: 26px;
  font-weight: 700;
}

.stat-label {
  display: block;
  color: var(--muted);
  margin-top: 6px;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.hero-points li {
  position: relative;
  padding-left: 16px;
}

.hero-points li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.hero-panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: -20% 20%;
  background: radial-gradient(circle at 20% 20%, rgba(61, 214, 199, 0.14), transparent 35%);
  z-index: 0;
}

.panel-header,
.panel-body,
.panel-footer {
  position: relative;
  z-index: 1;
}

.panel-header {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-weight: 700;
  font-size: 12px;
}

.pill.alt {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #041019;
}

.note-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.note-card ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  color: var(--muted);
}

.note-card ul li {
  margin: 8px 0;
}

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

.village-visual {
  margin: 18px 0 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.village-visual img {
  width: 100%;
  display: block;
}

.metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  margin-bottom: 10px;
}

.metric strong {
  font-size: 18px;
}

.trend {
  font-weight: 700;
  color: var(--accent);
}

.trend.flat {
  color: var(--muted);
}

.chart {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  align-items: end;
  padding: 16px 0 6px;
}

.bar {
  height: 50px;
  background: linear-gradient(180deg, var(--accent-2), #0e3a53);
  border-radius: 8px 8px 2px 2px;
  box-shadow: inset 0 -6px 12px rgba(0, 0, 0, 0.35);
}

.panel-footer {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.panel-list {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.section {
  margin-top: 72px;
}

.section-header {
  max-width: 760px;
}

.section-header.compact {
  max-width: 560px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.cards .card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, border-color 0.2s ease;
}

.cards .card:hover {
  transform: translateY(-4px);
  border-color: rgba(247, 181, 0, 0.4);
}

.card .icon {
  font-size: 26px;
  margin-bottom: 8px;
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #041019;
  font-weight: 800;
  margin-bottom: 10px;
  box-shadow: 0 10px 25px rgba(247, 181, 0, 0.25);
}

.card ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  color: var(--muted);
}

.card ul li {
  margin: 6px 0;
}

.industries {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 24px;
  padding: 24px;
}

.industry-grid {
  margin-top: 16px;
}

.industry-card {
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.industry-card span {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}

.approach .steps {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.highlight {
  margin-top: 80px;
  padding: 32px;
  background: linear-gradient(135deg, rgba(247, 181, 0, 0.14), rgba(61, 214, 199, 0.14));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.highlight-content h2 {
  font-size: 30px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.contact {
  margin-top: 80px;
}

.contact-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.contact-details {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  color: var(--muted);
}

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

.contact-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--accent-2);
  border-color: transparent;
}

.contact-form button {
  padding: 14px;
  border-radius: 12px;
  border: none;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #041019;
  cursor: pointer;
  box-shadow: 0 14px 35px rgba(247, 181, 0, 0.3);
}

.contact-form .disclaimer {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.form-status {
  margin: 0;
  font-size: 14px;
  color: var(--accent-2);
}

.founder-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.founder-card {
  text-align: left;
}

.avatar {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #041019;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 10px;
  box-shadow: 0 12px 28px rgba(247, 181, 0, 0.2);
}

.founder-role {
  color: var(--accent-2);
  font-weight: 700;
  margin: 6px 0;
}

.founder-quote {
  color: var(--muted);
  font-style: italic;
}

.footer {
  padding: 48px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  background: #040a12;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.footer h4 {
  margin-bottom: 10px;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--muted);
}

.footer ul li {
  margin: 6px 0;
}

.footer-lede {
  max-width: 320px;
}

.footer-bottom {
  max-width: 1100px;
  margin: 16px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  color: var(--muted);
  font-size: 14px;
}

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

/* Responsive adjustments */
@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 18px;
    background: rgba(5, 14, 23, 0.96);
    flex-direction: column;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: var(--shadow);
    display: none;
  }

  .nav-links a {
    width: 100%;
  }

  .nav-links.open {
    display: flex;
  }

  .step {
    grid-template-columns: 60px 1fr;
  }
}

@media (max-width: 540px) {
  .hero,
  .contact-card {
    padding: 20px;
  }

  .section {
    margin-top: 56px;
  }
}
