:root {
  --bg: #0f2f24;
  --bg-dark: #0b2019;
  --card: rgba(255, 255, 255, 0.10);
  --card-strong: rgba(255, 255, 255, 0.16);
  --text: #f5f7f2;
  --muted: rgba(245, 247, 242, 0.78);
  --line: rgba(255, 255, 255, 0.14);
  --green: #2f8f46;
  --green-dark: #247039;
  --accent: #d7f7dd;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, sans-serif;
  background: linear-gradient(180deg, var(--bg-dark), var(--bg));
  color: var(--text);
}

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

.page-wrapper {
  min-height: 100vh;
}

.glass,
.header,
.market-card,
.news-card,
.feature-card {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(242, 244, 240, 0.92);
  color: #12212b;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-container,
.footer-container,
.hero-container,
.about-container,
.market-container,
.news-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2f8f46, #1f6b34);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
}

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

.brand-title {
  font-weight: 800;
  font-size: 1rem;
}

.brand-subtitle {
  font-size: 0.88rem;
  color: #53606c;
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: 26px;
}

.navigation-link {
  color: #445063;
  font-weight: 600;
}

.navigation-button,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 700;
}

.navigation-button,
.primary-button {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
}

.secondary-button {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 30px 0 60px;
  background:
    radial-gradient(circle at 25% 20%, rgba(255,255,255,0.08), transparent 30%),
    linear-gradient(135deg, #0b1f19 0%, #123a2a 55%, #143f2d 100%);
}

.hero-accent {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.02), transparent 50%);
  pointer-events: none;
}

.hero-container {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 28px;
  align-items: stretch;
}

.hero-copy {
  padding: 28px 0 0;
}

.hero-eyebrow,
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent);
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #8ef0a1;
}

.hero-heading {
  margin: 16px 0 14px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  max-width: 12ch;
}

.hero-description,
.section-description,
.about-paragraph,
.news-description,
.market-description,
.feature-description {
  color: var(--muted);
  line-height: 1.75;
}

.hero-description {
  max-width: 66ch;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.highlight-item,
.metric-card,
.news-card,
.feature-card {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 28px;
}

.highlight-item {
  padding: 20px;
}

.highlight-value {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.highlight-label {
  color: var(--muted);
  line-height: 1.4;
}

.hero-market-card-column {
  display: flex;
}

.market-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  color: #18222f;
  padding: 22px;
  border-radius: 28px;
}

.market-card-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.market-card-title {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 3rem;
  line-height: 0.95;
}

.market-card-subtitle {
  margin: 10px 0 0;
  color: #5b6470;
  line-height: 1.4;
}

.live-badge,
.market-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
}

.live-badge {
  min-width: 52px;
  padding: 16px 18px;
  background: #d8f7de;
  color: #246b35;
}

.market-metrics {
  padding: 18px 0;
}

.metric-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.metric-label-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.metric-label {
  font-size: 0.98rem;
  font-weight: 700;
  color: #1f2a38;
}

.metric-meta {
  color: #667280;
  line-height: 1.4;
}

.metric-value {
  font-size: 1.55rem;
  font-weight: 800;
  text-align: right;
  line-height: 1.25;
  white-space: normal;
}

.market-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 10px;
  color: #5a6571;
  font-weight: 600;
}

.market-footer-link {
  color: #1e6a33;
  white-space: nowrap;
}

.section-fade,
.market-section,
.news-section {
  padding: 72px 0;
}

.about-container,
.market-container,
.news-container {
  display: grid;
  gap: 30px;
}

.section-heading {
  margin: 10px 0 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  max-width: 16ch;
}

.about-content,
.news-grid,
.market-card-grid,
.about-features {
  display: grid;
  gap: 18px;
}

.about-content {
  grid-template-columns: 1.1fr 1fr;
  align-items: start;
}

.about-features,
.market-card-grid,
.news-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card,
.news-card,
.market-card {
  padding: 22px;
}

.feature-title,
.market-title {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.market-badge {
  padding: 10px 14px;
  background: rgba(47, 143, 70, 0.12);
  color: #2f8f46;
}

.footer {
  padding: 34px 0 50px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  margin: 0 0 8px;
}

.footer-description {
  margin: 0;
  color: var(--muted);
}

.footer-links-area {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.footer-link {
  color: var(--muted);
  font-weight: 600;
}

.mobile-navigation {
  display: none;
}

@media (max-width: 980px) {
  .hero-container,
  .about-content,
  .about-features,
  .market-card-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .hero-highlights {
    grid-template-columns: 1fr;
  }

  .main-navigation {
    display: none;
  }

  .mobile-navigation {
    display: block;
    padding: 0 0 16px;
  }

  .mobile-navigation-list {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
  }

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

  .metric-value {
    text-align: left;
  }

  .footer-container {
    flex-direction: column;
  }

  .market-card-title {
    font-size: 2.4rem;
  }
}

@media (max-width: 640px) {
  .header-container,
  .hero-container,
  .about-container,
  .market-container,
  .news-container,
  .footer-container,
  .mobile-navigation-list {
    width: min(1180px, calc(100% - 24px));
  }

  .brand-subtitle {
    display: none;
  }

  .hero-heading {
    max-width: none;
  }

  .market-card {
    padding: 18px;
  }

  .market-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}