/* ======================================================
   MantaByte Digital — Main Stylesheet
   ====================================================== */

/* ======= CSS VARIABLES ======= */
:root {
  --primary: #6c2bd9;
  --primary-dark: #4f1fa8;
  --accent: #e91e8c;
  --accent-light: #ff4db8;
  --dark: #1a0533;
  --text: #333;
  --text-light: #666;
  --white: #fff;
  --gray-bg: #f8f5ff;
  --gradient: linear-gradient(135deg, #f8f5ff 0%, #ede7ff 100%);
  --gradient-dark: linear-gradient(135deg, #1a0533 0%, #2d0d6e 100%);
}

/* ======= RESET & BASE ======= */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; color: var(--text); overflow-x: hidden; }

/* ======= TOP BAR ======= */
.top-bar {
  background: var(--gradient-dark);
  padding: 10px 0;
}
.top-bar a, .top-bar span {
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  text-decoration: none;
  margin-right: 20px;
  transition: color .3s;
}
.top-bar a:hover { color: var(--accent-light); }
.top-bar .social-icons a { margin-right: 12px; font-size: 14px; }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; }

#whatsappForm .form-control {
  border-radius: 10px;
  padding: 12px;
  border: 1px solid #ddd;
}

#whatsappForm .form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(255,77,184,0.2);
}
/* ======= NAVBAR ======= */
.navbar-custom {
  background: #fff;
  padding: 14px 0;
  box-shadow: 0 2px 20px rgba(108,43,217,.1);
  position: sticky;
  top: 0;
  z-index: 999;
  transition: all .3s;
}
.brand-logo {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.brand-logo span { color: var(--accent); }
.brand-tagline {
  font-size: 10px;
  color: var(--text-light);
  display: block;
  font-weight: 400;
  letter-spacing: 0.5px;
}
.nav-link-custom {
  color: var(--dark) !important;
  font-weight: 500;
  font-size: 14px;
  padding: 8px 16px !important;
  transition: color .3s;
}
.nav-link-custom:hover { color: var(--primary) !important; }
.nav-cta {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #fff !important;
  border-radius: 30px;
  padding: 10px 22px !important;
  font-weight: 600;
}
.nav-cta:hover { opacity: .9; transform: translateY(-1px); }

/* ======= HERO ======= */
.hero {
  background: var(--gradient);
  padding: 90px 0 70px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(108,43,217,.12) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-badge {
  display: inline-block;
  background: rgba(233,30,140,.12);
  color: var(--accent);
  border: 1px solid rgba(233,30,140,.3);
  border-radius: 30px;
  padding: 6px 18px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 18px;
}
.hero h1 span { color: var(--accent); }
.hero p.lead-text {
  font-size: 17px;
  color: var(--text-light);
  margin-bottom: 30px;
  max-width: 520px;
}
.hero-checks li {
  list-style: none;
  padding: 5px 0;
  font-size: 15px;
  color: var(--text);
}
.hero-checks li i { color: var(--primary); margin-right: 8px; }
.hero-checks li strong { color: var(--accent); }

/* ======= BUTTONS ======= */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 14px 36px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: all .3s;
  box-shadow: 0 8px 30px rgba(233,30,140,.35);
}
.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(233,30,140,.45);
  color: #fff;
  text-decoration: none;
}
.btn-outline-custom {
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 50px;
  padding: 12px 32px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all .3s;
  margin-left: 14px;
}
.btn-outline-custom:hover { background: var(--primary); color: #fff; text-decoration: none; }

/* ======= HERO DEVICE MOCKUP ======= */
.hero-img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-device {
  background: var(--gradient-dark);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 30px 80px rgba(108,43,217,.35);
  max-width: 380px;
  width: 100%;
  position: relative;
}
.hero-device .device-bar { display: flex; gap: 6px; margin-bottom: 14px; }
.hero-device .dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c840; }
.hero-device .screen-content {
  background: rgba(255,255,255,.05);
  border-radius: 10px;
  padding: 20px;
}
.screen-line { height: 8px; background: rgba(255,255,255,.15); border-radius: 4px; margin-bottom: 10px; }
.screen-line.short { width: 60%; }
.screen-line.accent { background: linear-gradient(90deg, var(--accent), var(--primary)); width: 80%; }
.screen-stat { background: rgba(255,255,255,.08); border-radius: 8px; padding: 12px; margin-top: 12px; text-align: center; }
.screen-stat .num { color: #fff; font-size: 22px; font-weight: 800; }
.screen-stat .lbl { color: rgba(255,255,255,.6); font-size: 11px; }
.float-badge {
  position: absolute;
  background: #fff;
  border-radius: 12px;
  padding: 10px 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,.15);
  font-size: 12px;
  font-weight: 600;
  color: var(--dark);
}
.float-badge.top-right { top: -20px; right: -20px; }
.float-badge.bottom-left { bottom: -20px; left: -20px; }
.float-badge i { color: var(--accent); margin-right: 5px; }

