:root {
  --bg-dark: #050813;
  --bg-mid: #0b1424;
  --bg-accent: #123552;
  --text-main: #e5ecff;
  --text-muted: #9aa4c6;
  --primary: #2d7dff;
  --primary-soft: rgba(45, 125, 255, 0.12);
  --border-soft: rgba(255, 255, 255, 0.08);
}

/* Global */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-dark);
  /* 4K friendly tech background */
  background-image:
    radial-gradient(circle at 0% 0%, rgba(45, 125, 255, 0.25), transparent 55%),
    radial-gradient(circle at 100% 0%, rgba(18, 53, 82, 0.8), transparent 55%),
    radial-gradient(circle at 50% 100%, rgba(3, 199, 244, 0.18), transparent 55%),
    linear-gradient(to bottom, #050813 0%, #02030a 60%, #000000 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Layout helpers */

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header / nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: linear-gradient(
    to bottom,
    rgba(5, 8, 19, 0.95),
    rgba(5, 8, 19, 0.85),
    transparent
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 15px;
  color: #ffffff;
}

.brand-badge {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #ffffff, #2d7dff);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #050813;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}

.nav-links a {
  padding: 6px 0;
  position: relative;
  color: var(--text-muted);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2d7dff, #03c7f4);
  transition: width 0.2s ease;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-links a.active {
  color: #ffffff;
}

.nav-links a.active::after,
.nav-links a:hover::after {
  width: 100%;
}

/* Hero (početna) */

.hero {
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
}

.hero-inner {
  text-align: center;
  width: 100%;
  padding: 48px 0 52px;
}

.hero-logo {
  margin: 0 auto 26px;
  max-width: 260px;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.85));
}

.hero-kicker {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.hero-title {
  font-size: clamp(28px, 4vw, 34px);
  font-weight: 600;
  margin: 0 0 12px;
}

.hero-subtitle {
  max-width: 520px;
  margin: 0 auto 28px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

.hero-tags {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 34px;
}

.tag-pill {
  border-radius: 999px;
  padding: 6px 14px;
  border: 1px solid var(--border-soft);
  background: radial-gradient(circle at 0 0, rgba(45, 125, 255, 0.24), transparent);
  font-size: 12px;
  color: var(--text-muted);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  font-size: 12px;
  color: var(--text-muted);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #1bcf83;
  box-shadow: 0 0 10px rgba(27, 207, 131, 0.7);
}

/* Stranice (O nama / Kontakt) */

.main-page {
  padding: 42px 0 56px;
}

.page-title {
  font-size: 26px;
  margin: 0 0 10px;
}

.page-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.page-lead {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 14px;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 32px;
  margin-top: 32px;
}

@media (max-width: 880px) {
  .page-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.page-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-main);
}

.page-text p {
  margin: 0 0 14px;
}

.page-text ul {
  margin: 0 0 14px 18px;
  padding: 0;
}

.page-text li {
  margin-bottom: 6px;
}

.side-card {
  border-radius: 18px;
  padding: 18px 18px 16px;
  background: radial-gradient(
      circle at 0 0,
      rgba(45, 125, 255, 0.18),
      transparent 52%
    ),
    rgba(5, 8, 19, 0.88);
  border: 1px solid var(--border-soft);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.8);
  font-size: 13px;
  color: var(--text-muted);
}

.side-card h3 {
  margin: 0 0 10px;
  font-size: 14px;
  color: #ffffff;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.badge-soft {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.02);
  font-size: 11px;
}

/* Kontakt forma (glassmorphism) */

.contact-wrapper {
  margin-top: 30px;
  max-width: 560px;
}

.form-card {
  border-radius: 22px;
  padding: 22px 20px 20px;
  background: radial-gradient(
      circle at 0 0,
      rgba(45, 125, 255, 0.2),
      transparent 55%
    ),
    rgba(5, 10, 26, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.form-header {
  margin-bottom: 14px;
}

.form-header p {
  margin: 3px 0 0;
  font-size: 13px;
  color: var(--text-muted);
}

.form-group {
  margin-bottom: 14px;
}

label {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
  color: var(--text-main);
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 9px 11px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(3, 8, 18, 0.9);
  color: var(--text-main);
  font: inherit;
}

input::placeholder,
textarea::placeholder {
  color: rgba(154, 164, 198, 0.9);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  background: linear-gradient(135deg, #2d7dff, #03c7f4);
  color: #050813;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.75);
}

button[type="submit"]:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

button[type="submit"]:active {
  transform: translateY(0);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.8);
}

/* Footer */

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 14px 0 18px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  background: radial-gradient(
      circle at 50% -60%,
      rgba(45, 125, 255, 0.25),
      transparent 60%
    ),
    rgba(2, 5, 12, 0.96);
}

.footer span {
  color: #ffffff;
}

/* Responsive tweaks */

@media (max-width: 640px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .hero-inner {
    padding-top: 36px;
  }
}
