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

:root {
  --brand: #2d4a9e;
  --brand-light: #3a5bc7;
  --brand-dark: #1e3a7a;
  --brand-wash: #eef1fb;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-tertiary: #94a3b8;
  --text-inverse: #fff;

  --surface: #ffffff;
  --bg: #f8fafc;
  --border: #e2e8f0;

  --success: #16a34a;
  --danger: #dc2626;

  --font: "Inter", -apple-system, system-ui, sans-serif;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.12);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  color: var(--text-primary);
  background: var(--surface);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* === Layout === */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: 720px;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 200ms ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--text-inverse);
  box-shadow: 0 1px 3px rgba(37, 99, 235, 0.3);
}
.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: var(--bg);
  color: var(--text-primary);
  border-color: #cbd5e1;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 15px;
  border-radius: 10px;
}

.btn-white {
  background: var(--text-inverse);
  color: var(--brand);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.btn-white:hover {
  background: #f1f5f9;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* === Nav === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  color: var(--brand);
  letter-spacing: -0.02em;
  filter: drop-shadow(3px 3px 3px #00000035);
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 150ms ease;
}
.nav-links a:hover {
  color: var(--text-primary);
}

.nav-cta {
  background: var(--accent);
  color: var(--text-inverse) !important;
  padding: 8px 18px;
  border-radius: 7px;
  font-size: 13px !important;
  font-weight: 600 !important;
  transition:
    background 200ms ease,
    transform 200ms ease !important;
}
.nav-cta:hover {
  background: var(--accent-hover);
  color: var(--text-inverse) !important;
  transform: translateY(-1px);
}

/* === Hero === */
.hero {
  padding: 140px 24px 100px;
  background: linear-gradient(
    180deg,
    var(--brand-wash) 0%,
    var(--surface) 100%
  );
  overflow: hidden;
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 100px;
  background: rgba(45, 74, 158, 0.08);
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

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

.hero-sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-trust {
  font-size: 13px;
  color: var(--text-tertiary);
  font-weight: 500;
}

/* Hero window mock */
.hero-visual {
  perspective: 1200px;
}

.hero-window {
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow:
    var(--shadow-xl),
    0 0 0 1px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  transform: rotateY(-3deg) rotateX(2deg);
  transition: transform 400ms ease;
}
.hero-window:hover {
  transform: rotateY(0deg) rotateX(0deg);
}

.hero-window-bar {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e2e8f0;
}

.hero-window-content {
  padding: 0;
}

.mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: var(--brand);
  color: var(--text-inverse);
}

.mock-logo-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
}

.mock-badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 1px 7px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
}

