:root {
  --bg-dark: #0f172a;
  --bg-card: #1e293b;
  --bg-light: #f8fafc;
  --text-main: #0f172a;
  --text-muted: #475569;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --accent: #0d9488;
  --bmc-yellow: #ffdd00;
  --border: #e2e8f0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--text-main);
  background-color: #ffffff;
  line-height: 1.6;
}

a {
  text-decoration: none;
}

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

/* Navigation */
header {
  background-color: var(--bg-dark);
  color: #ffffff;
  padding: 18px 0;
  border-bottom: 1px solid #1e293b;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.15rem;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  color: #cbd5e1;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #ffffff;
}

.btn-bmc-sm {
  background-color: var(--bmc-yellow);
  color: #000000 !important;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 700 !important;
  font-size: 0.9rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 72px 0 80px;
  text-align: center;
}

.badge {
  display: inline-block;
  background-color: rgba(13, 148, 136, 0.2);
  color: #5eead4;
  border: 1px solid rgba(94, 234, 212, 0.3);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 2.75rem;
  line-height: 1.2;
  max-width: 800px;
  margin: 0 auto 20px;
  font-weight: 800;
}

.hero p {
  font-size: 1.15rem;
  color: #cbd5e1;
  max-width: 680px;
  margin: 0 auto 36px;
}

.cta-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.05rem;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-bmc {
  background-color: var(--bmc-yellow);
  color: #000000;
  padding: 14px 26px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.05rem;
  transition: transform 0.15s;
}

.btn-bmc:hover {
  transform: translateY(-1px);
}

.sub-note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: #94a3b8;
}

/* Screenshot Showcase */
.preview-section {
  padding: 60px 0;
  background-color: var(--bg-light);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.screenshot-box {
  max-width: 920px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.screenshot-box img {
  width: 100%;
  border-radius: 8px;
  display: block;
}

/* Features Grid */
.features {
  padding: 72px 0;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 48px;
}

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

.card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  background: #ffffff;
  transition: box-shadow 0.2s;
}

.card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--bg-dark);
}

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

/* How It Works / Safety Tips */
.guide {
  background-color: var(--bg-light);
  padding: 72px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.step-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  padding: 18px 22px;
  border-radius: 8px;
}

.step-item strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

/* FAQ Accordion */
.faq {
  padding: 72px 0;
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-icon {
  font-size: 1.4rem;
  color: var(--primary);
  font-weight: 400;
}

.faq-answer {
  display: none;
  padding-bottom: 20px;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-answer a {
  color: var(--primary);
  text-decoration: underline;
}

/* Footer */
footer {
  background-color: var(--bg-dark);
  color: #94a3b8;
  padding: 48px 0;
  text-align: center;
}

footer p {
  margin-bottom: 14px;
  font-size: 0.95rem;
}

footer a {
  color: #ffffff;
  text-decoration: underline;
}

footer .copyright {
  font-size: 0.8rem;
  margin-top: 20px;
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 2rem;
  }
}

/* Screenshot Auto-Slider */
.screenshot-box {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 12px 12px 18px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.carousel-slide {
  min-width: 100%;
  box-sizing: border-box;
}

.carousel-slide img {
  width: 100%;
  max-height: 540px;
  object-fit: contain;
  border-radius: 8px;
  display: block;
  background-color: #f1f5f9;
}

.slide-caption {
  margin-top: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

.carousel-btn {
  position: absolute;
  top: 46%;
  transform: translateY(-50%);
  background-color: rgba(15, 23, 42, 0.75);
  color: #ffffff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
  z-index: 10;
}

.carousel-btn:hover {
  background-color: var(--primary);
}

.carousel-btn.prev {
  left: 22px;
}

.carousel-btn.next {
  right: 22px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background-color: #cbd5e1;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
}

.carousel-dots .dot.active {
  background-color: var(--primary);
  transform: scale(1.2);
}
