/* ===== Windky Landing Page — style.css ===== */

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

:root {
  --pink: #ff6b8a;
  --pink-dark: #e55a78;
  --pink-light: #fff0f3;
  --text: #333;
  --text-light: #666;
  --white: #fff;
  --bg: #fff5f7;
  --radius: 10px;
  --shadow: 0 2px 12px rgba(0,0,0,.08);
  --check-border: #d0b8c0;
  --checked-bg: #ff6b8a;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

/* === NAV (no logo) === */
.nav {
  background: var(--white);
  border-bottom: 1px solid #f0e0e5;
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 12px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 52px;
  font-size: 14px;
  color: var(--text-light);
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}
.nav-inner::-webkit-scrollbar { display: none; }

.nav-brand {
  cursor: pointer;
  flex-shrink: 0;
  padding: 4px 8px;
  border-radius: 4px;
  transition: color .2s, background .2s;
}
.nav-brand:hover { color: var(--pink); background: var(--pink-light); }

/* === SHARED SLIDESHOW === */
.slideshow {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 12px;
}
.slides {
  display: flex;
  transition: transform .5s cubic-bezier(.25,.8,.25,1);
  will-change: transform;
}
.slide { flex: 0 0 100%; }
.slide img { width: 100%; display: block; }

.dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0,0,0,.2);
  cursor: pointer;
  transition: all .3s;
}
.dots .dot.active {
  background: var(--pink);
  transform: scale(1.3);
}

/* === HERO === */
.hero {
  position: relative;
  background: var(--white);
  text-align: center;
  padding-bottom: 0;
}

.hero .slideshow { border-radius: 0; margin-bottom: 0; }
.hero .slide { min-height: 300px; }
.hero .slide img { min-height: 300px; object-fit: cover; }

.hero .dots { bottom: 14px; }
.hero .dots .dot { background: rgba(255,255,255,.5); }
.hero .dots .dot.active { background: var(--pink); }

.hero-content {
  padding: 28px 24px 0;
  background: linear-gradient(180deg, #fff 0%, #fff5f7 100%);
}

.hero-tagline {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 12px;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.5;
}

.hero-logo {
  position: absolute;
  top: 12px;
  left: 16px;
  width: 56px;
  height: auto;
  z-index: 5;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.15));
}

/* === BUTTONS === */
.btn-cta {
  display: inline-block;
  background: var(--pink);
  color: var(--white);
  border: none;
  padding: 14px 32px;
  font-size: 19px;
  font-weight: 700;
  border-radius: 30px;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: all .2s;
  touch-action: manipulation;
  font-family: inherit;
}
.btn-cta:hover { background: var(--pink-dark); transform: translateY(-1px); }
.btn-cta:active { transform: translateY(0); }

.btn-cta-large {
  display: block;
  width: calc(100% - 32px);
  margin: 20px auto;
  padding: 16px 20px;
  font-size: 20px;
  border-radius: 32px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,107,138,.4); }
  50% { box-shadow: 0 0 0 14px rgba(255,107,138,0); }
}

/* === SECTION SHARED === */
section {
  background: var(--white);
  padding: 36px 20px;
  margin-bottom: 8px;
}

.section-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.4;
}

/* === IMAGES === */
.img-full { margin-bottom: 8px; }
.img-full img { width: 100%; display: block; }

/* === PAIN SECTION === */
.pain-section { text-align: center; }

.pain-text {
  font-size: 18px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: left;
}

.pain-text strong { color: var(--pink-dark); }

.quote-box {
  background: linear-gradient(135deg, #fff0f3, #ffe4ea);
  border-left: 4px solid var(--pink);
  padding: 18px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 20px 0 24px;
  text-align: center;
}

.quote-box p {
  font-size: 18px;
  font-weight: 600;
  color: var(--pink-dark);
  font-style: italic;
  line-height: 1.5;
}

/* === VIDEO === */
.video-wrapper {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
  background: #000;
}

.video-wrapper video {
  width: 100%;
  display: block;
  max-height: 480px;
  object-fit: contain;
}

/* === WHY WINDKY === */
.why-windky { text-align: center; }

.why-windky .slideshow { margin-bottom: 24px; }

.why-block {
  text-align: left;
  margin-bottom: 24px;
}

.why-icon {
  font-size: 36px;
  margin-bottom: 8px;
  text-align: center;
}

.why-block h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  text-align: center;
}

.why-block p {
  font-size: 17px;
  color: var(--text-light);
  line-height: 1.6;
  text-align: center;
}

/* === PRODUCT GALLERY === */
.product-gallery { padding-bottom: 20px; }

/* === PRIVILEGES === */
.privileges { text-align: center; }

.privileges-intro {
  font-size: 17px;
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.6;
}

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

.privilege-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fffafc;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid #f5e8ec;
  text-align: left;
}

.priv-icon {
  font-size: 32px;
  flex-shrink: 0;
  line-height: 1;
}

.privilege-item strong {
  display: block;
  font-size: 17px;
  color: var(--text);
  margin-bottom: 4px;
}

.privilege-item p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.5;
}

/* === COUNTDOWN === */
.cta-mid { text-align: center; }

