/* ============================================================
   Comentor Landing Page — style.css
   Brand primary: #FE6402 | Dark: #F57C00
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #FE6402;
  --primary-dark: #F57C00;
  --primary-light: #fff3ec;
  --text: #1a1a1a;
  --text-muted: #666;
  --bg: #ffffff;
  --bg-alt: #fafafa;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(254, 100, 2, 0.10);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Top Bar ── */
.top-bar {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 56px 24px 48px;
  gap: 12px;
}

.top-bar-logo {
  width: 300px;
  height: auto;
}

.top-bar-name {
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: 6px;
  text-transform: uppercase;
}

/* ── Hero ── */
.hero {
  padding: 64px 0 72px;
  background: linear-gradient(160deg, #fff8f3 0%, #ffffff 60%);
  text-align: center;
}

.hero-logo {
  width: 280px;
  height: auto;
  margin-bottom: 8px;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--text);
}

.accent {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.7;
}

.hero-cta {
  margin-top: 8px;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 36px;
  border-radius: 50px;
  box-shadow: 0 6px 20px rgba(254, 100, 2, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(254, 100, 2, 0.45);
  color: #fff;
}

.hero-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.hero-note a {
  color: var(--primary);
  font-weight: 500;
}

/* Store buttons */
.store-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--text);
  color: #fff;
  padding: 12px 22px;
  border-radius: 12px;
  font-family: inherit;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,0.20);
  min-width: 160px;
}

.btn-store:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.28);
  background: #333;
  color: #fff;
}

.btn-store--disabled {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
  filter: grayscale(0.3);
}

.store-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.store-text small {
  font-size: 0.68rem;
  font-weight: 400;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.store-text {
  font-size: 1rem;
  font-weight: 700;
}

/* ── Features ── */
.features {
  padding: 80px 0;
  background: var(--bg-alt);
}

.section-title {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 48px;
  letter-spacing: -0.3px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(254, 100, 2, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(254, 100, 2, 0.15);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

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

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

/* ── Bottom CTA ── */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  text-align: center;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cta-section h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
}

.cta-section p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 460px;
}

.cta-section .btn-primary {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.cta-section .btn-primary:hover {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.20);
}

/* ── Footer ── */
.footer {
  padding: 28px 0;
  background: var(--bg);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  text-align: center;
}

.footer p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer a {
  color: var(--primary);
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .top-bar {
    padding: 40px 24px 36px;
  }

  .top-bar-logo {
    width: 200px;
  }

  .top-bar-name {
    font-size: 1.5rem;
    letter-spacing: 4px;
  }

  .hero {
    padding: 56px 0 52px;
  }

  .features {
    padding: 56px 0;
  }

  .cta-section {
    padding: 56px 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero-logo {
    width: 220px;
  }
}
