:root {
  --bg-soft: #f8fafc;
  --dark-overlay: rgba(2,6,23,0.75);
  --dark-overlay-strong: rgba(2,6,23,0.9);

  --accent: #1fd1ff;
  --accent-dark: #0ea5c6;

  --text-main: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --card: #ffffff;
}

/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, system-ui, sans-serif;
  background: var(--bg-soft);
  color: var(--text-main);
  line-height: 1.7;
}

/* HEADER */

header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 20;
  transition: all 0.3s ease;
}

/* Kada NIJE transparent */
header.scrolled {
  background: rgba(2,6,23,0.9);
  backdrop-filter: blur(8px);
}

/* Kada je preko hero */
header.transparent {
  background: transparent;
  backdrop-filter: none;
}

header,
header nav,
header nav div,
header nav strong {
  cursor: default;
}

header nav a {
  cursor: pointer;
}

nav {
  max-width: 1200px;
  margin: auto;
  padding: 1.2rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav strong {
  color: white;
  font-size: 1.05rem;
}

nav a {
  color: #cbd5f5;
  margin-left: 1.2rem;
  text-decoration: none;
  font-size: 0.9rem;
}

/* HERO */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 0 1.5rem;

  background-image:
    linear-gradient(
      var(--dark-overlay),
      var(--dark-overlay-strong)
    ),
    url("./images/dashboard.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-content {
  max-width: 900px;
  margin-top: 60px;
  padding-bottom: 3rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  letter-spacing: -0.02em;
}

.hero p {
  margin-top: 1.5rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  color: #cbd5f5;
  font-size: 1.05rem;
}

.highlight {
  color: var(--accent);
}

.cta {
  margin-top: 3rem;
  display: inline-block;
  background: var(--accent);
  color: #021018;
  padding: 1rem 1.8rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
}

/* SECTIONS */

.container {
  max-width: 1200px;
  margin: auto;
  padding: 5rem 1.5rem;
}

.container.narrow {
  max-width: 900px;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2rem;
  letter-spacing: -0.02em;
}

.section-title p {
  margin-top: 0.7rem;
  color: var(--text-muted);
}

/* CARDS */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--card);
  padding: 2.2rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 25px rgba(2,6,23,0.05);
}

.card h3 {
  margin-bottom: 0.8rem;
}

.card p + p {
  margin-top: 1.2rem;
}

.card p:first-of-type {
  margin-bottom: 1.2rem;
  font-weight: 500;
}

.faq-item {
  background: var(--card);
  padding: 2.2rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 25px rgba(2,6,23,0.05);
}

/* FORM */

form {
  max-width: 520px;
  margin: auto;
}

form input,
form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
}

form button {
  width: 100%;
  background: #0f172a;
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
}

/* Footer */
.site-footer {
  background: radial-gradient(
    circle at top,
    #1e293b,
    #020617
  );
  color: #e5e7eb;
  padding: 3rem 1.5rem;
  text-align: center;
}

.footer-inner {
  max-width: 700px;
  margin: auto;
}

.site-footer h3 {
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
  color: white;
}

.footer-email {
  margin-bottom: 1.6rem;
}

.footer-email a {
  color: #c7d2fe;
  font-size: 1.05rem;
  text-decoration: none;
}

.footer-links {
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  margin: 0 0.3rem;
}

.footer-links span {
  color: #475569;
}

.footer-copy {
  font-size: 0.9rem;
  color: #cbd5f5;
  margin-bottom: 1.5rem;
}

.footer-address {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.6;
}

/* HAMBURGER */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: white;
  transition: 0.3s ease;
}

/* MOBILE MENU */

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 130px;
  height: 100vh;

  background: var(--accent);
  border-left: 3px solid #000;

  padding: 120px 2rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* sve desno */
  transition: 0.35s ease;
  z-index: 40;

  box-shadow: -10px 0 30px rgba(0,0,0,0.25);
}

.mobile-menu.active {
  right: 0;
}

/* GORNJI CLOSE DEO */
.mobile-menu-header {
  position: absolute;
  top: 1.2rem;
  right: 2rem;
}

/* Close hamburger crni */
.close-menu span {
  background: #000;
}

/* Linkovi */
.mobile-links {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.mobile-links a {
  color: #000;
  text-decoration: none;
  font-size: 1.1rem;
  margin-bottom: 1.6rem;
  font-weight: 600;
}

/* LEGAL PAGE SPACING */

.legal h1 {
  margin-bottom: 2rem;
  font-size: 2.2rem;
}

.legal h3 {
  margin-top: 2.5rem;
  margin-bottom: 0.8rem;
  font-size: 1.25rem;
}

.legal p {
  margin-bottom: 1.2rem;
}

.legal ul {
  margin: 1rem 0 1.5rem 1.5rem;
  padding-left: 1rem;
}

.legal li {
  margin-bottom: 0.6rem;
}

.legal {
  line-height: 1.8;
  padding-top: 120px;
}

/* RESPONSIVE */

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

/* MOBILE */

/* @media (max-width: 768px) {
  nav div {
    display: none;
  }

  .hero {
    padding: 7rem 1.5rem 6rem;
  }
} */
