/* ==============================================================
   RICH FACTORY USA — Style Sheet v1
   Inspired by: cleanfactoryus.com (minimal black/white luxury)
   ============================================================== */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1a1a1a;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==============================================================
   TOP BAR
   ============================================================== */
.topbar {
  background: #292f34;
  color: #fff;
  font-size: 13px;
  padding: 8px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar-right {
  opacity: 0.85;
}

/* ==============================================================
   NAVIGATION
   ============================================================== */
.navbar {
  background: #262626;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #fff;
}
.logo-light {
  font-weight: 300;
  color: #999;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: #ccc;
  transition: color 0.2s;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

/* Mobile overlay */
.mobile-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 998;
}

/* ==============================================================
   HERO
   ============================================================== */
.hero {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
  color: #fff;
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
  border-radius: 50%;
}
.hero .container {
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}
.hero-text {
  flex: 1;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 18px;
  border-radius: 4px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: #aaa;
}
.hero h1 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero h1 span {
  color: #fff;
}
.hero p {
  font-size: 17px;
  color: #aaa;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
}
.hero-actions {
  display: flex;
  gap: 16px;
}
.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-image .watch-placeholder {
  width: 360px;
  height: 420px;
  background: linear-gradient(135deg, #333, #444);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #777;
  border: 1px solid #444;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
}
.btn-primary {
  background: #fff;
  color: #1a1a1a;
}
.btn-primary:hover {
  background: #ddd;
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.btn-outline:hover {
  background: #fff;
  color: #1a1a1a;
}

/* ==============================================================
   SECTION TITLES
   ============================================================== */
.section-title {
  text-align: center;
  margin-bottom: 48px;
}
.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
}
.section-title p {
  font-size: 16px;
  color: #777;
  max-width: 600px;
  margin: 0 auto;
}
.section-divider {
  width: 60px;
  height: 3px;
  background: #1a1a1a;
  margin: 16px auto 0;
}

/* ==============================================================
   SECTIONS (light bg)
   ============================================================== */
.section {
  padding: 80px 0;
}
.section-dark {
  background: #f8f8f8;
}

/* ==============================================================
   PRODUCT GRID
   ============================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.product-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s;
}
.product-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.product-card-img {
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #f8f8f8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 13px;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-card-body {
  padding: 20px;
}
.product-card-body h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #1a1a1a;
}
.product-card-body .product-factory {
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.product-card-body .product-price {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
}

.product-card-body .product-stock {
  font-size: 12px;
  color: #2e7d32;
  margin-top: 8px;
}

/* ==============================================================
   CATEGORY CARDS
   ============================================================== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.cat-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 36px 20px;
  text-align: center;
  transition: all 0.3s;
  cursor: pointer;
}
.cat-card:hover {
  border-color: #1a1a1a;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.cat-card .cat-icon {
  font-size: 36px;
  margin-bottom: 12px;
}
.cat-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}
.cat-card p {
  font-size: 13px;
  color: #999;
}

/* ==============================================================
   FEATURES
   ============================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 30px;
}
.feature-item {
  text-align: center;
  padding: 20px;
}
.feature-item .feature-icon {
  font-size: 36px;
  margin-bottom: 16px;
}
.feature-item h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.feature-item p {
  font-size: 14px;
  color: #888;
  line-height: 1.6;
}

/* ==============================================================
   FAQ (homepage inline)
   ============================================================== */
.faq-item {
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}
.faq-item:last-child {
  border-bottom: none;
}
.faq-item h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1a1a1a;
}
.faq-item p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
}

/* ==============================================================
   CTA SECTION
   ============================================================== */
.cta-section {
  background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}
.cta-section h2 {
  font-size: 32px;
  margin-bottom: 16px;
}
.cta-section p {
  font-size: 16px;
  color: #aaa;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.cta-section .btn-primary {
  font-size: 15px;
  padding: 16px 48px;
}

/* ==============================================================
   FOOTER
   ============================================================== */
.site-footer {
  background: #eeeeec;
  color: #555;
  padding: 60px 0 0;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
}
.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #333;
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  color: #777;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: #333;
}
.footer-col p {
  color: #888;
  margin-bottom: 8px;
  line-height: 1.6;
}
.footer-logo {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
}
.footer-tagline {
  color: #999;
  margin-bottom: 16px;
}
.footer-contact a {
  display: inline;
  color: #555;
}
.footer-bottom {
  border-top: 1px solid #ddd;
  padding: 24px 0;
  margin-top: 40px;
  text-align: center;
}
.footer-bottom p {
  color: #999;
  font-size: 13px;
}
.footer-disclaimer {
  margin-top: 6px;
  font-size: 12px;
  color: #bbb;
}

/* ==============================================================
   RESPONSIVE
   ============================================================== */
@media (max-width: 1024px) {
  .hero h1 { font-size: 34px; }
  .hero .container { gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: #262626;
    flex-direction: column;
    padding: 80px 30px 30px;
    gap: 20px;
    z-index: 999;
    transition: right 0.3s;
  }
  .nav-links.open {
    right: 0;
    display: flex;
  }
  .hamburger {
    display: flex;
  }

  .hero .container {
    flex-direction: column;
    text-align: center;
  }
  .hero h1 { font-size: 28px; }
  .hero p { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-image .watch-placeholder { width: 240px; height: 280px; }
  .hero { padding: 60px 0 40px; }

  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }

  .section { padding: 48px 0; }
  .section-title h2 { font-size: 24px; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .features-grid { grid-template-columns: 1fr; }
}
