/* ═══════════════════════════════════════════════════════════════════
   Landing Page Styles — Page-Specific Only
   ═══════════════════════════════════════════════════════════════════
   Colors, spacing, typography, and shared components come from
   tokens.css and components.css. This file only contains styles
   unique to the landing page layout.
   ═══════════════════════════════════════════════════════════════════ */

/* ===== Hero Section ===== */
.hero {
  position: relative;
  text-align: center;
  padding: 80px 20px 60px;
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(82, 183, 136, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(82, 183, 136, 0.12);
  color: var(--primary);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: var(--space-lg);
  border: 1px solid rgba(82, 183, 136, 0.2);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: var(--line-height-tight);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
  color: var(--text);
}

.hero h1 .accent {
  color: var(--primary);
}

.hero p.subheadline {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.5;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero search bar */
.hero-search {
  display: flex;
  align-items: center;
  max-width: 520px;
  margin: 0 auto 16px;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 28px;
  padding: 4px;
  box-shadow: var(--shadow-md);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.hero-search:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(82, 183, 136, 0.12), var(--shadow-md);
}

.hero-search input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 16px 12px 20px;
  font-size: 1.05rem;
  outline: none;
  color: var(--text);
  border-radius: 24px;
}
.hero-search input::placeholder {
  color: var(--text-muted);
}

.hero-search button {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 22px;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}
.hero-search button:hover {
  background: var(--primary-dark);
}

.hero-search-hint {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: var(--space-sm);
}

.hero-lang-toggle {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
}

/* ===== Features Section ===== */
.features {
  padding: var(--space-2xl) var(--space-lg);
  max-width: 1100px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  background: rgba(82, 183, 136, 0.1);
  border-radius: 14px;
  margin: 0 auto var(--space-lg);
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.feature-card .feature-tag {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(82, 183, 136, 0.1);
  padding: 3px 10px;
  border-radius: 12px;
}

/* ===== CTA Section ===== */
.cta-section {
  padding: 56px var(--space-lg);
  text-align: center;
  background: var(--bg-light);
}

.cta-inner {
  max-width: 680px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.cta-section p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
}

.cta-buttons {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== App Download Section ===== */
.app-download {
  padding: var(--space-2xl) var(--space-lg);
  text-align: center;
  background: var(--app-gradient);
  color: #fff;
}

.app-download h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.app-download p {
  font-size: 1.05rem;
  opacity: 0.85;
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.app-store-buttons {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
}

.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000;
  color: #fff;
  padding: 12px 28px;
  border-radius: 14px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: transform 0.15s, opacity 0.15s;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.app-store-btn:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.app-store-btn .store-icon {
  font-size: 1.6rem;
}

.app-store-btn .store-label {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.app-store-btn .store-label small {
  font-size: 0.68rem;
  opacity: 0.75;
}
.app-store-btn .store-label strong {
  font-size: 1.05rem;
}

/* ===== Landing Responsive ===== */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .hero {
    padding: 56px 16px 44px;
  }
  .hero-lang-toggle {
    top: 12px;
    right: 12px;
  }
  .features {
    padding: var(--space-2xl) var(--space-md);
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .feature-card {
    padding: var(--space-lg) var(--space-md);
  }
  .cta-section {
    padding: 44px 16px;
  }
  .app-download {
    padding: var(--space-2xl) 16px;
  }
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-buttons .btn {
    justify-content: center;
    padding: 14px 24px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.75rem;
  }
  .hero p.subheadline {
    font-size: 0.95rem;
  }
  .hero-search {
    flex-direction: column;
    border-radius: var(--radius);
    padding: var(--space-sm);
  }
  .hero-search input {
    width: 100%;
    padding: 10px 14px;
    text-align: center;
  }
  .hero-search button {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
  }
  .app-store-buttons {
    flex-direction: column;
    align-items: center;
  }
  .app-store-btn {
    width: 100%;
    max-width: 260px;
    justify-content: center;
  }
}