/* ======= STATS BAR ======= */
.stats-bar {
  background: var(--gradient-dark);
  padding: 36px 0;
}
.stat-item { text-align: center; }
.stat-item .num { font-size: 36px; font-weight: 800; color: #fff; }
.stat-item .num span { color: var(--accent); }
.stat-item .lbl { color: rgba(255,255,255,.65); font-size: 13px; }
.stat-divider { border-left: 1px solid rgba(255,255,255,.15); height: 50px; }

/* ======= SECTION STYLES ======= */
.section { padding: 80px 0; }
.section-alt { background: var(--gray-bg); }
.section-dark { background: var(--gradient-dark); }
.section-label {
  display: inline-block;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 14px;
}
.section-title.light { color: #fff; }
.section-sub { font-size: 16px; color: var(--text-light); max-width: 560px; margin: 0 auto 50px; }
.section-sub.light { color: rgba(255,255,255,.7); }

/* ======= WHY US CARDS ======= */
.why-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 26px;
  box-shadow: 0 4px 30px rgba(108,43,217,.08);
  text-align: center;
  transition: all .3s;
  height: 100%;
  border: 2px solid transparent;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(108,43,217,.15);
  border-color: rgba(108,43,217,.2);
}
.why-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(108,43,217,.12), rgba(233,30,140,.12));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 26px;
  color: var(--primary);
}
.why-card h5 { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.why-card p { font-size: 14px; color: var(--text-light); margin: 0; }

/* ======= PACKAGE CARDS ======= */
.pkg-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 28px;
  box-shadow: 0 6px 40px rgba(108,43,217,.1);
  position: relative;
  overflow: hidden;
  transition: all .3s;
  height: 100%;
  border: 2px solid transparent;
}
.pkg-card:hover { transform: translateY(-8px); box-shadow: 0 20px 60px rgba(108,43,217,.2); }
.pkg-card.featured {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #2d0d6e 100%);
  color: #fff;
  border: 2px solid rgba(233,30,140,.4);
}
.pkg-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 30px;
  padding: 5px 14px;
}
.pkg-name { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); margin-bottom: 6px; }
.pkg-card.featured .pkg-name { color: var(--accent-light); }
.pkg-card h3 { font-size: 22px; font-weight: 800; color: var(--dark); margin-bottom: 4px; }
.pkg-card.featured h3 { color: #fff; }
.pkg-price { margin: 18px 0 6px; display: flex; align-items: flex-end; gap: 6px; }
.pkg-price .amount { font-size: 48px; font-weight: 900; color: var(--primary); line-height: 1; }
.pkg-card.featured .pkg-price .amount { color: #fff; }
.pkg-price .currency { font-size: 20px; font-weight: 700; color: var(--primary); padding-bottom: 6px; }
.pkg-card.featured .pkg-price .currency { color: rgba(255,255,255,.8); }
.pkg-usual { font-size: 13px; color: var(--text-light); text-decoration: line-through; margin-bottom: 4px; }
.pkg-card.featured .pkg-usual { color: rgba(255,255,255,.5); }
.pkg-promo-badge {
  display: inline-block;
  background: rgba(233,30,140,.12);
  color: var(--accent);
  border-radius: 20px;
  padding: 3px 12px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 18px;
}
.pkg-card.featured .pkg-promo-badge { background: rgba(255,255,255,.15); color: #fff; }
.pkg-divider { border: 0; border-top: 1px solid rgba(108,43,217,.1); margin: 18px 0; }
.pkg-card.featured .pkg-divider { border-color: rgba(255,255,255,.15); }
.pkg-features { list-style: none; padding: 0; margin: 0 0 28px; }
.pkg-features li {
  padding: 7px 0;
  font-size: 14px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}
.pkg-card.featured .pkg-features li { color: rgba(255,255,255,.85); }
.pkg-features li i { color: var(--primary); font-size: 13px; flex-shrink: 0; }
.pkg-card.featured .pkg-features li i { color: var(--accent-light); }
.pkg-btn {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #fff;
  border-radius: 50px;
  padding: 13px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all .3s;
}
.pkg-btn:hover {
  opacity: .9;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(233,30,140,.4);
  color: #fff;
  text-decoration: none;
}
.pkg-card.featured .pkg-btn { background: #fff; color: var(--primary); }
.pkg-card.featured .pkg-btn:hover { background: rgba(255,255,255,.9); }
.pkg-icon { font-size: 36px; margin-bottom: 14px; }

/* ======= QUOTE CTA ======= */
.quote-cta {
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 60%, var(--primary-dark) 100%);
  border-radius: 24px;
  padding: 50px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.quote-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,.08) 0%, transparent 60%);
}
.quote-cta h2 { color: #fff; font-weight: 800; font-size: clamp(22px,4vw,36px); margin-bottom: 10px; }
.quote-cta p { color: rgba(255,255,255,.8); margin-bottom: 28px; font-size: 16px; }
.btn-quote {
  background: #fff;
  color: var(--primary);
  border-radius: 50px;
  padding: 15px 40px;
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
  display: inline-block;
  transition: all .3s;
  box-shadow: 0 8px 30px rgba(0,0,0,.2);
}
.btn-quote:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0,0,0,.3);
  color: var(--primary);
  text-decoration: none;
}
.btn-quote i { color: var(--accent); margin-right: 8px; }

