/* Base */
:root {
  --bg: #ffffff;
  --card: #ffffff;
  --muted: #6b7280;
  --text: #111827;
  --primary: #e53935;
  --primary-700: #c62828;
  --ring: rgba(229, 57, 53, .22);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
html { background: #ffffff; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
}
.container { background: transparent; }

.container { width: min(1100px, 92%); margin: 0 auto; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; backdrop-filter: none; background: #ffffff; border-bottom: 1px solid rgba(17,24,39,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.brand { font-weight: 800; color: var(--text); text-decoration: none; letter-spacing: .5px; }
.nav a { color: var(--text); text-decoration: none; margin-left: 18px; font-size: 14px; opacity: .85; }
.nav a:hover { opacity: 1; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 10px; padding: 10px 16px; cursor: pointer; text-decoration: none; color: #fff; transition: transform .06s ease, background-color .2s ease, box-shadow .2s ease; }
.btn-sm { padding: 8px 12px; font-size: 14px; }
.btn-lg { padding: 14px 22px; font-size: 16px; }
.btn-primary { background: var(--primary); box-shadow: 0 8px 24px var(--ring); }
.btn-primary:hover { background: var(--primary-700); transform: translateY(-1px); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; padding: 42px 0 28px; }
.hero h1 { font-size: clamp(28px, 4vw, 48px); line-height: 1.05; margin: 0 0 10px; }
.subtitle { margin: 0 0 18px; color: var(--muted); }
.hero-bullets { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 12px 16px; }
.hero-bullets li { background: #f5f6f7; border: 1px solid rgba(17,24,39,.08); padding: 8px 12px; border-radius: 999px; font-size: 14px; }
.trust-text { color: var(--muted); font-size: 13px; margin-top: 8px; }
.hero-media img { width: 100%; height: auto; border-radius: 16px; background: #fafafa; border: 1px solid rgba(17,24,39,.08); box-shadow: 0 12px 30px rgba(0,0,0,.12); }

/* Price Section */
.price-section { margin: 20px 0; padding: 16px; background: #f8f9fa; border-radius: 12px; border: 1px solid rgba(17,24,39,.08); }
.promotion-badge { display: inline-block; background: var(--primary); color: #fff; padding: 4px 12px; border-radius: 6px; font-size: 12px; font-weight: bold; margin: 0 0 12px 0; }
.price-container { display: flex; align-items: baseline; gap: 12px; margin: 8px 0; }
.price-old { font-size: 20px; color: var(--muted) !important; text-decoration: line-through !important; text-decoration-thickness: 2px !important; text-decoration-color: var(--muted) !important; }
.price-section .price-old { text-decoration: line-through !important; }
.price-new { font-size: 32px; font-weight: bold; color: var(--primary); }
.price-label { margin: 4px 0 0 0; color: var(--muted); font-size: 14px; }

/* Sections */
section { padding: 34px 0; }
h2 { font-size: 26px; margin: 0 0 16px; }
h3 { margin: 0 0 8px; font-size: 18px; }
p { color: #374151; line-height: 1.6; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid rgba(17,24,39,.08); padding: 18px; border-radius: 14px; }
.card .icon { width: 32px; height: 32px; opacity: .9; }
.icon-placeholder { font-size: 32px; margin-bottom: 8px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; border: 1px solid rgba(17,24,39,.08); }

/* Usage */
.usage p { margin: 8px 0; }

/* Order */
.order { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: start; }
.order-img img { width: 100%; border-radius: 14px; border: 1px solid rgba(17,24,39,.08); }
.order-form .sku { color: var(--muted); margin-top: -4px; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 12px 0 18px; }
label { display: grid; gap: 6px; font-size: 14px; color: var(--text); }
label.full { grid-column: 1 / -1; }
input, select { width: 100%; background: #ffffff; color: var(--text); border: 1px solid rgba(17,24,39,.16); border-radius: 10px; padding: 10px 12px; outline: none; }
input:focus, select:focus { border-color: var(--primary); box-shadow: 0 0 0 6px var(--ring); }
.secure { color: var(--muted); font-size: 13px; margin-top: 8px; }

/* FAQ */
.faq details { background: var(--card); border: 1px solid rgba(17,24,39,.08); padding: 12px 14px; border-radius: 12px; margin-bottom: 10px; }
.faq summary { cursor: pointer; }

/* Testimonials */
.testimonials { padding: 50px 0; }
.testimonials h2 { text-align: center; margin-bottom: 32px; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.testimonial-card { background: var(--card); border: 1px solid rgba(17,24,39,.08); padding: 20px; border-radius: 12px; }
.testimonial-header { margin-bottom: 12px; }
.testimonial-author { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.testimonial-author strong { color: var(--text); font-size: 16px; }
.stars { font-size: 16px; letter-spacing: 2px; color: #fbbf24; }
.star-filled { color: #fbbf24 !important; }
.star-empty { color: #d1d5db !important; }
.stars .star-filled { color: #fbbf24 !important; }
.stars span.star-filled { color: #fbbf24 !important; }
.testimonial-card .stars .star-filled { color: #fbbf24 !important; }
.testimonial-text { color: #4b5563; line-height: 1.6; font-size: 14px; margin: 0; }

/* Contact CTA */
.contact-cta { padding: 50px 0; text-align: center; background: #f8f9fa; margin-top: 40px; }
.cta-content { max-width: 600px; margin: 0 auto; }
.contact-cta h2 { margin: 0 0 12px; color: var(--text); }
.contact-cta p { margin: 0 0 24px; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid rgba(17,24,39,.08); margin-top: 0; color: var(--muted); background: #ffffff; }
.site-footer .container { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; }
.site-footer a { color: var(--muted); text-decoration: none; margin-left: 12px; }

/* Wheel */
.wheel-section { margin-top: 24px; padding: 20px; background: #f8f9fa; border-radius: 12px; text-align: center; }
.wheel-section h3 { margin: 0 0 8px; color: var(--text); }
.wheel-section p { margin: 0 0 16px; color: var(--muted); }
.wheel-container { position: relative; display: inline-block; margin: 16px 0; }
.wheel { width: 300px; height: 300px; border-radius: 50%; position: relative; overflow: hidden; border: 4px solid var(--primary); }
.wheel-segment { position: absolute; width: 50%; height: 50%; transform-origin: 100% 100%; display: flex; align-items: center; justify-content: center; font-weight: bold; color: #fff; font-size: 18px; text-shadow: 1px 1px 2px rgba(0,0,0,0.5); }
.wheel-segment:nth-child(1) { background: #e53935; transform: rotate(0deg); }
.wheel-segment:nth-child(2) { background: #f44336; transform: rotate(36deg); }
.wheel-segment:nth-child(3) { background: #d32f2f; transform: rotate(72deg); }
.wheel-segment:nth-child(4) { background: #e53935; transform: rotate(108deg); }
.wheel-segment:nth-child(5) { background: #f44336; transform: rotate(144deg); }
.wheel-segment:nth-child(6) { background: #d32f2f; transform: rotate(180deg); }
.wheel-segment:nth-child(7) { background: #e53935; transform: rotate(216deg); }
.wheel-segment:nth-child(8) { background: #f44336; transform: rotate(252deg); }
.wheel-segment:nth-child(9) { background: #d32f2f; transform: rotate(288deg); }
.wheel-segment:nth-child(10) { background: #e53935; transform: rotate(324deg); }
.wheel-pointer { position: absolute; top: -8px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 12px solid transparent; border-right: 12px solid transparent; border-top: 20px solid var(--primary); z-index: 10; }
.spin-btn { margin-top: 16px; padding: 12px 24px; background: var(--primary); color: #fff; border: none; border-radius: 8px; font-weight: bold; cursor: pointer; transition: background-color 0.2s; }
.spin-btn:hover { background: var(--primary-700); }
.spin-btn:disabled { background: #ccc; cursor: not-allowed; }
.result { margin-top: 16px; padding: 12px; background: #e8f5e8; border: 2px solid #4caf50; border-radius: 8px; font-weight: bold; color: #2e7d32; display: none; }
.result.show { display: block; }

/* Modal */
.modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.5); align-items: center; justify-content: center; }
.modal-content { background-color: #ffffff; margin: auto; padding: 30px; border-radius: 12px; width: 90%; max-width: 500px; position: relative; box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.modal-close { color: #aaa; float: right; font-size: 28px; font-weight: bold; cursor: pointer; position: absolute; right: 20px; top: 15px; }
.modal-close:hover { color: var(--text); }
.modal-content h2 { margin: 0 0 10px; color: var(--text); }
.modal-content p { margin: 0 0 20px; color: var(--muted); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 6px; color: var(--text); font-weight: 500; }
.form-group input { width: 100%; padding: 12px; border: 1px solid rgba(17,24,39,.16); border-radius: 8px; font-size: 14px; outline: none; transition: border-color 0.2s; }
.form-group input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--ring); }

/* Responsive */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .order { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .cards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: 1fr; }
  .nav a { margin-left: 12px; }
  .wheel { width: 250px; height: 250px; }
  .wheel-segment { font-size: 16px; }
  .modal-content { width: 95%; padding: 20px; }
  .testimonials-grid { grid-template-columns: 1fr; }
}


