/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  color: #1a1a2e;
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #1a73e8;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #1558b0;
}
ul {
  list-style: none;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a2e;
}
h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}
h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  margin-bottom: 0.75rem;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
p {
  margin-bottom: 1rem;
  color: #444;
}

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  padding: 0.75rem 0;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-brand {
  font-weight: 700;
  font-size: 1.1rem;
  color: #1a1a2e;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.navbar-brand img {
  width: 28px;
  height: 28px;
}
.nav-links {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: #555;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: #1a73e8;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #1a1a2e;
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.3s;
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.08);
    transition: right 0.3s ease;
  }
  .nav-links.open {
    right: 0;
  }
  .nav-toggle {
    display: block;
    z-index: 110;
  }
  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 90;
  }
  .nav-overlay.open {
    display: block;
  }
}

/* ===== HERO ===== */
.hero {
  padding: 5rem 0 4rem;
  text-align: center;
  background: linear-gradient(180deg, #f8faff 0%, #fff 100%);
}
.hero-badge {
  display: inline-block;
  background: #e8f0fe;
  color: #1a73e8;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  margin-bottom: 1.25rem;
}
.hero h1 {
  margin-bottom: 1rem;
}
.hero h1 span {
  color: #1a73e8;
}
.hero .subtitle {
  font-size: 1.15rem;
  color: #555;
  max-width: 650px;
  margin: 0 auto 2rem;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-primary {
  background: #1a73e8;
  color: #fff;
}
.btn-primary:hover {
  background: #1558b0;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(26, 115, 232, 0.35);
}
.btn-outline {
  border: 2px solid #1a73e8;
  color: #1a73e8;
  background: transparent;
}
.btn-outline:hover {
  background: #1a73e8;
  color: #fff;
}

/* ===== SECTIONS ===== */
section {
  padding: 4.5rem 0;
}
section:nth-child(even) {
  background: #fafbfd;
}
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #1a73e8;
  margin-bottom: 0.5rem;
}
.section-title {
  margin-bottom: 0.5rem;
}
.section-desc {
  color: #666;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  text-align: center;
}
.text-center {
  text-align: center;
}

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
  margin-top: 2rem;
}
.feature-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  transition:
    box-shadow 0.25s,
    transform 0.25s;
}
.feature-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  transform: translateY(-3px);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}
.feature-icon.blue {
  background: #e8f0fe;
  color: #1a73e8;
}
.feature-icon.green {
  background: #e6f4ea;
  color: #34a853;
}
.feature-icon.amber {
  background: #fef7e0;
  color: #f9ab00;
}
.feature-icon.red {
  background: #fce8e6;
  color: #ea4335;
}

/* ===== HOW IT WORKS ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  counter-reset: step;
}
.step {
  text-align: center;
  position: relative;
}
.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1a73e8;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.step h3 {
  margin-bottom: 0.5rem;
}
.step p {
  color: #666;
  font-size: 0.95rem;
}

/* ===== SCREENSHOTS ===== */
.screenshots-row {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}
.screenshot-card {
  background: #fff;
  border: 1px solid #e0e4e8;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition:
    box-shadow 0.25s,
    transform 0.25s;
}
.screenshot-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}
.screenshot-card img {
  width: 100%;
  height: auto;
  display: block;
}
.screenshot-label {
  display: block;
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #555;
  background: #fafbfd;
  border-top: 1px solid #eee;
  text-align: center;
}

/* Tall row — 3 sidebar screenshots */
.screenshots-row--tall {
  align-items: flex-start;
}
.screenshots-row--tall .screenshot-card {
  flex: 1 1 0;
  max-width: 280px;
}

/* Wide row — single landscape screenshot */
.screenshots-row--wide {
  margin-top: 1.5rem;
}
.screenshot-card--wide {
  width: 100%;
  max-width: 750px;
}

@media (max-width: 768px) {
  .screenshots-row--tall {
    flex-wrap: wrap;
  }
  .screenshots-row--tall .screenshot-card {
    max-width: none;
    width: calc((100% - 1.5rem) / 2);
    flex: none;
  }
}
@media (max-width: 480px) {
  .screenshots-row--tall .screenshot-card {
    width: 100%;
  }
}

