:root {
  --gold: #d4a373;
  --gold-dark: #b08055;
  --beige: #f5ebe0;
  --dark: #1a1a1a;
  --gray: #666;
  --light-gray: #f8f8f8;
  --white: #ffffff;
  --success: #2a9d8f;
  --danger: #e76f51;
  --radius: 12px;
  --shadow: 0 10px 40px rgba(0,0,0,0.08);
  --transition: all 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

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

/* Header */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-inner {
  display: flex; justify-content: space-between; align-items: center;
  height: 72px;
}

.logo { font-size: 1.5rem; font-weight: 800; color: var(--dark); letter-spacing: -0.5px; }
.logo span { color: var(--gold); }

.nav-cta {
  background: var(--gold); color: var(--white); border: none;
  padding: 12px 28px; border-radius: 50px; font-weight: 600;
  cursor: pointer; transition: var(--transition); font-size: 0.95rem;
}
.nav-cta:hover { background: var(--gold-dark); transform: translateY(-2px); }

/* Hero */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--beige) 0%, var(--white) 100%);
}

.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}

.hero-badge {
  display: inline-block; background: var(--danger); color: var(--white);
  padding: 6px 16px; border-radius: 50px; font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px;
}

.hero h1 {
  font-size: 3.2rem; font-weight: 800; line-height: 1.1;
  letter-spacing: -1.5px; margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.15rem; color: var(--gray); margin-bottom: 28px; max-width: 480px;
}

.hero-price {
  display: flex; align-items: baseline; gap: 16px; margin-bottom: 32px;
}

.price-current {
  font-size: 2.8rem; font-weight: 800; color: var(--gold-dark);
}

.price-old {
  font-size: 1.5rem; color: #999; text-decoration: line-through;
}

.price-save {
  background: #e8f5e9; color: #2e7d32; padding: 4px 12px;
  border-radius: 50px; font-size: 0.85rem; font-weight: 700;
}

.hero-cta {
  background: var(--dark); color: var(--white); border: none;
  padding: 18px 48px; border-radius: 50px; font-size: 1.1rem;
  font-weight: 700; cursor: pointer; transition: var(--transition);
  display: inline-flex; align-items: center; gap: 10px;
}

.hero-cta:hover {
  background: var(--gold); transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(212,163,115,0.3);
}

.hero-img {
  position: relative; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
}

.hero-img img {
  width: 100%; height: auto; display: block;
  transition: transform 0.6s ease;
}

.hero-img:hover img { transform: scale(1.03); }

/* Trust */
.trust {
  padding: 40px 0; background: var(--white);
  border-bottom: 1px solid #eee;
}

.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  text-align: center;
}

.trust-item {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 0.9rem; color: var(--gray); font-weight: 500;
}

.trust-icon {
  width: 40px; height: 40px; background: var(--beige);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 1.2rem;
}

/* Benefits */
.benefits {
  padding: 100px 0; background: var(--light-gray);
}

.section-title {
  text-align: center; font-size: 2.4rem; font-weight: 800;
  margin-bottom: 16px; letter-spacing: -1px;
}

.section-sub {
  text-align: center; color: var(--gray); font-size: 1.1rem;
  margin-bottom: 60px;
}

.benefits-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}

.benefit-card {
  background: var(--white); padding: 40px 30px;
  border-radius: var(--radius); text-align: center;
  transition: var(--transition); border: 1px solid transparent;
}

.benefit-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.benefit-icon {
  width: 64px; height: 64px; background: var(--beige);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 1.8rem; margin: 0 auto 20px;
}

.benefit-card h3 {
  font-size: 1.2rem; font-weight: 700; margin-bottom: 10px;
}

.benefit-card p { color: var(--gray); font-size: 0.95rem; }

/* Description */
.description {
  padding: 100px 0; background: var(--white);
}

.desc-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center; margin-bottom: 80px;
}

.desc-grid.reverse { direction: rtl; }
.desc-grid.reverse > * { direction: ltr; }

