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

:root {
  --primary: #5B9BD5;
  --primary-dark: #3A7BBF;
  --primary-light: #D0E4F7;
  --accent: #4A6FA5;
  --bg: #F5F8FC;
  --white: #ffffff;
  --text: #1e293b;
  --text-light: #64748b;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(74, 111, 165, 0.10);
  --shadow-lg: 0 8px 40px rgba(74, 111, 165, 0.15);
  --max-width: 1120px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ── Utilities ───────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

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

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

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

.btn-outline {
  background: transparent;
  color: var(--primary-dark);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary-light);
}

/* ── Navbar ──────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(91, 155, 213, 0.12);
  padding: 0 24px;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.navbar-logo {
  height: 36px;
  width: auto;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.navbar-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
}

.navbar-links a:hover {
  color: var(--primary-dark);
}

.navbar-cta {
  padding: 8px 20px;
  font-size: 0.875rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.3s;
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(170deg, var(--white) 0%, var(--primary-light) 100%);
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-content {
  flex: 1;
  max-width: 500px;
  text-align: center;
}

.hero-logo {
  height: 100px;
  width: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) {
  .hero-logo {
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-content h1 {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.store-badges {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  justify-content: center;
}

.store-badge {
  height: 44px;
  border-radius: 8px;
  transition: opacity 0.2s;
}

.store-badge:hover {
  opacity: 0.85;
}

.hero-screenshots {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
}

.hero-screenshots img {
  width: 180px;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.hero-screenshots img:nth-child(2) {
  transform: translateY(-24px);
}

/* ── Features ────────────────────────────────────────────── */
.features {
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

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

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
}

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

/* ── How It Works ────────────────────────────────────────── */
.how-it-works {
  background: var(--bg);
}

.steps {
  display: flex;
  gap: 40px;
  justify-content: center;
}

.step {
  text-align: center;
  flex: 1;
  max-width: 280px;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.925rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Connector lines between steps */
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 28px;
  right: -24px;
  width: 40px;
  height: 2px;
  background: var(--primary-light);
}

/* ── Pricing ─────────────────────────────────────────────── */
.pricing {
  background: var(--white);
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 760px;
  margin: 0 auto;
}

.pricing-card {
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
}

.pricing-card.free {
  background: var(--bg);
  border: 2px solid transparent;
}

.pricing-card.pro {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--white) 100%);
  border: 2px solid var(--primary);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--primary);
  color: var(--white);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 28px;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 0.925rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features .check {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
}

.pricing-features .cross {
  color: #cbd5e1;
  font-weight: 700;
  font-size: 1.1rem;
}

/* ── FAQ ─────────────────────────────────────────────────── */
.faq {
  background: var(--bg);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(91, 155, 213, 0.15);
}

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

.faq-question::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--primary);
  transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding-bottom: 20px;
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0 32px;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-brand {
  max-width: 280px;
}

.footer-logo {
  height: 28px;
  margin-bottom: 12px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-links h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  transition: color 0.2s;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  margin-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-buttons,
  .store-badges {
    justify-content: center;
  }

  .hero-screenshots img {
    width: 140px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    flex-direction: column;
    align-items: center;
  }

  .step:not(:last-child)::after {
    display: none;
  }

  .pricing-cards {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

@media (max-width: 600px) {
  .navbar-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow);
  }

  .navbar-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

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

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

  .hero-screenshots {
    gap: 10px;
  }

  .hero-screenshots img {
    width: 110px;
    border-radius: 16px;
  }

  .section {
    padding: 56px 0;
  }

  .section-title {
    font-size: 1.6rem;
  }
}
