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

:root {
  --primary: #1a73e8;
  --primary-dark: #1557b0;
  --primary-light: #e8f0fe;
  --success: #34a853;
  --text-primary: #202124;
  --text-secondary: #5f6368;
  --text-muted: #80868b;
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-tertiary: #f1f3f4;
  --border: #dadce0;
  --border-light: #e8eaed;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(60,64,67,0.08);
  --shadow-md: 0 4px 12px rgba(60,64,67,0.12);
  --shadow-lg: 0 8px 30px rgba(60,64,67,0.16);
  --transition: all 0.25s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  text-decoration: underline;
}

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

/* ── Logo Images ── */
.nav-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
}

.footer-logo-img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
}

.mockup-sidebar-logo {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  object-fit: cover;
}

/* ── Navbar ── */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}

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

/* ── Hero ── */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding: 80px 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content {
  flex: 1;
  max-width: 520px;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-radius: 20px;
  margin-bottom: 20px;
}

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

.hero-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--primary), #4285f4);
  color: white;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  width: fit-content;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), #3367d6);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}

.hero-note {
  font-size: 13px;
  color: var(--text-muted);
}

/* ── Hero Visual / Mockup ── */
.hero-visual {
  flex: 1;
  max-width: 540px;
}

.mockup {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-light);
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mockup-dot.red { background: #ff5f56; }
.mockup-dot.yellow { background: #ffbd2e; }
.mockup-dot.green { background: #27c93f; }

.mockup-title {
  font-size: 12px;
  color: var(--text-muted);
  margin-left: 8px;
  font-weight: 500;
}

.mockup-body {
  display: flex;
  padding: 16px;
  gap: 16px;
}

.mockup-sidebar {
  width: 200px;
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  padding: 14px;
  border: 1px solid var(--border-light);
}

.mockup-sidebar-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.mockup-metric {
  margin-bottom: 10px;
}

.mockup-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.4px;
}

.mockup-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.mockup-insight {
  background: linear-gradient(135deg, #f0f7ff, #e8f0fe);
  border: 1px solid #c2d8fc;
  border-radius: var(--radius-sm);
  padding: 10px;
  margin-top: 10px;
}

.mockup-insight-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-dark);
  display: block;
  margin-bottom: 4px;
}

.mockup-insight p {
  font-size: 10px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.mockup-sheet {
  flex: 1;
}

.mockup-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr 0.8fr;
  gap: 8px;
  padding: 8px 0;
  font-size: 11px;
  border-bottom: 1px solid var(--border-light);
}

.mockup-row.header {
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.4px;
  border-bottom: 2px solid var(--border);
}

.mockup-row span {
  color: var(--text-primary);
}

/* ── Features ── */
.features {
  padding: 80px 0;
  background: var(--bg-secondary);
}

.features h2 {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 48px;
}

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

.feature-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: var(--transition);
}

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

.feature-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

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

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

/* ── Trust ── */
.trust {
  padding: 80px 0;
  background: var(--bg-primary);
}

.trust h2 {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 48px;
}

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

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.trust-item svg {
  stroke: var(--primary);
  margin-bottom: 16px;
}

.trust-item span {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.trust-item small {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ── Page Content (Privacy, Terms, Support) ── */
.page-content {
  padding: 60px 0 80px;
  background: var(--bg-primary);
  min-height: calc(100vh - 200px);
}

.page-content h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 8px;
}

.page-updated {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.page-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.policy-section {
  margin-bottom: 36px;
}

.policy-section h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.policy-section p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}

.policy-section ul {
  margin-left: 20px;
  margin-bottom: 12px;
}

.policy-section ul li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 6px;
}

.policy-section blockquote {
  background: var(--bg-secondary);
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  margin: 16px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14px;
  color: var(--text-secondary);
  font-style: italic;
}

/* ── Support Page Specific ── */
.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.support-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
  transition: var(--transition);
}

.support-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border);
}

.support-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

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

.support-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.support-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

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

.faq-section h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 28px;
}

.faq-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 16px;
}

.faq-item h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.faq-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Footer ── */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  padding: 40px 32px;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
}

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

.footer-links a {
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    padding: 48px 24px;
    gap: 40px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-visual {
    max-width: 100%;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .support-grid {
    grid-template-columns: 1fr;
  }

  .navbar {
    padding: 14px 20px;
  }

  .nav-links {
    gap: 16px;
  }

  .mockup-body {
    flex-direction: column;
  }

  .mockup-sidebar {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .nav-links a {
    font-size: 12px;
  }

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

  .features h2,
  .trust h2 {
    font-size: 24px;
  }
}
