/* =======================
   GLOBAL
======================= */

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #0f0f0f;
  color: #fff;
  animation: fadeIn 0.6s ease;
}

a {
  text-decoration: none;
}

/* Smooth transitions globally */
* {
  transition: all 0.3s ease;
}

/* =======================
   NAVBAR (CLEAN SAAS STYLE)
======================= */

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 15px 40px;

  background: rgba(17, 17, 17, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 45px;      /* controls size */
  width: auto;       /* keeps ratio */
  max-width: 120px;  /* prevents overflow */
  object-fit: contain;
}

.navbar nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.navbar nav a {
  color: #ccc;
  font-size: 14px;
}

.navbar nav a:hover {
  color: #fff;
}

/* =======================
   BUTTONS
======================= */

.btn-primary {
  background: linear-gradient(135deg, #ff3b3f, #ff6b6f);
  padding: 10px 18px;
  border-radius: 6px;
  color: #fff;
  box-shadow: 0 5px 20px rgba(255, 59, 63, 0.4);
  display: inline-block;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 59, 63, 0.6);
}

.btn-outline {
  border: 1px solid #ff3b3f;
  padding: 10px 18px;
  border-radius: 6px;
  color: #ff3b3f;
}

/* =======================
   HERO
======================= */

.hero {
  text-align: center;
  padding: 100px 20px;
}

.hero h1 {
  font-size: 40px;
}

.hero p {
  color: #aaa;
  margin: 20px 0;
}

/* =======================
   FEATURES
======================= */

.features {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 60px 20px;
}

.card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);

  padding: 30px;
  border-radius: 12px;
  width: 250px;
}

/* =======================
   CTA
======================= */

.cta {
  text-align: center;
  padding: 80px 20px;
}

/* =======================
   FOOTER
======================= */

.footer {
  text-align: center;
  padding: 20px;
  color: #777;
}

/* =======================
   PRELOADER
======================= */

#preloader {
  position: fixed;
  width: 100%;
  height: 100%;
  background: #0f0f0f;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loader {
  width: 50px;
  height: 50px;
  border: 4px solid #222;
  border-top: 4px solid #ff3b3f;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/* =======================
   INPUT FOCUS
======================= */

input:focus {
  outline: none;
  border: 1px solid #ff3b3f;
  box-shadow: 0 0 10px rgba(255, 59, 63, 0.4);
}

/* =======================
   SCROLL TO TOP BUTTON
======================= */

#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;

  background: #ff3b3f;
  color: #fff;
  border: none;

  padding: 12px 15px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;

  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;

  box-shadow: 0 5px 20px rgba(255, 59, 63, 0.4);
}

#scrollTopBtn.show {
  opacity: 1;
  transform: translateY(0);
}


#scrollTopBtn {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 50px;
  height: 50px;

  font-size: 20px;
  font-weight: bold;

  cursor: pointer;

  transition: all 0.3s ease;
}

/* HOVER FEEL */
#scrollTopBtn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 30px rgba(255, 59, 63, 0.6);
}

/* CLICK FEEL */
#scrollTopBtn:active {
  transform: scale(0.95);
}
/* =======================
   FADE IN ANIMATION
======================= */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* =======================
   SERVICES
======================= */

.services {
  text-align: center;
  padding: 80px 20px;
}

.service-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.service-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 25px;
  border-radius: 12px;
  width: 260px;
}

/* =======================
   PRICING
======================= */

.pricing {
  text-align: center;
  padding: 80px 20px;
}

.pricing-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.price-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 30px;
  border-radius: 12px;
  width: 260px;
}

.price {
  font-size: 32px;
  color: #ff3b3f;
  margin: 10px 0;
}

.price-card ul {
  list-style: none;
  padding: 0;
  color: #bbb;
  margin: 15px 0;
}

.price-card ul li {
  margin: 8px 0;
}

.highlight {
  border: 1px solid #ff3b3f;
  transform: scale(1.05);
}


/* =======================
   HOW IT WORKS
======================= */

.how-it-works {
  text-align: center;
  padding: 80px 20px;
}

.steps {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.step {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 25px;
  border-radius: 12px;
  width: 260px;
  position: relative;
}

.step span {
  position: absolute;
  top: -10px;
  left: -10px;
  background: #ff3b3f;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* SECTION CENTER FIX */
.what-we-do {
  text-align: center;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* GRID FIX */
.what-we-do .grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;

  width: 100%;
  max-width: 1100px;
  margin-top: 30px;
}

.card {
  text-align: left;
}

/* =======================
   SOFT HOVER GLOW (GLOBAL CARD EFFECT)
======================= */

.card,
.service-card,
.step {
  transition: all 0.3s ease;
}

/* HOVER EFFECT */
.card:hover,
.service-card:hover,
.step:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(255, 59, 63, 0.25);
  border: 1px solid rgba(255, 59, 63, 0.4);
}

.card:hover,
.service-card:hover,
.step:hover {
  animation: glowPulse 0.6s ease;
}

@keyframes glowPulse {
  0% {
    box-shadow: 0 0 0 rgba(255, 59, 63, 0);
  }
  50% {
    box-shadow: 0 15px 35px rgba(255, 59, 63, 0.35);
  }
  100% {
    box-shadow: 0 10px 30px rgba(255, 59, 63, 0.25);
  }
}

/* =======================
   PRICING HOVER EFFECT
======================= */

.price-card {
  transition: all 0.3s ease;
}

/* HOVER EFFECT */
.price-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(255, 59, 63, 0.25);
  border: 1px solid rgba(255, 59, 63, 0.35);
}

/* =======================
   FEATURED PLAN (PRO)
======================= */

.price-card.highlight {
  border: 1px solid #ff3b3f;
  box-shadow: 0 10px 35px rgba(255, 59, 63, 0.25);
  transform: scale(1.05);
}

/* Hover still works on featured */
.price-card.highlight:hover {
  transform: scale(1.08) translateY(-8px);
  box-shadow: 0 20px 50px rgba(255, 59, 63, 0.35);
}

.price-card.highlight {
  animation: softPulse 3s infinite;
}

@keyframes softPulse {
  0% {
    box-shadow: 0 10px 35px rgba(255, 59, 63, 0.15);
  }
  50% {
    box-shadow: 0 15px 45px rgba(255, 59, 63, 0.25);
  }
  100% {
    box-shadow: 0 10px 35px rgba(255, 59, 63, 0.15);
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar .logo,
.topbar .logo {
  max-width: 100%;
  overflow: hidden;
}