.desc-content h2 {
  font-size: 2rem; font-weight: 800; margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.desc-content p { color: var(--gray); margin-bottom: 16px; font-size: 1.05rem; }

.desc-content ul { list-style: none; margin-top: 20px; }

.desc-content li {
  padding: 8px 0; padding-left: 32px; position: relative;
  color: var(--dark); font-weight: 500;
}

.desc-content li::before {
  content: "✓"; position: absolute; left: 0;
  color: var(--success); font-weight: 700; font-size: 1.2rem;
}

.desc-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.desc-img img { width: 100%; height: auto; display: block; }

/* Gallery */
.gallery {
  padding: 60px 0 100px; background: var(--white);
}

.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}

.gallery-item {
  border-radius: var(--radius); overflow: hidden;
  cursor: pointer; position: relative;
}

.gallery-item img {
  width: 100%; height: 280px; object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img { transform: scale(1.08); }

/* Reviews */
.reviews {
  padding: 100px 0; background: var(--beige);
}

.reviews-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}

.review-card {
  background: var(--white); padding: 32px;
  border-radius: var(--radius); box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.stars { color: #ffc107; font-size: 1.1rem; margin-bottom: 12px; }

.review-text { font-style: italic; color: var(--gray); margin-bottom: 20px; line-height: 1.7; }

.review-author { font-weight: 700; color: var(--dark); }

.review-verified {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.8rem; color: var(--success); margin-top: 4px;
  font-weight: 600;
}

/* FAQ */
.faq {
  padding: 100px 0; background: var(--white);
}

.faq-item {
  border-bottom: 1px solid #eee; padding: 24px 0;
  cursor: pointer;
}

.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 700; font-size: 1.1rem;
}

.faq-toggle {
  width: 32px; height: 32px; background: var(--light-gray);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 1.2rem; transition: var(--transition);
}

.faq-item.active .faq-toggle { transform: rotate(45deg); background: var(--gold); color: var(--white); }

.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  color: var(--gray); padding-top: 0;
}

.faq-item.active .faq-answer {
  max-height: 200px; padding-top: 16px;
}

/* Checkout Section */
.checkout-section {
  padding: 100px 0; background: linear-gradient(180deg, var(--light-gray) 0%, var(--white) 100%);
}

.checkout-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start;
}

.checkout-product {
  background: var(--white); padding: 40px;
  border-radius: var(--radius); box-shadow: var(--shadow);
  position: sticky; top: 100px;
}

.checkout-product img {
  width: 100%; border-radius: var(--radius); margin-bottom: 24px;
}

.checkout-product h3 { font-size: 1.4rem; margin-bottom: 8px; }

.checkout-product .price-current { font-size: 2rem; }

.guarantee-box {
  margin-top: 24px; padding: 20px; background: var(--beige);
  border-radius: var(--radius); text-align: center;
}

.guarantee-box .icon { font-size: 2rem; margin-bottom: 8px; }

.guarantee-box h4 { font-weight: 700; margin-bottom: 4px; }

.guarantee-box p { font-size: 0.9rem; color: var(--gray); }

/* Form */
.checkout-form {
  background: var(--white); padding: 48px;
  border-radius: var(--radius); box-shadow: var(--shadow);
}

.checkout-form h2 { font-size: 1.8rem; margin-bottom: 8px; }

.checkout-form > p { color: var(--gray); margin-bottom: 32px; }

