/* ==========================================================
   Variables & Reset
   ========================================================== */
:root {
  --accent: #FF4500;
  --accent-dark: #CC3300;
  --accent-light: #FFF0EB;
  --grad-start: #FF5722;
  --grad-end: #CC3300;
  --bg: #f9fafb;
  --card: #ffffff;
  --fg: #111827;
  --fg-strong: #030712;
  --muted: #6b7280;
  --border: #e5e7eb;
  --footer-bg: #111827;
  --footer-fg: #9ca3af;
  --star: #fbbf24;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--fg);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

/* ==========================================================
   Top Nav
   ========================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: white;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--fg);
  font-size: 15px;
}
.nav-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  color: var(--muted);
  font-size: 14px;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--fg); }

.btn-install {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-weight: 700;
  font-size: 14px;
  transition: background 0.15s, transform 0.1s;
}
.btn-install:hover { background: var(--accent-dark); }
.btn-install:active { transform: scale(0.98); }

/* ==========================================================
   Hero / Header gradient
   ========================================================== */
.hero {
  background: linear-gradient(135deg, var(--grad-start) 0%, var(--grad-end) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: 52px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 19px;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 540px;
}
.btn-cta-light {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 999px;
  background: white;
  color: var(--accent);
  font-weight: 700;
  font-size: 17px;
  transition: transform 0.1s, box-shadow 0.15s;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}
.btn-cta-light:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,0.16); }
.hero-rating {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.hero-rating-stars { color: var(--star); font-size: 16px; }
.hero-rating-text { opacity: 0.85; }
.hero-rating-count { display: block; opacity: 0.65; font-size: 13px; margin-top: 4px; }

.hero-image {
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.2);
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Welcome page hero variation (centered, no two-column) */
.hero-center .hero-inner {
  grid-template-columns: 1fr;
  text-align: center;
  padding: 64px 24px;
}
.hero-center h1 {
  font-size: 42px;
  margin-bottom: 16px;
}
.hero-center .hero-sub {
  margin: 0 auto 24px;
  max-width: 720px;
}
.badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  font-size: 14px;
  font-weight: 600;
  color: white;
}

/* ==========================================================
   Section common
   ========================================================== */
.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 24px;
}
.section-white { background: white; }
.section-title {
  font-size: 36px;
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.5px;
  color: var(--fg-strong);
  margin-bottom: 12px;
}
.section-sub {
  font-size: 17px;
  color: var(--muted);
  text-align: center;
  margin-bottom: 56px;
}

/* ==========================================================
   Feature cards (3-up)
   ========================================================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.06);
}
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--fg-strong);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

/* ==========================================================
   Steps (3-up horizontal)
   ========================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}
.step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-text h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--fg-strong);
  margin-bottom: 4px;
}
.step-text p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.demo-image {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  max-width: 1100px;
  margin: 0 auto;
}
.demo-image img { width: 100%; display: block; }

/* ==========================================================
   Reviews (3-up cards)
   ========================================================== */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}
.review-stars {
  color: var(--star);
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.review-text {
  font-size: 15px;
  color: var(--fg);
  line-height: 1.6;
  margin-bottom: 18px;
}
.review-attr {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

/* ==========================================================
   FAQ
   ========================================================== */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  font-size: 17px;
  font-weight: 700;
  color: var(--fg-strong);
  margin-bottom: 8px;
}
.faq-a {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

/* ==========================================================
   CTA card (welcome page main button card)
   ========================================================== */
.cta-card {
  max-width: 800px;
  margin: -64px auto 0;
  position: relative;
  background: white;
  border-radius: 16px;
  padding: 48px 32px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  border: 1px solid var(--border);
}
.cta-card h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--fg-strong);
  margin-bottom: 12px;
}
.cta-card p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.6;
}
.btn-cta-orange {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--grad-start), var(--accent));
  color: white;
  font-weight: 700;
  font-size: 17px;
  transition: transform 0.1s, box-shadow 0.15s;
  box-shadow: 0 6px 18px rgba(255,69,0,0.3);
}
.btn-cta-orange:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(255,69,0,0.4); }
.cta-hint {
  margin-top: 16px;
  font-size: 13px;
  color: #9ca3af;
}

/* ==========================================================
   Final CTA banner
   ========================================================== */
.final-cta {
  background: linear-gradient(135deg, var(--grad-start) 0%, var(--grad-end) 100%);
  padding: 64px 24px;
  text-align: center;
  color: white;
}
.final-cta h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 28px;
  letter-spacing: -0.5px;
}

/* ==========================================================
   Footer
   ========================================================== */
.footer {
  background: var(--footer-bg);
  color: var(--footer-fg);
  padding: 48px 24px;
  text-align: center;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 12px;
  font-size: 14px;
}
.footer-links a:hover { color: white; }
.footer-copy {
  font-size: 12px;
  color: #6b7280;
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding: 56px 24px; }
  .hero h1 { font-size: 38px; }
  .hero-sub { font-size: 17px; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 20px; }
  .review-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .section { padding: 56px 24px; }
  .section-title { font-size: 28px; }
  .cta-card { margin: -40px 16px 0; padding: 32px 20px; }
  .cta-card h2 { font-size: 24px; }
  .hero-center h1 { font-size: 32px; }
}
