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

/* ── Tokens ────────────────────────────────────────────────────── */
:root {
  --brand:       #006b95;
  --brand-dark:  #004f6e;
  --brand-light: #e0f1f8;
  --text:        #1a1a1a;
  --muted:       #5a5a5a;
  --subtle:      #888;
  --border:      #e0e0e0;
  --bg-alt:      #f5f8fa;
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   14px;

  /* ── Type scale (3 sizes + pricing special) ── */
  --fs-sm:    0.875rem;   /* labels, captions, overlines */
  --fs-base:  1.05rem;    /* all body text */
  --fs-lg:    1.8rem;     /* section titles */
  --fs-price: 2.5rem;     /* pricing numbers */
}

/* ── Base ──────────────────────────────────────────────────────── */
body {
  font-family: 'Merriweather Sans', sans-serif;
  font-size: var(--fs-base);
  background: #fff;
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.brand { font-weight: 700; color: var(--text); }

/* ── Nav ───────────────────────────────────────────────────────── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.logo img {
  height: 2.5rem;
  flex-shrink: 0;
}

.logo-text {
  font-family: 'Bubblegum Sans', cursive;
  font-size: 2rem;
  line-height: 1;
  color: black;
}

.logo-text-brand {
  color: var(--brand);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  font-size: var(--fs-sm);
  color: var(--muted);
  font-weight: 600;
}

.nav-links a:hover { color: var(--brand); }

.nav-cta {
  background: var(--brand) !important;
  color: #fff !important;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.nav-cta:hover { background: var(--brand-dark) !important; }

#lang-select {
  appearance: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: var(--fs-sm);
  padding: 0.3rem 0.6rem;
  cursor: pointer;
}

#lang-select:hover { border-color: var(--brand); color: var(--brand); }

/* ── Hero ──────────────────────────────────────────────────────── */
.hero {
  max-width: 760px;
  margin: 5rem auto 4rem;
  padding: 0 2rem;
  text-align: center;
  position: relative;
}

.hero h1 {
  font-family: 'Bubblegum Sans', cursive;
  font-size: clamp(2.2rem, 5vw, 2.8rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero h1 span { color: var(--brand); }

.hero p {
  font-size: var(--fs-base);
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

p.hero-screenshots-link {
  margin-top: 1rem;
}
p.hero-screenshots-link a { 
  display: block;
  text-align: center;
  font-size: 1.045rem;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

/* ── Buttons ───────────────────────────────────────────────────── */
.btn-primary {
  background: var(--brand);
  color: #fff;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  font-size: var(--fs-base);
  font-weight: 600;
  transition: background 0.15s;
}

.btn-primary:hover { background: var(--brand-dark); }

.btn-secondary {
  background: transparent;
  color: var(--text);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  font-size: var(--fs-base);
  font-weight: 600;
  border: 1.5px solid var(--border);
  transition: border-color 0.15s, color 0.15s;
}

.btn-secondary:hover { border-color: var(--brand); color: var(--brand); }

/* ── Sections ──────────────────────────────────────────────────── */
.section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.section-alt { background: var(--bg-alt); }
.section-inner { max-width: 1000px; margin: 0 auto; padding: 5rem 2rem; }

.section-label {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  display: block;
  width: fit-content;
  padding-bottom: 0.35rem;
  padding-right: 1.5rem;
  border-bottom: 2px solid var(--brand);
  margin-bottom: 1rem;
}

.section-title {
  font-size: var(--fs-lg);
  font-weight: 700;
  margin-bottom: 0.65rem;
  line-height: 1.2;
}

.section-sub {
  font-size: var(--fs-base);
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 2.5rem;
}

/* ── Coming soon ──────────────────────────────────────────────── */
.coming-soon-list {
  list-style: none;
  max-width: 760px;
  margin: 0;
  padding: 0;
}

.coming-soon-list li {
  padding: 0.25rem 0;
  color: var(--muted);
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
}

.coming-soon-list li::before {
  content: "✓";
  color: var(--brand);
  font-weight: 700;
  flex-shrink: 0;
}

/* ── Hero stamp ───────────────────────────────────────────────── */
.hero-stamp {
  display: block;
  width: 150px;
  margin: -1rem 5rem -3rem auto;
  opacity: 0.78;
  transform: rotate(15deg);
  pointer-events: none;
  user-select: none;
  mix-blend-mode: multiply;
  position: relative;
  z-index: 10;
}

/* ── Partner sections ──────────────────────────────────────────── */
.partner-sections { margin-top: 2.5rem; }

.partner-section { margin-top: 3rem; }
.partner-section:first-child { margin-top: 0; }

.partner-section-title {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-screenshots-link {
  display: block;
  text-align: center;
  font-size: 1.045rem;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

/* ── Feature list (card grid) ──────────────────────────────────── */
.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
}

.feature-item-header {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.25rem;
}

.feature-item-icon { font-size: 1.1rem; flex-shrink: 0; }

.feature-item-title {
  font-weight: 700;
  font-size: var(--fs-base);
  color: var(--text);
}

.feature-item-desc {
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.55;
}

.feature-item-desc a, .feature-card-desc a {
  color: var(--brand);
  text-decoration: underline;
}

/* ── Feature table ─────────────────────────────────────────────── */
.feature-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-base);
}

.feature-table th {
  text-align: left;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--subtle);
  padding: 0 0.75rem 0.75rem;
  border-bottom: 1px solid var(--border);
}

.feature-table td {
  padding: 0.9rem 0.75rem;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: top;
}

.feature-table tr:last-child td { border-bottom: none; }

.feature-table td:first-child {
  font-weight: 600;
  width: 32%;
  color: var(--text);
}

.feature-table td:last-child { color: var(--muted); }

.feature-table tr:hover td { background: var(--brand-light); }

/* ── Feature cards ─────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
}

.feature-card-icon {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.feature-card-title {
  font-weight: 700;
  font-size: var(--fs-base);
  margin-bottom: 0.3rem;
  color: var(--text);
}

.feature-card-desc {
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.6;
}

/* ── Pricing ───────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.pricing-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  background: #fff;
  position: relative;
}

.free-stamp {
  position: absolute;
  top: 1rem;
  right: -1rem;
  width: 160px;
  opacity: 0.68;
  transform: rotate(43deg);
  pointer-events: none;
  user-select: none;
  mix-blend-mode: multiply;
  z-index: 1;
}

.pricing-card.highlight {
  border-color: var(--brand);
  background: var(--brand-light);
}

.pricing-tier {
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 0.75rem;
}

.pricing-card.highlight .pricing-tier { color: var(--brand-dark); }

.pricing-price {
  font-size: var(--fs-price);
  font-weight: 700;
  margin-bottom: 0.2rem;
  color: var(--text);
}

.pricing-card.highlight .pricing-price { color: var(--brand-dark); }

.pricing-note {
  font-size: var(--fs-sm);
  color: var(--subtle);
  margin-bottom: 1.5rem;
}

.pricing-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.pricing-list li {
  font-size: var(--fs-base);
  color: var(--muted);
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
}

.pricing-list li::before {
  content: "✓";
  color: var(--brand);
  font-weight: 700;
  flex-shrink: 0;
}

/* ── Pricing CTA ───────────────────────────────────────────────── */
.pricing-cta {
  margin-top: 2.5rem;
  text-align: center;
}

/* ── Languages ─────────────────────────────────────────────────── */
.lang-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.75rem;
}

.lang-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.1rem;
}

.lang-name {
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--text);
  min-width: 8rem;
}

