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

:root {
  --primary: #1a1f3d;
  --primary-dark: #12152b;
  --primary-light: #2a3158;
  --accent: #4a7cff;
  --accent-light: #6b9aff;
  --text: #1a1f3d;
  --text-light: #4a5068;
  --bg: #ffffff;
  --bg-alt: #f4f5f9;
  --border: #e2e4ed;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(26, 31, 61, 0.08);
  --max-width: 1200px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(26, 31, 61, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  padding: 0 24px;
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

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

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

.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
  color: #ffffff;
}

/* Hero Section */
.hero {
  padding: 140px 24px 80px;
  text-align: center;
  background: linear-gradient(180deg, #0d1127 0%, #1a1f3d 50%, #f4f5f9 100%);
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

.hero p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(26, 31, 61, 0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26, 31, 61, 0.4);
  color: #fff;
}

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

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

/* Features Section */
.features {
  padding: 80px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

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

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.feature-card {
  padding: 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s;
}

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

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  background: #eef0f8;
}

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

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

/* Stats Section */
.stats {
  padding: 60px 24px;
  background: var(--bg-alt);
}

.stats-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
}

.stat-item p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* CTA Section */
.cta {
  padding: 80px 24px;
  text-align: center;
  background: linear-gradient(135deg, #1a1f3d, #2a3158);
  color: #fff;
}

.cta h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta .btn-primary {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.cta .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  color: var(--primary-dark);
}

/* Footer */
.footer {
  padding: 48px 24px 32px;
  background: #1a1a2e;
  color: #ccc;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px;
}

.footer-brand p {
  margin-top: 12px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #999;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 16px;
}

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

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: #999;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid #333;
  text-align: center;
  font-size: 0.85rem;
  color: #777;
}

/* Legal Pages */
.legal-page {
  padding: 120px 24px 80px;
  max-width: 800px;
  margin: 0 auto;
}

.legal-page h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.legal-page .last-updated {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--text);
}

.legal-page p,
.legal-page li {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-page ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

/* Contact Page */
.contact-page {
  padding: 120px 24px 80px;
  max-width: 600px;
  margin: 0 auto;
}

.contact-page h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-align: center;
}

.contact-page .subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 48px;
}

.contact-info {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 40px;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-item .icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #eef0f8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item .info h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-item .info p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Screenshots Section */
.screenshots {
  padding: 80px 24px;
  background: var(--bg-alt);
  overflow: hidden;
}

.screenshots-scroll {
  max-width: var(--max-width);
  margin: 40px auto 0;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.screenshots-scroll img {
  width: 200px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(26, 31, 61, 0.12);
  transition: transform 0.3s;
}

.screenshots-scroll img:hover {
  transform: scale(1.03);
}

/* App Logo in Hero */
.hero-logo {
  width: 100px;
  height: 100px;
  border-radius: 22px;
  margin: 0 auto 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #1a1f3d;
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow);
  }

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

  .nav-toggle {
    display: block;
  }

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

  .hero p {
    font-size: 1.05rem;
  }

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

  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

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


/* FAQ Page */
.faq-page {
  padding: 120px 24px 80px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 56px;
}

.faq-header h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.faq-header p {
  font-size: 1.1rem;
  color: var(--text-light);
}

.faq-section {
  margin-bottom: 48px;
}

.faq-section h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.faq-item:hover {
  box-shadow: var(--shadow);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 24px;
  background: var(--bg);
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
  gap: 16px;
  font-family: inherit;
}

.faq-question:hover {
  background: var(--bg-alt);
}

.faq-question[aria-expanded="true"] {
  background: var(--bg-alt);
}

.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.3s;
  color: var(--text-light);
}

.faq-question[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-answer {
  padding: 0 24px 20px;
  background: var(--bg-alt);
}

.faq-answer p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 12px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ul,
.faq-answer ol {
  padding-left: 24px;
  margin-bottom: 12px;
}

.faq-answer li {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 6px;
}

.faq-answer strong {
  color: var(--text);
}

/* FAQ CTA */
.faq-cta {
  text-align: center;
  padding: 48px 32px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  margin-top: 56px;
}

.faq-cta h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.faq-cta p {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 28px;
}

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

@media (max-width: 768px) {
  .faq-header h1 {
    font-size: 1.75rem;
  }

  .faq-question {
    padding: 16px 20px;
    font-size: 0.95rem;
  }

  .faq-answer {
    padding: 0 20px 16px;
  }

  .faq-cta {
    padding: 36px 24px;
  }

  .faq-cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}


/* Blog Article */
.blog-article {
  padding: 120px 24px 80px;
  max-width: 720px;
  margin: 0 auto;
}

.blog-header {
  margin-bottom: 48px;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.blog-category {
  background: var(--bg-alt);
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.8rem;
}

.blog-article h1 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
}

.blog-intro {
  font-size: 1.15rem;
  color: var(--text-light);
  line-height: 1.7;
}

.blog-article section {
  margin-bottom: 40px;
}

.blog-article h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text);
}

.blog-article h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 12px;
}

.blog-article p {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.blog-article ul,
.blog-article ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.blog-article li {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 8px;
}

.blog-article strong {
  color: var(--text);
}

.blog-cta {
  text-align: center;
  padding: 48px 32px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  margin-top: 56px;
}

.blog-cta h2 {
  font-size: 1.5rem;
  text-align: center;
}

.blog-cta p {
  text-align: center;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .blog-article h1 {
    font-size: 1.75rem;
  }

  .blog-article {
    padding: 100px 20px 60px;
  }
}


/* Blog List Page */
.blog-list-page {
  padding: 120px 24px 80px;
  max-width: 800px;
  margin: 0 auto;
}

.blog-list-header {
  text-align: center;
  margin-bottom: 48px;
}

.blog-list-header h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.blog-list-header p {
  font-size: 1.1rem;
  color: var(--text-light);
}

.blog-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.blog-card {
  display: block;
  padding: 28px 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.2s;
  text-decoration: none;
}

.blog-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  border-color: var(--accent);
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  color: var(--text-light);
}

.blog-card-tag {
  background: var(--bg-alt);
  padding: 3px 10px;
  border-radius: 16px;
  font-size: 0.75rem;
  font-weight: 500;
}

.blog-card h2 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.4;
}

.blog-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .blog-list-header h1 {
    font-size: 1.75rem;
  }

  .blog-card {
    padding: 20px 24px;
  }
}
