/* Matek-rozsda koncepció kiegészítések
   Meleg rozsda-akcentusokkal, de tiszta oktatási hangulattal.
*/

.rust-concept {
  --rust-blue: #2563eb;
  --rust-blue-dark: #0f172a;

  --rust-accent: #c2410c;
  --rust-accent-2: #f97316;
  --rust-accent-soft: #fff7ed;
  --rust-accent-border: #fed7aa;
  --rust-accent-dark: #7c2d12;

  --rust-gold: #facc15;
  --rust-cream: #fffbeb;
}

/* Hero */

.rust-hero {
  background:
    radial-gradient(circle at 12% 18%, rgba(249, 115, 22, 0.14), transparent 18rem),
    radial-gradient(circle at 86% 12%, rgba(194, 65, 12, 0.10), transparent 20rem),
    radial-gradient(circle at 88% 82%, rgba(37, 99, 235, 0.08), transparent 24rem),
    linear-gradient(180deg, #ffffff 0%, #fff7ed 100%);
  position: relative;
  overflow: hidden;
}

.rust-hero::before {
  content: "x²  π  √  %  a+b  ∑";
  position: absolute;
  inset: auto 0 1.5rem 0;
  text-align: center;
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  color: rgba(124, 45, 18, 0.055);
  pointer-events: none;
  white-space: nowrap;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  margin-bottom: 1.25rem;
  border-radius: 999px;
  background: var(--rust-accent-soft);
  border: 1px solid var(--rust-accent-border);
  color: var(--rust-accent-dark);
  font-weight: 850;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
}

.eyebrow::before {
  content: "☀";
  color: var(--rust-accent-2);
  font-size: 1.1rem;
}

.rust-hero h1 {
  max-width: 760px;
}

.rust-hero h1::after {
  content: "";
  display: block;
  width: min(340px, 70%);
  height: 10px;
  margin-top: 0.9rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--rust-accent-2), var(--rust-accent));
}

/* Hero card */

.rust-card {
  position: relative;
  border-color: var(--rust-accent-border);
  background:
    linear-gradient(180deg, #ffffff 0%, #fffbeb 100%);
}

.rust-card::before {
  content: "✓";
  position: absolute;
  top: -1.1rem;
  right: 1.25rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--rust-gold), var(--rust-accent-2));
  color: #0f172a;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.22);
}

.rust-card .quick-fact {
  background: rgba(255, 247, 237, 0.75);
  border-color: #fed7aa;
}

.rust-card .quick-fact strong {
  color: #7c2d12;
}

/* Rozsda-probléma blokk */

.rust-problem {
  background:
    radial-gradient(circle at 15% 20%, rgba(249, 115, 22, 0.10), transparent 18rem),
    linear-gradient(180deg, #ffffff 0%, #fff7ed 100%);
}

.rust-problem h2 {
  color: #7c2d12;
}

/* Metafora szekció */

.rust-metaphor-section {
  background: #ffffff;
}

.rust-metaphor-section h2 {
  color: #0f172a;
}

.rust-points {
  display: grid;
  gap: 1rem;
}

.rust-point {
  padding: 1.25rem 1.35rem;
  border-radius: 1.25rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.rust-point h3 {
  margin-bottom: 0.35rem;
  color: #0f172a;
  font-size: 1.15rem;
}

.rust-point p {
  margin-bottom: 0;
  color: #475569;
}

.rust-point:nth-child(1) {
  background: #fff7ed;
  border-color: #fed7aa;
}

.rust-point:nth-child(1) h3 {
  color: #7c2d12;
}

.rust-point:nth-child(2) {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.rust-point:nth-child(2) h3 {
  color: #1e3a8a;
}

.rust-point:nth-child(3) {
  background: #fffbeb;
  border-color: #fde68a;
}

.rust-point:nth-child(3) h3 {
  color: #92400e;
}

/* Kiemelő dobozok */

.rust-concept .urgency-box {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #7c2d12;
}

.rust-concept .topic-item {
  background: #fff7ed;
  border-color: #fdba74;
  color: #9a3412;
}

.rust-concept .topic-item:nth-child(even) {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1e3a8a;
}

/* CTA-k maradjanak tiszták, de kapjanak pici melegséget */

.rust-concept .btn-primary.cta-button {
  background: var(--nyari-primary);
  border-color: var(--nyari-primary);
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.24);
}

.rust-concept .btn-primary.cta-button:hover,
.rust-concept .btn-primary.cta-button:focus {
  background: var(--nyari-primary-dark);
  border-color: var(--nyari-primary-dark);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.28);
}

/* Ár és ajánlat blokk finom rozsdás kontraszttal */

.rust-concept .offer-card {
  border-color: #fed7aa;
  background:
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.08), transparent 16rem),
    #ffffff;
}

.rust-concept .final-price {
  color: var(--rust-accent);
}

.rust-concept .guarantee-card {
  border-color: #bfdbfe;
}

/* Final CTA */

.rust-final {
  background:
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.28), transparent 25rem),
    radial-gradient(circle at bottom left, rgba(37, 99, 235, 0.26), transparent 28rem),
    linear-gradient(135deg, #0f172a 0%, #1e3a8a 58%, #7c2d12 100%);
}

.rust-final .final-summary strong:last-child {
  color: #fed7aa;
}

.rust-final .final-price {
  color: #ffffff;
}

.rust-final .btn-primary.cta-button {
  background: #facc15;
  border-color: #facc15;
  color: #111827;
  box-shadow: 0 12px 25px rgba(250, 204, 21, 0.24);
}

.rust-final .btn-primary.cta-button:hover,
.rust-final .btn-primary.cta-button:focus {
  background: #f97316;
  border-color: #f97316;
  color: #111827;
}

.rust-illustration {
  width: 100%;
  max-width: 420px;
  display: block;
  margin: 0 auto;
  border-radius: 1.5rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
}
/* Mobil finomítások */

@media (max-width: 575.98px) {
  .rust-hero h1::after {
    width: 75%;
    height: 8px;
  }

  .eyebrow {
    font-size: 0.8rem;
  }

  .rust-hero::before {
    display: none;
  }

  .rust-card::before {
    top: -0.9rem;
    right: 1rem;
    width: 2rem;
    height: 2rem;
  }
}
