/* ===================================================================
   DATA SPARK MARKETING AGENCY - Core Stylesheet
   Modern 3D Futuristic Theme
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  /* Color Palette */
  --bg-dark: #07090e;
  --bg-card: rgba(15, 20, 32, 0.75);
  --bg-card-hover: rgba(22, 30, 48, 0.9);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --border-glass: rgba(255, 255, 255, 0.09);
  --border-glow: rgba(0, 242, 254, 0.35);

  /* Brand Accents */
  --accent-cyan: #00f2fe;
  --accent-blue: #4facfe;
  --accent-purple: #7f00ff;
  --accent-magenta: #e100ff;
  --accent-coral: #ff5e62;
  --accent-amber: #ff9900;

  /* Text Colors */
  --text-white: #ffffff;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  /* Gradients */
  --grad-spark: linear-gradient(135deg, #00f2fe 0%, #7f00ff 50%, #ff5e62 100%);
  --grad-cyan-blue: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  --grad-purple-pink: linear-gradient(135deg, #7f00ff 0%, #e100ff 100%);
  --grad-dark-card: linear-gradient(180deg, rgba(20, 27, 45, 0.8) 0%, rgba(10, 14, 25, 0.95) 100%);

  /* Shadows */
  --shadow-glow-cyan: 0 0 25px rgba(0, 242, 254, 0.35);
  --shadow-glow-purple: 0 0 30px rgba(127, 0, 255, 0.4);
  --shadow-card-3d: 0 20px 40px -15px rgba(0, 0, 0, 0.7), 0 0 1px 1px rgba(255, 255, 255, 0.08);

  /* Typography */
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Space Grotesk', system-ui, sans-serif;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--bg-dark);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Background Animated Ambient Lights */
.bg-ambient-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.ambient-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.25;
  animation: orbFloat 18s ease-in-out infinite alternate;
}

.orb-1 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
  top: -100px;
  left: -100px;
}

.orb-2 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
  bottom: 10%;
  right: -120px;
  animation-duration: 24s;
  animation-delay: -6s;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-coral) 0%, transparent 70%);
  top: 50%;
  left: 30%;
  animation-duration: 20s;
  animation-delay: -12s;
  opacity: 0.15;
}

@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 60px) scale(1.1); }
  100% { transform: translate(-30px, 30px) scale(0.95); }
}

/* Universal Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-white);
  font-weight: 700;
  line-height: 1.2;
}

.gradient-text {
  background: var(--grad-spark);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.cyan-text {
  color: var(--accent-cyan);
}

.lead-text {
  font-size: 1.15rem;
  color: var(--text-secondary);
  font-weight: 400;
  max-width: 720px;
}

/* Badge Component */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.25);
  color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.15);
  margin-bottom: 16px;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

/* ===================================================================
   HEADER & NAVIGATION
   =================================================================== */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(7, 9, 14, 0.8);
  border-bottom: 1px solid var(--border-glass);
  transition: all var(--transition-fast);
}

.site-header.scrolled {
  background: rgba(7, 9, 14, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-bottom-color: rgba(0, 242, 254, 0.2);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  height: 48px;
  transition: transform var(--transition-fast);
}

.brand-logo:hover {
  transform: scale(1.02);
}

.brand-logo img {
  height: 48px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  position: relative;
  padding: 6px 2px;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-spark);
  transition: width var(--transition-smooth);
  border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-white);
}

.nav-link.active::after,
.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.phone-quick-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 9999px;
  border: 1px solid var(--border-glass);
  transition: all var(--transition-fast);
}

.phone-quick-link:hover {
  color: var(--accent-cyan);
  border-color: rgba(0, 242, 254, 0.4);
  background: rgba(0, 242, 254, 0.08);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-white);
  cursor: pointer;
  padding: 8px;
}

/* ===================================================================
   BUTTONS
   =================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 26px;
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-spark);
  color: #ffffff;
  box-shadow: 0 8px 24px -6px rgba(127, 0, 255, 0.5), 0 0 15px rgba(0, 242, 254, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 30px -4px rgba(127, 0, 255, 0.7), 0 0 25px rgba(0, 242, 254, 0.5);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 242, 254, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.btn-glow-cyan {
  background: var(--grad-cyan-blue);
  color: #050b14;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(0, 242, 254, 0.4);
}

.btn-glow-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 242, 254, 0.7);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.88rem;
  border-radius: 8px;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
  border-radius: 14px;
}

/* ===================================================================
   PAGE HEADER / HERO BANNER (Inner Pages)
   =================================================================== */
.page-hero {
  padding: 90px 0 60px;
  position: relative;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(127, 0, 255, 0.12) 0%, transparent 70%);
}

.page-hero h1 {
  font-size: 3.2rem;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.page-hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: var(--accent-cyan);
  text-decoration: none;
}

/* ===================================================================
   CARDS & GRIDS
   =================================================================== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all var(--transition-smooth);
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 242, 254, 0.3);
  box-shadow: var(--shadow-card-3d);
}

/* Section Header Structure */
.section-head {
  text-align: center;
  margin-bottom: 56px;
  position: relative;
  z-index: 2;
}

.section-head.left-aligned {
  text-align: left;
}

.section-title {
  font-size: 2.6rem;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-sub {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto;
}

.section-head.left-aligned .section-sub {
  margin: 0;
}

/* ===================================================================
   FLOATING WHATSAPP BUTTON
   =================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4), 0 0 20px rgba(37, 211, 102, 0.3);
  transition: all var(--transition-bounce);
}

.floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6), 0 0 30px rgba(37, 211, 102, 0.5);
  color: #ffffff;
}

.floating-whatsapp svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* ===================================================================
   FOOTER
   =================================================================== */
.site-footer {
  background: #040508;
  border-top: 1px solid var(--border-glass);
  padding: 80px 0 30px;
  position: relative;
  z-index: 2;
  margin-top: 100px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: var(--text-secondary);
  margin-top: 18px;
  margin-bottom: 24px;
  font-size: 0.95rem;
  max-width: 340px;
}

.footer-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 22px;
  position: relative;
  display: inline-block;
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 28px;
  height: 2px;
  background: var(--accent-cyan);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--accent-cyan);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.footer-contact-item svg {
  width: 20px;
  height: 20px;
  color: var(--accent-cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-contact-item a:hover {
  color: var(--accent-cyan);
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.social-btn:hover {
  background: var(--grad-spark);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(127, 0, 255, 0.4);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ===================================================================
   TOAST NOTIFICATION
   =================================================================== */
.toast-notice {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid var(--accent-cyan);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 242, 254, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.toast-notice.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* ===================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   =================================================================== */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 82px;
    left: 0;
    width: 100%;
    background: rgba(7, 9, 14, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 30px 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border-glass);
    transform: translateY(-150%);
    transition: transform var(--transition-smooth);
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .mobile-toggle {
    display: block;
  }

  .phone-quick-link {
    display: none;
  }

  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2.1rem;
  }

  .page-hero h1 {
    font-size: 2.4rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }

  .floating-whatsapp span {
    display: none;
  }

  .floating-whatsapp {
    padding: 14px;
    bottom: 20px;
    right: 20px;
  }
}
