/* ============================================
   USAMediaWeb — Dashcam Shop DE
   Premium Dark Theme + Orange Accent
   ============================================ */

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

/* ---------- CSS Variables ---------- */
:root {
  --bg-primary: #0d0f15;
  --bg-secondary: #131620;
  --bg-card: #1a1d2b;
  --bg-card-hover: #222640;
  --bg-glass: rgba(26, 29, 43, 0.75);
  --text-primary: #f0f1f5;
  --text-secondary: #9ca3b8;
  --text-muted: #636b82;
  --accent: #f97316;
  --accent-hover: #fb923c;
  --accent-glow: rgba(249, 115, 22, 0.25);
  --blue: #3b82f6;
  --green: #22c55e;
  --border: rgba(255,255,255,0.06);
  --border-light: rgba(255,255,255,0.1);
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow: 0 8px 32px rgba(0,0,0,0.35);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.5);
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', 'Inter', sans-serif;
  --max-width: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button, input, textarea, select {
  font-family: inherit; font-size: inherit; border: none; outline: none;
}

/* ---------- Container ---------- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ---------- Promo Bar (Marquee) ---------- */
.promo-bar {
  background: linear-gradient(90deg, var(--accent), #ea580c);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  overflow: hidden;
  white-space: nowrap;
  padding: 8px 0;
}
.promo-bar__track {
  display: inline-flex;
  animation: marquee 35s linear infinite;
}
.promo-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 40px;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- Header / Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13, 15, 21, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.navbar__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
}
.navbar__logo svg { flex-shrink: 0; }
.navbar__logo span { color: var(--accent); }
.navbar__links { display: flex; gap: 32px; align-items: center; }
.navbar__links a {
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}
.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}
.navbar__links a:hover { color: var(--text-primary); }
.navbar__links a:hover::after { width: 100%; }
.navbar__links a.active { color: var(--accent); }
.navbar__links a.active::after { width: 100%; }

/* Burger */
.burger { display: none; background: none; cursor: pointer; padding: 8px; }
.burger svg { width: 24px; height: 24px; stroke: var(--text-primary); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg-primary);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--text-primary);
  font-size: 22px;
  font-weight: 600;
  font-family: var(--font-heading);
}
.mobile-menu__close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  cursor: pointer;
}
.mobile-menu__close svg { width: 28px; height: 28px; stroke: var(--text-primary); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}
.hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero__title {
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero__title span { color: var(--accent); }
.hero__desc {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 500px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #ea580c);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}
.btn-outline:hover {
  background: var(--bg-card);
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- Section Titles ---------- */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- Features Grid ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}
.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(249,115,22,0.1);
}
.feature-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent-glow), transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.feature-card__icon svg { width: 28px; height: 28px; stroke: var(--accent); fill: none; stroke-width: 1.8; }
.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---------- Products Grid ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}
.product-card__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--bg-secondary);
}
.product-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.product-card__tag {
  display: inline-block;
  background: var(--accent-glow);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
  width: fit-content;
}
.product-card__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.product-card__desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  flex: 1;
}
.product-card__footer { display: flex; align-items: center; justify-content: space-between; }
.product-card__price {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
}
.product-card__price small {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 400;
}
.product-card__btn {
  padding: 10px 20px;
  font-size: 13px;
}

/* ---------- Reviews ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}
.review-card:hover {
  border-color: var(--border-light);
  background: var(--bg-card-hover);
}
.review-card__stars { color: #fbbf24; font-size: 16px; margin-bottom: 14px; }
.review-card__text {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 18px;
  font-style: italic;
  line-height: 1.7;
}
.review-card__author { display: flex; align-items: center; gap: 12px; }
.review-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}
.review-card__name {
  font-weight: 600;
  font-size: 14px;
}
.review-card__date {
  font-size: 12px;
  color: var(--text-muted);
}

/* ---------- FAQ Accordion ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--bg-card);
}
.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
  background: none;
  width: 100%;
  text-align: left;
}
.faq-item__q svg { width: 20px; height: 20px; stroke: var(--text-muted); transition: var(--transition); flex-shrink: 0; }
.faq-item.open .faq-item__q svg { transform: rotate(180deg); stroke: var(--accent); }
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-item.open .faq-item__a { max-height: 300px; }
.faq-item__a p {
  padding: 0 24px 18px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- About Page ---------- */
