/* ============================================
   PEDE APPS - Hostinger Landing Page
   Mobile-first responsive design
   Colors: #673DE6 (purple), #1A1A2E (dark), #2ECC40 (green CTA)
   ============================================ */

/* ---- RESET & BASE ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1A1A2E;
  background: #FFFFFF;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* ---- CONTAINER ---- */
.container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- SECTION TITLES ---- */
.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 0.5rem;
  color: #1A1A2E;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.05rem;
  text-align: center;
  color: #555;
  margin-bottom: 2.5rem;
  line-height: 1.5;
}

/* ============================================
   URGENCY BAR
   ============================================ */
.urgency-bar {
  background: linear-gradient(135deg, #673DE6 0%, #4A1FB8 100%);
  color: #FFF;
  padding: 10px 16px;
  text-align: center;
  font-size: 0.85rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.urgency-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.urgency-bar__pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #2ECC40;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.urgency-bar__timer {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  background: rgba(255,255,255,0.15);
  padding: 2px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

/* ============================================
   HEADER
   ============================================ */
.header {
  background: #FAFAFA;
  padding: 12px 0;
  border-bottom: 1px solid #E8E8E8;
}

.header__badge {
  display: inline-block;
  background: #673DE6;
  color: #FFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  background: linear-gradient(180deg, #F3EEFF 0%, #FFFFFF 100%);
  padding: 48px 0 56px;
  text-align: center;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #673DE6;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  background: rgba(103, 61, 230, 0.08);
  padding: 6px 16px;
  border-radius: 20px;
}

.hero__title {
  font-size: 1.85rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 16px;
  color: #1A1A2E;
}

.hero__title-highlight {
  display: block;
  color: #673DE6;
  font-size: 0.85em;
  margin-top: 4px;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 28px;
  line-height: 1.5;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #555;
  background: #FFF;
  border: 1px solid #E0D6F5;
  padding: 6px 12px;
  border-radius: 8px;
}

.hero__trust-icon {
  font-size: 1rem;
}

/* ============================================
   CTA BUTTONS
   ============================================ */
.cta-button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(135deg, #2ECC40 0%, #27AE36 100%);
  color: #FFF;
  font-size: 1.1rem;
  font-weight: 800;
  padding: 18px 36px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(46, 204, 64, 0.35);
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255,255,255,0.15) 50%,
    transparent 70%
  );
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) rotate(45deg); }
  100% { transform: translateX(100%) rotate(45deg); }
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(46, 204, 64, 0.45);
  background: linear-gradient(135deg, #33D946 0%, #2ECC40 100%);
}

.cta-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(46, 204, 64, 0.3);
}

.cta-button__sub {
  font-size: 0.78rem;
  font-weight: 500;
  opacity: 0.9;
  margin-top: 4px;
}

.cta-button--large {
  font-size: 1.2rem;
  padding: 22px 48px;
}

.cta-button--hero {
  font-size: 1.15rem;
  padding: 20px 40px;
  margin-top: 4px;
}

/* ============================================
   PAIN SECTION
   ============================================ */
.pain-section {
  padding: 56px 0;
  background: #FFF;
}

.pain-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.pain-item {
  display: flex;
  gap: 14px;
  padding: 20px;
  background: #FFF8F8;
  border: 1px solid #FFE0E0;
  border-radius: 12px;
  border-left: 4px solid #E74C3C;
}

.pain-item__icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.pain-item__content strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
  color: #1A1A2E;
}

.pain-item__content p {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.55;
}

.pain-section__closing {
  text-align: center;
  font-size: 1.05rem;
  color: #333;
  line-height: 1.6;
  padding: 0 8px;
}

/* ============================================
   SOLUTION SECTION
   ============================================ */
.solution-section {
  padding: 56px 0;
  background: linear-gradient(180deg, #F3EEFF 0%, #FFF 100%);
  text-align: center;
}

.solution-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 36px;
}

.solution-card {
  background: #FFF;
  border: 1px solid #E0D6F5;
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(103, 61, 230, 0.12);
}

.solution-card__icon {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 12px;
}

.solution-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1A1A2E;
  margin-bottom: 8px;
}

.solution-card p {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.55;
}

/* ============================================
   VALUE STACK (HORMOZI)
   ============================================ */
.value-section {
  padding: 56px 0;
  background: #FFF;
  text-align: center;
}

.value-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 24px;
  border: 2px solid #E0D6F5;
  border-radius: 16px;
  overflow: hidden;
}

.value-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: #FFF;
  border-bottom: 1px solid #F0ECF9;
  gap: 12px;
}

.value-item:last-child {
  border-bottom: none;
}

.value-item:nth-child(even) {
  background: #FDFBFF;
}

.value-item__left {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  flex: 1;
}

