:root {
  --bg: #070b14;
  --bg-soft: #0c1220;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --line: rgba(148, 163, 184, 0.14);
  --text: #e5eef9;
  --muted: #8ea0ba;
  --accent: #31d2ff;
  --accent-2: #4f8cff;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at top left, rgba(49, 210, 255, 0.14), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(79, 140, 255, 0.13), transparent 24%),
    linear-gradient(180deg, #050913 0%, #070b14 38%, #050913 100%);
  color: var(--text);
  overflow-x: hidden;
}

.glass {
  background: rgba(8, 12, 22, 0.68);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.section-shell {
  position: relative;
}

.section-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.015));
  pointer-events: none;
}

.nav-link {
  position: relative;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: transform 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link.active {
  color: #ffffff;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.typing-cursor::after {
  content: "|";
  animation: blink 1s step-start infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.floaty {
  animation: float 6s ease-in-out infinite;
}

.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-menu.open {
  transform: translateX(0);
}

.progress-bar {
  width: 0%;
}

.back-to-top {
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.25s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-contact {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 60px;
  height: 60px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  z-index: 60;
}

.whatsapp-float {
  background: radial-gradient(circle at 30% 30%, #ffffff 0, #e5fff4 12%, #25d366 55%, #128c7e 100%);
  animation: float 5s ease-in-out infinite;
}

.floating-tooltip {
  position: fixed;
  right: 26px;
  bottom: 240px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(10, 15, 28, 0.94);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: #d7e3f5;
  font-size: 12px;
  z-index: 60;
  white-space: nowrap;
}

.navbar-scrolled {
  padding-top: 1rem;
  padding-bottom: 1rem;
  background-color: rgba(10, 10, 12, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.feature-card {
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -15px rgba(6, 182, 212, 0.2);
}

.instagram-float,
.facebook-float {
  position: fixed;
  right: 24px;
  width: 60px;
  height: 60px;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.45);
  z-index: 60;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: float 4s ease-in-out infinite;
}

.instagram-float:hover,
.facebook-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.6);
}

.instagram-float {
  background: radial-gradient(circle at 30% 30%, #fdf497 0, #fd5949 35%, #d6249f 70%, #285aeb 100%);
  bottom: 100px;
}

.facebook-float {
  background: radial-gradient(circle at 30% 30%, #ffffff 0, #e5f0ff 12%, #3b82f6 55%, #1d4ed8 100%);
  bottom: 176px;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

.instagram-float i,
.facebook-float i {
  font-size: 28px;
}

.whatsapp-tooltip {
  position: fixed;
  bottom: 150px;
  right: 32px;
  background: rgba(15, 23, 42, 0.98);
  color: #e2e8f0;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  z-index: 60;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.whatsapp-float:hover + .whatsapp-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.hero-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(8, 12, 22, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.chip {
  border: 1px solid rgba(49, 210, 255, 0.22);
  background: rgba(49, 210, 255, 0.08);
}

@media (max-width: 768px) {
  .floating-contact {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }

  .floating-tooltip {
    right: 16px;
    bottom: 160px;
    font-size: 10px;
  }

  .instagram-float {
    right: 16px;
    bottom: 68px;
    width: 48px;
    height: 48px;
  }

  .facebook-float {
    right: 16px;
    bottom: 124px;
    width: 48px;
    height: 48px;
  }

  .whatsapp-tooltip {
    right: 16px;
    bottom: 184px;
    font-size: 10px;
    padding: 6px 10px;
    max-width: 70vw;
    text-align: center;
  }
}

/* Added interactive styles moved from inline in billar.html */
.blink { animation: blink 1s steps(1,end) infinite; display: inline-block; margin-left:6px }

@keyframes floaty { 0%{transform:translateY(0)}50%{transform:translateY(-8px)}100%{transform:translateY(0)} }
.animate-float { animation: floaty 4s ease-in-out infinite }

.tilt { transition: transform 0.12s ease-out; will-change: transform }

.animate-fade-up { transform: translateY(10px); opacity: 0; transition: all 600ms cubic-bezier(.2,.9,.2,1); }
.animate-fade-up.active { transform: translateY(0); opacity: 1 }

.feature-card:hover { transform: translateY(-8px) scale(1.02) }

/* Contact section styles */
.contact-left .small-label { font-size:12px; letter-spacing:0.18em; text-transform:uppercase; color:rgba(255,255,255,0.85); }
.contact-left h2 { font-size:2.25rem; line-height:1.02; }
.contact-quick-links { display:flex; gap:10px; margin-top:14px; }
.contact-quick-links a { display:inline-flex; align-items:center; gap:8px; padding:8px 12px; border-radius:12px; font-weight:700; font-size:13px; color:var(--bg-soft); background:#fff; text-decoration:none; box-shadow:0 10px 30px rgba(2,6,23,0.35); }
.contact-quick-links a i { font-size:18px }

.input-wrap { position:relative; }
.input-wrap input, .input-wrap textarea { width:100%; padding:18px 14px 14px 14px; border-radius:14px; background:rgba(255,255,255,0.03); border:1px solid rgba(255,255,255,0.06); color:var(--text); transition:box-shadow .18s, border-color .18s, transform .08s; }
.input-wrap select { width:100%; padding:14px 14px 14px 14px; border-radius:14px; background:rgba(255,255,255,0.03); border:1px solid rgba(255,255,255,0.06); color:var(--text); transition:box-shadow .18s, border-color .18s, transform .08s; appearance:none; -webkit-appearance:none; -moz-appearance:none; background-image: linear-gradient(45deg, transparent 50%, var(--text) 50%), linear-gradient(135deg, var(--text) 50%, transparent 50%); background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 13px) calc(50% - 3px); background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right:40px; }
.input-wrap select option { background: rgba(8,12,22,0.95); color: var(--text); }
.input-wrap label { position:absolute; left:14px; top:14px; font-size:12px; color:rgba(200,210,225,0.6); pointer-events:none; transform-origin:left top; transition:transform .18s, top .18s, font-size .18s, color .18s; }
.input-wrap:focus-within label, .input-wrap input:not(:placeholder-shown) + label, .input-wrap textarea:not(:placeholder-shown) + label { transform:translateY(-10px) scale(.86); top:8px; color:var(--accent); }
.input-wrap.filled label { transform:translateY(-10px) scale(.86); top:8px; color:var(--accent); }
.input-error input, .input-error textarea, .input-error select { border-color: rgba(255,80,80,0.9); box-shadow:0 8px 20px rgba(255,80,80,0.06); }
.input-hint { font-size:12px; color:var(--muted); margin-top:6px; }

.send-btn { display:inline-flex; align-items:center; gap:10px; padding:14px 18px; border-radius:14px; font-weight:900; box-shadow:0 18px 50px rgba(49,210,255,0.12); }
.send-btn .icon-anim { transition:transform .45s ease; }
.send-btn.sending .icon-anim { transform:rotate(20deg) translateX(6px); }

.shake { animation:shake .42s cubic-bezier(.36,.07,.19,.97) both; }
@keyframes shake { 10%, 90% { transform: translateX(-1px); } 20%, 80% { transform: translateX(2px); } 30%,50%,70% { transform: translateX(-4px); } 40%,60% { transform: translateX(4px); } }

.consent { display:flex; gap:10px; align-items:center; font-size:13px; color:var(--muted); }

/* Responsive tweaks */
@media (max-width: 768px) {
  .contact-quick-links { flex-direction:column; }
  .contact-left h2 { font-size:1.75rem; }
}
