/* CSS Reset & Variables */
:root {
  --primary: #00b67a;
  --primary-dark: #009966;
  --accent-yellow: #ffe500;
  --text-dark: #1a1a1a;
  --text-gray: #666;
  --bg-light: #f5f5f5;
  --bg-white: #ffffff;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --radius: 16px;
  --radius-sm: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  line-height: 1.5;
  background: var(--bg-white);
  overflow-x: hidden;
}

.container {
  max-width: 400px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Typography */
.section-title {
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 16px;
  line-height: 1.3;
}

.section-title.accent {
  color: var(--primary);
}

.section-desc {
  color: var(--text-gray);
  font-size: 0.85rem;
  margin-bottom: 16px;
  line-height: 1.5;
}

.highlight {
  color: var(--primary);
}

.highlight-yellow {
  background: var(--accent-yellow);
  padding: 2px 6px;
  display: inline;
}

/* Buttons */
.cta-button {
  display: block;
  width: 100%;
  padding: 16px 24px;
  background: var(--primary);
  color: white;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 182, 122, 0.4);
}

.cta-button:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.cta-button.final {
  background: #e53935;
  box-shadow: 0 4px 15px rgba(229, 57, 53, 0.4);
}

.cta-button.final:hover {
  background: #c62828;
}

/* Placeholder Images */
.placeholder-img {
  background: linear-gradient(135deg, #e8e8e8 0%, #f5f5f5 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 0.8rem;
  text-align: center;
  border: 2px dashed #ccc;
}

/* ==================== */
/* HERO SECTION */
/* ==================== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #00d68f 100%);
  padding: 24px 0 32px;
  color: white;
}

.hero-title {
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 8px;
  line-height: 1.3;
}

.hero-title .highlight {
  color: var(--accent-yellow);
}

.hero-subtitle {
  font-size: 0.8rem;
  opacity: 0.9;
  margin-bottom: 20px;
}

.hero-product {
  position: relative;
  margin-bottom: 20px;
}

.hero-product-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
}

.hero-product-small {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 60px;
  height: auto;
  background: white;
  border-radius: 8px;
  padding: 4px;
}

.pricing {
  text-align: center;
  margin-bottom: 16px;
}

.stock-badge {
  display: inline-block;
  background: var(--accent-yellow);
  color: var(--text-dark);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 12px;
}

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

.old-price {
  font-size: 1rem;
  text-decoration: line-through;
  opacity: 0.7;
}

.new-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-yellow);
}

.hero .cta-button {
  background: var(--accent-yellow);
  color: var(--text-dark);
  box-shadow: 0 4px 15px rgba(255, 229, 0, 0.4);
}

.hero .cta-button:hover {
  background: #ffd700;
}

/* ==================== */
/* PROBLEM SECTION */
/* ==================== */
.problem-section {
  padding: 32px 0;
  background: var(--bg-white);
}

.problem-list {
  list-style: none;
}

.problem-list li {
  padding: 10px 0;
  font-size: 0.85rem;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.problem-list li::before {
  content: "❌";
  flex-shrink: 0;
}

.problem-list li:last-child {
  border-bottom: none;
}

/* ==================== */
/* SOLUTION SECTION */
/* ==================== */
.solution-section {
  padding: 32px 0;
  background: var(--bg-light);
}

.solution-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.solution-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ==================== */
/* VIDEO SECTION */
/* ==================== */
.video-section {
  padding: 24px 0;
  background: var(--bg-white);
}

.video-badge {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 12px;
}

.video-container {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: #f5f5f5;
  aspect-ratio: 9 / 16;
  max-height: 500px;
}

.product-video {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: var(--radius);
  object-fit: cover;
}

/* Fallback for placeholder if needed */
.video-placeholder {
  width: 100%;
  height: 200px;
  background: #1a1a1a;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-button {
  width: 60px;
  height: 60px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: white;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.play-button:hover {
  transform: scale(1.1);
}

/* ==================== */
/* FEATURES SECTION */
/* ==================== */
.features-section {
  padding: 32px 0;
  background: var(--bg-light);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.feature-item {
  background: white;
  padding: 16px 12px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}

.feature-icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 8px;
}

.feature-text {
  font-weight: 700;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 4px;
}

.feature-desc {
  font-size: 0.7rem;
  color: var(--text-gray);
}

/* ==================== */
/* IDEAL SECTION */
/* ==================== */
.ideal-section {
  padding: 32px 0;
  background: #fdf6e3;
}

.ideal-section .section-title {
  text-align: center;
  margin-bottom: 20px;
}

.ideal-wrapper {
  position: relative;
  width: 100%;
}

.ideal-bg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

.ideal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  padding: 3%;
  gap: 4%;
}

.ideal-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 8%;
}

.ideal-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  text-align: center;
}

.ideal-vacuum {
  width: 50%;
  max-width: 80px;
  height: auto;
}