/* ======= PROJECT CARDS ======= */
.project-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(108,43,217,.1);
  transition: all .3s;
}
.project-card:hover { transform: translateY(-6px); box-shadow: 0 16px 50px rgba(108,43,217,.2); }
.project-preview {
  background: var(--gradient-dark);
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.project-preview iframe {
  width: 200%;
  height: 200%;
  transform: scale(.5);
  transform-origin: top left;
  pointer-events: none;
  border: none;
  position: absolute;
  top: 0;
  left: 0;
}
.project-preview .proj-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(26,5,51,.7) 100%);
}
.project-preview .proj-icon {
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
}
.project-info { padding: 18px 20px; }
.project-info h5 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.project-info p { font-size: 13px; color: var(--text-light); margin: 0; }
.project-info a { font-size: 12px; color: var(--primary); font-weight: 600; text-decoration: none; }
.project-info a:hover { color: var(--accent); }
.project-tag {
  display: inline-block;
  background: rgba(108,43,217,.1);
  color: var(--primary);
  border-radius: 20px;
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 8px;
}

/* ======= CLIENT LOGOS ======= */
.clients-section { background: var(--gray-bg); }
.client-logo-slot {
  background: #fff;
  border-radius: 12px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  box-shadow: 0 2px 15px rgba(108,43,217,.07);
  border: 2px solid transparent;
  transition: all .3s;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
}
.client-logo-slot:hover { border-color: rgba(108,43,217,.2); color: var(--primary); }
.client-logo-slot i { font-size: 28px; display: block; margin-bottom: 4px; color: var(--primary); opacity: .6; }