.lang-flags {
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: 0.1em;
}

.lang-flags img.emoji {
  height: 1.4rem;
  width: auto;
  vertical-align: middle;
  display: inline;
}

/* ── CTA ───────────────────────────────────────────────────────── */
.cta-section {
  background: var(--brand);
  color: #fff;
  text-align: center;
  padding: 5rem 2rem;
}

.cta-section h2 {
  font-size: var(--fs-lg);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.cta-section p {
  font-size: var(--fs-base);
  opacity: 0.85;
  margin-bottom: 2.5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-section .btn-primary {
  background: #fff;
  color: var(--brand);
}

.cta-section .btn-primary:hover { background: #f0f0f0; }

.cta-section .btn-secondary {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}

.cta-section .btn-secondary:hover {
  border-color: #fff;
  color: #fff;
}

#em {
  color: var(--brand);
  text-decoration: underline;
  cursor: pointer;
  font-size: var(--fs-base);
  font-weight: 600;
}

.contact-prompt {
  margin-top: 0.75rem;
  font-size: var(--fs-base);
  color: var(--muted);
  line-height: 1.8;
}

/* ── Footer ────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 1.75rem 2rem;
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--subtle);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-note { color: black; opacity: 0.75; }

@media (max-width: 900px) {
  .feature-list { grid-template-columns: repeat(2, 1fr); }
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 640px) {
  nav { padding: 0.75rem 1rem; }
  .logo-text { font-size: 1.4rem; }
  .nav-links { gap: 0.25rem; flex-direction: column; align-items: flex-end; }
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-cta { padding: 0.35rem 0.75rem; }
  #lang-select { padding: 0.25rem 0.4rem; font-size: 0.75rem; }
  .section, .section-inner { padding: 3.5rem 1.25rem; }
  .hero { margin: 3rem auto 3rem; }
  .section-label { font-size: 1rem; }
  .section-title { font-size: 1.2rem; }
  .pricing-price { font-size: 1.8rem; }
  #em { font-size: var(--fs-base); }
  .feature-list { grid-template-columns: 1fr; }
  .lang-grid { grid-template-columns: 1fr; }
}
