/* Ozvi.sk landing — styles.
   Colors ported verbatim from the frozen prototype (ArchivedContent/ozvi-landing.jsx). */

:root {
  --c-teal: #2563eb;
  --c-teal-dark: #1d4ed8;
  --c-teal-light: #eff4ff;
  --c-accent: #f59e0b;
  --c-accent-dark: #d97706;
  --c-dark: #0f172a;
  --c-text: #1e293b;
  --c-text-secondary: #64748b;
  --c-warm-gray: #f8fafc;
  --c-border: #e2e8f0;
  --c-white: #ffffff;
  --container: 960px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  color: var(--c-text);
  background: var(--c-white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p {
  margin: 0;
}

a {
  color: inherit;
}

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

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

.section {
  padding: 80px 24px;
}

.section__inner {
  max-width: var(--container);
  margin: 0 auto;
}

.section--white {
  background: var(--c-white);
}
.section--warm {
  background: var(--c-warm-gray);
}

.center {
  text-align: center;
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

/* Typography -------------------------------------------------------------- */

.h1 {
  font-size: 44px;
  font-weight: 800;
  color: var(--c-dark);
  line-height: 1.15;
  max-width: 700px;
  margin: 0 auto 20px;
}

.h2 {
  font-size: 34px;
  font-weight: 800;
  color: var(--c-dark);
  line-height: 1.2;
  margin: 0;
}

.lead {
  font-size: 19px;
  color: var(--c-text-secondary);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 36px;
}

.prose {
  font-size: 17px;
  color: var(--c-text);
  line-height: 1.7;
  margin: 0 0 16px;
}

.source {
  font-size: 11px;
  color: var(--c-text-secondary);
  opacity: 0.6;
  margin: 12px 0 0;
}

.fineprint {
  font-size: 12px;
  color: var(--c-text-secondary);
  opacity: 0.7;
  margin-top: 16px;
  text-align: center;
}

/* Badge ------------------------------------------------------------------- */

.badge {
  display: inline-block;
  background: var(--c-teal-light);
  color: var(--c-teal);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

/* Buttons ----------------------------------------------------------------- */

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
  font-family: inherit;
}

.btn--primary {
  background: var(--c-teal);
  color: var(--c-white);
}
.btn--primary:hover {
  background: var(--c-teal-dark);
}

.btn--secondary {
  background: transparent;
  color: var(--c-teal);
  border: 2px solid var(--c-teal);
}
.btn--secondary:hover {
  background: var(--c-warm-gray);
}

.btn--accent {
  background: var(--c-accent);
  color: var(--c-white);
}
.btn--accent:hover {
  background: var(--c-accent-dark);
}

.btn--block {
  width: 100%;
  text-align: center;
  padding: 12px 0;
}

.btn--lg {
  font-size: 17px;
  padding: 16px 40px;
}

/* Nav --------------------------------------------------------------------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: all 0.3s;
  padding: 0 24px;
}

.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
}

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

.logo {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-weight: 800;
  font-size: 22px;
  text-decoration: none;
}
.logo__name {
  color: var(--c-teal);
}
.logo__tld {
  color: var(--c-accent);
}

.nav .btn {
  padding: 8px 20px;
  font-size: 14px;
}

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

.hero {
  background: linear-gradient(170deg, var(--c-teal-light) 0%, var(--c-white) 60%);
  padding: 140px 24px 80px;
  text-align: center;
}

.hero__inner {
  max-width: var(--container);
  margin: 0 auto;
}

/* Stat cards (Problem) ---------------------------------------------------- */

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

.stat-card {
  background: var(--c-warm-gray);
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
}
.stat-card__num {
  font-size: 32px;
  font-weight: 800;
  color: var(--c-teal);
  margin-bottom: 8px;
}
.stat-card__label {
  font-size: 14px;
  color: var(--c-text-secondary);
  line-height: 1.5;
}

.narrow {
  max-width: 640px;
}

/* How it works ------------------------------------------------------------ */

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step {
  background: var(--c-white);
  border-radius: 14px;
  padding: 32px 20px 28px;
  position: relative;
}
.step__num {
  position: absolute;
  top: -14px;
  left: 20px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--c-teal);
  color: var(--c-white);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step__icon {
  font-size: 28px;
  margin-bottom: 12px;
}
.step__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--c-dark);
  margin: 0 0 8px;
}
.step__desc {
  font-size: 14px;
  color: var(--c-text-secondary);
  line-height: 1.6;
}

/* Phone mockup ------------------------------------------------------------ */

.demo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.checklist__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--c-text);
}
.tick {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--c-teal);
  color: var(--c-white);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.phone-wrap {
  display: flex;
  justify-content: center;
}
.phone {
  width: 300px;
  background: var(--c-dark);
  border-radius: 32px;
  padding: 12px 12px 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}