.project-preview img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}
/* ======= TESTIMONIALS ======= */
.testi-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 6px 35px rgba(108,43,217,.1);
  position: relative;
  height: 100%;
  border: 2px solid transparent;
  transition: all .3s;
}
.testi-card:hover { border-color: rgba(108,43,217,.15); transform: translateY(-4px); }
.testi-quote {
  font-size: 48px;
  color: var(--accent);
  line-height: 1;
  opacity: .3;
  position: absolute;
  top: 20px;
  left: 24px;
  font-family: serif;
}
.testi-stars { color: #f9c74f; font-size: 14px; margin-bottom: 14px; }
.testi-text { font-size: 15px; color: var(--text); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.testi-name { font-size: 15px; font-weight: 700; color: var(--dark); }
.testi-role { font-size: 12px; color: var(--text-light); }

/* ======= PROCESS STEPS ======= */
.process-step {
  text-align: center;
  position: relative;
  padding: 20px;
}
.step-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 25px rgba(108,43,217,.35);
}
.process-step h5 { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.process-step p { font-size: 14px; color: var(--text-light); margin: 0; }
.process-arrow {
  position: absolute;
  top: 50px;
  right: -20px;
  font-size: 20px;
  color: rgba(108,43,217,.25);
  z-index: 1;
}

/* ======= CONTACT CARD ======= */
.contact-card {
  background: var(--gradient-dark);
  border-radius: 20px;
  padding: 40px 36px;
  text-align: center;
  color: #fff;
}
.contact-card h4 { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.contact-card p { color: rgba(255,255,255,.7); margin-bottom: 24px; }
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  text-align: left;
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-item .icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--accent-light);
  flex-shrink: 0;
}
.contact-info-item .detail a,
.contact-info-item .detail span { color: #fff; text-decoration: none; font-size: 14px; }
.contact-info-item .detail .label { color: rgba(255,255,255,.5); font-size: 11px; }

/* ======= FOOTER ======= */
.footer {
  background: #0d0020;
  color: rgba(255,255,255,.75);
  padding: 60px 0 0;
}
.footer-brand { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.footer-brand span { color: var(--accent); }
.footer-desc { font-size: 13px; line-height: 1.8; margin-bottom: 20px; }
.footer h6 { color: #fff; font-weight: 700; font-size: 14px; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 1px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a { color: rgba(255,255,255,.65); text-decoration: none; font-size: 13px; transition: color .3s; }
.footer ul li a:hover { color: var(--accent-light); }
.footer-bottom {
  background: rgba(0,0,0,.3);
  padding: 18px 0;
  margin-top: 40px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,.45);
}
.footer-bottom a { color: var(--accent-light); text-decoration: none; }
.footer-social a {
  display: inline-flex;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: 14px;
  margin-right: 8px;
  text-decoration: none;
  transition: all .3s;
}
.footer-social a:hover { background: var(--accent); color: #fff; }

/* ======= SSM BADGE ======= */
.ssm-badge {
  background: rgba(255,255,255,.08);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 12px;
  color: rgba(255,255,255,.6);
  margin-top: 14px;
  display: inline-block;
}
.ssm-badge i { color: var(--accent-light); margin-right: 6px; }

/* ======= WHATSAPP FLOATING 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 8px 30px rgba(37,211,102,.45);
  text-decoration: none;
  animation: waPulse 2s infinite;
  font-size: 28px;
  color: #fff;
  transition: transform .3s;
}
.wa-float:hover { transform: scale(1.1); color: #fff; text-decoration: none; }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 8px 30px rgba(37,211,102,.45); }
  50%       { box-shadow: 0 8px 50px rgba(37,211,102,.7); }
}

/* ======= RESPONSIVE ======= */
@media (max-width: 768px) {
  .hero { padding: 60px 0 50px; }
  .hero-img-wrap { margin-top: 40px; }
  .float-badge { display: none; }
  .stat-divider { display: none; }
  .stat-item { margin-bottom: 20px; }
  .btn-outline-custom { margin: 14px 0 0 0; display: block; text-align: center; }
  .process-arrow { display: none; }
  .top-bar .right-top { display: none !important; }
}
@media (max-width: 576px) {
  .section { padding: 55px 0; }
  .quote-cta { padding: 36px 22px; }
}
