* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #09090f;
  color: #f5f1e8;
}

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

.hero {
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(255, 64, 64, 0.25), transparent 35%),
    linear-gradient(135deg, rgba(12, 12, 20, 0.95), rgba(29, 10, 22, 0.9)),
    url("https://images.unsplash.com/photo-1511512578047-dfb367046420?q=80&w=1600&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
  padding: 28px 8%;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.page-nav {
  padding: 24px 8%;
  background: #101018;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.logo {
  font-weight: 900;
  letter-spacing: 1px;
  font-size: 22px;
}

.logo span {
  color: #ff4343;
}

.nav-links {
  display: flex;
  gap: 22px;
  opacity: 0.9;
}

.nav-links a:hover {
  color: #ff6b4a;
}

.hero-content {
  max-width: 780px;
  margin-top: 140px;
}

.badge {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  color: #ffbe7b;
  background: rgba(255,255,255,0.06);
}

h1 {
  font-size: clamp(44px, 7vw, 82px);
  line-height: 1;
  margin: 20px 0;
}

h1 span, h2 span {
  color: #ff4343;
}

.subtitle {
  font-size: 19px;
  line-height: 1.7;
  color: #d8d2c5;
  max-width: 700px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.btn {
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 700;
}

.primary {
  background: linear-gradient(135deg, #ff4343, #ff9d42);
  color: #111;
}

.ghost {
  border: 1px solid rgba(255,255,255,0.24);
}

.section {
  padding: 80px 8%;
}

.section-title p {
  color: #ffbe7b;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
}

.section-title h2, .section-title h1 {
  font-size: clamp(32px, 5vw, 54px);
  margin: 8px 0 28px;
}

.cards {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 22px;
}

.card {
  padding: 28px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.1);
  min-height: 230px;
}

.card.large {
  background:
    linear-gradient(180deg, rgba(255,67,67,0.20), rgba(255,255,255,0.04));
}

.card h3 {
  font-size: 26px;
}

.card p, .guide p {
  color: #cfc8ba;
  line-height: 1.6;
}

.card a {
  color: #ffbe7b;
  font-weight: 700;
}

.dark-panel {
  background: #101018;
}

.guide-list {
  display: grid;
  gap: 18px;
}

.guide {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: center;
  padding: 22px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
}

.guide span {
  color: #ff4343;
  font-weight: 900;
}

.tool-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  padding: 32px;
  border-radius: 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
}

.calculator {
  display: grid;
  gap: 12px;
}

input, button {
  padding: 14px;
  border-radius: 12px;
  border: 0;
  font-size: 16px;
}

button {
  font-weight: 800;
  cursor: pointer;
  background: #ffbe7b;
}

.youtube {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #171723, #31121b);
}

footer {
  padding: 30px 8%;
  color: #aaa;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.page, .article {
  padding: 70px 8%;
}

.article {
  max-width: 900px;
  line-height: 1.8;
}

.article h1 {
  font-size: clamp(38px, 6vw, 64px);
}

.article h2 {
  margin-top: 42px;
  color: #ffbe7b;
}

@media (max-width: 850px) {
  .nav, .youtube {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero-content {
    margin-top: 90px;
  }

  .cards, .tool-box {
    grid-template-columns: 1fr;
  }

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