.about-hero {
  padding: 80px 0 40px;
  text-align: center;
}
.about-hero h1 {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 800;
  margin-bottom: 16px;
}
.about-hero p { font-size: 18px; color: var(--text-secondary); max-width: 700px; margin: 0 auto; }
.about-section { padding: 40px 0; }
.about-section h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--accent);
}
.about-section p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 40px 0;
}
.about-stat {
  text-align: center;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.about-stat__num {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
}
.about-stat__label {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 6px;
}

/* ---------- Contact Page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info { padding: 32px; }
.contact-info h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 24px;
}
.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}
.contact-info__item svg { width: 22px; height: 22px; stroke: var(--accent); flex-shrink: 0; margin-top: 2px; }
.contact-info__item p { font-size: 15px; color: var(--text-secondary); }
.contact-info__item strong { color: var(--text-primary); display: block; margin-bottom: 4px; }
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}
.contact-form h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 24px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text-secondary);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}
.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--accent);
  flex-shrink: 0;
}
.form-checkbox label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ---------- Map ---------- */
.contact-map {
  margin-top: 48px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.contact-map iframe {
  width: 100%;
  height: 350px;
  border: none;
  filter: brightness(0.85) contrast(1.1);
}

/* ---------- Legal Pages ---------- */
.legal-page { padding: 60px 0 80px; }
.legal-page h1 {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 32px;
  text-align: center;
}
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}
.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  margin: 28px 0 12px;
  color: var(--accent);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}
.legal-content ul { padding-left: 20px; }
.legal-content ul li { list-style: disc; margin-bottom: 8px; }
.legal-content strong { color: var(--text-primary); }

/* ---------- Product Detail ---------- */
.product-detail {
  padding: 60px 0 80px;
}
.product-detail__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.product-detail__gallery {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.product-detail__gallery img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}
.product-detail__info { padding: 12px 0; }
.product-detail__category {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}
.product-detail__title {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 16px;
}
.product-detail__price {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 20px;
}
.product-detail__price small {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 400;
}
.product-detail__desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 28px;
}
.product-detail__specs {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 28px;
}
.product-detail__specs tr { border-bottom: 1px solid var(--border); }
.product-detail__specs td {
  padding: 12px 0;
  font-size: 14px;
}
.product-detail__specs td:first-child {
  color: var(--text-muted);
  width: 160px;
  font-weight: 500;
}
.product-detail__specs td:last-child { color: var(--text-primary); }
.product-detail__actions { display: flex; gap: 16px; margin-bottom: 24px; }
.product-detail__trust {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.product-detail__trust span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
}
.product-detail__trust svg { width: 18px; height: 18px; stroke: var(--green); }
.payment-icons { display: flex; gap: 8px; align-items: center; margin-top: 16px; }
.payment-icons svg { opacity: 0.85; transition: var(--transition); }
.payment-icons svg:hover { opacity: 1; }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer__col h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 18px;
  color: var(--text-primary);
}
.footer__col p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}
.footer__col ul li { margin-bottom: 10px; }
.footer__col ul li a {
  font-size: 14px;
  color: var(--text-secondary);
}
.footer__col ul li a:hover { color: var(--accent); }
.footer__payments { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.footer__payments svg { opacity: 0.8; }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}
.footer__bottom-links { display: flex; gap: 20px; }
.footer__bottom-links a { color: var(--text-muted); font-size: 13px; }
.footer__bottom-links a:hover { color: var(--accent); }

/* ---------- Cookie Consent ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}
.cookie-banner.hidden { display: none; }
.cookie-banner__text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.cookie-banner__text a { color: var(--accent); }
.cookie-banner__btn {
  padding: 10px 24px;
  flex-shrink: 0;
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  padding: 16px 0;
  font-size: 13px;
  color: var(--text-muted);
}
.breadcrumbs a { color: var(--text-secondary); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span { margin: 0 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__desc { margin: 0 auto 32px; }
  .hero__actions { justify-content: center; }
  .hero__image { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .product-detail__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .navbar__links { display: none; }
  .burger { display: block; }
  .hero { padding: 60px 0 40px; }
  .hero__title { font-size: 34px; }
  .section { padding: 48px 0; }
  .section-title { font-size: 28px; }
  .features-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 10px; text-align: center; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .cookie-banner { flex-direction: column; text-align: center; }
}
