﻿/* =============================================
   Home page — Section styling
   ============================================= */

/* --- Shared: Section headings with accent bar --- */

.home-section-head {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-2);
}

.home-section-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-3);
  background: linear-gradient(135deg, var(--color-accent), #c2410c);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.25);
}

.home-section-icon svg {
  width: 22px;
  height: 22px;
}

.home-section-head h2,
.home-section-head h3 {
  margin: 0;
}

.home-section-head h2 {
  font-size: clamp(24px, 3vw, var(--text-3xl));
  line-height: var(--leading-tight);
  letter-spacing: -0.01em;
}

.home-section-head + p {
  max-width: 68ch;
}

/* --- Shared: home-list --- */

.home-list li + li {
  margin-top: 6px;
}

.home-list li::marker {
  color: var(--color-accent);
}

/* =============================================
   1. HERO
   ============================================= */

.home-hero {
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.88)),
    url(../img/backgrounds/hero_gaming.jpg) center/cover no-repeat;
  color: #e2e8f0;
}

.home-hero__split {
  align-items: center;
}

.home-hero h1 {
  font-size: clamp(30px, 4vw, var(--text-hero));
  line-height: var(--leading-tight);
  letter-spacing: -0.01em;
  color: #ffffff;
}

.home-hero p {
  color: rgba(226, 232, 240, 0.82);
  line-height: var(--leading-relaxed);
}

.home-hero__bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-3);
}

.home-hero__bullets li {
  position: relative;
  padding-left: 26px;
  color: rgba(226, 232, 240, 0.9);
}

.home-hero__bullets li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.55em;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  box-shadow: 0 0 8px rgba(234, 88, 12, 0.4);
}

.home-hero .btn--secondary {
  --btn-bg: rgba(255, 255, 255, 0.08);
  --btn-border: rgba(255, 255, 255, 0.2);
  --btn-color: #e2e8f0;
}

.home-hero .btn--secondary:hover {
  --btn-bg: rgba(255, 255, 255, 0.14);
}

.home-hero__visual {
  overflow: hidden;
  display: grid;
  border-radius: var(--radius-3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.home-hero__visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.home-hero__caption {
  padding: var(--space-3) var(--space-4);
  border-top: none;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  background: #1e293b;
}

/* =============================================
   2. HIGHLIGHTS
   ============================================= */

.home-highlights {
  background:
    linear-gradient(180deg, #f8fafc 0%, #f1f5f9 40%, #e8edf3 100%);
}

.home-highlights h3 {
  font-size: var(--text-xl);
}

/* =============================================
   3. CATEGORIES
   ============================================= */

.home-categories {
  background:
    radial-gradient(800px circle at 10% 80%, rgba(234, 88, 12, 0.04), transparent 60%),
    linear-gradient(180deg, #eef2f7 0%, #f8fafc 100%);
}

.home-categoryCard {
  text-decoration: none;
  border-left: 3px solid var(--color-accent);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.home-categoryCard:hover {
  border-left-color: #c2410c;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.home-categoryCard .card__title {
  font-size: var(--text-lg);
  font-weight: var(--font-weight-black);
}

.home-categories__split {
  margin-top: var(--space-7);
}

.home-categories__split > .stack {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-3);
  padding: var(--space-5);
  box-shadow: var(--shadow-1);
}

/* =============================================
   4. CONDITION
   ============================================= */

.home-condition {
  background:
    radial-gradient(600px circle at 90% 20%, rgba(16, 185, 129, 0.05), transparent 50%),
    #f8fafc;
}

.home-condition__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-conditionCard {
  border-top: 3px solid var(--color-bg-inset);
  transition: border-color 0.2s ease;
}

.home-conditionCard:nth-child(1) { border-top-color: var(--color-accent-green); }
.home-conditionCard:nth-child(2) { border-top-color: #3b82f6; }
.home-conditionCard:nth-child(3) { border-top-color: var(--color-accent); }

.home-conditionCard .card__title {
  font-size: var(--text-lg);
  font-weight: var(--font-weight-black);
}

@media (max-width: 900px) {
  .home-condition__grid {
    grid-template-columns: 1fr;
  }
}

.home-checklist {
  border-left: 4px solid var(--color-accent-green);
}

.home-checklist__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-2);
}

.home-checklist__list li {
  position: relative;
  padding-left: 26px;
  line-height: var(--leading-relaxed);
}

.home-checklist__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.65em;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: var(--radius-pill);
  background: var(--color-accent-green);
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.3);
}

/* =============================================
   5. FLOW (Order process) — Dark section
   ============================================= */

.home-flow {
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(30, 41, 59, 0.9)),
    url(../img/backgrounds/neon_controller.jpg) center/cover no-repeat;
  color: #e2e8f0;
}

