/* ==========================================================================
   Occurr — Marketing Page Styles
   Black & white, minimalist. Inter throughout.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap');

:root {
  --bg: #ffffff;
  --surface: #fafafa;
  --surface-hover: #f2f2f2;
  --border: #e2e2e2;
  --text: #0a0a0a;
  --grey: #6e6e6e;
  --teal: #0a0a0a;      /* accent = black; kept var name so rest of file needs no renaming */
  --teal-dark: #000000;
  --gold: #0a0a0a;

  --font-display: 'Inter', 'DM Sans', sans-serif;
  --font-body: 'Inter', 'DM Sans', sans-serif;
  --font-utility: 'DM Sans', 'Inter', sans-serif;

  --radius: 10px;
  --radius-sm: 6px;
  --maxw: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0 0 0.6em;
}

h1 strong, h2 strong, h3 strong, h4 strong {
  font-weight: 700;
  color: var(--text);
}

p { margin: 0 0 1em; color: var(--text); }

sup {
  font-family: var(--font-utility);
  font-size: 0.55em;
  font-weight: 700;
  color: #fff;
  background: var(--teal);
  padding: 0.15em 0.45em;
  border-radius: 999px;
  vertical-align: super;
  letter-spacing: 0.04em;
}

code {
  font-family: var(--font-utility);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.15em 0.45em;
  border-radius: 5px;
  font-size: 0.9em;
}

.label {
  display: inline-block;
  font-family: var(--font-utility);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-dark);
  margin-bottom: 0.75rem;
}

/* ---------- Layout helpers ---------- */

header, .hero, .section, .cta, footer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ---------- Header ---------- */

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.logo a {
  font-family: var(--font-utility);
  font-weight: 700;
  font-size: 0.95rem;
}

header nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

header nav a {
  font-family: var(--font-utility);
  font-size: 0.9rem;
  color: var(--grey);
  transition: color 0.15s ease;
}

header nav a:hover,
header nav a.active {
  color: var(--text);
}

.btn-nav {
  background: var(--text) !important;
  color: #fff !important;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: background 0.15s ease;
}

.btn-nav:hover { background: #2a2a2a !important; }

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px;
  gap: 2px;
}

.lang-btn {
  font-family: var(--font-utility);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: none;
  background: none;
  color: var(--grey);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.lang-btn:hover { color: var(--text); }

.lang-btn.active {
  background: var(--text);
  color: #fff;
}

/* ---------- Hero ---------- */

.hero {
  text-align: center;
  padding-top: 5rem;
  padding-bottom: 3rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  max-width: 16ch;
  margin-left: auto;
  margin-right: auto;
}

.hero > p {
  max-width: 56ch;
  margin: 1.25rem auto 2rem;
  color: var(--grey);
  font-size: 1.05rem;
}

.btn-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  font-weight: 500;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn-primary:hover {
  background: #2a2a2a;
  transform: translateY(-1px);
}

/* ---------- Screenshot slots ---------- */

.shot-slot {
  margin: 2.5rem auto 0;
  max-width: 960px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 20px 60px -20px rgba(20, 23, 26, 0.18);
  overflow: hidden;
}

.shot-slot img {
  width: 100%;
  height: auto;
  display: block;
}

.two-col .shot-slot {
  margin: 1.5rem 0 0;
  max-width: none;
  box-shadow: 0 12px 32px -16px rgba(20, 23, 26, 0.16);
}

/* ---------- Sections ---------- */

.section {
  padding-top: 4.5rem;
  padding-bottom: 1rem;
}

.section-header {
  text-align: center;
  max-width: 46ch;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
}

.section-header > p {
  color: var(--grey);
}

/* ---------- Card grids ---------- */

.grid { display: grid; gap: 1.25rem; }

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.card:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
}

.card h3 {
  font-family: var(--font-utility);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: normal;
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--grey);
  font-size: 0.92rem;
  margin: 0;
}

/* ---------- Steps ---------- */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--teal);
  margin-bottom: 0.4rem;
}

.step h4 {
  font-family: var(--font-utility);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: normal;
  margin-bottom: 0.4rem;
}

.step p {
  color: var(--grey);
  font-size: 0.9rem;
  margin: 0;
}

/* ---------- Two column ---------- */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.two-col h3 {
  font-size: 1.7rem;
}

.check-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.check-list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--text);
  font-size: 0.92rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--teal);
  font-weight: 700;
}

/* ---------- Comparison table ---------- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 560px;
}

thead th {
  font-family: var(--font-utility);
  font-weight: 700;
  text-align: left;
  padding: 0.9rem 1.1rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

tbody td {
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--border);
  color: var(--grey);
}

tbody tr:last-child td { border-bottom: none; }

tbody td:first-child { color: var(--text); font-weight: 500; }

td.yes { color: var(--teal-dark); font-weight: 600; }
td.no { color: #c9524f; }

/* ---------- Pricing ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.pricing-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: var(--bg);
}

.pricing-card.featured {
  border-color: var(--text);
  box-shadow: 0 20px 50px -24px rgba(10, 10, 10, 0.25);
  position: relative;
}

.price-tier {
  font-family: var(--font-utility);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--grey);
}

.pricing-card.featured .price-tier { color: var(--teal-dark); }

.price-amount {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
}

.price-sub {
  font-family: var(--font-utility);
  font-size: 0.8rem;
  color: var(--grey);
  margin-top: 0.35rem;
}

.price-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex-grow: 1;
}

.price-features li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.9rem;
}

.price-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

.price-note {
  font-family: var(--font-utility);
  font-size: 0.72rem;
  color: var(--grey);
  text-align: center;
  margin: 0;
}

/* ---------- CTA ---------- */

.cta {
  text-align: center;
  padding-top: 3rem;
  padding-bottom: 5rem;
}

.cta h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  margin-bottom: 1.5rem;
}

/* ---------- Footer ---------- */

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  padding-bottom: 2.5rem;
  border-top: 1px solid var(--border);
  font-family: var(--font-utility);
  font-size: 0.85rem;
  color: var(--grey);
}

.footer-left a {
  color: var(--text);
  font-weight: 500;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
}

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

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .pricing-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }

  header nav {
    width: 100%;
    flex-wrap: wrap;
    row-gap: 0.6rem;
    column-gap: 1.25rem;
  }

  header nav a:not(.btn-nav) {
    font-size: 0.88rem;
  }

  .btn-nav {
    order: 3;
    flex: 1 1 100%;
    text-align: center;
    padding: 0.7rem 1rem;
  }

  .lang-switch {
    order: 2;
  }
}

@media (max-width: 560px) {
  .grid-3 { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .logo a { font-size: 0.85rem; }
  .hero { padding-top: 2.5rem; }
  footer { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
