* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #ffffff;
  color: #1f1f2e;
  line-height: 1.6;
}

a {
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.22), transparent 30%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.16), transparent 24%),
    linear-gradient(135deg, #460645 0%, #ff5450 100%);
  color: #fff;
  padding-bottom: 60px;
  background-image: url(images/hero.png);
  background-size: cover;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* podesavaj 0.3–0.6 */
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.nav-btn {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: 0.3s ease;
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.28);
}

.hero-content {
  text-align: center;
  padding-top: 70px;
}

.badge {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.22);
  margin-bottom: 22px;
  font-size: 0.95rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.05;
  font-weight: 800;
  max-width: 860px;
  margin: 0 auto 18px;
}

.hero p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.08rem;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 16px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  border: none;
  font-size: 0.98rem;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: #ffffff;
  color: #7c3aed;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.hero-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 56px;
}

.mini-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 22px;
  padding: 22px 16px;
  backdrop-filter: blur(12px);
}

.mini-card span {
  display: block;
  font-size: 1.9rem;
  margin-bottom: 8px;
}

.mini-card p {
  font-size: 0.98rem;
  font-weight: 600;
}

.section {
  padding: 90px 0;
}

.section-heading {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 46px;
}

.section-heading span {
  display: inline-block;
  color: #ec4899;
  font-weight: 700;
  margin-bottom: 10px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin-bottom: 12px;
}

.section-heading p {
  color: #5f6475;
}

.preview-grid,
.steps-grid,
.features-grid,
.future-grid {
  display: grid;
  gap: 24px;
}

.preview-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.preview-card {
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(27, 31, 59, 0.08);
  transition: transform 0.25s ease;
}

.preview-card:hover,
.feature-card:hover,
.step-card:hover,
.future-card:hover {
  transform: translateY(-6px);
}

.preview-top {
  height: 210px;
}

.gradient-one {
  background: linear-gradient(135deg, #8b5cf6, #ec4899, #f59e0b);
}

.gradient-two {
  background: linear-gradient(135deg, #ec4899, #fb7185, #f97316);
}

.gradient-three {
  background: linear-gradient(135deg, #3b82f6, #06b6d4, #8b5cf6);
}

.preview-body {
  padding: 24px;
}

.preview-body h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.preview-body p {
  color: #646b7c;
}

.soft-bg {
  background: #faf7ff;
}

.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-card {
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 18px 40px rgba(27, 31, 59, 0.07);
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
}

.step-card h3 {
  margin-bottom: 10px;
}

.step-card p {
  color: #666d7d;
}

.features-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card {
  background: #fff;
  border: 1px solid #f0eefe;
  border-radius: 24px;
  padding: 28px 22px;
  box-shadow: 0 10px 28px rgba(23, 25, 49, 0.05);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.feature-card p {
  color: #666d7d;
}

.future-section {
  background: linear-gradient(180deg, #ffffff 0%, #fff5fb 100%);
}

.future-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.future-card {
  padding: 28px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid #f2e8ff;
  box-shadow: 0 12px 26px rgba(29, 24, 54, 0.05);
}

.future-card.active {
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  color: #fff;
}

.future-card h3 {
  margin-bottom: 10px;
}

.cta-section {
  padding: 90px 0;
}

.cta-box {
  background: linear-gradient(135deg, #111827, #312e81);
  color: #fff;
  border-radius: 32px;
  padding: 42px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.cta-label {
  display: inline-block;
  color: #f9a8d4;
  font-weight: 700;
  margin-bottom: 10px;
}

.cta-box h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin-bottom: 14px;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-form {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 24px;
  border-radius: 24px;
  backdrop-filter: blur(10px);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: none;
  outline: none;
  margin-bottom: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  font-family: inherit;
  font-size: 0.96rem;
}

.form-btn {
  width: 100%;
  margin-top: 2px;
}

.form-message {
  margin-top: 12px;
  font-size: 0.95rem;
  color: #d1fae5;
}

.footer {
  padding: 26px 0 40px;
  background: #fff;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid #efeff5;
  padding-top: 26px;
}

.footer h3 {
  margin-bottom: 6px;
}

.footer p {
  color: #6b7280;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #4b5563;
  font-weight: 600;
}

@media (max-width: 992px) {

  .preview-grid,
  .steps-grid,
  .features-grid,
  .future-grid,
  .hero-cards,
  .cta-box {
    grid-template-columns: 1fr 1fr;
  }

  .wa-contact-left-column {
    display: none;
  }

  .wa-contact-mobile {
    display: block !important;
  }

  .logo {
    font-size: 1.1rem;
  }

  .hero {
    background-image: url(images/hero2.png);
    background-size: cover;
  }
}

@media (max-width: 768px) {
  .navbar {
    gap: 16px;
  }

  .preview-grid,
  .steps-grid,
  .features-grid,
  .future-grid,
  .hero-cards,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding-top: 42px;
  }

  .section {
    padding: 72px 0;
  }

  .cta-box {
    padding: 28px;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .wa-contact-left-column {
    display: none;
  }

  .wa-contact-mobile {
    display: block !important;
  }

  .wa-contact-left-column {
    display: none;
  }

  .wa-contact-mobile {
    display: block !important;
  }

  .logo {
    font-size: 1.1rem;
  }

  .hero {
    background-image: url(images/hero2.png);
    background-size: cover;
  }
}

.wa-contact-mobile {
  display: none;
}

.wa-contact-items {
  text-align: center;
}

.phone-real {
  position: relative;
  width: 340px;
  margin: 40px auto;
}

.phone-img {
  width: 100%;
  display: block;
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.phone-screen {
  position: absolute;
  top: 10.2%;
  left: 21.2%;
  width: 53.8%;
  height: 74.8%;
  overflow: hidden;
  border-radius: 8px;
  z-index: 1;
  background: #000;
}

.phone-screen iframe {
  width: 364px;
  /* fiksna mobilna širina */
  height: 667px;
  /* tipična mobilna visina */
  border: none;
  transform: scale(0.52);
  transform-origin: top left;
  display: block;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: white !important;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 600;
  text-decoration: none !important;
  transition: 0.3s;
}

.whatsapp-btn:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
}