/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #f59e0b;
  --primary-dark: #d97706;
  --dark-bg: #1f2937;
  --darker-bg: #111827;
  --text-light: #f9fafb;
  --text-gray: #9ca3af;
  --border-color: #374151;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #1f2937;
  background-color: #f9fafb;
}

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

img {
  max-width: 100%;
  height: auto;
}

/* Header */
.header {
  background-color: var(--darker-bg);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-light);
  font-size: 1.5rem;
  font-weight: 700;
}

.logo-icon {
  width: 40px;
  height: 40px;
  color: var(--primary);
}

.logo span {
  color: var(--primary);
}

.nav-desktop {
  display: flex;
  gap: 2rem;
}

.nav-desktop a {
  color: var(--text-gray);
  transition: color 0.3s;
}

.nav-desktop a:hover {
  color: var(--primary);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 0.5rem;
}

.nav-mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--darker-bg);
  padding: 1rem;
  border-top: 1px solid var(--border-color);
}

.nav-mobile.active {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nav-mobile a {
  color: var(--text-gray);
  padding: 0.5rem 0;
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--dark-bg), var(--darker-bg));
  padding: 3rem 1rem;
  text-align: center;
}

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

.hero h1 {
  color: var(--text-light);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero h1 span {
  color: var(--primary);
}

.hero p {
  color: var(--text-gray);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.video-container {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.video-container video {
  width: 100%;
  display: block;
}

/* Products Section */
.products-section {
  padding: 4rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: 1.75rem;
  color: var(--dark-bg);
}

.disclosure-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6b7280;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  background: #f3f4f6;
  border-radius: 20px;
  transition: all 0.3s;
}

.disclosure-link:hover {
  background: #e5e7eb;
  color: var(--primary-dark);
}

.products-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Product Card */
.product-card {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 1.5rem;
  align-items: center;
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: all 0.3s;
  border: 1px solid #e5e7eb;
}

.product-card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

.product-rank {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.product-image {
  width: 200px;
  height: 200px;
  background: #f3f4f6;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-placeholder {
  color: #9ca3af;
  text-align: center;
  font-size: 0.75rem;
}

.product-info {
  flex: 1;
}

.product-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dark-bg);
  margin-bottom: 0.5rem;
}

.product-name a:hover {
  color: var(--primary);
}

.product-brand {
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.product-description {
  color: #4b5563;
  font-size: 0.875rem;
  line-height: 1.5;
}

.product-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.rating-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 4px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-bg);
}

.rating-label {
  font-size: 0.75rem;
  color: #6b7280;
}

.product-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.check-price-btn {
  background: #232f3e;
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s;
  display: block;
  text-align: center;
}

.check-price-btn:hover {
  background: #374151;
  transform: scale(1.02);
}

.amazon-logo {
  height: 25px;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
}

@media (max-width: 900px) {
  .product-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .product-rank {
    margin: 0 auto;
  }
  
  .product-image {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
  }
  
  .product-rating,
  .product-action {
    margin: 0 auto;
  }
}

/* Amazon Store Link */
.amazon-store {
  text-align: center;
  padding: 2rem 1rem;
  background: #f3f4f6;
  margin-top: 2rem;
  border-radius: 12px;
}

.amazon-store a {
  color: var(--primary-dark);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.amazon-store a:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  background-color: var(--darker-bg);
  color: var(--text-gray);
  padding: 3rem 1rem 1.5rem;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--text-gray);
  transition: color 0.3s;
}

.footer-section a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  text-align: center;
}

.amazon-disclaimer {
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.copyright {
  font-size: 0.875rem;
}

/* Page Content */
.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.page-content h1 {
  font-size: 2rem;
  color: var(--dark-bg);
  margin-bottom: 1.5rem;
}

.page-content h2 {
  font-size: 1.5rem;
  color: var(--dark-bg);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.page-content p {
  color: #4b5563;
  margin-bottom: 1rem;
}

.page-content ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.page-content li {
  color: #4b5563;
  margin-bottom: 0.5rem;
}

.page-content a {
  color: var(--primary-dark);
}

.page-content a:hover {
  text-decoration: underline;
}

/* Alert Box */
.alert-box {
  background: #fef3c7;
  border: 1px solid #f59e0b;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.alert-box p {
  color: #92400e;
  margin: 0;
}

/* Contact Form */
.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--dark-bg);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.submit-btn {
  background: var(--primary);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.submit-btn:hover {
  background: var(--primary-dark);
}

.form-success {
  background: #d1fae5;
  color: #065f46;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.form-error {
  background: #fee2e2;
  color: #991b1b;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 640px) {
  .hero h1 {
    font-size: 1.75rem;
  }
  
  .section-header {
    flex-direction: column;
    text-align: center;
  }
}