.phone__notch {
  width: 60px;
  height: 4px;
  border-radius: 4px;
  background: #444;
  margin: 4px auto 12px;
}
.phone__screen {
  background: var(--c-white);
  border-radius: 22px;
  padding: 16px 12px;
  min-height: 420px;
}
.phone__header {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-text-secondary);
  padding: 4px 0 16px;
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 12px;
}
.thread {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.msg__time {
  font-size: 10px;
  color: #999;
  text-align: center;
  margin-bottom: 6px;
  font-weight: 500;
}
.msg__row {
  display: flex;
  justify-content: flex-start;
}
.msg__row--customer {
  justify-content: flex-end;
}
.bubble {
  background: #e8f5e8;
  color: var(--c-text);
  border-radius: 16px 16px 16px 4px;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.5;
  max-width: 85%;
}
.bubble--customer {
  background: #007aff;
  color: #fff;
  border-radius: 16px 16px 4px 16px;
}
.bubble--emoji {
  background: none;
  font-size: 44px;
  line-height: 1;
  padding: 4px 8px;
  max-width: none;
}

/* Why it works ------------------------------------------------------------ */

.reason {
  border: 1px solid var(--c-border);
  border-radius: 14px;
  padding: 32px 24px;
}
.reason__stat {
  font-size: 20px;
  font-weight: 700;
  color: var(--c-teal);
  margin-bottom: 8px;
  line-height: 1.2;
}
.reason__stat-num {
  font-size: 35px;
  font-weight: 800;
  line-height: 1;
}
.reason__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--c-dark);
  margin: 0 0 10px;
}
.reason__desc {
  font-size: 14px;
  color: var(--c-text-secondary);
  line-height: 1.6;
}

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

.compare {
  max-width: 760px;
  margin: 0 auto;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  overflow: hidden;
}
.compare__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--c-border);
}
.compare__row:last-child {
  border-bottom: none;
}
.compare__head {
  background: var(--c-warm-gray);
}
.compare__cell {
  padding: 18px 20px;
  font-size: 15px;
  color: var(--c-text-secondary);
  line-height: 1.5;
}
.compare__cell--ozvi {
  font-weight: 600;
  color: var(--c-dark);
  background: var(--c-teal-light);
}
.compare__head .compare__cell {
  font-size: 14px;
  font-weight: 700;
}
.compare__head .compare__cell--ozvi {
  font-weight: 800;
  color: var(--c-teal);
}

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

.plan {
  border: 1px solid var(--c-border);
  border-radius: 16px;
  padding: 32px 24px 28px;
  position: relative;
  background: var(--c-white);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.plan--featured {
  border: 2px solid var(--c-teal);
}
.plan__tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-teal);
  color: var(--c-white);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 16px;
  border-radius: 20px;
  white-space: nowrap;
}
.plan__name {
  font-size: 18px;
  font-weight: 700;
  color: var(--c-dark);
  margin: 0 0 4px;
}
.plan__price {
  margin: 12px 0 16px;
}
.plan__price b {
  font-size: 40px;
  font-weight: 800;
  color: var(--c-dark);
}
.plan__price span {
  font-size: 15px;
  color: var(--c-text-secondary);
}
.plan__size {
  font-size: 15px;
  font-weight: 600;
  color: var(--c-dark);
  margin-bottom: 6px;
}
.plan__when {
  font-size: 14px;
  color: var(--c-text-secondary);
  line-height: 1.5;
  margin: 0 0 20px;
}
.plan__extra {
  font-size: 13px;
  color: var(--c-text-secondary);
  line-height: 1.5;
  margin: 0 0 20px;
  padding-top: 16px;
  border-top: 1px solid var(--c-border);
}
.plan .btn {
  margin-top: auto;
}