.value-item__check {
  color: #2ECC40;
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.value-item__left strong {
  display: block;
  font-size: 0.95rem;
  color: #1A1A2E;
}

.value-item__desc {
  display: block;
  font-size: 0.8rem;
  color: #777;
  margin-top: 2px;
}

.value-item__price {
  flex-shrink: 0;
  text-align: right;
}

.value-item__original {
  font-size: 0.9rem;
  color: #999;
  text-decoration: line-through;
  white-space: nowrap;
}

/* ---- Value Total ---- */
.value-total {
  background: linear-gradient(135deg, #1A1A2E 0%, #2D2D4E 100%);
  border-radius: 16px;
  padding: 28px 24px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}

.value-total__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #FFF;
  padding: 4px 0;
}

.value-total__row--original {
  font-size: 1rem;
  opacity: 0.8;
  margin-bottom: 8px;
}

.value-total__row--final {
  font-size: 1.2rem;
  font-weight: 700;
}

.value-total__amount--strike {
  text-decoration: line-through;
  color: #FF6B6B;
}

.value-total__amount--green {
  color: #2ECC40;
  font-size: 1.8rem;
  font-weight: 900;
}

.value-total__badge {
  position: absolute;
  top: 12px;
  right: -30px;
  background: #E74C3C;
  color: #FFF;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 40px;
  transform: rotate(35deg);
  letter-spacing: 1px;
}

/* ---- Value Guarantee ---- */
.value-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.92rem;
  color: #555;
  text-align: center;
}

.value-guarantee__icon {
  font-size: 1.2rem;
}

/* ============================================
   STEPS SECTION
   ============================================ */
.steps-section {
  padding: 56px 0;
  background: #F9F7FE;
  text-align: center;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 36px;
}

.step-card {
  background: #FFF;
  border: 1px solid #E0D6F5;
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  position: relative;
}

.step-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #673DE6 0%, #8B5CF6 100%);
  color: #FFF;
  font-size: 1.3rem;
  font-weight: 800;
  border-radius: 50%;
  margin-bottom: 14px;
}

.step-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1A1A2E;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.55;
}

/* ============================================
   SOCIAL PROOF
   ============================================ */
.proof-section {
  padding: 56px 0;
  background: #FFF;
  text-align: center;
}

.proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 36px;
}

.proof-card {
  background: #FDFBFF;
  border: 1px solid #E0D6F5;
  border-radius: 16px;
  padding: 24px;
  text-align: left;
}

.proof-card__stars {
  color: #F2C94C;
  font-size: 1.2rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.proof-card__text {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 16px;
}

.proof-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.proof-card__avatar {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #673DE6, #8B5CF6);
  color: #FFF;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.proof-card__author strong {
  display: block;
  font-size: 0.9rem;
  color: #1A1A2E;
}

.proof-card__author span {
  font-size: 0.8rem;
  color: #888;
}

/* ---- Proof Stats ---- */
.proof-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.proof-stat {
  background: #F3EEFF;
  border-radius: 12px;
  padding: 20px 12px;
  text-align: center;
}

.proof-stat__number {
  display: block;
  font-size: 1.8rem;
  font-weight: 900;
  color: #673DE6;
  line-height: 1.1;
}

.proof-stat__label {
  display: block;
  font-size: 0.8rem;
  color: #555;
  margin-top: 4px;
  font-weight: 500;
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.comparison-section {
  padding: 56px 0;
  background: #F9F7FE;
  text-align: center;
}

.comparison-table-wrapper {
  overflow-x: auto;
  margin-bottom: 32px;
  border-radius: 12px;
  border: 2px solid #E0D6F5;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 400px;
}

.comparison-table th,
.comparison-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid #F0ECF9;
}

.comparison-table thead th {
  background: #1A1A2E;
  color: #FFF;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.comparison-table__highlight {
  background: #F3EEFF !important;
}

.comparison-table thead .comparison-table__highlight {
  background: #673DE6 !important;
  color: #FFF !important;
}

.comparison-table tbody tr:nth-child(even) {
  background: #FDFBFF;
}

.comparison-table tbody tr:hover {
  background: #F3EEFF;
}

.check-green {
  color: #2ECC40;
  font-weight: 700;
}

.check-red {
  color: #E74C3C;
  font-weight: 700;
}

/* ============================================
   FAQ
   ============================================ */
.faq-section {
  padding: 56px 0;
  background: #FFF;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  border: 1px solid #E0D6F5;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 2px 12px rgba(103, 61, 230, 0.08);
}

.faq-item__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #FDFBFF;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1A1A2E;
  text-align: left;
  gap: 12px;
  transition: background 0.2s ease;
}

.faq-item__question:hover {
  background: #F3EEFF;
}

