/* ============================================
   Home Page — Screenshot Showcase Styles
   ============================================ */

/* ---- Hero ---- */
.hero-revamp {
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
  background: linear-gradient(160deg, #e8f5e9 0%, #ffffff 40%, #fff3e0 100%);
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
}

.shape-1 {
  width: 500px;
  height: 500px;
  background: var(--primary);
  top: -180px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: var(--secondary);
  bottom: -80px;
  left: -60px;
  animation: float 10s ease-in-out infinite reverse;
}

.shape-3 {
  width: 200px;
  height: 200px;
  background: var(--primary-dark);
  top: 50%;
  left: 60%;
  animation: float 12s ease-in-out infinite 2s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -30px) scale(1.05); }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-size: 44px;
  line-height: 1.15;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 20px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.hero-lead {
  font-size: 19px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-note {
  font-size: 15px;
  color: #9e9e9e;
  margin-top: 20px;
  margin-bottom: 0;
}

.btn-lg {
  padding: 14px 36px;
  font-size: 17px;
}

/* ---- Phone Frame (screenshot container) ---- */
.phone-frame {
  width: 260px;
  background: #1a1a2e;
  border-radius: 32px;
  padding: 10px;
  box-shadow:
    0 30px 60px rgba(0,0,0,0.18),
    0 0 0 1px rgba(255,255,255,0.05) inset;
  margin: 0 auto;
}

.phone-screenshot {
  width: 100%;
  border-radius: 24px;
  display: block;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-two-phones {
  position: relative;
  min-height: 480px;
}

.hero-two-phones .phone-left {
  width: 230px;
  position: absolute;
  left: 0;
  top: 20px;
  transform: perspective(800px) rotateY(6deg);
  z-index: 1;
  transition: transform 0.4s ease;
}

.hero-two-phones .phone-right {
  width: 230px;
  position: absolute;
  right: 0;
  top: 0;
  transform: perspective(800px) rotateY(-6deg);
  z-index: 2;
  transition: transform 0.4s ease;
}

.hero-two-phones .phone-left:hover,
.hero-two-phones .phone-right:hover {
  transform: perspective(800px) rotateY(0) scale(1.03);
  z-index: 3;
}

/* ---- Social Proof Strip ---- */
.social-proof {
  padding: 20px 0;
  background: var(--background-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.social-proof p {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  margin: 0;
  letter-spacing: 0.3px;
}

/* ---- Walkthrough Section ---- */
.walkthrough-section {
  padding: 80px 0 60px;
  background: var(--background);
}

.section-heading {
  text-align: center;
  font-size: 36px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.section-subheading {
  text-align: center;
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 56px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.walkthrough-steps {
  max-width: 960px;
  margin: 0 auto;
}

.walkthrough-step {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 56px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid #f0f0f0;
}

.walkthrough-step:last-child {
  border-bottom: none;
}

.walkthrough-step.reverse {
  grid-template-columns: 1fr 300px;
}

.walkthrough-step.reverse .step-phone {
  order: 2;
}

.walkthrough-step.reverse .step-content {
  order: 1;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.step-content h3 {
  font-size: 28px;
  margin-bottom: 14px;
  color: var(--text-primary);
  line-height: 1.3;
}

.step-content p {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0;
}

.step-phone .phone-frame {
  transition: transform 0.4s ease;
}

.step-phone .phone-frame:hover {
  transform: translateY(-8px);
}

/* ---- Onboarding Highlight Section ---- */
.onboarding-section {
  padding: 80px 0;
  background: linear-gradient(160deg, #f3e5f5 0%, #ffffff 50%, #e8f5e9 100%);
}

.onboarding-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 64px;
  align-items: center;
}

.onboarding-content h2 {
  font-size: 36px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.onboarding-lead {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.onboarding-highlight {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 32px;
}

/* ---- Platform Section ---- */
.platform-section {
  padding: 72px 0 80px;
  background: linear-gradient(180deg, #f5f5f5 0%, #ffffff 100%);
}

.platform-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}

.platform-card {
  text-align: center;
  padding: 36px 24px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.platform-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.platform-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: var(--primary-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.platform-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.platform-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.platform-card p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.6;
}

/* ---- Mobile Responsive ---- */
@media (max-width: 768px) {
  .hero-revamp {
    padding: 60px 0 48px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 30px;
  }

  .hero-sub {
    font-size: 17px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-two-phones {
    min-height: 360px;
    max-width: 340px;
    margin: 0 auto;
  }

  .hero-two-phones .phone-left {
    width: 170px;
    left: 0;
    top: 15px;
  }

  .hero-two-phones .phone-right {
    width: 170px;
    right: 0;
    top: 0;
  }

  .hero-two-phones .phone-left:hover,
  .hero-two-phones .phone-right:hover {
    transform: none;
  }

  .section-heading {
    font-size: 28px;
  }

  .walkthrough-step,
  .walkthrough-step.reverse {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
    padding: 36px 0;
  }

  .walkthrough-step.reverse .step-phone {
    order: 0;
  }

  .walkthrough-step.reverse .step-content {
    order: 0;
  }

  .step-number {
    margin: 0 auto 16px;
  }

  .phone-frame {
    width: 220px;
  }

  .step-phone .phone-frame:hover {
    transform: none;
  }

  .onboarding-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .onboarding-content h2 {
    font-size: 28px;
  }

  .platform-cards {
    grid-template-columns: 1fr;
    max-width: 360px;
  }

  .shape-1 { width: 300px; height: 300px; }
  .shape-2 { width: 200px; height: 200px; }
  .shape-3 { display: none; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hero-inner {
    gap: 40px;
  }

  .hero-text h1 {
    font-size: 38px;
  }

  .walkthrough-step,
  .walkthrough-step.reverse {
    gap: 36px;
  }

  .walkthrough-step {
    grid-template-columns: 260px 1fr;
  }

  .walkthrough-step.reverse {
    grid-template-columns: 1fr 260px;
  }

  .onboarding-inner {
    gap: 40px;
    grid-template-columns: 260px 1fr;
  }

  .platform-cards {
    gap: 20px;
  }
}
