@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg: #07080b;
  --bg-2: #101219;
  --panel: rgba(20, 23, 31, 0.78);
  --panel-solid: #141720;
  --text: #f6f7fb;
  --muted: #aab0c2;
  --muted-2: #7d8497;
  --red: #e5162f;
  --red-dark: #9d1022;
  --amber: #ffb21a;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(229, 22, 47, 0.2), transparent 28rem),
    radial-gradient(circle at 80% 20%, rgba(255, 178, 26, 0.13), transparent 24rem),
    linear-gradient(135deg, #050609 0%, #0b0d12 45%, #151216 100%);
  color: var(--text);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
  z-index: -1;
}

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

img {
  max-width: 100%;
}

.site-header {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto -10% 0 -10%;
  height: 220px;
  background: linear-gradient(to top, var(--bg), transparent);
  pointer-events: none;
}

.navbar {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo,
.brand-fallback {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  object-fit: contain;
  background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(229, 22, 47, 0.22);
}

.brand-fallback {
  display: none;
  place-items: center;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--text);
  background:
    linear-gradient(145deg, rgba(229, 22, 47, 0.7), rgba(255, 178, 26, 0.25)),
    #171923;
}

.brand-text {
  display: grid;
  line-height: 1;
}

.brand-text strong {
  font-size: 1rem;
  letter-spacing: 0.05em;
}

.brand-text small {
  margin-top: 5px;
  color: var(--amber);
  letter-spacing: 0.35em;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  background: rgba(10, 12, 17, 0.58);
  backdrop-filter: blur(18px);
  border-radius: 999px;
}

.nav-links a {
  color: var(--muted);
  padding: 12px 16px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 700;
  transition: 0.25s ease;
}

.nav-links a:hover,
.nav-links .nav-cta {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.nav-links .nav-cta {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 10px 30px rgba(229, 22, 47, 0.32);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
  border-radius: 14px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  border-radius: 99px;
}

.hero {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 86px 0 110px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  right: -15%;
  top: 2%;
  width: 600px;
  height: 600px;
  background:
    linear-gradient(rgba(255,255,255,0.05), rgba(255,255,255,0.02)),
    url("https://images.unsplash.com/photo-1486262715619-67b85e0b08d3?auto=format&fit=crop&w=1200&q=80");
  background-size: cover;
  background-position: center;
  border-radius: 50px;
  filter: saturate(0.8) contrast(1.1);
  opacity: 0.28;
  transform: rotate(-8deg);
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  right: -10%;
  top: 0;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(229,22,47,0.35), transparent 60%);
  z-index: -1;
}

.eyebrow {
  margin: 0 0 16px;
  display: inline-flex;
  width: fit-content;
  color: var(--amber);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 900;
}

.hero h1,
.section-heading h2,
.featured-callout h2 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.9rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
  text-wrap: balance;
}

.hero h1 {
  max-width: 820px;
}

.hero-subtitle {
  max-width: 650px;
  margin: 26px 0 0;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.7;
  color: var(--muted);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 18px 40px rgba(229, 22, 47, 0.34);
}

.btn-secondary {
  border-color: var(--line);
  background: rgba(255,255,255,0.07);
  color: var(--text);
  backdrop-filter: blur(16px);
}

.hero-stats {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255,255,255,0.045);
  backdrop-filter: blur(20px);
}

.hero-stats div {
  padding: 18px;
  border-right: 1px solid var(--line);
}

.hero-stats div:last-child {
  border-right: 0;
}

.hero-stats strong {
  display: block;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
}

.hero-stats span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.84rem;
}

.hero-card {
  min-height: 470px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.16) 55%),
    url("https://images.unsplash.com/photo-1632823471565-1ecdf5c2ee17?auto=format&fit=crop&w=900&q=80");
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 24px;
  pointer-events: none;
}

.scanner-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 25%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--red), var(--amber), transparent);
  box-shadow: 0 0 30px rgba(229,22,47,0.9);
  animation: scan 4.4s ease-in-out infinite;
}

@keyframes scan {
  0%, 100% { transform: translateY(-110px); opacity: 0; }
  18%, 82% { opacity: 1; }
  50% { transform: translateY(230px); }
}

.status-dot {
  position: absolute;
  top: 32px;
  right: 32px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #36e37d;
  box-shadow: 0 0 0 8px rgba(54, 227, 125, 0.12), 0 0 30px rgba(54,227,125,0.45);
}

.card-label {
  margin: 0 0 10px;
  color: var(--amber);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
}

.hero-card h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.hero-card p:not(.card-label) {
  color: var(--muted);
  line-height: 1.6;
}

.mini-link {
  color: var(--amber);
  font-weight: 900;
  width: fit-content;
}

.section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0;
}

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

.section-heading h2,
.featured-callout h2 {
  font-size: clamp(2.4rem, 5.8vw, 5.3rem);
}

