*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:Inter;
}

body{
  background:#070A12;
  color:#fff;
  overflow-x:hidden;
  animation:pageIn 0.6s ease;
}


@keyframes pageIn{
  from{opacity:0;}
  to{opacity:1;}
}

/* CURSOR */
.cursor{
  width:15px;
  height:15px;
  border-radius:50%;
  background:#00f7ff;
  position:fixed;
  pointer-events:none;
  transform:translate(-50%,-50%);
  mix-blend-mode:difference;
}


/* ================= NAVBAR ================= */
header{
  position:fixed;
  top:0;
  width:100%;
  padding:18px 8%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  transition:0.4s;
  z-index:100;
}

#navbar.scrolled{
  background:rgba(255,255,255,0.05);
  backdrop-filter:blur(20px);
  border-bottom:1px solid rgba(255,255,255,0.08);
}

.logo{
  font-weight:700;
  letter-spacing:1px;
  align-items: center;
  justify-content: center; 
}

/* NAV LINKS */
nav a{
  margin-left:20px;
  color:#aaa;
  text-decoration:none;
  position:relative;
  transition:0.3s;
}

/* hover underline animation */
nav a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-5px;
  width:0%;
  height:2px;
  background:#00f7ff;
  transition:0.3s;
}

nav a:hover{
  color:#fff;
}

nav a:hover::after{
  width:100%;
}

/* CTA button nav */
nav .cta{
  padding:8px 15px;
  border-radius:20px;
  background:#00f7ff;
  color:#000;
  font-weight:600;
}

/* ================= HERO ================= */
.hero{
  height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:0 8%;
}

.hero-content{
  animation:fadeIn 1.2s ease;
}

.tag{
  display:inline-block;
  padding:6px 12px;
  background:rgba(0,247,255,0.1);
  border:1px solid rgba(0,247,255,0.3);
  border-radius:20px;
  margin-bottom:20px;
  font-size:12px;
}

.hero h1{
  font-size:64px;
  line-height:1.1;
}

.hero span{
  color:#00f7ff;
}

.hero p{
  margin-top:15px;
  color:#b8c0cc;
  max-width:500px;
  margin-left:auto;
  margin-right:auto;
}

/* HERO BUTTONS */
.hero-buttons{
  margin-top:25px;
}

.hero-buttons button{
  padding:14px 22px;
  margin:5px;
  border:none;
  border-radius:12px;
  cursor:pointer;
  transition:0.3s;
}

.hero-buttons button:hover{
  transform:translateY(-3px);
}

.hero-buttons .secondary{
  background:transparent;
  border:1px solid #00f7ff;
  color:#00f7ff;
}

/* fade animation */
@keyframes fadeIn{
  from{opacity:0; transform:translateY(20px);}
  to{opacity:1; transform:translateY(0);}
}

/* SECTIONS */
.section{
  padding:120px 8%;
}

h2{
  margin-bottom:50px;
  text-align: center;
  font-size: 40px;
}

.services-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:30px;
}

.service-card{
  padding:35px;
  border-radius:25px;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
  backdrop-filter:blur(25px);
  transition:0.6s ease;
  position:relative;
  overflow:hidden;
}

/* glow effect background */
.service-card::before{
  content:"";
  position:absolute;
  width:200px;
  height:200px;
  background:#00f7ff;
  filter:blur(120px);
  opacity:0;
  top:-50px;
  right:-50px;
  transition:0.6s ease;
}

.service-card:hover::before{
  opacity:0.2;
}

.service-card h3{
  font-size:22px;
  margin-bottom:15px;
}

.service-card p{
  font-size:15px;
  line-height:1.7;
  color:#b8c0cc;
}

/* hover premium motion */
.service-card:hover{
  transform:translateY(-15px) scale(1.02);
  border-color:#00f7ff;
  box-shadow:0 20px 60px rgba(0,247,255,0.12);
}

/* GRID */
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:20px;
}

/* CARDS */
.card,.price{
  padding:20px;
  border-radius:18px;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
  transition:0.4s;
}

.card:hover{
  transform:translateY(-10px);
  border-color:#00f7ff;
}

.work-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:25px;
}

/* CARD */

.tekst-rad{
  text-align: center;
  color: #b8c0cc;
  margin-bottom: 60px;
  font-size: 17px;
}



.work-card{
  position:relative;
  height:260px;
  border-radius:22px;
  overflow:hidden;
  display:block;
  text-decoration:none;
  background:#111;
  box-shadow:0 10px 30px rgba(0,0,0,0.4);
}

/* IMAGE */
.work-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:0.6s ease;
}

/* HOVER ZOOM + DARK */
.work-card:hover img{
  transform:scale(1.15);
  filter:brightness(0.5) blur(1px);
}