.faq-item__icon {
  font-size: 1.4rem;
  font-weight: 300;
  color: #673DE6;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  line-height: 1;
}

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

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

.faq-item.active .faq-item__answer {
  max-height: 500px;
}

.faq-item__answer p {
  padding: 0 20px 18px;
  font-size: 0.92rem;
  color: #555;
  line-height: 1.65;
}

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta-section {
  padding: 64px 0;
  background: linear-gradient(135deg, #1A1A2E 0%, #2D2D4E 100%);
  text-align: center;
  color: #FFF;
}

.final-cta__title {
  font-size: 1.75rem;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.2;
}

.final-cta__text {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 16px;
  line-height: 1.6;
}

.final-cta__risk {
  font-size: 0.95rem;
  color: #2ECC40;
  margin-bottom: 28px;
  line-height: 1.5;
}

.final-cta__micro {
  margin-top: 20px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #111;
  padding: 40px 0;
  color: #999;
}

.footer__disclosure {
  border: 1px solid #333;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
  font-size: 0.8rem;
  line-height: 1.65;
}

.footer__disclosure p {
  margin-bottom: 12px;
}

.footer__disclosure p:last-child {
  margin-bottom: 0;
}

.footer__bottom {
  text-align: center;
  font-size: 0.75rem;
  color: #666;
}

.footer__bottom p {
  margin-bottom: 6px;
}

/* ============================================
   FLOATING CTA
   ============================================ */
.floating-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 12px 16px;
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: translateY(100%);
  transition: transform 0.4s ease;
  text-align: center;
  border-top: 2px solid #673DE6;
}

.floating-cta.visible {
  transform: translateY(0);
}

.cta-button--floating {
  display: block;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  padding: 14px 24px;
  font-size: 1rem;
  border-radius: 10px;
}

/* ============================================
   EXIT POPUP
   ============================================ */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.popup {
  background: #FFF;
  border-radius: 20px;
  padding: 32px 24px;
  max-width: 460px;
  width: 100%;
  position: relative;
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}

.popup-overlay.visible .popup {
  transform: scale(1);
}

.popup__close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 1.8rem;
  color: #999;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: color 0.2s ease;
}

.popup__close:hover {
  color: #333;
}

.popup__title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #1A1A2E;
  margin-bottom: 12px;
  line-height: 1.3;
  padding-right: 24px;
}

.popup__text {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.55;
}

.popup__email-form {
  margin-bottom: 16px;
}

.popup__email-label {
  font-size: 0.85rem;
  color: #333;
  font-weight: 600;
  margin-bottom: 10px;
}

.popup__input {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 0.95rem;
  border: 2px solid #E0D6F5;
  border-radius: 10px;
  outline: none;
  margin-bottom: 10px;
  transition: border-color 0.3s ease;
}

.popup__input:focus {
  border-color: #673DE6;
}

.cta-button--popup {
  width: 100%;
  padding: 14px 20px;
  font-size: 0.95rem;
  border-radius: 10px;
  margin-bottom: 0;
}

.popup__email-success {
  font-size: 0.9rem;
  color: #2ECC40;
  font-weight: 600;
  padding: 12px 0;
}

.cta-button--popup-cta {
  width: 100%;
  margin-top: 8px;
  padding: 16px 24px;
  font-size: 1rem;
}

.popup__no-thanks {
  margin-top: 14px;
  font-size: 0.8rem;
  color: #BBB;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.popup__no-thanks:hover {
  color: #888;
}

/* ============================================
   RESPONSIVE: TABLET (600px+)
   ============================================ */
@media (min-width: 600px) {
  .container {
    padding: 0 32px;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero {
    padding: 64px 0 72px;
  }

  .hero__title {
    font-size: 2.4rem;
  }

  .hero__subtitle {
    font-size: 1.2rem;
  }

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

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

  .proof-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .pain-item {
    padding: 24px;
  }

  .final-cta__title {
    font-size: 2.2rem;
  }

  .cta-button--large {
    font-size: 1.3rem;
    padding: 24px 56px;
  }
}

/* ============================================
   RESPONSIVE: DESKTOP (900px+)
   ============================================ */
@media (min-width: 900px) {
  .hero__title {
    font-size: 2.6rem;
  }

  .hero__trust {
    gap: 16px;
  }

  .solution-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .proof-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .value-item {
    padding: 18px 28px;
  }

  .floating-cta {
    padding: 14px 24px;
  }

  .cta-button--floating {
    width: auto;
    display: inline-flex;
  }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

:focus-visible {
  outline: 3px solid #673DE6;
  outline-offset: 2px;
}

/* ============================================
   PRINT
   ============================================ */
@media print {
  .urgency-bar,
  .floating-cta,
  .popup-overlay {
    display: none !important;
  }

  body {
    color: #000;
    background: #FFF;
  }
}