/* ============================================================
   Lazyweb vs Mobbin — Comparison Landing Page
   ============================================================ */

:root {
  /* Backgrounds */
  --bg: #fffcfa;
  --bg-card: #ffffff;
  --bg-dark: #1a1a1a;

  /* Text */
  --ink: #111111;
  --ink-secondary: #555555;
  --ink-muted: #999999;

  /* Structural */
  --border: rgba(0, 0, 0, 0.06);
  --border-strong: rgba(0, 0, 0, 0.12);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08);

  /* Layout */
  --max-width: 1200px;

  /* Typography */
  --font: "Nunito", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;

  /* Comparison colors */
  --check: #2d8a4e;
  --cross: #c0392b;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: auto;
  height: auto;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: var(--font); cursor: pointer; }

/* Ambient grid canvas */
#v3-ambient-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* ============================================================
   HEADER / NAV (duplicated from V3 for self-containment)
   ============================================================ */
.v3-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 252, 250, 0.85);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

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

.v3-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.v3-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
}

.v3-logo-text {
  font-size: 20px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.02em;
}

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

.v3-nav-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-secondary);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: -0.01em;
}

.v3-nav-link:hover {
  color: var(--ink);
}

.v3-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  background: var(--bg-dark);
  border: none;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.v3-nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* ============================================================
   PAGE LAYOUT
   ============================================================ */
.vs-page {
  margin-top: 64px;
  padding-bottom: 40px;
}

.section {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 48px;
}

.section-title {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  margin: 0 0 20px;
}

/* ============================================================
   HERO
   ============================================================ */
.vs-hero {
  text-align: center;
  padding: 80px 24px 60px;
  max-width: 760px;
  margin: 0 auto;
}

.vs-hero-badge {
  display: inline-block;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-secondary);
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50px;
  margin-bottom: 16px;
}

.vs-hero-title {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 0 0 16px;
  color: var(--ink);
}

.vs-hero-subtitle {
  font-size: 18px;
  font-weight: 400;
  color: var(--ink-secondary);
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================================
   SUMMARY CARDS
   ============================================================ */
.vs-summary {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.vs-summary-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.vs-summary-card h3 {
  font-size: 18px;
  font-weight: 900;
  margin: 0 0 8px;
  color: var(--ink);
}

.vs-summary-card p {
  font-size: 15px;
  color: var(--ink-secondary);
  line-height: 1.6;
  margin: 0;
}

.vs-card-lazyweb {
  border-left: 3px solid var(--check);
}

.vs-card-mobbin {
  border-left: 3px solid var(--ink-muted);
}

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.vs-table {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.vs-table-header {
  display: grid;
  grid-template-columns: 1fr 120px 120px;
  padding: 16px 24px;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-secondary);
  background: rgba(0, 0, 0, 0.02);
  border-bottom: 1px solid var(--border);
}

.vs-table-row {
  display: grid;
  grid-template-columns: 1fr 120px 120px;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  align-items: center;
  font-size: 15px;
  color: var(--ink);
}

.vs-table-row:last-child {
  border-bottom: none;
}

.vs-table-feature {
  font-weight: 600;
}

.vs-table-col {
  text-align: center;
  font-weight: 700;
}

.vs-check {
  color: var(--check);
}

.vs-cross {
  color: var(--cross);
}

.vs-limited {
  color: var(--ink-muted);
  font-size: 13px;
}

/* ============================================================
   ADVANTAGE CARDS
   ============================================================ */
.vs-advantages {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.vs-advantage-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}

.vs-advantage-card h3 {
  font-size: 18px;
  font-weight: 900;
  margin: 0 0 10px;
  color: var(--ink);
}

.vs-advantage-card p {
  font-size: 14px;
  color: var(--ink-secondary);
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-dark);
  color: #fff;
  border-radius: 16px;
  padding: 32px 36px;
  gap: 24px;
}

.cta h3 {
  font-size: 20px;
  font-weight: 900;
  margin: 0 0 4px;
}

.cta p {
  font-size: 15px;
  opacity: 0.75;
  margin: 0;
}

.cta a {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  background: #fff;
  border-radius: 50px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta a:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  text-align: center;
  padding: 32px 24px;
  font-size: 13px;
  color: var(--ink-muted);
}

.footer a {
  text-decoration: none;
  transition: color 0.2s;
}

.footer a:hover {
  color: var(--ink);
}

/* ============================================================
   RESPONSIVE: Tablet (max 900px)
   ============================================================ */
@media (max-width: 900px) {
  .vs-hero-title {
    font-size: 42px;
  }

  .vs-summary {
    grid-template-columns: 1fr;
  }

  .vs-advantages {
    grid-template-columns: 1fr;
  }

  .cta {
    flex-direction: column;
    text-align: center;
  }
}

/* ============================================================
   RESPONSIVE: Mobile (max 600px)
   ============================================================ */
@media (max-width: 600px) {
  .v3-nav-links {
    display: none;
  }

  .v3-nav-cta {
    display: none;
  }

  .vs-hero {
    padding: 48px 16px 40px;
  }

  .vs-hero-title {
    font-size: 32px;
  }

  .vs-hero-subtitle {
    font-size: 16px;
  }

  .vs-table-header,
  .vs-table-row {
    grid-template-columns: 1fr 80px 80px;
    padding: 12px 16px;
    font-size: 13px;
  }

  .vs-table-header {
    font-size: 11px;
  }

  .section {
    padding: 0 16px 36px;
  }

  .vs-summary {
    padding: 0 16px 36px;
  }

  .vs-advantages {
    padding: 0 16px 36px;
  }

  .cta {
    padding: 24px 20px;
  }

  .cta a {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   RESPONSIVE: Extra small (max 480px)
   ============================================================ */
@media (max-width: 480px) {
  .vs-hero-title {
    font-size: 28px;
  }

  .vs-hero-badge {
    font-size: 11px;
    padding: 5px 12px;
  }

  .vs-table-header,
  .vs-table-row {
    grid-template-columns: 1fr 60px 60px;
    padding: 10px 12px;
    font-size: 12px;
  }

  .vs-table-header {
    font-size: 10px;
  }
}
