/* ============================================================
   Features Page Styles
   ============================================================ */

/* Hero */
.feat-hero {
  padding: 140px 0 80px;
  text-align: center;
  background: linear-gradient(135deg, var(--green-50) 0%, #fff 60%);
}

.feat-hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  background: var(--green-100);
  color: var(--green-700);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.feat-hero-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--gray-900);
  margin-bottom: 20px;
}

.feat-hero-subtitle {
  font-size: 18px;
  color: var(--gray-500);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.feat-hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* Section layout */
.feat-section {
  padding: 80px 0;
}

.feat-section-alt {
  background: transparent;
}

.feat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feat-row-reverse {
  direction: rtl;
}

.feat-row-reverse > * {
  direction: ltr;
}

/* Text block */
.feat-text {
  max-width: 480px;
}

.feat-label {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--green-100);
  color: var(--green-700);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.feat-text h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 14px;
  line-height: 1.2;
}

.feat-text p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 20px;
}

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

.feat-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 8px;
}

.feat-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-500);
}

/* Phone mockups — 2 phones */
.feat-phones {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
}

.feat-phone {
  width: 220px;
  height: auto;
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15), 0 4px 16px rgba(0,0,0,0.08);
}

.feat-phone-front {
  z-index: 2;
}

.feat-phone-back {
  z-index: 1;
}

/* Phone mockups — 3 phones (live scoring) */
.feat-phones-triple {
  gap: 16px;
}

.feat-phones-triple .feat-phone {
  width: 190px;
}

.feat-phone-left {
  z-index: 1;
}

.feat-phone-center {
  z-index: 3;
  transform: scale(1.05);
}

.feat-phone-right {
  z-index: 2;
}

/* CTA Section */
.feat-cta-section {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--green-800) 0%, var(--green-900) 100%);
  color: #fff;
}

.feat-cta-section h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 12px;
}

.feat-cta-section p {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
}

.feat-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-lg {
  padding: 14px 32px !important;
  font-size: 16px !important;
}

.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
  background: #000;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.2);
}

.btn-dark:hover {
  background: #222;
  border-color: rgba(255,255,255,0.4);
}

/* Active nav link */
.nav-active {
  color: var(--green-600) !important;
  font-weight: 600;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 768px) {
  .feat-hero {
    padding: 120px 0 60px;
  }

  .feat-section {
    padding: 60px 0;
  }

  .feat-row {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .feat-row-reverse {
    direction: ltr;
  }

  .feat-text {
    max-width: 100%;
  }

  .feat-list {
    text-align: left;
    max-width: 360px;
    margin: 0 auto;
  }

  .feat-phones {
    min-height: 380px;
  }

  .feat-phone {
    width: 180px;
  }

  .feat-phones-triple .feat-phone {
    width: 150px;
  }

  .feat-phone-back {
    margin-left: -40px;
  }

  .feat-cta-section {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .feat-phone {
    width: 150px;
    border-radius: 22px;
  }

  .feat-phones {
    min-height: 320px;
  }

  .feat-phones-triple .feat-phone {
    width: 120px;
  }

  .feat-phone-back {
    margin-left: -30px;
  }

  .feat-phone-left {
    margin-left: 0;
  }

  .feat-phone-center {
    margin-left: -25px;
    margin-right: -25px;
  }
}
