/* ============ PAGE HEADER (All Pages) ============ */
.page-header {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 5rem 3.75rem 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.page-header .badge {
  margin: 0 auto 1.5rem;
}

.page-header h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.page-header p {
  color: #999;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  max-width: 600px;
  margin: 0 auto;
}

/* ============ FEATURES DETAILED (features.html) ============ */
.features-detailed {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 3.75rem;
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.feature-block:last-child { border-bottom: none; }

.feature-block.reverse .feature-text { order: 2; }
.feature-block.reverse .feature-visual { order: 1; }

.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(167,139,250,0.15);
  border: 1px solid rgba(167,139,250,0.3);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.feature-text h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.feature-text > p {
  color: #999;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  padding: 0.6rem 0;
  color: #ccc;
  font-size: 0.95rem;
}

.feature-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-card {
  background: linear-gradient(145deg, rgba(88,28,135,0.3), rgba(20,20,30,0.6));
  border: 1px solid rgba(167,139,250,0.2);
  border-radius: 1.5rem;
  padding: 2rem;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 0 60px rgba(167,139,250,0.2);
}

.notif-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255,255,255,0.05);
  padding: 1rem;
  border-radius: 1rem;
}

.notif-icon {
  font-size: 2rem;
}

.notif-title {
  font-weight: 600;
  margin-bottom: 4px;
}

.notif-time {
  color: #999;
  font-size: 0.85rem;
}

.sync-card {
  text-align: center;
}

.sync-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.sync-text {
  color: #ccc;
  margin-bottom: 1rem;
}

.sync-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.sync-dots span {
  width: 8px;
  height: 8px;
  background: #a78bfa;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.sync-dots span:nth-child(2) { animation-delay: 0.2s; }
.sync-dots span:nth-child(3) { animation-delay: 0.4s; }

.gift-title, .shared-title {
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.gift-item, .member {
  background: rgba(255,255,255,0.05);
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  margin-bottom: 0.5rem;
  color: #ccc;
  font-size: 0.9rem;
}

/* ============ STEPS (how-it-works.html) ============ */
.steps {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 3.75rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  align-items: start;
}

.step-card {
  background: linear-gradient(145deg, rgba(30,30,45,0.6), rgba(20,20,30,0.4));
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s;
  position: relative;
}

.step-card:hover {
  transform: translateY(-5px);
  border-color: rgba(167,139,250,0.3);
}

.step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #c4b5fd, #a78bfa);
  color: black;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 800;
  font-size: 0.85rem;
}

.step-icon {
  font-size: 3rem;
  margin: 1rem 0;
}

.step-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.step-card p {
  color: #999;
  font-size: 0.9rem;
  line-height: 1.6;
}

.step-connector {
  display: none;
}

/* ============ DEMO SECTION ============ */
.demo-section {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 5rem 3.75rem;
  max-width: 1000px;
  margin: 0 auto;
}

.demo-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.demo-section .subtitle {
  color: #999;
  margin-bottom: 3rem;
}

.video-placeholder {
  background: linear-gradient(145deg, rgba(88,28,135,0.3), #000);
  border: 1px solid rgba(167,139,250,0.2);
  border-radius: 1.5rem;
  padding: 5rem 2rem;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 0 60px rgba(167,139,250,0.2);
}

.video-placeholder:hover {
  transform: scale(1.02);
  border-color: rgba(167,139,250,0.5);
}

.play-button {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #c4b5fd, #a78bfa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2rem;
  color: black;
  box-shadow: 0 0 40px rgba(167,139,250,0.5);
}

/* ============ TIMELINE ============ */
.timeline-section {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 5rem 3.75rem;
}

.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, #a78bfa, transparent);
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 2rem;
  align-items: start;
  padding: 1.5rem 0;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.4rem;
  top: 2rem;
  width: 12px;
  height: 12px;
  background: #a78bfa;
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(167,139,250,0.6);
}

.timeline-time {
  color: #c4b5fd;
  font-weight: 600;
  font-size: 0.9rem;
}

.timeline-content h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: #999;
  font-size: 0.9rem;
}

/* ============ FAQ SECTION ============ */
.faq-section {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 3.75rem;
}

.faq-category {
  margin-bottom: 3rem;
}

.faq-category h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #c4b5fd;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(167,139,250,0.2);
}

.faq-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 1rem;
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: all 0.3s;
}

.faq-item:hover {
  border-color: rgba(167,139,250,0.2);
}

.faq-item.active {
  background: rgba(167,139,250,0.05);
  border-color: rgba(167,139,250,0.3);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  color: white;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  font-family: inherit;
}

.faq-arrow {
  color: #c4b5fd;
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

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

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

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.25rem;
}

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

/* ============ CTA SECTION ============ */
.cta-section {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 5rem 3.75rem;
  max-width: 800px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-section p {
  color: #999;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

.contact-cta {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 5rem 3.75rem;
  max-width: 800px;
  margin: 0 auto;
}

.contact-cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.contact-cta p {
  color: #999;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .feature-block {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
    padding: 3rem 0;
  }

  .feature-block.reverse .feature-text,
  .feature-block.reverse .feature-visual {
    order: unset;
  }

  .feature-icon {
    margin-left: auto;
    margin-right: auto;
  }

  .feature-list li {
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
  }

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

@media (max-width: 767px) {
  .page-header {
    padding: 3rem 1.5rem 2rem;
  }

  .features-detailed,
  .demo-section,
  .timeline-section,
  .faq-section,
  .cta-section,
  .contact-cta {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .steps {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .video-placeholder {
    padding: 3rem 1.5rem;
  }

  .play-button {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .faq-question {
    font-size: 0.9rem;
    padding: 1rem 1.25rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons button {
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  .feature-text h2 {
    font-size: 1.5rem;
  }

  .visual-card {
    padding: 1.5rem;
  }

  .step-icon {
    font-size: 2.5rem;
  }
}