.home-flow h2 {
  color: #ffffff;
}

.home-flow > .container > .stack > p {
  color: rgba(226, 232, 240, 0.72);
}

.home-flow .home-section-icon {
  background: rgba(234, 88, 12, 0.9);
}

.home-flow .card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
}

.home-flow .card:hover {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.home-flow .card__meta {
  color: rgba(226, 232, 240, 0.6);
}

.home-flow .card__title {
  color: #ffffff;
  font-size: var(--text-lg);
}

.home-flow .btn--secondary {
  --btn-bg: rgba(255, 255, 255, 0.08);
  --btn-border: rgba(255, 255, 255, 0.2);
  --btn-color: #e2e8f0;
}

.home-flow .btn--secondary:hover {
  --btn-bg: rgba(255, 255, 255, 0.14);
}

.home-flow__grid .home-step {
  text-align: left;
}

.home-step__num {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  color: var(--color-on-accent);
  display: grid;
  place-items: center;
  font-weight: var(--font-weight-black);
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.35);
}

/* =============================================
   6. HARDWARE
   ============================================= */

.home-hardware {
  background:
    radial-gradient(700px circle at 85% 30%, rgba(234, 88, 12, 0.05), transparent 50%),
    linear-gradient(180deg, #f1f5f9 0%, #f8fafc 100%);
}

.home-hardware__visual {
  overflow: hidden;
  display: grid;
  border-radius: var(--radius-3);
  border: 1px solid var(--color-border);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
}

.home-hardware__visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.home-hardware__caption {
  padding: var(--space-3) var(--space-4);
  border-top: 1px solid var(--color-border);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  background: var(--color-bg-section);
}

/* =============================================
   7. TRANSPARENCY
   ============================================= */

.home-transparency {
  background:
    radial-gradient(600px circle at 50% 50%, rgba(234, 88, 12, 0.04), transparent 55%),
    #f8fafc;
}

.home-transparency .card {
  border-top: 3px solid var(--color-accent);
}

.home-transparency .card__title {
  font-size: var(--text-lg);
  font-weight: var(--font-weight-black);
}

/* =============================================
   8. SHIPPING
   ============================================= */

.home-shipping {
  background:
    linear-gradient(180deg, #eef2f7 0%, #f8fafc 100%);
}

.home-shipping__split {
  grid-template-columns: 1fr 1fr;
}

.home-shipping .card {
  border-top: 3px solid var(--color-accent);
}

.home-shipping .card__title {
  font-size: var(--text-lg);
  font-weight: var(--font-weight-black);
}

/* =============================================
   9. COLLECTOR — Dark section
   ============================================= */

.home-collector {
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.93), rgba(30, 41, 59, 0.88)),
    url(../img/backgrounds/arcade_vintage.jpg) center/cover no-repeat;
  color: #e2e8f0;
}

.home-collector h2 {
  color: #ffffff;
}

.home-collector > .container > .stack > p {
  color: rgba(226, 232, 240, 0.72);
}

.home-collector .home-section-icon {
  background: rgba(234, 88, 12, 0.9);
}

.home-collector__split {
  grid-template-columns: 1fr 1fr;
}

.home-collector .card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
}

