:root {
  --bg: #04030c;
  --surface: #0f0d1f;
  --surface-soft: #16132b;
  --accent: #ff8ec0;
  --accent-2: #68f0c1;
  --text-primary: #f8f6ff;
  --text-muted: #b0abc4;
  --border: rgba(255, 255, 255, 0.15);
  --shadow-elevated: 0 35px 60px rgba(3, 2, 13, 0.6);
}

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

body {
  font-family: "Manrope", "Poppins", system-ui, -apple-system, sans-serif;
  min-height: 100vh;
  background: radial-gradient(circle at 20% 20%, rgba(255, 142, 192, 0.35), transparent 40%),
    radial-gradient(circle at 80% 0%, rgba(104, 240, 193, 0.25), transparent 45%),
    var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  scroll-behavior: smooth;
}

body > header,
body > section,
body > footer {
  width: 100%;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(4, 3, 12, 0.85);
  backdrop-filter: blur(18px);
}

#site-header {
  padding: 1rem 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

#brand-link {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  text-decoration: none;
}

#nav-toggle-button {
  background: transparent;
  border: 1px solid var(--border);
  padding: 0.6rem;
  border-radius: 999px;
  display: grid;
  gap: 0.25rem;
  cursor: pointer;
}

#nav-toggle-line-top,
#nav-toggle-line-mid,
#nav-toggle-line-bottom {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 999px;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

#nav-links-list {
  list-style: none;
  display: none;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1rem 0;
}

#site-navigation a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.3s ease;
}

#site-navigation a:hover,
#site-navigation a:focus-visible {
  color: var(--text-primary);
}

section {
  padding: 3rem 5vw 4rem;
}

#hero-section {
  padding-top: 2rem;
  display: flex;
  justify-content: center;
}

#hero-section-inner {
  width: min(1200px, 100%);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

#hero-copy-block h1,
#hero-copy-block h2,
#categories-section h2,
#featured-section h2,
#offers-section h2,
#contact-section h2,
#reviews-section h2,
#trust-section h2 {
  line-height: 1.2;
}

#hero-pretitle {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.8rem;
  color: var(--accent);
}

#hero-title {
  font-size: clamp(2.8rem, 6vw, 3.8rem);
  margin: 1rem 0;
}

#hero-description {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.85rem 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.primary-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0b090f;
  box-shadow: 0 15px 30px rgba(255, 142, 192, 0.4);
}

.secondary-btn {
  border: 1px solid var(--border);
  color: var(--text-primary);
}

.primary-btn:hover,
.secondary-btn:hover,
.primary-btn:focus-visible,
.secondary-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(5, 3, 26, 0.45);
}

#hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

#hero-visual {
  position: relative;
}

#hero-image-frame {
  border-radius: 32px;
  background: linear-gradient(160deg, rgba(255, 142, 192, 0.2), rgba(104, 240, 193, 0.18));
  padding: 0.25rem;
  box-shadow: var(--shadow-elevated);
}

#hero-feature-image {
  width: 100%;
  border-radius: 30px;
  display: block;
}

#hero-promo-card {
  position: absolute;
  bottom: -1rem;
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1rem;
  width: min(260px, 80%);
  box-shadow: var(--shadow-elevated);
}

#categories-section .section-header,
#featured-section .section-header,
#offers-section .section-header,
#reviews-section .section-header,
#trust-section .section-header,
#contact-section .section-header {
  margin-bottom: 2rem;
}

#categories-section h2 {
  font-size: 2.2rem;
}

#categories-description,
#featured-description,
#offers-description,
#reviews-description,
#trust-description,
#contact-description {
  color: var(--text-muted);
}

#categories-grid,
#featured-grid,
#offers-grid,
#reviews-grid,
#trust-grid {
  display: grid;
  gap: 1.5rem;
}

.article-card {
  background: var(--surface);
  border-radius: 28px;
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: 0 20px 45px rgba(3, 2, 13, 0.35);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.article-card:hover,
.article-card:focus-within,
.article-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(255, 142, 192, 0.6);
}

.article-card img {
  width: 100%;
  border-radius: 22px;
  margin-bottom: 1rem;
  display: block;
}

.article-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent-2);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

#categories-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

#featured-section {
  background: linear-gradient(160deg, rgba(255, 142, 192, 0.08), transparent);
}

#featured-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.price-row,
.rating-row,
.details-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.8rem;
}

#offers-section {
  background: linear-gradient(160deg, rgba(104, 240, 193, 0.18), rgba(255, 142, 192, 0.15));
}

#offers-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

#offers-banner {
  background: rgba(5, 3, 26, 0.8);
  border-radius: 28px;
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

#trust-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

#trust-section {
  background: var(--surface-soft);
}

#reviews-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

#contact-section {
  background: rgba(12, 8, 25, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

#contact-content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

#contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#contact-form input,
#contact-form textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 0.9rem 1.1rem;
  font-size: 1rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

#contact-form input:focus,
#contact-form textarea:focus {
  border-color: var(--accent);
  transform: translateY(-1px);
}

#contact-submit-button {
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0b090f;
  border-radius: 18px;
  padding: 0.95rem 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

#contact-feedback {
  min-height: 1.6rem;
  margin-top: 0.5rem;
  font-size: 0.95rem;
}

.feedback-success {
  color: #68f0c1;
}

.feedback-error {
  color: #ff8ec0;
}

footer {
  padding: 2rem 5vw;
  background: rgba(4, 3, 12, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

#footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

#footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  #site-header {
    padding: 1.5rem 6vw;
  }

  #nav-toggle-button {
    display: none;
  }

  #nav-links-list {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    padding: 0;
  }

  #site-navigation {
    order: 2;
  }
}

@media (max-width: 767px) {
  #site-header {
    flex-wrap: wrap;
  }

  #nav-links-list[data-open="true"] {
    display: flex;
  }
}
