/* ========================================
   WINNOW CHINA — DEMO PAGE STYLES
   Page: 05-demo.html
   ======================================== */

/* ========================================
   1. HERO — SPLIT LAYOUT (FORM + VALUE PROP)
   ======================================== */
.demo-hero {
  background: linear-gradient(135deg, var(--purple) 0%, #2a1a5e 60%, var(--blueberry) 100%);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.demo-hero::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(90, 80, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.demo-hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(90, 80, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  position: relative;
  z-index: 2;
}

.hero-left {
  color: var(--white);
  padding-top: 24px;
}

.hero-left h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 20px;
}

.hero-left .hero-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-brands {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 28px;
}

.trust-badges {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-badge {
  text-align: center;
}

.trust-badge .badge-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1.2;
}

.trust-badge .badge-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

/* ========================================
   DEMO FORM
   ======================================== */
.hero-right {
  position: relative;
}

.demo-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.demo-form-card h2 {
  font-size: 1.4rem;
  color: var(--purple);
  font-weight: 700;
  margin-bottom: 8px;
  text-align: center;
}

.demo-form-card .form-subtitle {
  font-size: 0.9rem;
  color: var(--gray);
  text-align: center;
  margin-bottom: 28px;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--purple);
  margin-bottom: 6px;
}

.form-group label .required {
  color: var(--red);
  margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid rgba(90, 80, 255, 0.15);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-body);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blueberry);
  box-shadow: 0 0 0 3px rgba(90, 80, 255, 0.1);
}

.form-group input::placeholder {
  color: #aaa;
}

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

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-body);
  cursor: pointer;
  padding: 6px 14px;
  border: 1.5px solid rgba(90, 80, 255, 0.12);
  border-radius: 50px;
  transition: var(--transition);
}

.checkbox-group label:hover {
  border-color: var(--blueberry);
  background: var(--light-bg);
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  accent-color: var(--blueberry);
}

.checkbox-group input[type="checkbox"]:checked + span {
  color: var(--blueberry);
  font-weight: 600;
}

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 8px;
}

.form-submit:hover {
  background: #e67a00;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 135, 0, 0.4);
}

.form-note {
  font-size: 0.75rem;
  color: #999;
  text-align: center;
  margin-top: 12px;
}

/* ========================================
   3. HOW IT WORKS — 3 STEPS
   ======================================== */
.steps-section {
  background: var(--white);
  padding: 100px 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, var(--blueberry), var(--orange));
  opacity: 0.2;
}

.step-card {
  text-align: center;
  position: relative;
}

.step-card .step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blueberry) 0%, var(--purple) 100%);
  color: var(--white);
  font-size: 1.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  position: relative;
  z-index: 2;
}

.step-card h3 {
  font-size: 1.15rem;
  color: var(--purple);
  font-weight: 700;
  margin-bottom: 12px;
}

.step-card p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.7;
}

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

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(90, 80, 255, 0.08);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--purple);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--blueberry);
}

.faq-question .faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.3s ease;
  color: var(--blueberry);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 24px;
}

.faq-answer p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.8;
}

/* ========================================
   6. CONTACT ALTERNATIVES
   ======================================== */
.contact-section {
  background: var(--light-bg);
  padding: 80px 0;
}

.contact-banner {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  overflow: hidden;
  transition: var(--transition);
}

.contact-banner:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.contact-left {
  flex: 1;
  padding: 48px 44px;
}

.contact-left h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--purple);
  margin-bottom: 10px;
  line-height: 1.4;
}

.contact-left .contact-desc {
  font-size: 0.92rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 20px;
}

.contact-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #999;
}

.contact-meta-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--gray);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.contact-meta-item a {
  color: var(--blueberry);
  text-decoration: none;
  font-weight: 500;
}

.contact-meta-item a:hover {
  text-decoration: underline;
}

.contact-right {
  flex-shrink: 0;
  width: 260px;
  background: var(--light-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
  text-align: center;
}

.contact-right .qr-label {
  font-size: 0.78rem;
  color: #aaa;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}

.contact-qr {
  width: 160px;
  height: 160px;
  border-radius: 12px;
  object-fit: contain;
  margin-bottom: 12px;
}

.contact-right .qr-hint {
  font-size: 0.78rem;
  color: #aaa;
}

/* ========================================
   7. BOTTOM CTA — DEMO PAGE OVERRIDE
   ======================================== */
.bottom-cta {
  background: linear-gradient(135deg, var(--blueberry) 0%, #2D2A6E 100%);
}

.bottom-cta::before {
  display: none;
}

/* ========================================
   RESPONSIVE — DEMO-ONLY
   ======================================== */

@media (max-width: 1024px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-left {
    text-align: center;
    padding-top: 0;
  }

  .trust-badges {
    justify-content: center;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .demo-hero {
    padding: 120px 0 60px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .contact-banner {
    flex-direction: column;
  }

  .contact-left {
    padding: 32px 28px;
  }

  .contact-right {
    width: 100%;
    padding: 28px;
  }
}