.home-collector .card:hover {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.home-collector .card__title {
  color: #ffffff;
  font-size: var(--text-lg);
  font-weight: var(--font-weight-black);
}

.home-collector .home-list li::marker {
  color: var(--color-accent);
}

.home-collector .home-list {
  color: rgba(226, 232, 240, 0.8);
}

@media (max-width: 900px) {
  .home-shipping__split,
  .home-collector__split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .home-hero h1 {
    font-size: clamp(22px, 5.5vw, 30px);
  }

  .home-section-icon {
    width: 36px;
    height: 36px;
  }

  .home-section-icon svg {
    width: 18px;
    height: 18px;
  }

  .home-section-head h2 {
    font-size: clamp(20px, 4.5vw, 24px);
  }

  .home-hero__visual {
    border-radius: var(--radius-2);
  }

  .home-faq__item {
    padding: var(--space-3) var(--space-4);
  }

  .home-faq__item summary {
    font-size: var(--text-sm);
  }

  .home-step__num {
    width: 32px;
    height: 32px;
    font-size: var(--text-sm);
  }

  .home-checklist__list li {
    font-size: var(--text-sm);
  }
}

@media (max-width: 440px) {
  .home-hero h1 {
    font-size: clamp(20px, 5vw, 26px);
  }

  .home-hero p {
    font-size: var(--text-sm);
  }

  .home-hero__bullets li {
    font-size: var(--text-sm);
  }

  .home-section-head {
    gap: var(--space-3);
  }

  .home-section-head h2 {
    font-size: clamp(18px, 4.5vw, 22px);
  }
}

/* =============================================
   10. FAQ
   ============================================= */

.home-faq {
  background:
    radial-gradient(700px circle at 15% 70%, rgba(234, 88, 12, 0.03), transparent 50%),
    linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

.home-faq__items {
  display: grid;
  gap: var(--space-3);
  max-width: 820px;
}

.home-faq__item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-3);
  background: #ffffff;
  color: var(--color-text-dark);
  padding: var(--space-4) var(--space-5);
  box-shadow: var(--shadow-1);
  transition: box-shadow 0.2s ease;
}

.home-faq__item:hover {
  box-shadow: var(--shadow-2);
}

.home-faq__item summary {
  cursor: pointer;
  list-style: none;
  font-weight: var(--font-weight-bold);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.home-faq__item summary::-webkit-details-marker {
  display: none;
}

.home-faq__item summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-pill);
  background: var(--color-bg-section);
  display: grid;
  place-items: center;
  font-weight: var(--font-weight-black);
  color: var(--color-accent);
  font-size: var(--text-lg);
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.home-faq__item[open] summary::after {
  content: "−";
  background: var(--color-accent);
  color: #fff;
  transform: rotate(180deg);
}

.home-faq__item p {
  margin-top: var(--space-3);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}

/* =============================================
   11. GUIDE (Setup)
   ============================================= */

.home-guide {
  background:
    radial-gradient(600px circle at 80% 40%, rgba(234, 88, 12, 0.05), transparent 50%),
    #f8fafc;
}

.home-guide__visual {
  border-radius: var(--radius-3);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
}

.home-guide__visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* =============================================
   12. NEWSLETTER — Dark section
   ============================================= */

.home-newsletter {
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.9)),
    url(../img/backgrounds/setup_dark.jpg) center/cover no-repeat;
  color: #e2e8f0;
}

.home-newsletter h2 {
  color: #ffffff;
}

.home-newsletter p {
  color: rgba(226, 232, 240, 0.72);
}

.home-newsletter .home-section-icon {
  background: rgba(234, 88, 12, 0.9);
}

.home-newsletter__form {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.home-newsletter__form .card__meta {
  color: rgba(226, 232, 240, 0.5);
}

.home-newsletter__form .field__label {
  color: rgba(226, 232, 240, 0.85);
}

.home-newsletter__form .input {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
}

.home-newsletter__form .input::placeholder {
  color: rgba(226, 232, 240, 0.4);
}

.home-newsletter__form .btn {
  width: 100%;
}

.home-note {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.home-newsletter .home-note {
  color: rgba(226, 232, 240, 0.5);
}