/* OVERLAY */
.work-overlay{
  position:absolute;
  bottom:0;
  left:0;
  width:100%;
  padding:20px;
  background:linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  transform:translateY(20px);
  opacity:0;
  transition:0.5s ease;
}

/* SHOW ON HOVER */
.work-card:hover .work-overlay{
  transform:translateY(0);
  opacity:1;
}

.work-overlay h3{
  font-size:18px;
  margin-bottom:5px;
}

.work-overlay p{
  font-size:13px;
  color:#b8c0cc;
}

/* ENTRY ANIMATION */
.work-card{
  opacity:0;
  transform:translateY(40px);
  transition:1s ease;
}

.reveal.show .work-card{
  opacity:1;
  transform:translateY(0);
}

/* PRICES */
.price img{
  width:100%;
  border-radius:10px;
  margin-bottom:10px;
}

.price.highlight{
  border:1px solid #00f7ff;
}

/* TIMELINE */
.timeline{
  position:relative;
  max-width:900px;
  margin:auto;
}

.timeline::before{
  content:"";
  position:absolute;
  width:2px;
  height:100%;
  background:#00f7ff;
  left:50%;
  transform:translateX(-50%);
}

.item{
  width:50%;
  padding:20px;
}

.left{
  text-align:right;
}

.right{
  margin-left:50%;
}

.box{
  padding:20px;
  background:rgba(255,255,255,0.04);
  border-radius:15px;
  transition:0.4s;
}

.box:hover{
  transform:scale(1.05);
  box-shadow:0 0 25px rgba(0,247,255,0.2);
}

/* ANIMATION */
.reveal{
  opacity:0;
  transform:translateY(60px);
  transition:1s ease;
}

.reveal.show{
  opacity:1;
  transform:translateY(0);
}

/* PROGRESS */
.progress{
  position:fixed;
  top:0;
  left:0;
  height:3px;
  width:0%;
  background:#00f7ff;
  z-index:999;
}

.pricing-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:25px;
  margin-top:20px;
}

/* CARD */
.price-card{
  position:relative;
  padding:30px;
  border-radius:22px;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
  transition:0.5s ease;
  overflow:hidden;
}

/* HOVER EFFECT */
.price-card:hover{
  transform:translateY(-15px) scale(1.03);
  border-color:#00f7ff;
  box-shadow:0 20px 50px rgba(0,247,255,0.15);
}

/* FEATURED CARD */
.price-card.featured{
  border:1px solid #00f7ff;
  transform:scale(1.05);
  background:rgba(0,247,255,0.05);
}

/* BADGE */
.badge{
  position:absolute;
  top:15px;
  right:15px;
  background:#00f7ff;
  color:#000;
  font-size:12px;
  padding:5px 10px;
  border-radius:20px;
  font-weight:600;
}

/* PRICE */
.price{
  font-size:32px;
  font-weight:700;
  margin:10px 0;
}

/* DESCRIPTION */
.desc{
  font-size:14px;
  color:#b8c0cc;
  line-height:1.6;
  margin-bottom:20px;
}

/* BUTTON */
.price-card button{
  width:100%;
  padding:12px;
  border:none;
  border-radius:12px;
  background:#00f7ff;
  cursor:pointer;
  font-weight:600;
  transition:0.3s;
}

.price-card button:hover{
  background:#00d0d9;
}

/* glow animation */
.price-card::before{
  content:"";
  position:absolute;
  width:200px;
  height:200px;
  background:#00f7ff;
  filter:blur(120px);
  opacity:0;
  top:-50px;
  right:-50px;
  transition:0.5s ease;
}

.price-card:hover::before{
  opacity:0.2;
}



.contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:50px;
  align-items:center;
}

/* LEFT SIDE */
.contact-info h3{
  font-size:32px;
  margin-bottom:15px;
}

.contact-info p{
  color:#b8c0cc;
  line-height:1.7;
  margin-bottom:25px;
}

.contact-card{
  padding:15px;
  margin-bottom:10px;
  border-radius:12px;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
}

/* FORM */
form{
  padding:35px;
  border-radius:25px;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.1);
  backdrop-filter:blur(25px);
  transition:0.5s;
}

form:hover{
  transform:translateY(-8px);
  border-color:#00f7ff;
  box-shadow:0 20px 60px rgba(0,247,255,0.15);
}

/* INPUTS (FLOATING LABEL STYLE) */
.input-group{
  position:relative;
  margin-bottom:20px;
}

input,textarea{
  width:100%;
  padding:16px;
  border:none;
  border-radius:12px;
  background:rgba(255,255,255,0.05);
  color:#fff;
  outline:none;
}

textarea{
  min-height:120px;
  resize:none;
}

.input-group label{
  position:absolute;
  left:15px;
  top:14px;
  color:#aaa;
  font-size:14px;
  transition:0.3s;
  pointer-events:none;
}

