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

:root {
  --primary: #2b6e9f;
  --primary-dark: #1e4a6e;
  --primary-light: #eef4ff;
  --accent: #f39c12;
  --accent-dark: #e67e22;
  --gray-100: #f8fafc;
  --gray-200: #e9eef3;
  --gray-800: #1f2a40;
  --shadow-sm: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 20px 25px -12px rgba(0, 0, 0, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  background: #f9fafc;
  color: #1e2a3e;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

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

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.nav-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  background: linear-gradient(135deg, var(--primary) 0%, #2c8fbb 100%);
  background-clip: text;
  color: transparent;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  -webkit-background-clip: text;
}

.logo span {
  background: none;
  color: var(--accent);
  -webkit-background-clip: initial;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--gray-800);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

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

.btn-download-nav {
  padding: 0.5rem 1.2rem;
  background: var(--primary);
  border-radius: 40px;
  color: #fff !important;
  transition: all 0.2s;
}

.btn-download-nav:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.hero {
  padding: 4rem 0 3rem;
  background: linear-gradient(105deg, #fff 0%, #f1f7fd 100%);
  border-bottom: 1px solid #eef2f6;
}

.hero-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.hero-text {
  flex: 1.2;
}

.eyebrow {
  margin-bottom: 0.75rem !important;
  color: var(--accent-dark) !important;
  font-size: 0.95rem !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-text h1 {
  margin-bottom: 1rem;
  background: linear-gradient(to right, #1f3b4c, #2b6e9f);
  background-clip: text;
  color: transparent;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  -webkit-background-clip: text;
}

.hero-text p {
  margin-bottom: 2rem;
  color: #334155;
  font-size: 1.2rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-primary,
.btn-outline {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 60px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  border: 0;
  box-shadow: var(--shadow-sm);
  color: #fff;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

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

.trust-list {
  display: grid;
  gap: 0.5rem;
  margin-top: 1.5rem;
  color: #4a627a;
  font-size: 0.95rem;
  list-style: none;
}

.trust-list li::before {
  margin-right: 0.5rem;
  color: var(--accent);
  content: "?";
  font-weight: 700;
}

.hero-image {
  flex: 0.8;
  text-align: center;
}

.hero-image img,
.hero-image svg {
  width: min(100%, 560px);
  height: auto;
}

.section {
  padding: 4rem 0;
}

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

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

.feature-card {
  padding: 1.8rem;
  background: #fff;
  border: 1px solid #eef2f8;
  border-radius: 32px;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.3s ease;
  animation: fadeUp 0.6s forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-card:hover {
  border-color: #cbdbe0;
  box-shadow: var(--shadow-md);
  transform: translateY(-8px);
}

.feature-icon {
  margin-bottom: 1rem;
  font-size: 2.4rem;
}

.versions {
  margin: 1rem 0;
  padding: 2rem;
  background: var(--gray-100);
  border-radius: 48px;
}

.version-badge {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.version-item {
  width: 180px;
  padding: 1.2rem 2rem;
  background: #fff;
  border-radius: 36px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: 0.2s;
}

.version-item strong {
  color: var(--primary);
  font-size: 1.4rem;
}

.version-note {
  margin-top: 1.5rem;
  color: #4a627a;
  text-align: center;
}

.download-panel .version-note {
  max-width: 880px;
  margin-right: auto;
  margin-left: auto;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.download-grid article {
  padding: 1.25rem;
  background: #fff;
  border: 1px solid #e5edf5;
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.download-grid h3 {
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.section-heading-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.section-heading-row .section-title {
  text-align: left;
}

.swipe-indicator {
  color: #5a6e85;
  font-size: 0.8rem;
  text-align: right;
}

.articles-slider {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scroll-snap-type: x mandatory;
}

.article-card {
  flex: 0 0 300px;
  padding: 1.5rem;
  background: #fff;
  border-radius: 28px;
  box-shadow: var(--shadow-sm);
  scroll-snap-align: start;
  transition: 0.2s;
}

.article-card h4 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.article-card a {
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
}

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

.faq-item {
  margin-bottom: 1rem;
  overflow: hidden;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.faq-question {
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  background: #fff;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  text-align: left;
  transition: 0.2s;
}

.faq-question:hover {
  background: var(--primary-light);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  border-top: 0 solid #e2e8f0;
  color: #4b5563;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 1.5rem 1.2rem;
  border-top: 1px solid #eef2f8;
}

.footer {
  padding: 2rem;
  background: #0a1922;
  color: #94a3b8;
  font-size: 0.8rem;
  text-align: center;
}

.footer p + p {
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 2.2rem;
  }

  .nav-flex {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .section-heading-row {
    display: block;
  }
}