/* ===== PRICING ===== */
.pricing-card {
  background: #fff;
  border: 2px solid #1a73e8;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  max-width: 400px;
  margin: 2rem auto 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pricing-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1a73e8, #34a853);
}
.pricing-badge {
  display: inline-block;
  background: #e8f0fe;
  color: #1a73e8;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.pricing-price {
  font-size: 3rem;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 0.25rem;
}
.pricing-period {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.pricing-features {
  text-align: left;
  margin-bottom: 2rem;
}
.pricing-features li {
  padding: 0.5rem 0;
  color: #444;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}
.pricing-features li::before {
  content: "✓";
  color: #34a853;
  font-weight: 700;
}

/* ===== TRUST ===== */
.trust-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.trust-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 1.75rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.trust-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #e8f0fe;
  color: #1a73e8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* ===== CTA ===== */
.cta {
  background: linear-gradient(135deg, #1a73e8 0%, #1558b0 100%);
  color: #fff;
  text-align: center;
  padding: 4rem 0;
  border-radius: 0;
}
.cta h2 {
  color: #fff;
}
.cta p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 550px;
  margin: 0 auto 2rem;
}
.cta .btn {
  background: #fff;
  color: #1a73e8;
  font-weight: 700;
}
.cta .btn:hover {
  background: #f0f4f8;
  transform: translateY(-1px);
}

/* ===== LEGAL / CONTENT PAGES ===== */
.page-header {
  padding: 4rem 0 2rem;
  background: #f8faff;
  text-align: center;
}
.page-header p {
  color: #666;
  max-width: 600px;
  margin: 0.75rem auto 0;
}
.content-section {
  padding: 3rem 0;
}
.content-section .container {
  max-width: 800px;
}
.content-section h2 {
  font-size: 1.4rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
}
.content-section h2:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}
.content-section ul {
  margin: 0.75rem 0 1rem 1.25rem;
  list-style: disc;
}
.content-section ul li {
  margin-bottom: 0.4rem;
  color: #444;
  line-height: 1.7;
}
.content-section p {
  color: #444;
}
.content-section strong {
  color: #1a1a2e;
}
.last-updated {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 2rem;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 750px;
  margin: 2rem auto 0;
}
.faq-item {
  border: 1px solid #eee;
  border-radius: 10px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: #fff;
}
.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a2e;
  text-align: left;
  transition: background 0.2s;
  font-family: inherit;
}
.faq-question:hover {
  background: #f8faff;
}
.faq-question .icon {
  font-size: 1.25rem;
  color: #1a73e8;
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-item.open .faq-question .icon {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.35s ease,
    padding 0.35s ease;
}
.faq-item.open .faq-answer {
  max-height: 500px;
}
.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: #555;
  line-height: 1.75;
  font-size: 0.95rem;
  text-align: left;
}
.faq-answer-inner ol {
  margin: 0.5rem 0 0.5rem 1.25rem;
  list-style: decimal;
  list-style-position: outside;
}
.faq-answer-inner ol li {
  margin-bottom: 0.25rem;
}

/* ===== ABOUT / DEVELOPER ===== */
.dev-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 3rem 2.5rem;
  max-width: 650px;
  margin: 2rem auto 0;
  text-align: center;
}
.dev-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.5rem;
}
.dev-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dev-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}
.dev-role {
  color: #1a73e8;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.dev-bio {
  color: #555;
  max-width: 500px;
  margin: 0 auto 1.5rem;
}
.dev-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.dev-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #444;
  transition: all 0.2s;
}
.dev-links a:hover {
  border-color: #1a73e8;
  color: #1a73e8;
  background: #f8faff;
}
.mission-box {
  background: #f8faff;
  border-left: 4px solid #1a73e8;
  border-radius: 0 12px 12px 0;
  padding: 1.5rem 2rem;
  max-width: 650px;
  margin: 2rem auto 0;
  text-align: left;
}
.mission-box h3 {
  color: #1a73e8;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}
.mission-box p {
  color: #555;
  margin-bottom: 0;
}

/* ===== FOOTER ===== */
.footer {
  background: #1a1a2e;
  color: #fff;
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer h4 {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: #fff;
}
.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}
.footer a:hover {
  color: #fff;
}
.footer ul li {
  margin-bottom: 0.5rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}
.trademark {
  text-align: center;
  padding: 1rem 0 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 1rem;
}

/* ===== UTILITY ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
@media (max-width: 480px) {
  .hero {
    padding: 3rem 0 2.5rem;
  }
  section {
    padding: 3rem 0;
  }
  .pricing-card {
    padding: 2rem 1.25rem;
  }
}
