:root {
  --background: #06070b;
  --background-soft: #0d1017;
  --card: rgba(16, 19, 28, 0.84);
  --card-border: rgba(255, 255, 255, 0.11);
  --text: #f7f8fb;
  --muted: #989fad;
  --gold: #f5c542;
  --green: #80f0c0;
  --purple: #9d7cff;
  --danger: #ff4d5f;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 28px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background: var(--background);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.background-grid {
  position: fixed;
  inset: 0;
  z-index: -4;
  opacity: 0.13;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.background-glow {
  position: fixed;
  z-index: -3;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.16;
  pointer-events: none;
}

.background-glow--one {
  top: -180px;
  left: -120px;
  background: var(--purple);
}

.background-glow--two {
  right: -160px;
  top: 240px;
  background: var(--green);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background: rgba(7, 8, 13, 0.74);
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 0.83rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 11px;
  color: #07080d;
  background: linear-gradient(135deg, var(--gold), var(--green));
  box-shadow: 0 0 30px rgba(128, 240, 192, 0.18);
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  transition: 180ms ease;
}

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

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: 540px;
  padding: 88px 20px 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-badge,
.eyebrow {
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.22em;
}

.hero-badge {
  margin-bottom: 22px;
  padding: 8px 12px;
  border: 1px solid rgba(128, 240, 192, 0.24);
  border-radius: 999px;
  background: rgba(128, 240, 192, 0.06);
}

.hero h1 {
  max-width: 1000px;
  font-size: clamp(3.1rem, 10vw, 8.6rem);
  line-height: 0.88;
  letter-spacing: -0.07em;
  text-shadow: 0 0 70px rgba(157, 124, 255, 0.16);
}

.hero h1 span {
  color: transparent;
  background: linear-gradient(115deg, var(--gold), #ffffff 48%, var(--green));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero p {
  max-width: 660px;
  margin-top: 28px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.hero-button {
  margin-top: 32px;
  padding: 13px 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 13px;
  color: #07080d;
  background: linear-gradient(135deg, var(--gold), var(--green));
  box-shadow: 0 16px 42px rgba(128, 240, 192, 0.15);
  font-size: 0.9rem;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.hero-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(128, 240, 192, 0.23);
}

.projects-section {
  padding: 50px 0 96px;
}

.section-heading {
  margin-bottom: 30px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.section-heading h2 {
  margin-top: 8px;
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -0.04em;
}

.section-heading > p {
  max-width: 340px;
  color: var(--muted);
  text-align: right;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.project-card {
  position: relative;
  min-height: 580px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  box-shadow: var(--shadow);
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
  isolation: isolate;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: radial-gradient(circle at 50% 0%, rgba(245, 197, 66, 0.13), transparent 48%);
  transition: opacity 240ms ease;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(245, 197, 66, 0.34);
  box-shadow: 0 32px 95px rgba(0, 0, 0, 0.52);
}

.project-card:hover::before {
  opacity: 1;
}

.project-card--locked {
  min-height: 580px;
}

.project-media {
  position: relative;
  margin: 14px 14px 0;
  min-height: 340px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-radius: calc(var(--radius) - 10px);
  background: #11141c;
}

.project-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(to top, rgba(6, 7, 11, 0.92), transparent);
  pointer-events: none;
}

.project-media img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  object-position: center 43%;
  transition: transform 500ms ease;
}

.project-card:hover .project-media img {
  transform: scale(1.035);
}

.project-status {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: var(--text);
  background: rgba(6, 7, 11, 0.76);
  backdrop-filter: blur(12px);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.project-status--live {
  color: var(--green);
  border-color: rgba(128, 240, 192, 0.28);
}

.project-content {
  padding: 23px 22px 22px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.project-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.project-name {
  font-size: 1.65rem;
  letter-spacing: -0.035em;
}

.project-ticker {
  flex: 0 0 auto;
  padding: 6px 9px;
  border: 1px solid rgba(245, 197, 66, 0.22);
  border-radius: 9px;
  color: var(--gold);
  background: rgba(245, 197, 66, 0.06);
  font-size: 0.78rem;
  font-weight: 900;
}

.project-description {
  margin-top: 10px;
  min-height: 48px;
  color: var(--muted);
  font-size: 0.93rem;
}

.contract-box {
  margin-top: 18px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 13px;
  background: rgba(0, 0, 0, 0.22);
}

.contract-label {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contract-value {
  display: block;
  overflow: hidden;
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.79rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-actions {
  margin-top: auto;
  padding-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.card-button {
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 11px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  transition: 180ms ease;
}

.card-button:hover:not(:disabled) {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-1px);
}

.card-button--primary {
  color: #07080d;
  border-color: transparent;
  background: linear-gradient(135deg, var(--gold), var(--green));
}

.card-button:disabled,
.card-button[aria-disabled="true"] {
  color: #737987;
  background: rgba(255, 255, 255, 0.025);
  cursor: not-allowed;
}

.locked-media {
  position: relative;
  width: 100%;
  min-height: 340px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 22%, rgba(157, 124, 255, 0.15), transparent 35%),
    linear-gradient(145deg, #12151f, #090a0f);
}

.locked-media::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 310px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.018);
  transform: rotate(12deg);
}

.lock-icon {
  position: relative;
  z-index: 1;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  color: var(--muted);
  background: rgba(6, 7, 11, 0.52);
  box-shadow: 0 0 45px rgba(157, 124, 255, 0.12);
  font-size: 1.8rem;
}

.locked-number {
  position: absolute;
  right: 18px;
  bottom: 12px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.08);
  font-size: 5rem;
  font-weight: 950;
  letter-spacing: -0.08em;
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 30px;
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr 1.5fr auto;
  align-items: center;
  gap: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.8rem;
}

.site-footer strong {
  display: block;
  margin-bottom: 5px;
  color: var(--text);
  letter-spacing: 0.13em;
}

.disclaimer {
  max-width: 580px;
}

.copyright {
  text-align: right;
  white-space: nowrap;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 50;
  padding: 11px 15px;
  border: 1px solid rgba(128, 240, 192, 0.25);
  border-radius: 11px;
  color: var(--text);
  background: rgba(11, 14, 20, 0.94);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.42);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 14px);
  transition: 200ms ease;
  font-size: 0.83rem;
  font-weight: 800;
}

.toast--visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

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

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .copyright {
    grid-column: 1 / -1;
    text-align: left;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 10px 12px;
  }

  .brand {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
  }

  .site-nav a:first-child {
    display: none;
  }

  .hero {
    min-height: 500px;
    padding-inline: 6px;
  }

  .hero h1 {
    font-size: clamp(3.05rem, 18vw, 5.1rem);
  }

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

  .section-heading > p {
    text-align: left;
  }

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

  .project-card,
  .project-card--locked {
    min-height: 560px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .copyright {
    grid-column: auto;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
/* Add this block at the end of style.css */

.growth-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;

  min-width: 108px;
  padding: 8px 11px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;

  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;

  color: var(--text);
  background: rgba(6, 7, 11, 0.84);
  backdrop-filter: blur(12px);

  font-size: 0.73rem;
  white-space: nowrap;
}

.growth-badge__period {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.growth-badge__value {
  font-size: 0.76rem;
  font-weight: 950;
}

.growth-badge--positive {
  color: var(--green);
  border-color: rgba(128, 240, 192, 0.42);
  background: rgba(17, 75, 56, 0.84);
}

.growth-badge--negative {
  color: var(--danger);
  border-color: rgba(255, 77, 95, 0.44);
  background: rgba(91, 20, 31, 0.84);
}

.growth-badge--neutral {
  color: var(--gold);
}

.growth-badge--loading,
.growth-badge--unavailable {
  color: var(--muted);
}