.included {
  max-width: 640px;
  margin: 32px auto 0;
  background: var(--c-warm-gray);
  border-radius: 16px;
  padding: 28px 32px;
}
.included__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-dark);
  margin-bottom: 16px;
}
.included__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px 24px;
}
.included__item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--c-text);
  line-height: 1.4;
}
.included__item span {
  color: var(--c-teal);
  font-weight: 700;
  flex-shrink: 0;
}
.pricing-note {
  text-align: center;
  font-size: 13px;
  color: var(--c-text-secondary);
  opacity: 0.8;
  margin: 20px auto 0;
  max-width: 560px;
}

/* FAQ (native <details>) -------------------------------------------------- */

.faq {
  max-width: 640px;
  margin: 0 auto;
}
.faq__item {
  border-bottom: 1px solid var(--c-border);
  padding: 20px 0;
}
.faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 600;
  color: var(--c-dark);
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--c-text-secondary);
  margin-left: 16px;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq__item[open] summary::after {
  transform: rotate(45deg);
}
.faq__answer {
  font-size: 15px;
  color: var(--c-text-secondary);
  line-height: 1.6;
  margin: 12px 0 0;
}

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

.final {
  background: linear-gradient(170deg, var(--c-teal) 0%, var(--c-teal-dark) 100%);
  padding: 80px 24px;
  text-align: center;
}
.final__inner {
  max-width: 600px;
  margin: 0 auto;
}
.final h2 {
  font-size: 34px;
  font-weight: 800;
  color: var(--c-white);
  line-height: 1.2;
  margin: 0 0 12px;
}
.final p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin: 0 0 32px;
}
.final__note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 16px;
}

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

.footer {
  background: var(--c-dark);
  padding: 40px 24px;
  text-align: center;
}
.footer .logo {
  justify-content: center;
  font-size: 18px;
  margin-bottom: 12px;
}
.footer .logo__name {
  color: var(--c-white);
}
.footer__meta {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}
.footer__links {
  font-size: 13px;
  margin: 10px 0 0;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.footer__links a,
.footer__links button {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: underline;
}

.footer__links button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

/* Contact form ------------------------------------------------------------ */

.contact__lead {
  font-size: 17px;
  color: var(--c-text-secondary);
  line-height: 1.6;
  max-width: 520px;
  margin: 12px auto 0;
}
.form {
  max-width: 560px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-dark);
}
.field__input {
  font-family: inherit;
  font-size: 15px;
  color: var(--c-text);
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 10px;
  padding: 12px 14px;
  width: 100%;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.field__input:focus {
  outline: none;
  border-color: var(--c-teal);
  box-shadow: 0 0 0 3px var(--c-teal-light);
}
textarea.field__input {
  resize: vertical;
  min-height: 96px;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--c-text-secondary);
  line-height: 1.5;
}
.consent input {
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--c-teal);
}
.consent a {
  color: var(--c-teal);
  text-decoration: underline;
}
.form__submit {
  align-self: flex-start;
}
/* Honeypot: kept in the DOM for bots, moved off-screen for humans. */
.form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form__status {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  min-height: 1.2em;
}
.form__status--pending {
  color: var(--c-text-secondary);
}
.form__status--ok {
  color: #15803d;
  font-weight: 600;
}
.form__status--error {
  color: #b91c1c;
  font-weight: 600;
}