/* FLOAT LABEL EFFECT */
input:focus + label,
input:valid + label,
textarea:focus + label,
textarea:valid + label{
  top:-10px;
  font-size:12px;
  color:#00f7ff;
}

/* BUTTON */
button{
  width:100%;
  padding:15px;
  border:none;
  border-radius:12px;
  background:#00f7ff;
  font-weight:600;
  cursor:pointer;
  transition:0.3s;
}

button:hover{
  transform:scale(1.02);
  background:#00d7df;
}

/* HINT TEXT */
.hint{
  margin-top:10px;
  font-size:12px;
  color:#8fa3b5;
}

.bottom-nav{
  display:none;
}

.cursor{
  pointer-events: none !important;
  z-index: 0 !important;
}


/* ================= MOBILE ================= */
@media (max-width:768px) {

.desktop-nav {
  display:none;
}

  .bottom-nav{
    display:flex;
    position:fixed;
    bottom:0;
    left:0;
    width:100%;
    background:rgba(10,12,20,0.95);
    backdrop-filter:blur(20px);
    justify-content:space-around;
    padding:12px;
    border-top:1px solid rgba(255,255,255,0.08);
    z-index:9999;
  }

  .bottom-nav a{
    color:#aaa;
    text-decoration:none;
    font-size:18px;
    transition:0.3s;
  }

  .bottom-nav a:hover{
    color:#00f7ff;
  }

/* CTA NAV BUTTON */
nav .cta{
  padding:12px 18px;
}


/* ================= HERO ================= */
.hero{
  height:100vh;
  padding-top:120px;
  text-align:center;
}

.hero h1{
  font-size:34px;
  line-height:1.2;
}

.hero p{
  font-size:14px;
  margin-top:10px;
}

.hero-buttons{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top:20px;
}

.hero-buttons button{
  width:100%;
}

/* ================= GRID LAYOUTS ================= */
.services-grid,
.pricing-grid,
.work-grid,
.contact-grid{
  grid-template-columns:1fr !important;
  gap:20px;
}

.rad-h3 {
  font-size:16px;
  color: #fff;
}

/* ================= CARDS ================= */
.service-card,
.price-card,
.work-card{
  width:100%;
}

/* WORK SECTION */
.work-card{
  height:200px;
}

/* ================= CONTACT ================= */
form{
  padding:25px;
}

/* ================= TEXT OPTIMIZATION ================= */
h1{
  font-size:32px;
}

h2{
  font-size:24px;
}

p{
  font-size:14px;
  line-height:1.6;
}

/* ================= BUTTONS ================= */
button{
  font-size:14px;
  padding:12px;
}

/* ================= MOBILE CTA BAR ================= */
.mobile-cta{
  position:fixed;
  bottom:0;
  left:0;
  width:100%;
  display:flex;
  justify-content:space-around;
  padding:12px;
  background:rgba(10,12,20,0.95);
  backdrop-filter:blur(20px);
  border-top:1px solid rgba(255,255,255,0.08);
  z-index:999;
}

.mobile-cta button{
  flex:1;
  margin:0 5px;
  padding:12px;
  border:none;
  border-radius:12px;
  background:#00f7ff;
  color:#000;
  font-weight:600;
}


/* ================= INPUT UX ================= */
input,textarea{
  font-size:14px;
}

/* STEP KARTICE */
  .step-card{
    padding:25px 20px;
    border-radius:18px;
  }

  /* NASLOV U KARTICI */
  .step-card h3{
    font-size:18px;
    line-height:1.3;
    margin-bottom:10px;
  }

  /* TEKST */
  .step-card p{
    font-size:14px;
    line-height:1.8;
    color:#b8c0cc;
    word-break:normal;
    overflow-wrap:break-word;
  }

  /* HERO još bolji */
  .hero{
    padding-top:100px;
  }

  .tag{
    font-size:11px;
  }

  .hero h1{
    font-size:30px;
  }

  .hero span{
    display:block;
  }

  /* SERVICE CARD padding manji */
  .service-card{
    padding:25px;
  }

  /* TIMELINE FIX (NAJBITNIJE) */
  .timeline::before{
    left:10px;
  }

  .item{
    width:100%;
    padding-left:30px;
    padding-right:10px;
    margin-bottom:20px;
  }

  .left,
  .right{
    text-align:left;
    margin-left:0;
  }

  /* BOX full width */
  .box{
    width:100%;
  }

  /* WORK overlay uvijek vidljiv (mobile nema hover) */
  .work-overlay{
    transform:translateY(0);
    opacity:1;
  }

  /* PRICE CARD spacing */
  .price-card{
    padding:25px;
  }

  /* CONTACT text */
  .contact-info h3{
    font-size:24px;
  }

  /* INPUT spacing */
  input, textarea{
    padding:14px;
  }

  .cursor{
    display:none !important;
  }
}