.section-heading p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.04rem;
}

.finder {
  display: grid;
  grid-template-columns: 1.55fr 1fr 1fr 0.82fr auto;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.finder label {
  color: var(--muted);
  display: grid;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.finder input,
.finder select,
.sort-box select {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 16px;
  background: rgba(5, 6, 9, 0.84);
  color: var(--text);
  outline: none;
  padding: 0 14px;
  font: inherit;
}

.finder input:focus,
.finder select:focus,
.sort-box select:focus {
  border-color: rgba(255,178,26,0.55);
  box-shadow: 0 0 0 4px rgba(255,178,26,0.1);
}

.catalog-toolbar {
  margin: 26px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

.catalog-toolbar p {
  margin: 0;
  font-weight: 800;
}

.sort-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sort-box label {
  color: var(--muted);
  font-weight: 800;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.part-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.035));
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,0.26);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.part-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 178, 26, 0.38);
  box-shadow: 0 28px 70px rgba(0,0,0,0.38);
}

.part-image {
  position: relative;
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(135deg, rgba(229,22,47,0.25), rgba(255,178,26,0.08)),
    #151820;
  overflow: hidden;
}

.part-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.part-card:hover .part-image img {
  transform: scale(1.06);
}

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(5,6,9,0.78);
  color: var(--amber);
  border: 1px solid rgba(255,178,26,0.28);
  backdrop-filter: blur(14px);
  font-weight: 900;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.part-body {
  padding: 20px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.part-body h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.part-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.part-meta li {
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.8rem;
  font-weight: 700;
}

.part-description {
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 18px;
}

.part-footer {
  margin-top: auto;
  display: grid;
  gap: 12px;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.price-row span {
  color: var(--muted-2);
  font-size: 0.82rem;
  font-weight: 800;
}

.price-row strong {
  color: var(--text);
  font-size: 1.2rem;
}

.part-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.part-actions .btn {
  width: 100%;
  min-height: 48px;
}

.empty-state {
  text-align: center;
  padding: 50px 20px;
  border: 1px dashed rgba(255,255,255,0.2);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.04);
}

.empty-state h3 {
  margin: 0 0 10px;
  font-size: 2rem;
}

.empty-state p {
  color: var(--muted);
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto 22px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.trust-strip article,
.step {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  padding: 24px;
  min-height: 230px;
}

.trust-strip span,
.step span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(229,22,47,0.86), rgba(255,178,26,0.36));
  color: white;
  font-weight: 900;
}

.trust-strip h3,
.step h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
  letter-spacing: -0.04em;
}

.trust-strip p,
.step p,
.featured-callout p,
.footer p,
.footer a {
  color: var(--muted);
  line-height: 1.65;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.featured-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid rgba(255,178,26,0.22);
  border-radius: var(--radius-xl);
  padding: 42px;
  background:
    linear-gradient(135deg, rgba(229,22,47,0.18), rgba(255,178,26,0.08)),
    rgba(255,255,255,0.05);
  box-shadow: var(--shadow);
}

.featured-callout h2 {
  max-width: 800px;
}

.featured-callout p {
  max-width: 680px;
}

.footer {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 46px 0 90px;
  display: flex;
  justify-content: space-between;
  gap: 32px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  margin-bottom: 14px;
}

.footer-contact {
  display: grid;
  gap: 8px;
}

.footer-contact h3 {
  margin: 0 0 6px;
}

.footer-contact a:hover {
  color: var(--amber);
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 20px;
  border-radius: 999px;
  color: white;
  background: #1db954;
  font-weight: 900;
  box-shadow: 0 18px 42px rgba(0,0,0,0.42);
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 60px;
  }

  .hero::before {
    right: -45%;
    top: 38%;
  }

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

  .finder .btn {
    grid-column: span 2;
  }

  .catalog-grid,
  .trust-strip,
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-callout,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .navbar {
    padding-top: 16px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border-radius: 22px;
    padding: 12px;
  }

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

  .nav-links a {
    text-align: center;
  }

  .hero {
    padding: 42px 0 82px;
  }

  .hero h1 {
    font-size: clamp(3rem, 16vw, 5rem);
  }

  .hero-stats,
  .finder,
  .catalog-grid,
  .trust-strip,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .finder .btn {
    grid-column: auto;
  }

  .catalog-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .sort-box {
    width: 100%;
  }

  .sort-box select {
    flex: 1;
  }

  .hero-card {
    min-height: 380px;
  }

  .section {
    padding: 66px 0;
  }

  .featured-callout {
    padding: 28px;
  }

  .brand-logo,
  .brand-fallback {
    width: 50px;
    height: 50px;
  }

  .brand-text strong {
    font-size: 0.9rem;
  }

  .floating-whatsapp {
    left: 16px;
    right: 16px;
  }
}