/* Contact modal (native <dialog>) ----------------------------------------- */

.modal {
  padding: 0;
  border: none;
  background: transparent;
  max-width: 92vw;
  max-height: 90vh;
}
.modal::backdrop {
  background: rgba(15, 23, 42, 0.55);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.modal__box {
  width: min(560px, 92vw);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--c-white);
  border-radius: 18px;
  padding: 24px 28px 30px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}
.modal__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.modal__badge {
  margin: 0;
}
.modal__close {
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: var(--c-text-secondary);
  cursor: pointer;
  padding: 0 4px;
  border-radius: 8px;
}
.modal__close:hover {
  color: var(--c-dark);
}
.modal__title {
  font-size: 26px;
  font-weight: 800;
  color: var(--c-dark);
  margin: 0 0 8px;
}
.modal .contact__lead {
  margin: 0;
  max-width: none;
}
.modal .form {
  margin-top: 22px;
}
.modal .form__submit {
  align-self: stretch;
  text-align: center;
}

/* Legal / content page ---------------------------------------------------- */

.nav--solid {
  position: static;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
}
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 72px;
}
.legal h1 {
  font-size: 32px;
  font-weight: 800;
  color: var(--c-dark);
  line-height: 1.2;
  margin: 0 0 8px;
}
.legal__meta {
  font-size: 14px;
  color: var(--c-text-secondary);
  margin: 0 0 32px;
}
.legal h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--c-dark);
  margin: 40px 0 12px;
}
.legal h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--c-dark);
  margin: 24px 0 8px;
}
.legal p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-text);
  margin: 0 0 14px;
}
.legal ul {
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-text);
  margin: 0 0 14px;
  padding-left: 22px;
}
.legal li {
  margin-bottom: 6px;
}
.legal a {
  color: var(--c-teal);
  text-decoration: underline;
}
.legal__table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 16px;
  font-size: 15px;
}
.legal__table th,
.legal__table td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border: 1px solid var(--c-border);
  line-height: 1.5;
}
.legal__table th {
  background: var(--c-warm-gray);
  font-weight: 700;
  color: var(--c-dark);
}

/* Utilities --------------------------------------------------------------- */

.mt-16 {
  margin-top: 16px;
}

/* Cookie consent banner --------------------------------------------------- */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--c-dark);
  color: var(--c-white);
  padding: 16px 24px;
  z-index: 100;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.2);
}

.cookie-banner__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cookie-banner__text {
  flex: 1;
  min-width: 200px;
  font-size: 0.875rem;
  margin: 0;
}

.cookie-banner__text a {
  color: var(--c-accent);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-banner__btn {
  padding: 8px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: inherit;
  border: none;
  line-height: 1;
}

.cookie-banner__btn--accept {
  background: var(--c-teal);
  color: var(--c-white);
}

.cookie-banner__btn--accept:hover {
  background: var(--c-teal-dark);
}

.cookie-banner__btn--decline {
  background: transparent;
  color: var(--c-white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.cookie-banner__btn--decline:hover {
  background: rgba(255, 255, 255, 0.08);
}

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

@media (max-width: 860px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .demo {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .compare__head {
    display: none;
  }
  .compare__row {
    grid-template-columns: 1fr;
  }
  .compare__cell[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-bottom: 4px;
    color: var(--c-text-secondary);
  }
  .compare__cell--ozvi[data-label]::before {
    color: var(--c-teal);
  }
  .compare__cell {
    border-bottom: 1px solid var(--c-border);
  }
  .compare__cell--ozvi {
    border-bottom: none;
  }
}

@media (max-width: 680px) {
  .section {
    padding: 56px 20px;
  }
  .hero {
    padding: 112px 20px 56px;
  }
  .h1 {
    font-size: 32px;
  }
  .h2 {
    font-size: 26px;
  }
  .lead {
    font-size: 17px;
  }
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .form__row {
    grid-template-columns: 1fr;
  }
  .final h2 {
    font-size: 26px;
  }
}