.form-group { margin-bottom: 20px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

label {
  display: block; font-size: 0.85rem; font-weight: 600;
  margin-bottom: 6px; color: var(--dark); text-transform: uppercase; letter-spacing: 0.5px;
}

input, textarea, select {
  width: 100%; padding: 14px 16px; border: 2px solid #eee;
  border-radius: 10px; font-size: 1rem; font-family: inherit;
  transition: var(--transition); background: var(--light-gray);
}

input:focus, textarea:focus, select:focus {
  outline: none; border-color: var(--gold); background: var(--white);
}

/* Quantity */
.qty-selector {
  display: flex; align-items: center; gap: 0; margin-bottom: 24px;
  border: 2px solid #eee; border-radius: 10px; overflow: hidden; width: fit-content;
}

.qty-btn {
  width: 48px; height: 48px; border: none; background: var(--light-gray);
  font-size: 1.2rem; cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}

.qty-btn:hover { background: var(--beige); }

.qty-input {
  width: 60px; text-align: center; border: none; border-left: 2px solid #eee;
  border-right: 2px solid #eee; font-weight: 700; font-size: 1.1rem;
  background: var(--white);
}

/* Order Summary */
.order-summary {
  background: var(--light-gray); padding: 24px;
  border-radius: 10px; margin: 24px 0;
}

.summary-row {
  display: flex; justify-content: space-between; padding: 8px 0;
  color: var(--gray);
}

.summary-row.total {
  border-top: 2px solid #ddd; margin-top: 8px; padding-top: 16px;
  font-size: 1.3rem; font-weight: 800; color: var(--dark);
}

.summary-row.shipping-free { color: var(--success); font-weight: 600; }

.submit-btn {
  width: 100%; background: var(--gold); color: var(--white); border: none;
  padding: 18px; border-radius: 10px; font-size: 1.1rem; font-weight: 700;
  cursor: pointer; transition: var(--transition); margin-top: 8px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}

.submit-btn:hover { background: var(--gold-dark); transform: translateY(-2px); }

.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.spinner {
  width: 20px; height: 20px; border: 2px solid rgba(255,255,255,0.3);
  border-top-color: var(--white); border-radius: 50%;
  animation: spin 0.8s linear infinite; display: none;
}

@keyframes spin { to { transform: rotate(360deg); } }

.secure-note {
  text-align: center; margin-top: 16px; font-size: 0.85rem;
  color: var(--gray); display: flex; align-items: center;
  justify-content: center; gap: 6px;
}

/* Footer */
.footer {
  background: var(--dark); color: #aaa; padding: 60px 0 30px;
}

.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px;
}

.footer-brand .logo { color: var(--white); margin-bottom: 16px; }

.footer-brand p { line-height: 1.7; font-size: 0.95rem; }

.footer h4 { color: var(--white); margin-bottom: 20px; font-size: 1rem; }

.footer a { color: #aaa; text-decoration: none; display: block; padding: 6px 0; transition: var(--transition); }

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

.footer-bottom {
  border-top: 1px solid #333; padding-top: 24px;
  text-align: center; font-size: 0.85rem;
}

/* Modal */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  z-index: 2000; display: none; align-items: center; justify-content: center;
  padding: 20px; backdrop-filter: blur(4px);
}

.modal-overlay.active { display: flex; }

.modal-content {
  background: var(--white); border-radius: var(--radius);
  max-width: 900px; width: 100%; max-height: 90vh; overflow-y: auto;
  position: relative; animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(30px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: absolute; top: 16px; right: 16px; width: 40px; height: 40px;
  background: var(--light-gray); border: none; border-radius: 50%;
  font-size: 1.5rem; cursor: pointer; z-index: 10; transition: var(--transition);
}

.modal-close:hover { background: var(--beige); }

/* Alert */
.alert {
  padding: 16px; border-radius: 10px; margin-bottom: 20px; display: none;
  align-items: center; gap: 10px; font-weight: 500;
}

.alert.error { background: #ffebee; color: #c62828; display: flex; }
.alert.success { background: #e8f5e9; color: #2e7d32; display: flex; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .desc-grid, .checkout-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.2rem; }
  .benefits-grid, .reviews-grid, .gallery-grid, .trust-grid { grid-template-columns: 1fr; }
  .desc-grid.reverse { direction: ltr; }
  .checkout-product { position: static; }
  .form-row { grid-template-columns: 1fr; }
}