.countdown-box {
  text-align: center;
  background: linear-gradient(135deg, #fff0f3, #ffe4ea);
  border-radius: 14px;
  padding: 20px;
  margin: 0 auto 10px;
  border: 2px dashed var(--pink);
}

.countdown-label {
  font-size: 18px;
  font-weight: 600;
  color: var(--pink-dark);
  margin-bottom: 10px;
}

.countdown-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.time-block {
  background: var(--pink);
  color: var(--white);
  border-radius: 10px;
  padding: 10px 12px;
  min-width: 64px;
}
.time-block span { display: block; font-size: 36px; font-weight: 900; line-height: 1; }
.time-block small { font-size: 13px; display: block; margin-top: 2px; opacity: .9; }

.time-sep { font-size: 31px; font-weight: 700; color: var(--pink); }

.countdown-timer.urgent .time-block {
  background: #e53935;
  animation: urgentFlash .5s infinite alternate;
}
@keyframes urgentFlash { from { opacity: 1; } to { opacity: .6; } }

.cta-mid-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin: 16px 0 8px;
}

/* === FAQ === */
.faq { padding-bottom: 24px; }

.faq-item {
  border: 1px solid #f0e0e5;
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 16px 18px;
  font-size: 17px;
  font-weight: 600;
  font-family: inherit;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  gap: 12px;
  touch-action: manipulation;
}
.faq-question:hover { color: var(--pink-dark); }

.faq-arrow {
  font-size: 14px;
  transition: transform .3s;
  flex-shrink: 0;
  color: var(--text-light);
}
.faq-item.open .faq-arrow { transform: rotate(180deg); color: var(--pink); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-item.open .faq-answer { max-height: 300px; }

.faq-answer p {
  padding: 0 18px 16px;
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.6;
}

/* === ORDER FORM === */
.discount-badge {
  text-align: center;
  margin-bottom: 24px;
}
.discount-value {
  display: block;
  font-size: 32px;
  font-weight: 900;
  color: var(--pink);
  letter-spacing: 1px;
}
.discount-note { font-size: 16px; color: var(--text-light); margin-top: 6px; }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 17px; font-weight: 600; margin-bottom: 5px; color: var(--text); }
.required { color: #e53935; }

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e0d0d5;
  border-radius: 10px;
  font-size: 18px;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color .2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--pink); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: #b8a0aa; }

.form-hint { font-size: 14px; color: var(--text-light); margin-top: 3px; display: block; }

/* === PRODUCT OPTIONS (redesigned checkboxes) === */
.product-options { display: flex; flex-direction: column; gap: 10px; }
.product-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  padding: 16px 18px;
  border: 2px solid #e0d0d5;
  border-radius: 12px;
  transition: all .25s;
  user-select: none;
  background: #fdf8f9;
}
.product-option:hover {
  border-color: var(--pink);
  background: #fff5f7;
}
.product-option:has(input:checked) {
  border-color: var(--pink);
  background: #fff0f3;
  box-shadow: 0 0 0 1px var(--pink);
}

.product-option input[type="checkbox"] { display: none; }

.check-box {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 2.5px solid #b8a0aa;
  margin-top: 1px;
  position: relative;
  transition: all .25s;
  background: white;
}

.product-option:has(input:checked) .check-box {
  background: var(--pink);
  border-color: var(--pink);
}

.product-option:has(input:checked) .check-box::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 7px;
  width: 7px;
  height: 12px;
  border: solid white;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

.option-text { font-size: 16px; color: var(--text-light); line-height: 1.5; flex: 1; }
.option-text strong { color: var(--pink-dark); }
.option-text small { font-size: 13px; color: #c08090; display: block; margin-top: 3px; }

.btn-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  color: var(--white);
  border: none;
  border-radius: 32px;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: all .2s;
  margin-top: 10px;
  touch-action: manipulation;
  font-family: inherit;
}
.btn-submit:hover { opacity: .9; transform: translateY(-1px); }
.btn-submit:active { transform: translateY(0); }
.btn-submit:disabled { opacity: .6; cursor: not-allowed; }

.form-message { text-align: center; margin-top: 14px; font-size: 17px; min-height: 28px; }
.form-message.success { color: #2e7d32; }
.form-message.error { color: #c62828; }
.form-message.loading { color: var(--text-light); }

/* === HOTLINE BOX === */
.hotline-box {
  text-align: center;
  margin-top: 24px;
  padding: 16px;
  background: #fff0f3;
  border-radius: var(--radius);
  border: 1px dashed var(--pink);
}
.hotline-box p { font-size: 16px; color: var(--text-light); margin-bottom: 6px; }
.hotline-num {
  display: inline-block;
  font-size: 28px;
  font-weight: 800;
  color: var(--pink);
  text-decoration: none;
  letter-spacing: 1px;
}

/* === FOOTER (no SHT brand) === */
.footer {
  background: #2d2d2d;
  color: #aaa;
  text-align: center;
  padding: 36px 20px;
  font-size: 17px;
  line-height: 1.8;
}
.footer-logo { width: 100px; height: auto; margin: 0 auto 16px; }
.footer-info { margin-bottom: 14px; }
.footer a { color: var(--pink-light); text-decoration: none; }
.footer-copy { font-size: 14px; color: #666; margin-top: 10px; }

/* === FLOATING BUTTONS (Zalo + Order) === */
.float-buttons {
  position: fixed;
  bottom: 24px;
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}
.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  text-decoration: none;
  touch-action: manipulation;
}
.float-btn:hover { transform: scale(1.1); }
.float-call { background: #0180c7; }
.float-order { background: var(--pink); animation: floatBounce 2s infinite; }

.zalo-icon {
  width: 28px;
  height: 28px;
}

@keyframes floatBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* === RESPONSIVE === */
@media (min-width: 768px) {
  body { max-width: 720px; }
  .hero .slide { min-height: 400px; }
  .hero .slide img { min-height: 400px; }
}
@media (min-width: 1024px) {
  body { max-width: 600px; box-shadow: var(--shadow); min-height: 100vh; }
}
