* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #3c4043;
  line-height: 1.6;
  background: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== Spin Animation ========== */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ========== Navigation ========== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e8eaed;
  z-index: 1000;
  height: 64px;
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 600;
  color: #202124;
}

.nav-brand svg {
  width: 32px; height: 32px;
}

.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 8px 18px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: #5f6368;
  transition: all 0.2s;
}

.nav-links a:hover {
  background: #f1f3f4;
  color: #202124;
}

.nav-links a.active {
  background: #1a73e8;
  color: #fff;
}

/* Mobile menu */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: #1a73e8;
  color: #fff;
  box-shadow: 0 2px 8px rgba(26,115,232,0.3);
}

.btn-primary:hover {
  background: #185abc;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26,115,232,0.4);
}

.btn-secondary {
  background: #fff;
  color: #1a73e8;
  border: 2px solid #1a73e8;
}

.btn-secondary:hover {
  background: #f1f3f4;
}

.btn-dark {
  background: #202124;
  color: #fff;
}

.btn-dark:hover {
  background: #3c4043;
}

.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 16px 40px; font-size: 18px; }

/* ========== Section Commons ========== */
.section { padding: 80px 0; }
.section-title {
  font-size: 36px;
  font-weight: 700;
  color: #202124;
  text-align: center;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 18px;
  color: #5f6368;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

.section-header { margin-bottom: 48px; }

/* ========== Cards ========== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s;
}

.card:hover {
  border-color: #dadce0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.card-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}

.card-icon svg { width: 28px; height: 28px; }

.card-title {
  font-size: 20px;
  font-weight: 600;
  color: #202124;
  margin-bottom: 12px;
}

.card-text {
  font-size: 15px;
  color: #5f6368;
  line-height: 1.7;
}

/* ========== Platform Cards ========== */
.platform-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 24px;
}

.platform-icon svg { width: 48px; height: 48px; margin-bottom: 16px; }

.platform-name {
  font-size: 20px;
  font-weight: 600;
  color: #202124;
  margin-bottom: 8px;
}

.platform-desc {
  font-size: 14px;
  color: #5f6368;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* ========== Stars ========== */
.stars {
  display: flex;
  gap: 2px;
  margin-bottom: 8px;
}

.star {
  width: 18px; height: 18px;
  color: #fbbc04;
}

.star-empty {
  color: #dadce0;
}

/* ========== Stats ========== */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  text-align: center;
}

.stat-number {
  font-size: 42px;
  font-weight: 700;
  color: #1a73e8;
  line-height: 1.2;
}

.stat-label {
  font-size: 15px;
  color: #5f6368;
  margin-top: 8px;
}

/* ========== FAQ ========== */
.faq-item {
  border-bottom: 1px solid #e8eaed;
  padding: 24px 0;
}

.faq-question {
  font-size: 18px;
  font-weight: 600;
  color: #202124;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-question svg {
  width: 24px; height: 24px;
  color: #5f6368;
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  font-size: 15px;
  color: #5f6368;
  line-height: 1.8;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s, padding 0.4s;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-top: 16px;
}

/* ========== Table ========== */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
}

.compare-table th,
.compare-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid #e8eaed;
}

.compare-table th {
  font-weight: 600;
  color: #202124;
  background: #f8f9fa;
}

.compare-table td {
  color: #3c4043;
}

.compare-table tr:hover td {
  background: #f8f9fa;
}

.compare-yes {
  color: #34a853;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.compare-no {
  color: #ea4335;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ========== Footer ========== */
.site-footer {
  background: #202124;
  color: #9aa0a6;
  padding: 48px 0 32px;
  margin-top: 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
}

.footer-brand svg { width: 32px; height: 32px; }

.footer-safe {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: rgba(52,168,83,0.15);
  border: 1px solid rgba(52,168,83,0.3);
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 24px;
  color: #81c995;
  font-size: 14px;
  line-height: 1.6;
}

.footer-safe svg {
  width: 20px; height: 20px;
  color: #34a853;
  flex-shrink: 0;
  margin-top: 1px;
}

.footer-copy {
  font-size: 13px;
  color: #80868b;
  line-height: 1.6;
  border-top: 1px solid #3c4043;
  padding-top: 20px;
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
  .mobile-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 12px 24px;
    border-bottom: 1px solid #e8eaed;
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .section-title { font-size: 28px; }
  .card-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .btn-lg { padding: 14px 28px; font-size: 16px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 60px 0; }
  .stat-grid { grid-template-columns: 1fr; }
}

/* ========== Utility ========== */
.text-center { text-align: center; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.bg-light { background: #f8f9fa; }
.bg-white { background: #fff; }
