/* ============================================
   HOME PAGE — index.html Specific Styles
   ============================================ */

/* --- Hero Section --- */
.hero-section {
  width: 100%;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(180deg, #f8fafd 0%, #e8f0fe 50%, #ffffff 100%);
  padding: 100px 16px 80px;
}

.hero-content {
  max-width: 680px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-top: 40px;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 64px;
  }
}

.hero-subtitle {
  font-size: 18px;
  color: var(--color-secondary-text);
  line-height: 1.65;
  margin-top: 16px;
  max-width: 560px;
}

.hero-cta {
  margin-top: 32px;
}

.hero-cta-note {
  font-size: 13px;
  color: var(--color-tertiary-text);
  margin-top: 10px;
}

.hero-trust {
  margin-top: 24px;
}

/* --- Feature Cards Section --- */
.features-section {
  background: var(--color-bg);
  padding: 80px 0;
}

@media (min-width: 768px) {
  .features-section {
    padding: 100px 0;
  }
}

/* --- Platform Download Section --- */
.platform-section {
  background: var(--color-surface);
  padding: 80px 0;
}

@media (min-width: 768px) {
  .platform-section {
    padding: 100px 0;
  }
}

.platform-section .section-subtitle {
  max-width: 640px;
  margin: 0 auto 48px;
  font-size: 16px;
  color: var(--color-secondary-text);
  line-height: 1.65;
}

.platform-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: border-color var(--transition-fast),
              box-shadow var(--transition-fast);
}

.platform-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 4px 16px rgba(26, 115, 232, 0.1);
}

.platform-icon {
  margin: 0 auto 16px;
}

.platform-icon svg {
  width: 48px;
  height: 48px;
}

.platform-card h3 {
  margin-bottom: 8px;
}

.platform-card p {
  color: var(--color-secondary-text);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 20px;
}

/* --- Feature Detail Section --- */
.feature-detail-section {
  background: var(--color-bg);
  padding: 80px 0;
}

@media (min-width: 768px) {
  .feature-detail-section {
    padding: 100px 0;
  }
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 80px;
}

@media (min-width: 768px) {
  .feature-block {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 120px;
  }
}

.feature-block:last-child {
  margin-bottom: 0;
}

.feature-block.reverse .feature-image {
  order: -1;
}

@media (min-width: 768px) {
  .feature-block.reverse {
    direction: rtl;
  }
  .feature-block.reverse > * {
    direction: ltr;
  }
}

.feature-image {
  background: var(--color-surface);
  border-radius: 16px;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 280px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e8f0fe 100%);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  gap: 16px;
}

.feature-image-placeholder svg {
  width: 80px;
  height: 80px;
  opacity: 0.4;
}

.feature-image-placeholder span {
  font-size: 14px;
  color: var(--color-tertiary-text);
}

.feature-text h3 {
  margin-bottom: 16px;
}

.feature-text p {
  color: var(--color-secondary-text);
  line-height: 1.7;
  margin-bottom: 16px;
}

.feature-text p:last-child {
  margin-bottom: 0;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  font-size: 15px;
  margin-top: 8px;
}

.feature-link svg {
  width: 16px;
  height: 16px;
}

/* --- Reviews Section --- */
.reviews-section {
  background: var(--color-surface);
  padding: 80px 0;
}

@media (min-width: 768px) {
  .reviews-section {
    padding: 100px 0;
  }
}

.review-author {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  margin-top: 16px;
}

.review-role {
  font-size: 13px;
  color: var(--color-tertiary-text);
}

.review-card p {
  color: var(--color-secondary-text);
  line-height: 1.65;
  font-size: 15px;
}

/* --- Stats Section --- */
.stats-section {
  background: var(--color-bg);
  padding: 60px 0;
}

@media (min-width: 768px) {
  .stats-section {
    padding: 80px 0;
  }
}

.stat-item {
  text-align: center;
}

/* --- Comparison Section --- */
.comparison-section {
  background: var(--color-surface);
  padding: 80px 0;
}

@media (min-width: 768px) {
  .comparison-section {
    padding: 100px 0;
  }
}

.comparison-section .section-subtitle {
  max-width: 600px;
  margin: 0 auto 48px;
  font-size: 16px;
  color: var(--color-secondary-text);
  line-height: 1.65;
}

/* --- FAQ Section --- */
.faq-section {
  background: var(--color-bg);
  padding: 80px 0;
}

@media (min-width: 768px) {
  .faq-section {
    padding: 100px 0;
  }
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

/* --- Responsive utility --- */
@media (max-width: 767px) {
  .feature-block.reverse .feature-image {
    order: 0;
  }
}
