/* ============================================================
   StatusDot — Landing Page Styles
   ============================================================ */

/* Fonts: Inter for body, Space Grotesk for headings */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Space+Grotesk:wght@500;700&display=swap');

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green: #34d399;
  --red: #f87171;
  --grey: #94a3b8;
  --bg: #0f1117;
  --bg-card: #181b24;
  --bg-card-hover: #1e2230;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --text-heading: #f8fafc;
  --accent: #34d399;
  --accent-hover: #6ee7b7;
  --border: #2a2f3e;
  --radius: 12px;
  --radius-lg: 20px;
  --max-width: 960px;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent-hover);
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---------- Sections ---------- */
.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px;
}

.section h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-heading);
  text-align: center;
  margin-bottom: 8px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 48px;
}

/* ---------- Hero ---------- */
.hero {
  padding: 80px 24px 32px;
  background: linear-gradient(180deg, #131620 0%, var(--bg) 100%);
}

.hero-content {
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-left {
  text-align: left;
}

.app-icon {
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.tagline {
  font-size: 1.2rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.download-badge img {
  height: 48px;
  transition: opacity 0.2s;
}

.download-badge:hover img {
  opacity: 0.85;
}

/* Hero features list */
.hero-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0;
}

.hero-features li {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.hero-features li span {
  margin-right: 6px;
}

.hero-features li strong {
  color: var(--text-heading);
  font-weight: 600;
}


/* ---------- Demo Video ---------- */
.demo-section {
  padding-top: 0;
  padding-bottom: 0;
}

.demo-video {
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.demo-video video {
  width: 100%;
  display: block;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: background 0.2s;
}

details[open] {
  background: var(--bg-card-hover);
}

summary {
  padding: 18px 24px;
  font-weight: 600;
  font-size: 0.975rem;
  color: var(--text-heading);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '+';
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.2s;
}

details[open] summary::after {
  content: '−';
}

details p {
  padding: 0 24px 18px;
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 24px;
  text-align: center;
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-content > p {
  color: var(--text-muted);
  font-size: 0.925rem;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--text-heading);
}

.footer-note {
  font-size: 0.825rem;
  color: #4a5568;
  line-height: 1.6;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .hero-left {
    text-align: center;
  }

  .app-icon {
    margin: 0 auto 20px;
  }

  .hero-features {
    text-align: left;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .tagline {
    font-size: 1.15rem;
  }

  .section {
    padding: 56px 20px;
  }

}

@media (max-width: 480px) {
  .hero {
    padding: 72px 16px 48px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .section h2 {
    font-size: 1.5rem;
  }
}
