@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Design System Palette */
  --bg-page: #eeebe3;
  --bg-card: #ffffff;
  --bg-card-subtle: #f7f5ef;
  --bg-card-accent: #e5ece9;
  --text-primary: #171e19;
  --text-secondary: #4a554e;
  --text-muted: #6f7c75;
  --accent-red: #ca0013;
  --accent-red-hover: #b00010;
  --accent-red-subtle: rgba(202, 0, 19, 0.08);
  --border-color: #b7c6c2;
  --border-subtle: rgba(183, 198, 194, 0.5);
  --border-focus: #171e19;
  --font-family: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Generous Rounded Corners matching App Language */
  --radius-xl: 40px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --radius-full: 9999px;
  
  /* Elevation Shadows */
  --shadow-sm: 0 2px 8px rgba(23, 30, 25, 0.04);
  --shadow-card: 0 4px 20px rgba(23, 30, 25, 0.06);
  --shadow-lg: 0 12px 36px rgba(23, 30, 25, 0.09);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.6;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-page);
  color: var(--text-primary);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(238, 235, 227, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

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

.logo-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.logo-badge img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 700;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-red);
}

.btn-nav-download {
  background-color: var(--accent-red) !important;
  color: #ffffff !important;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-weight: 800 !important;
  font-size: 0.95rem !important;
  box-shadow: 0 3px 12px rgba(202, 0, 19, 0.25);
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease !important;
}

.btn-nav-download:hover {
  background-color: var(--accent-red-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(202, 0, 19, 0.35);
}

/* Hero Section */
.hero-section {
  padding: 70px 0 50px;
  position: relative;
}

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

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}

.badge-tag span.dot {
  width: 9px;
  height: 9px;
  background-color: var(--accent-red);
  border-radius: 50%;
}

h1.hero-title {
  font-size: 3.1rem;
  font-weight: 900;
  line-height: 1.14;
  margin-bottom: 20px;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

h1.hero-title .accent-text {
  color: var(--accent-red);
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 34px;
  line-height: 1.7;
  font-weight: 500;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 30px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  background-color: var(--accent-red);
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 18px rgba(202, 0, 19, 0.28);
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: var(--accent-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(202, 0, 19, 0.38);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-secondary:hover {
  background-color: var(--bg-card-subtle);
  border-color: var(--text-primary);
  transform: translateY(-2px);
}

.hero-preview {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-preview img {
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  background-color: #ffffff;
}

/* Trust Bar */
.trust-bar {
  margin: 30px 0;
  padding: 32px;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  text-align: center;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px;
}

.trust-icon {
  font-size: 1.6rem;
  line-height: 1;
  margin-bottom: 4px;
}

.trust-text {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
}

.trust-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Section Common */
.section {
  padding: 70px 0;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.section-label {
  color: var(--accent-red);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  font-weight: 500;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 28px;
}

.feature-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

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

.feature-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  background-color: var(--bg-card-accent);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.65;
  font-weight: 500;
}

/* Screenshots Showcase Carousel */
.screenshots-section {
  background-color: #f7f5ef;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  margin: 30px 0;
  padding: 70px 0;
}

.screenshots-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 16px 8px 36px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.screenshots-scroll::-webkit-scrollbar {
  height: 8px;
}

.screenshots-scroll::-webkit-scrollbar-track {
  background: var(--bg-page);
  border-radius: var(--radius-full);
}

.screenshots-scroll::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: var(--radius-full);
}

.screenshot-item {
  flex: 0 0 260px;
  scroll-snap-align: start;
  text-align: center;
}

.screenshot-item img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  background-color: #ffffff;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.screenshot-item img:hover {
  transform: translateY(-4px);
  border-color: var(--border-focus);
}

.screenshot-caption {
  margin-top: 14px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
}

.screenshot-subcaption {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 2px;
}

/* FAQ Section (Strict AEO & GEO Formatted) */
.faq-container {
  max-width: 860px;
  margin: 0 auto;
}

.faq-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px 34px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-card:hover {
  border-color: var(--border-focus);
  box-shadow: var(--shadow-card);
}

.faq-card h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 14px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  line-height: 1.35;
}

.faq-card h2::before {
  content: "Q:";
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--accent-red);
}

.faq-card p {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.7;
  font-weight: 500;
}

/* Citable AI / GEO Summary Block */
.geo-summary-box {
  margin: 50px 0 0;
  padding: 32px;
  background-color: #ffffff;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.geo-summary-box h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-red);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.geo-summary-box p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
  font-weight: 500;
}

/* CTA Download Banner */
.cta-banner {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  margin: 40px 0 70px;
  box-shadow: var(--shadow-card);
}

.cta-banner h2 {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.cta-banner p {
  color: var(--text-secondary);
  font-size: 1.12rem;
  max-width: 620px;
  margin: 0 auto 32px;
  font-weight: 500;
}

/* Legal & Static Content Pages (Privacy, Terms, Contact) */
.page-container {
  max-width: 860px;
  margin: 40px auto 80px;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 50px 56px;
  box-shadow: var(--shadow-card);
}

.page-container h1 {
  font-size: 2.4rem;
  font-weight: 900;
  margin-bottom: 8px;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.page-date {
  color: var(--accent-red);
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 30px;
}

.page-container h2 {
  font-size: 1.45rem;
  font-weight: 800;
  margin: 38px 0 16px;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 8px;
}

.page-container h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 22px 0 10px;
  color: var(--text-primary);
}

.page-container p,
.page-container li {
  color: var(--text-secondary);
  font-size: 1.04rem;
  line-height: 1.75;
  margin-bottom: 16px;
  font-weight: 500;
}

.page-container ul {
  padding-left: 24px;
  margin-bottom: 22px;
}

.page-container a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
}

.page-container a:hover {
  color: var(--accent-white-hover);
}

.highlight-card {
  background-color: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin: 26px 0;
}

.highlight-card strong {
  color: var(--text-primary);
  font-weight: 800;
}

/* Contact Page Specific */
.contact-card {
  text-align: center;
  padding: 40px 20px;
}

.contact-card .contact-icon {
  width: 72px;
  height: 72px;
  background-color: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 24px;
}

.contact-email-fallback {
  margin-top: 28px;
  padding: 18px 24px;
  background-color: var(--bg-card-subtle);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
  display: inline-block;
}

.contact-email-fallback code {
  font-family: monospace;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* Footer */
footer {
  border-top: 1px solid var(--border-color);
  background-color: #ffffff;
  padding: 50px 0 30px;
  margin-top: auto;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 6px;
  font-weight: 600;
}

.footer-brand .developer-credit {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.footer-brand .developer-credit a {
  color: var(--text-primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
}

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

  .badge-tag {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  h1.hero-title {
    font-size: 2.4rem;
  }

  .page-container {
    padding: 32px 24px;
  }

  .nav-links {
    display: none;
  }
}