/* ==================== */
/* CLEANING SECTION */
/* ==================== */
.cleaning-section {
  padding: 32px 0;
  background: var(--bg-light);
}

.cleaning-img {
  width: 100%;
  height: 200px;
  margin-bottom: 16px;
}

.cleaning-note {
  font-size: 0.8rem;
  color: var(--text-gray);
  padding: 12px;
  background: white;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--primary);
  margin-bottom: 16px;
}

.dust-container {
  margin-top: 16px;
}

.dust-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

/* ==================== */
/* KEYBOARD SECTION */
/* ==================== */
.keyboard-section {
  padding: 32px 0;
  background: var(--bg-white);
}

.keyboard-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

/* ==================== */
/* BRUSH SECTION */
/* ==================== */
.brush-section {
  padding: 32px 0;
  background: var(--bg-light);
}

.brush-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin-bottom: 16px;
}

.brush-note {
  font-size: 0.8rem;
  color: var(--text-gray);
  padding: 12px;
  background: white;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--accent-yellow);
}

/* ==================== */
/* ORDER MID SECTION */
/* ==================== */
.order-section-mid {
  padding: 24px 0;
  background: var(--bg-white);
}

/* ==================== */
/* PACKAGE SECTION */
/* ==================== */
.package-section {
  padding: 32px 0;
  background: var(--bg-light);
}

.package-wrapper {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.package-bg {
  width: 100%;
  height: auto;
  display: block;
}

.package-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.package-title {
  font-size: 1.4rem;
  font-weight: 800;
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: auto;
}

.package-labels {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  padding-bottom: 10px;
}

.package-label-left {
  flex: 1;
}

.package-label-main {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-dark);
  display: block;
  text-align: center;
  margin-top: 60%;
}

.package-label-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 30px;
  padding-right: 10px;
}

.package-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: right;
}

/* ==================== */
/* USB CHARGING SECTION */
/* ==================== */
.usb-section {
  padding: 0;
  background: var(--bg-white);
}

.usb-wrapper {
  position: relative;
  width: 100%;
}

.usb-img {
  width: 100%;
  height: auto;
  display: block;
}

.usb-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 65%;
  padding: 20px;
  z-index: 2;
}

.usb-badge {
  display: inline-block;
  background: #4a90d9;
  color: white;
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 16px;
}

.usb-main-text {
  color: var(--text-dark);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}

.usb-main-text strong {
  font-weight: 800;
}

.usb-bottom-text {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  color: #ffffff;
  font-size: 0.85rem;
  font-style: italic;
  line-height: 1.4;
}

/* ==================== */
/* GALLERY SECTION */
/* ==================== */
.gallery-section {
  padding: 32px 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: white;
}

.gallery-header {
  margin-bottom: 16px;
}

.gallery-orders {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.rating {
  font-size: 1rem;
}

.rating span {
  opacity: 0.8;
  font-size: 0.8rem;
}

.gallery-badge {
  display: inline-block;
  background: var(--primary);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.75rem;
  line-height: 1.3;
  margin-bottom: 16px;
}

.gallery-slider {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.gallery-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

/* ==================== */
/* REVIEWS SECTION */
/* ==================== */
.reviews-section {
  padding: 32px 0;
  background: var(--bg-white);
}

.reviews-subtitle {
  color: var(--text-gray);
  font-size: 0.75rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-card {
  background: var(--bg-light);
  padding: 16px;
  border-radius: var(--radius);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.placeholder-avatar {
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.reviewer-info strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.review-date {
  font-size: 0.7rem;
  color: var(--text-gray);
}

.review-rating {
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.review-text {
  font-size: 0.85rem;
  color: var(--text-gray);
  line-height: 1.5;
}

/* ==================== */
/* FINAL ORDER SECTION */
/* ==================== */
.final-order {
  padding: 32px 0;
  background: linear-gradient(135deg, var(--primary) 0%, #00d68f 100%);
  color: white;
}

.final-order .section-title {
  font-size: 1rem;
}

.final-order .highlight {
  color: var(--accent-yellow);
}

.final-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.final-pricing {
  margin-bottom: 20px;
}

.final-pricing .old-price {
  color: white;
}

.final-pricing .new-price {
  color: var(--accent-yellow);
}

.order-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.order-form input {
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: inherit;
}

.order-form input:focus {
  outline: 3px solid var(--accent-yellow);
}

.form-note {
  font-size: 0.75rem;
  opacity: 0.9;
  text-align: center;
}

/* ==================== */
/* ANIMATIONS */
/* ==================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section {
  animation: fadeInUp 0.5s ease-out;
}

/* ==================== */
/* RESPONSIVE */
/* ==================== */
@media (min-width: 480px) {
  .container {
    max-width: 440px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 500px;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .hero-title {
    font-size: 1.3rem;
  }

  .gallery-slider {
    grid-template-columns: repeat(4, 1fr);
  }
}
