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

:root {
  --blue-primary: #4285F4;
  --blue-hover: #3367D6;
  --blue-light: rgba(66, 133, 244, 0.08);
  --text-primary: #202124;
  --text-secondary: #5f6368;
  --text-light: #9aa0a6;
  --bg-page: #f8f9fa;
  --bg-white: #fff;
  --bg-nav: rgba(255, 255, 255, 0.92);
  --bg-dark: #202124;
  --border-color: #e8eaed;
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-nav: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06);
  --font-family: "Google Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

body {
  font-family: var(--font-family);
  color: var(--text-primary);
  background: var(--bg-page);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ========== NAV ========== */
.nav-wrapper {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 50px;
  padding: 8px 8px 8px 16px;
  box-shadow: var(--shadow-nav);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  margin-right: 8px;
  flex-shrink: 0;
}

.nav-logo img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.nav-logo span {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

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

.nav-links a {
  display: block;
  padding: 6px 14px;
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 20px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.04);
}

.nav-download {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  background: var(--blue-primary);
  color: #fff;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease;
  white-space: nowrap;
  margin-left: 4px;
}

.nav-download:hover {
  background: var(--blue-hover);
}

/* ========== HERO ========== */
.hero {
  text-align: center;
  padding: 140px 20px 40px;
  background: var(--bg-page);
}

.hero h1 {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.35;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.cta-desc {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 40px;
  background: var(--blue-primary);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(66, 133, 244, 0.3);
}

.btn-download:hover {
  background: var(--blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(66, 133, 244, 0.4);
}

.btn-download .apple-icon {
  width: 20px;
  height: 20px;
}

.hero-web-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 20px;
  font-size: 15px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.hero-web-link:hover {
  color: var(--blue-primary);
}

.hero-web-link .arrow {
  transition: transform 0.2s;
}

.hero-web-link:hover .arrow {
  transform: translateX(3px);
}

/* ========== STATS ========== */
.stats-section {
  padding: 0 20px 20px;
  display: flex;
  justify-content: center;
}

.stats-bar {
  display: flex;
  align-items: center;
  gap: 40px;
  background: var(--bg-white);
  padding: 24px 48px;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-number {
  font-size: 28px;
  font-weight: 800;
  color: var(--blue-primary);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 13px;
  color: var(--text-light);
  white-space: nowrap;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-color);
}

/* ========== APP MOCKUP ========== */
.app-mockup-section {
  padding: 20px 20px 60px;
  display: flex;
  justify-content: center;
}

.app-mockup-img {
  width: 100%;
  max-width: 900px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  display: block;
}

/* ========== FEATURE SECTIONS ========== */
.feature-section {
  padding: 80px 20px 0;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-section + .feature-section {
  padding-top: 40px;
}

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

.section-header h2 {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.section-header p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ========== FEATURE CARDS ========== */
.feature-card {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 48px;
  padding: 40px;
  background: var(--bg-white);
  border-radius: 24px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}

.feature-card:last-child {
  margin-bottom: 0;
}

.feature-card.reverse {
  flex-direction: row-reverse;
}

.feature-text {
  flex: 1;
  min-width: 280px;
}

.feature-text h3 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.feature-text p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.feature-visual {
  flex: 1.2;
  min-width: 280px;
}

.feature-visual img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
}

/* ========== SECURITY / PRIVACY ========== */
.security-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.security-header h2 {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.security-header p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

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

.security-card {
  background: var(--bg-white);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.security-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
}

.security-icon-wrapper {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-light);
  border-radius: 16px;
}

.security-svg-icon {
  width: 28px;
  height: 28px;
  color: var(--blue-primary);
}

.security-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.security-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ========== PLATFORMS / AWARDS ========== */
.awards-section {
  padding: 0 20px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.awards-grid {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.award-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 140px;
}

.award-item img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.award-item span {
  font-size: 12px;
  color: var(--text-light);
  text-align: center;
  line-height: 1.5;
}

.platform-icon-wrapper {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-white);
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.platform-icon-wrapper svg {
  width: 32px;
  height: 32px;
  color: var(--text-secondary);
}

/* ========== BOTTOM CTA ========== */
.cta-section {
  text-align: center;
  padding: 80px 20px 60px;
  background: var(--bg-page);
}

.cta-section h2 {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--bg-dark);
  color: #9aa0a6;
  padding: 0;
  font-size: 13px;
}

.footer-top {
  display: flex;
  gap: 60px;
  padding: 48px 40px 32px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.footer-brand {
  flex: 1;
  min-width: 200px;
}

.footer-logo-text {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-logo {
  height: 36px;
  width: 36px;
  object-fit: contain;
  display: block;
}

.footer-brand-name {
  font-size: 18px;
  font-weight: 700;
  color: #e8eaed;
}

.footer-tagline {
  font-size: 13px;
  color: #9aa0a6;
  line-height: 1.6;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 160px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  color: #e8eaed;
  margin-bottom: 4px;
}

.footer-col a {
  color: #9aa0a6;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

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

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

.footer-social a img {
  width: 32px;
  height: 32px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.footer-social a:hover img {
  opacity: 1;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: #9aa0a6;
  text-decoration: none;
  transition: color 0.2s;
}

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

/* ========== ARTICLES GRID ========== */
.articles-section {
  padding: 80px 20px 0;
  max-width: 1200px;
  margin: 0 auto;
}

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

.article-card {
  background: var(--bg-white);
  border-radius: 20px;
  padding: 32px 28px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-light);
}

.article-tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--blue-light);
  color: var(--blue-primary);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.article-card h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.article-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  flex-grow: 1;
}

/* ========== BLOG ARTICLE PAGE ========== */
.blog-article {
  max-width: 100%;
}

.blog-hero {
  padding: 140px 20px 60px;
  background: var(--bg-page);
  text-align: center;
}

.blog-hero-inner {
  max-width: 760px;
  margin: 0 auto;
}

.blog-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--text-light);
}

.blog-read-time {
  color: var(--text-light);
}

.blog-hero h1 {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.blog-excerpt {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.blog-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

.blog-content h2 {
  font-size: 26px;
  font-weight: 800;
  margin: 48px 0 16px;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.blog-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--text-primary);
}

.blog-content p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.blog-content ul,
.blog-content ol {
  margin: 0 0 20px 24px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-secondary);
}

.blog-content li {
  margin-bottom: 8px;
}

.blog-content a {
  color: var(--blue-primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.blog-content a:hover {
  border-bottom-color: var(--blue-primary);
}

.blog-content code {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(66, 133, 244, 0.06);
  border-radius: 4px;
  font-size: 14px;
  font-family: "SF Mono", "Fira Code", "Consolas", monospace;
  color: var(--blue-primary);
}

.blog-content strong {
  color: var(--text-primary);
  font-weight: 600;
}

.blog-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 28px;
  font-size: 15px;
}

.blog-table thead {
  background: var(--bg-page);
}

.blog-table th,
.blog-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.blog-table th {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 14px;
}

.blog-table td strong {
  color: var(--blue-primary);
}

.blog-cta {
  margin-top: 48px;
  padding: 40px;
  background: var(--bg-page);
  border-radius: 20px;
  text-align: center;
}

.blog-cta h3 {
  font-size: 24px;
  margin: 0 0 8px;
  color: var(--text-primary);
}

.blog-cta p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .hero h1 {
    font-size: 30px;
  }

  .section-header h2,
  .security-header h2 {
    font-size: 26px;
  }

  .feature-card {
    flex-direction: column !important;
    gap: 24px;
    padding: 24px;
  }

  .feature-text,
  .feature-visual {
    min-width: unset;
    width: 100%;
  }

  .feature-text h3 {
    font-size: 20px;
  }

  .nav-links {
    display: none;
  }

  .cta-section h2 {
    font-size: 24px;
  }

  .stats-bar {
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 28px;
    justify-content: center;
  }

  .stat-divider {
    display: none;
  }

  .stat-item {
    min-width: 100px;
  }

  .security-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .articles-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .blog-hero h1 {
    font-size: 28px;
  }

  .blog-content h2 {
    font-size: 22px;
  }

  .footer-top {
    flex-direction: column;
    gap: 32px;
    padding: 32px 20px 24px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .feature-section {
    padding: 48px 20px 0;
  }
}

@media (max-width: 768px) {
  .articles-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 26px;
  }

  .btn-download {
    padding: 12px 28px;
    font-size: 16px;
  }

  .stats-bar {
    padding: 16px 20px;
  }

  .stat-number {
    font-size: 22px;
  }
}
