:root {
  color-scheme: light dark;
  --bg: #f4f8fc;
  --bg-elevated: #ffffff;
  --text: #0f172a;
  --text-muted: #475569;
  --accent: #0ea5e9;
  --accent-deep: #0284c7;
  --accent-soft: #e0f2fe;
  --border: #cbd5e1;
  --hero-start: #0c4a6e;
  --hero-end: #0369a1;
  --shadow: 0 18px 50px rgba(2, 132, 199, 0.12);
  --radius: 16px;
  --max: 1080px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1220;
    --bg-elevated: #111827;
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --accent: #38bdf8;
    --accent-deep: #0ea5e9;
    --accent-soft: #0c2d48;
    --border: #1e293b;
    --hero-start: #082f49;
    --hero-end: #0c4a6e;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

a { color: var(--accent-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav-menu a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a[aria-current="page"] {
  color: var(--accent-deep);
}

@media (max-width: 860px) {
  .nav {
    flex-wrap: wrap;
  }

  .nav-menu {
    order: 3;
    width: 100%;
    justify-content: center;
    padding-bottom: 0.15rem;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
}

.brand:hover { text-decoration: none; }

.brand svg { flex-shrink: 0; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.lang-link {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.35);
}

.btn-secondary {
  background: var(--bg-elevated);
  color: var(--text);
  border: 1px solid var(--border);
}

/* Hero */
.hero {
  padding: 4.5rem 0 3.5rem;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(56, 189, 248, 0.22), transparent),
    linear-gradient(180deg, color-mix(in srgb, var(--hero-start) 8%, var(--bg)), var(--bg));
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.eyebrow {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.12;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 36rem;
  margin: 0 0 1.75rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero-note {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.hero-card h2 {
  margin: 0 0 1rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.stat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.stat-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
}

.stat-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.stat-label { color: var(--text-muted); }
.stat-value { font-weight: 700; }

/* Sections */
section { padding: 3.5rem 0; }

.section-title {
  text-align: center;
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

.section-lead {
  text-align: justify;
  color: var(--text-muted);
  max-width: 40rem;
  margin: 0 auto 2.5rem;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
}

.feature {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
}

.feature-icon {
  font-size: 1.5rem;
  margin-bottom: 0.65rem;
}

.feature h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.feature p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}

@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
}

.step {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.step h3 { margin: 0 0 0.45rem; font-size: 1.05rem; }
.step p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }

/* Pricing */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

@media (max-width: 900px) {
  .pricing { grid-template-columns: 1fr; }
}

.plan {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.plan.featured {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.plan-badge {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-deep);
  background: var(--accent-soft);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.plan h3 {
  margin: 0;
  font-size: 1.35rem;
}

.plan-price {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.2;
}

.plan-period {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

.plan-pricing {
  margin: 0.35rem 0 1rem;
}

.plan-price-alt {
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.plan-price-alt strong {
  color: var(--text);
  font-weight: 700;
}

.plan ul {
  margin: 0 0 1.25rem;
  padding-left: 1.1rem;
  color: var(--text-muted);
  flex: 1;
}

.plan li { margin-bottom: 0.4rem; }

.plan .btn {
  width: 100%;
  margin-top: auto;
  text-align: center;
  box-sizing: border-box;
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--hero-start), var(--hero-end));
  color: #f8fafc;
  border-radius: calc(var(--radius) + 6px);
  padding: 2.5rem 2rem;
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.cta-band p {
  margin: 0 auto 1.5rem;
  max-width: 32rem;
  color: #e2e8f0;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--hero-start);
  box-shadow: none;
}

/* Contact */
.contact-section {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 1.25rem;
  align-items: start;
}

.contact-card--solo {
  max-width: 28rem;
  margin: 0 auto;
}

.contact-grid:has(.contact-card--solo) {
  grid-template-columns: 1fr;
}

@media (max-width: 760px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
}

.contact-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

.contact-card p {
  margin: 0;
}

.contact-card a {
  color: var(--accent-deep);
  font-weight: 600;
}

.contact-note {
  margin-top: 0.75rem !important;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-note a {
  font-weight: 500;
}

.legal-list {
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.legal-list div {
  display: grid;
  gap: 0.15rem;
}

.legal-list dt {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.legal-list dd {
  margin: 0;
  line-height: 1.45;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.92rem;
  background: var(--bg-elevated);
}

.footer-layout {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .footer-layout {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

.footer-brand {
  margin: 0;
  font-weight: 700;
  color: var(--text);
}

.footer-company {
  display: grid;
  gap: 0.75rem;
}

.footer-legal {
  margin: 0;
  max-width: 40rem;
}

.footer-email {
  margin: 0;
}

.footer-email a {
  font-weight: 600;
}

.footer-vat {
  margin: 0;
  max-width: 40rem;
  font-size: 0.85rem;
  line-height: 1.45;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.pricing-legal {
  margin: 1.5rem auto 0;
  max-width: 42rem;
  text-align: justify;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-content: start;
}

/* Legal / privacy pages */
body.legal-page {
  margin: 0;
}

.legal-page-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.25rem 2rem;
}

.legal-page-main h1 { font-size: 1.75rem; margin-bottom: 0.25rem; }
.legal-page-main h2 { font-size: 1.15rem; margin-top: 2rem; }
.legal-page-main h3 { font-size: 1rem; margin-top: 1.25rem; }
.legal-page-main .meta { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 2rem; }
.legal-page-main ul { padding-left: 1.25rem; }
.legal-page-main code {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  background: color-mix(in srgb, var(--border) 50%, transparent);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

/* Obojestranska poravnava vsebinskega teksta */
main p,
main li,
main dd,
.site-footer p,
.site-footer dd,
.legal-page-main p,
.legal-page-main li,
.feature p,
.step p,
.contact-card p,
.contact-note,
.hero-lead,
.hero-note {
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}
