:root {
  --bg: #0a0a0a;
  --bg-soft: #101010;
  --card: #131313;
  --border: #262626;
  --gold: #d4af37;
  --gold-soft: #f1d06a;
  --text: #f5e7b2;
  --muted: #b8b8b8;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --radius: 18px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top right, rgba(212, 175, 55, 0.08), transparent 20%),
    linear-gradient(180deg, #080808 0%, #0b0b0b 100%);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(10, 10, 10, 0.86);
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  color: var(--gold-soft);
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 1.15rem;
}

.logo span {
  color: var(--white);
  font-weight: 400;
}

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

.nav-links a {
  color: var(--text);
  font-size: 0.96rem;
  transition: 0.25s ease;
}

.nav-links a:hover {
  color: var(--gold-soft);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--gold-soft);
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
}

.hero {
  padding: 88px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 38px;
  align-items: center;
}

.eyebrow,
.section-tag {
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 20px;
}

.hero-desc {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.03rem;
  margin-bottom: 28px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 700;
  transition: 0.25s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #111;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(212, 175, 55, 0.18);
}

.btn-outline {
  border-color: rgba(212, 175, 55, 0.45);
  color: var(--gold-soft);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(212, 175, 55, 0.08);
}

.full-btn {
  width: 100%;
  border: none;
}

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

.stat-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: 16px;
  padding: 18px 16px;
}

.stat-card strong {
  display: block;
  font-size: 1.2rem;
  color: var(--gold-soft);
  margin-bottom: 6px;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.chart-card {
  width: 100%;
  min-height: 420px;
  background:
    linear-gradient(180deg, rgba(212, 175, 55, 0.08), rgba(212, 175, 55, 0.02)),
    #101010;
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: 26px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.chart-top {
  display: flex;
  gap: 8px;
  padding: 18px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.08);
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.8;
}

.chart-body {
  position: relative;
  height: 100%;
  min-height: 360px;
  padding: 24px;
  overflow: hidden;
}

.chart-line {
  position: absolute;
  left: 8%;
  right: 8%;
  border-top: 3px solid var(--gold-soft);
  border-radius: 999px;
  opacity: 0.9;
}

.chart-line-1 {
  top: 58%;
  transform: rotate(-8deg);
}

.chart-line-2 {
  top: 42%;
  transform: rotate(14deg);
  opacity: 0.45;
}

.chart-bars {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 12%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.chart-bars span {
  display: block;
  width: 100%;
  background: linear-gradient(180deg, var(--gold-soft), rgba(212, 175, 55, 0.18));
  border-radius: 999px 999px 0 0;
}

.chart-bars span:nth-child(1) { height: 42px; }
.chart-bars span:nth-child(2) { height: 98px; }
.chart-bars span:nth-child(3) { height: 64px; }
.chart-bars span:nth-child(4) { height: 140px; }
.chart-bars span:nth-child(5) { height: 84px; }
.chart-bars span:nth-child(6) { height: 160px; }
.chart-bars span:nth-child(7) { height: 92px; }
.chart-bars span:nth-child(8) { height: 180px; }
.chart-bars span:nth-child(9) { height: 122px; }
.chart-bars span:nth-child(10) { height: 210px; }

.section {
  padding: 82px 0;
}

.section-dark {
  background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.02));
  border-top: 1px solid rgba(212, 175, 55, 0.06);
  border-bottom: 1px solid rgba(212, 175, 55, 0.06);
}

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

.section-heading h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white);
  margin-bottom: 14px;
}

.section-heading p {
  color: var(--muted);
}

.about-grid,
.services-grid,
.bullet-grid {
  display: grid;
  gap: 20px;
}

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

.services-grid {
  grid-template-columns: repeat(3, 1fr);
}

.bullet-grid {
  grid-template-columns: repeat(4, 1fr);
}

