/* ============================================================
   Buildify Tech Solutions — style.css
   Custom styles layered on top of Tailwind CSS (CDN)
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Inter', sans-serif;
  background: #0A0A0F;
  color: #FFFFFF;
  overflow-x: hidden;
}

/* ── Scrollbar ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #0A0A0F; }
::-webkit-scrollbar-thumb { background: #6C63FF; border-radius: 10px; }

/* ── Gradient Utilities ───────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, #6C63FF 0%, #00D4AA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-border {
  position: relative;
  background: #13131A;
}
.gradient-border::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, #6C63FF, #00D4AA);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ── Glow Effects ─────────────────────────────────────────── */
.glow-purple { box-shadow: 0 0 40px rgba(108, 99, 255, 0.3); }
.glow-teal   { box-shadow: 0 0 40px rgba(0, 212, 170, 0.3); }
.glow-btn    { box-shadow: 0 0 25px rgba(108, 99, 255, 0.5); }
.glow-btn:hover { box-shadow: 0 0 40px rgba(108, 99, 255, 0.8); }

/* ── Navbar ───────────────────────────────────────────────── */
.navbar-scrolled, #navbar.menu-open {
  background: rgba(10, 10, 15, 0.95) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(108, 99, 255, 0.15);
}

/* ── Hero Glows ───────────────────────────────────────────── */
.hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(108, 99, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  top: 30%; right: 10%;
  pointer-events: none;
}

/* ── Service Cards ────────────────────────────────────────── */
.service-card {
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.service-card:hover {
  border-color: rgba(108, 99, 255, 0.5);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(108, 99, 255, 0.15);
}

/* ── Pricing Cards ────────────────────────────────────────── */
.popular-card {
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.1), rgba(0, 212, 170, 0.05));
  border: 1px solid rgba(108, 99, 255, 0.5);
  box-shadow: 0 0 40px rgba(108, 99, 255, 0.2);
}
.pricing-card {
  transition: all 0.3s ease;
}
.pricing-card:hover {
  transform: translateY(-8px);
}

/* ── Scroll Reveal ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Floating WhatsApp Button ─────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 9999;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s ease;
}
.wa-float:hover { transform: scale(1.1); }
.wa-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.3);
  animation: pulse-ring 2s ease-out infinite;
}
@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ── Mobile Menu ──────────────────────────────────────────── */
#mobile-menu { display: none; }
#mobile-menu.open { display: flex; }

/* ── Stat Box ─────────────────────────────────────────────── */
.stat-box {
  background: #13131A;
  border: 1px solid rgba(108, 99, 255, 0.2);
  transition: all 0.3s ease;
}
.stat-box:hover {
  border-color: rgba(108, 99, 255, 0.6);
  box-shadow: 0 0 30px rgba(108, 99, 255, 0.2);
}

/* ── Nav Links ────────────────────────────────────────────── */
.nav-link {
  position: relative;
  transition: color 0.3s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, #6C63FF, #00D4AA);
  transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }
.nav-link.active { color: #6C63FF; }

/* ── Portfolio ────────────────────────────────────────────── */
.portfolio-image {
  background: linear-gradient(135deg, #6C63FF22 0%, #00D4AA22 100%);
}
/* Real project image */
.portfolio-img-real {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.4s ease;
}
.portfolio-img-real:hover { opacity: 1; }

/* ── Form Fields ──────────────────────────────────────────── */
.form-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: all 0.3s ease;
}
.form-input:focus {
  outline: none;
  border-color: #6C63FF;
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.15);
  background: rgba(108, 99, 255, 0.05);
}
.form-input::placeholder { color: #A0A0B0; }
.form-input option { background: #13131A; color: #fff; }

/* ── Testimonial ──────────────────────────────────────────── */
.testimonial-card {
  border-left: 4px solid;
  border-image: linear-gradient(180deg, #6C63FF, #00D4AA) 1;
}

/* ── Badge Float Animation ────────────────────────────────── */
.badge-float {
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-16px); }
}

/* ── Section Pill ─────────────────────────────────────────── */
.section-pill {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 999px;
  background: rgba(108, 99, 255, 0.12);
  border: 1px solid rgba(108, 99, 255, 0.3);
  color: #6C63FF;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* ── Grid Dots Background ─────────────────────────────────── */
.grid-dots {
  background-image: radial-gradient(rgba(108, 99, 255, 0.12) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn-gradient {
  background: linear-gradient(135deg, #6C63FF, #00D4AA);
  transition: all 0.3s ease;
}
.btn-gradient:hover {
  background: linear-gradient(135deg, #5a52e8, #00bfa5);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(108, 99, 255, 0.4);
}

.btn-outline {
  border: 1px solid rgba(108, 99, 255, 0.5);
  color: #6C63FF;
  transition: all 0.3s ease;
}
.btn-outline:hover {
  border-color: #6C63FF;
  background: rgba(108, 99, 255, 0.1);
  transform: translateY(-2px);
}

/* ── Logo icon (icon mark only — used in navbar & footer) ─── */
.logo-icon {
  height: 40px;
  width: auto;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 0 6px rgba(108, 99, 255, 0.4));
  transition: filter 0.3s ease, transform 0.3s ease;
}
.logo-icon:hover {
  filter: drop-shadow(0 0 14px rgba(0, 212, 170, 0.6));
  transform: scale(1.05);
}

/* ── Logo image (full stacked logo — kept for misc use) ───── */
.logo-img {
  height: 64px;
  width: auto;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 0 8px rgba(108, 99, 255, 0.5));
  transition: filter 0.3s ease, transform 0.3s ease;
}
.logo-img:hover {
  filter: drop-shadow(0 0 16px rgba(0, 212, 170, 0.7));
  transform: scale(1.05);
}