.mock-buttons {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mock-btn {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-weight: 500;
}

.mock-btn-icon {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.mock-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.mock-search {
  font-size: 11px;
  color: var(--text-tertiary);
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: 5px;
  flex: 1;
  max-width: 240px;
}

.mock-views {
  display: flex;
  gap: 2px;
  background: #f1f5f9;
  padding: 2px;
  border-radius: 5px;
}

.mock-view {
  width: 24px;
  height: 20px;
  border-radius: 3px;
  background: transparent;
}
.mock-view.active {
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.mock-countdown {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background: var(--brand-wash);
  border-bottom: 1px solid var(--border);
  font-size: 11px;
}

.mock-countdown-label {
  font-weight: 600;
  color: var(--brand);
}

.mock-countdown-detail {
  color: var(--text-secondary);
}

.mock-table {
  padding: 0;
}

.mock-row {
  display: grid;
  grid-template-columns: 1fr 0.7fr 1.3fr 0.7fr 0.8fr 1fr;
  gap: 4px;
  padding: 8px 16px;
  font-size: 11px;
  border-bottom: 1px solid #f1f5f9;
  align-items: center;
  color: var(--text-secondary);
}

.mock-row-header {
  font-weight: 600;
  color: var(--text-tertiary);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #fafbfc;
}

.mock-row-highlight {
  background: rgba(37, 99, 235, 0.03);
  border-left: 2px solid var(--accent);
}

.mock-tag {
  font-size: 9px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 3px;
  display: inline-block;
  width: fit-content;
}

.tag-master {
  background: #dbeafe;
  color: #1e40af;
}
.tag-individual {
  background: #f3e8ff;
  color: #6b21a8;
}
.tag-internet {
  background: #d1fae5;
  color: #065f46;
}
.tag-person {
  background: #fef3c7;
  color: #92400e;
}

/* === Problem/Solution === */
.problem {
  padding: 80px 24px;
  background: var(--bg);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.problem-card {
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.problem-card--before {
  background: var(--surface);
}

.problem-card--after {
  background: var(--brand);
  color: var(--text-inverse);
  border-color: var(--brand);
}

.problem-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
  opacity: 0.6;
}

.problem-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.problem-card li {
  font-size: 15px;
  line-height: 1.5;
  padding-left: 24px;
  position: relative;
}

.problem-card--before li::before {
  content: "\2717";
  position: absolute;
  left: 0;
  color: var(--danger);
  font-weight: 700;
  font-size: 13px;
}

.problem-card--after li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: #86efac;
  font-weight: 700;
  font-size: 14px;
}

/* === Section headers === */
.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 56px;
}

.section-header h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* === Features === */
.features {
  padding: 100px 24px;
}

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

.feature-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  transition:
    box-shadow 300ms ease,
    transform 300ms ease;
}
.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feature-card--wide {
  grid-column: span 3;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 20px;
  align-items: start;
  background: var(--brand-wash);
  border-color: rgba(45, 74, 158, 0.12);
}
.feature-card--wide .feature-icon {
  grid-row: span 2;
}
.feature-card--wide p {
  max-width: 600px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--brand-wash);
  color: var(--brand);
  margin-bottom: 16px;
  flex-shrink: 0;
}

.feature-card--wide .feature-icon {
  background: rgba(45, 74, 158, 0.1);
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

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

/* === Privacy === */
.privacy {
  padding: 100px 24px;
  background: var(--bg);
}

.privacy-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
}

.privacy-content h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.privacy-content > p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 28px;
}

.privacy-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.privacy-point {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

.privacy-point svg {
  color: var(--success);
  flex-shrink: 0;
}

.privacy-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  transition: opacity 150ms ease;
}
.privacy-link:hover {
  opacity: 0.7;
}

.privacy-shield {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--brand-wash);
  border: 2px solid rgba(45, 74, 158, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--brand);
}

.privacy-shield span {
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
}

/* === FAQ === */
.faq {
  padding: 100px 24px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 200ms ease;
}
.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-item[open] {
  border-color: rgba(45, 74, 158, 0.2);
  box-shadow: 0 0 0 1px rgba(45, 74, 158, 0.08);
}

.faq-item summary {
  padding: 18px 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 150ms ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--text-tertiary);
  transition: transform 200ms ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item summary:hover {
  color: var(--brand);
}

.faq-item p {
  padding: 0 24px 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* === CTA === */
.cta {
  padding: 80px 24px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: var(--text-inverse);
}

.cta-inner {
  text-align: center;
  max-width: 540px;
  margin: 0 auto;
}

.cta-logo {
  margin: 0 auto 24px;
  filter: drop-shadow(3px 3px 10px #0000002a);
}

.cta h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.cta p {
  font-size: 16px;
  opacity: 0.8;
  margin-bottom: 32px;
  line-height: 1.6;
}

/* === Footer === */
.footer {
  padding: 24px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-tertiary);
}

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

.footer-links a {
  font-size: 13px;
  color: var(--text-tertiary);
  transition: color 150ms ease;
}
.footer-links a:hover {
  color: var(--text-primary);
}

/* === Responsive === */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .hero-window {
    transform: none;
  }
  .hero-window:hover {
    transform: none;
  }

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

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

  .feature-card--wide {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }
  .feature-card--wide .feature-icon {
    grid-row: auto;
  }

  .privacy-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .privacy-shield {
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 120px 16px 60px;
  }

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

  .hero-sub {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .section-header h2,
  .privacy-content h2,
  .cta h2 {
    font-size: 24px;
  }

  .feature-card,
  .problem-card {
    padding: 24px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