.info-card,
.service-card,
.bullet-card,
.tool-card {
  background: var(--card);
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.info-card,
.service-card,
.bullet-card {
  padding: 24px;
}

.info-card h3,
.service-card h3 {
  color: var(--gold-soft);
  margin-bottom: 10px;
}

.info-card p,
.service-card p,
.bullet-card {
  color: var(--muted);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.tool-card {
  padding: 24px;
}

.tool-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(212, 175, 55, 0.08);
  color: var(--gold-soft);
  font-weight: 700;
  margin-bottom: 16px;
}

.tool-card h3 {
  color: var(--white);
  margin-bottom: 8px;
}

.tool-card p {
  color: var(--muted);
  margin-bottom: 18px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--text);
}

.form-group input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.12);
  background: #0f0f0f;
  color: var(--white);
  outline: none;
}

.form-group input:focus {
  border-color: rgba(212, 175, 55, 0.4);
}

.result-box {
  margin-top: 18px;
  padding: 16px;
  background: rgba(212, 175, 55, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: 14px;
  color: var(--text);
  min-height: 92px;
}

.contact-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
  background: var(--card);
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.contact-box h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--white);
  margin-bottom: 10px;
}

.contact-box p {
  color: var(--muted);
}

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

.contact-info p {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(212, 175, 55, 0.08);
  border-radius: 14px;
  padding: 14px 16px;
}

.footer {
  padding: 28px 0 42px;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  padding-top: 22px;
}

.footer-wrap p {
  color: var(--muted);
  font-size: 0.94rem;
}

.footer-note {
  max-width: 520px;
  text-align: right;
}

@media (max-width: 980px) {
  .hero-grid,
  .tools-grid,
  .about-grid,
  .services-grid,
  .contact-box,
  .bullet-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 74px;
  }

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

  .hero-visual {
    order: -1;
  }

  .chart-card {
    min-height: 320px;
  }

  .footer-note {
    text-align: left;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    position: relative;
  }

  .nav-links {
    display: none;
    position: absolute;
    right: 0;
    top: 78px;
    width: min(260px, 90vw);
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    background: #111;
    border: 1px solid rgba(212, 175, 55, 0.12);
    border-radius: 16px;
    padding: 18px;
    box-shadow: var(--shadow);
  }

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

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

  .btn {
    width: 100%;
  }

  .section {
    padding: 64px 0;
  }

  .tool-card,
  .info-card,
  .service-card,
  .bullet-card,
  .contact-box {
    padding: 20px;
  }
}

.dca-layout {
  display: grid;
  grid-template-columns: 1.05fr 1.25fr;
  gap: 24px;
  align-items: start;
}

.dca-input-card {
  position: sticky;
  top: 96px;
}

.dca-top-inputs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.group-table-wrap,
.table-scroll {
  overflow-x: auto;
}

.group-config-table,
.result-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}

.group-config-table th,
.group-config-table td,
.result-table th,
.result-table td {
  border: 1px solid rgba(212, 175, 55, 0.12);
  padding: 10px 12px;
  text-align: center;
  font-size: 0.92rem;
}

.group-config-table th,
.result-table th {
  background: rgba(212, 175, 55, 0.08);
  color: var(--gold-soft);
  font-weight: 700;
}

.group-config-table td input {
  width: 100%;
  min-width: 78px;
  min-height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(212, 175, 55, 0.12);
  background: #0f0f0f;
  color: var(--white);
  text-align: center;
  padding: 0 8px;
}

.dca-output {
  display: grid;
  gap: 18px;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.summary-card {
  background: var(--card);
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: var(--shadow);
}

.summary-card span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.summary-card strong {
  display: block;
  color: var(--gold-soft);
  font-size: 1.15rem;
}

.dca-note {
  min-height: auto;
}

.result-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.015);
}

.result-table tbody tr:hover {
  background: rgba(212, 175, 55, 0.05);
}

.negative-cell {
  color: #ff7b7b;
  font-weight: 700;
}

.positive-cell {
  color: #7bffb2;
  font-weight: 700;
}

@media (max-width: 1180px) {
  .dca-layout {
    grid-template-columns: 1fr;
  }

  .dca-input-card {
    position: static;
  }

  .summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .dca-top-inputs,
  .summary-grid {
    grid-template-columns: 1fr;
  }
}

.hero-banner-img {
  width: 100%;
  border-radius: 26px;
  box-shadow: var(--shadow);
  object-fit: cover;
}
