/* ======================
   WEBORA  Modern Styles
   Glass + Animations + Mouse
====================== */

:root {
  --bg: #030508;
  --brand: #0c8ce9;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  cursor: none;
}

@media (hover: none) {
  body { cursor: auto; }
  .cursor-dot, .cursor-outline, .mouse-glow { display: none !important; }
}

/* ========== CUSTOM CURSOR ========== */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: difference;
}

.cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.25s ease, height 0.25s ease, border-color 0.25s, background 0.25s;
}

.cursor-outline.hover {
  width: 56px;
  height: 56px;
  border-color: rgba(12, 140, 233, 0.6);
  background: rgba(12, 140, 233, 0.08);
}

.cursor-dot.hover {
  width: 10px;
  height: 10px;
  background: #36a7f8;
}

.mouse-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(12, 140, 233, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: opacity 0.4s;
  opacity: 0.7;
}

/* ========== NOISE ========== */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9990;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ========== GLASS NAV ========== */
.glass-nav {
  background: rgba(8, 12, 20, 0.55);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

#navbar.scrolled .glass-nav {
  background: rgba(5, 8, 14, 0.75);
  border-color: rgba(255, 255, 255, 0.12);
}

.glass-badge {
  background: rgba(12, 140, 233, 0.08);
  border: 1px solid rgba(12, 140, 233, 0.2);
  backdrop-filter: blur(12px);
}

.glass-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

/* ========== GRADIENT TEXT ========== */
.gradient-text {
  background: linear-gradient(135deg, #7cc5fc 0%, #36a7f8 40%, #818cf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ========== BUTTONS ========== */
.btn-primary {
  background: linear-gradient(135deg, #0c8ce9, #006fc7);
  box-shadow: 0 8px 30px rgba(12, 140, 233, 0.35);
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #36a7f8, #0c8ce9);
  opacity: 0;
  transition: opacity 0.35s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(12, 140, 233, 0.5);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary span,
.btn-primary svg {
  position: relative;
  z-index: 1;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* ========== SERVICE CARDS ========== */
.service-card {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
}

.service-card-inner {
  position: relative;
  padding: 2rem;
  height: 100%;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1.5rem;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover .service-card-inner {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(12, 140, 233, 0.25);
  transform: translateY(-6px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* ========== WORK CARDS ========== */
.work-card {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.work-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6);
}

.work-card-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.work-card-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(12, 140, 233, 0.15), transparent 60%);
  opacity: 0.6;
  transition: opacity 0.5s;
}

.work-card:hover .work-card-bg::after {
  opacity: 1;
}

.work-card-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
}

.process-step {
  position: relative;
}

/* ========== FORMS ========== */
.form-input {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: white;
  transition: all 0.3s;
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.form-input:focus {
  outline: none;
  border-color: rgba(12, 140, 233, 0.5);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(12, 140, 233, 0.12);
}

select.form-input {
  color-scheme: dark;
}

select.form-input option {
  background: #0a0e14;
  color: white;
}

/* ========== ANIMATED ORBS ========== */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: floatOrb 12s ease-in-out infinite;
}

.orb-1 {
  width: 420px;
  height: 420px;
  background: rgba(12, 140, 233, 0.18);
  top: 10%;
  left: -8%;
  animation-delay: 0s;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: rgba(99, 102, 241, 0.12);
  bottom: 5%;
  right: -10%;
  animation-delay: -4s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: rgba(16, 185, 129, 0.08);
  top: 45%;
  left: 40%;
  animation-delay: -7s;
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.grid-bg {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

/* ========== REVEAL ANIMATIONS ========== */
/* Visible by default so site always shows even if JS fails/slow */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Only hide for animation when JS has prepared the page */
html.js-ready .reveal:not(.visible) {
  opacity: 0;
  transform: translateY(28px);
}

html.js-ready .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal[data-delay="100"] { transition-delay: 0.08s; }
.reveal[data-delay="150"] { transition-delay: 0.12s; }
.reveal[data-delay="200"] { transition-delay: 0.16s; }
.reveal[data-delay="300"] { transition-delay: 0.2s; }

/* Safety: force show everything after 2s no matter what */
@keyframes forceShow {
  to { opacity: 1 !important; transform: none !important; }
}
html.js-ready .reveal {
  animation: forceShow 0.01s 2.5s forwards;
}
html.js-ready .reveal.visible {
  animation: none;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #36a7f8;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 16px;
}

::selection {
  background: rgba(12, 140, 233, 0.35);
  color: white;
}

.magnetic {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ========== PRICING CARDS ========== */
.pricing-card {
  position: relative;
  border-radius: 1.5rem;
}

.pricing-card-inner {
  position: relative;
  height: 100%;
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1.5rem;
  transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.pricing-card:hover .pricing-card-inner {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(12, 140, 233, 0.25);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.45);
}

.pricing-featured .pricing-card-inner {
  background: rgba(12, 140, 233, 0.06);
  border-color: rgba(12, 140, 233, 0.25);
}

.pricing-featured:hover .pricing-card-inner {
  border-color: rgba(12, 140, 233, 0.4);
  box-shadow: 0 20px 40px -12px rgba(12, 140, 233, 0.2);
}

.pricing-featured-emerald .pricing-card-inner {
  background: rgba(16, 185, 129, 0.06);
  border-color: rgba(16, 185, 129, 0.25);
}

.pricing-featured-emerald:hover .pricing-card-inner {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 20px 40px -12px rgba(16, 185, 129, 0.15);
}

/* ========== EXTRA SERVICE CARDS ========== */
.extra-service-card {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1.25rem;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.extra-service-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.4);
}

/* ========== LOGO ========== */
.logo-svg {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s;
}

a:hover .logo-svg {
  transform: scale(1.03);
  opacity: 0.95;
}

/* ========== STATS / TESTIMONIALS / FAQ ========== */
.testimonial-card {
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1.25rem;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.faq-item {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1rem;
  overflow: hidden;
}
.faq-item summary {
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  font-weight: 500;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  color: rgba(255,255,255,0.4);
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  content: '−';
}
.faq-item summary:hover {
  background: rgba(255, 255, 255, 0.03);
}
.faq-item p {
  padding: 0 1.25rem 1.25rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ========== WHATSAPP ========== */
.whatsapp-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 100;
  transition: transform 0.25s, box-shadow 0.25s;
}
.whatsapp-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
}

/* ========== CHAT WIDGET ========== */
.chat-open-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0c8ce9, #006fc7);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(12, 140, 233, 0.4);
  z-index: 100;
  cursor: pointer;
  transition: transform 0.25s;
}
.chat-open-btn:hover { transform: scale(1.08); }

.chat-widget {
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: 340px;
  max-width: calc(100vw - 32px);
  height: 420px;
  background: #0a0e14;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1.25rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  z-index: 101;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.chat-widget.hidden { display: none; }

.chat-header {
  padding: 1rem;
  background: rgba(12, 140, 233, 0.15);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chat-body {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.chat-msg {
  max-width: 85%;
  padding: 0.65rem 0.9rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  line-height: 1.45;
}
.chat-msg.bot {
  background: rgba(255,255,255,0.06);
  align-self: flex-start;
  border-bottom-left-radius: 0.25rem;
}
.chat-msg.user {
  background: linear-gradient(135deg, #0c8ce9, #006fc7);
  align-self: flex-end;
  border-bottom-right-radius: 0.25rem;
}
.chat-input-row {
  padding: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  gap: 0.5rem;
}
.chat-input-row input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  color: white;
  font-size: 0.875rem;
  outline: none;
}
.chat-input-row input:focus {
  border-color: rgba(12, 140, 233, 0.5);
}
.chat-input-row button {
  background: #0c8ce9;
  border: none;
  color: white;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

/* ========== THEME TOGGLE ========== */
.theme-toggle {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99;
  backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(-50%) scale(1.08);
}
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }

[data-theme="light"] .theme-toggle {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.12);
  color: #0a0e14;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* ========== LIGHT THEME ========== */
[data-theme="light"] body {
  background: #f4f6f9 !important;
  color: #0a0e14 !important;
  cursor: auto;
}
[data-theme="light"] .cursor-dot,
[data-theme="light"] .cursor-outline,
[data-theme="light"] .mouse-glow {
  display: none !important;
}

[data-theme="light"] .glass-nav {
  background: rgba(255, 255, 255, 0.75) !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08) !important;
}
[data-theme="light"] #navbar.scrolled .glass-nav {
  background: rgba(255, 255, 255, 0.9) !important;
}

[data-theme="light"] .nav-link {
  color: rgba(10, 14, 20, 0.55) !important;
}
[data-theme="light"] .nav-link:hover {
  color: #0a0e14 !important;
}

[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4,
[data-theme="light"] .font-display {
  color: #0a0e14;
}

[data-theme="light"] .text-white\/55,
[data-theme="light"] .text-white\/50,
[data-theme="light"] .text-white\/60,
[data-theme="light"] .text-white\/40,
[data-theme="light"] .text-white\/70 {
  color: rgba(10, 14, 20, 0.55) !important;
}
[data-theme="light"] .text-white\/30,
[data-theme="light"] .text-white\/35 {
  color: rgba(10, 14, 20, 0.35) !important;
}

[data-theme="light"] .service-card-inner,
[data-theme="light"] .pricing-card-inner,
[data-theme="light"] .testimonial-card,
[data-theme="light"] .extra-service-card,
[data-theme="light"] .faq-item,
[data-theme="light"] .glass-card {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
[data-theme="light"] .service-card:hover .service-card-inner,
[data-theme="light"] .pricing-card:hover .pricing-card-inner {
  border-color: rgba(12, 140, 233, 0.3) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .form-input {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
  color: #0a0e14 !important;
}
[data-theme="light"] .form-input::placeholder {
  color: rgba(10, 14, 20, 0.35) !important;
}

[data-theme="light"] .btn-secondary {
  background: rgba(0, 0, 0, 0.04) !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
  color: #0a0e14 !important;
}

[data-theme="light"] .orb {
  opacity: 0.35;
}
[data-theme="light"] .noise {
  opacity: 0.02;
}
[data-theme="light"] .grid-bg {
  opacity: 0.5;
}

[data-theme="light"] footer {
  border-color: rgba(0, 0, 0, 0.08) !important;
}
[data-theme="light"] .border-t {
  border-color: rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .work-card {
  border-color: rgba(0, 0, 0, 0.08) !important;
}
[data-theme="light"] .work-card-content {
  background: linear-gradient(to top, rgba(255,255,255,0.95) 0%, transparent 55%);
}
[data-theme="light"] .work-card h3 {
  color: #0a0e14;
}

[data-theme="light"] .chat-widget {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
  color: #0a0e14;
}
[data-theme="light"] .chat-header {
  background: rgba(12, 140, 233, 0.08) !important;
}
[data-theme="light"] .chat-msg.bot {
  background: rgba(0, 0, 0, 0.05) !important;
  color: #0a0e14;
}
[data-theme="light"] .chat-input-row input {
  background: rgba(0, 0, 0, 0.04) !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
  color: #0a0e14 !important;
}

[data-theme="light"] .logo-svg text {
  fill: #0a0e14 !important;
}

/* ========== WORK CARDS WITH PHOTOS ========== */
.work-card {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  display: block;
  text-decoration: none;
  color: inherit;
}

.work-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.work-card:hover .work-img {
  transform: scale(1.08);
}

.work-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 5, 8, 0.92) 0%, rgba(3, 5, 8, 0.4) 45%, rgba(3, 5, 8, 0.15) 100%);
  transition: opacity 0.4s;
}

.work-card:hover .work-card-overlay {
  background: linear-gradient(to top, rgba(3, 5, 8, 0.95) 0%, rgba(3, 5, 8, 0.5) 50%, rgba(3, 5, 8, 0.2) 100%);
}

.work-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6);
}

[data-theme="light"] .work-card-overlay {
  background: linear-gradient(to top, rgba(244, 246, 249, 0.95) 0%, rgba(244, 246, 249, 0.3) 50%, transparent 100%);
}
[data-theme="light"] .work-card:hover .work-card-overlay {
  background: linear-gradient(to top, rgba(244, 246, 249, 0.98) 0%, rgba(244, 246, 249, 0.4) 50%, transparent 100%);
}
[data-theme="light"] .work-card-content p {
  color: rgba(10, 14, 20, 0.55) !important;
}

/* ========== SERVICE ANIMATIONS ========== */
.service-card-inner {
  position: relative;
  overflow: hidden;
}
.service-card-inner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(12, 140, 233, 0.08) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.service-card:hover .service-card-inner::before {
  opacity: 1;
}

.extra-service-card {
  position: relative;
  overflow: hidden;
}
.extra-service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, currentColor, transparent);
  opacity: 0;
  transform: scaleX(0);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.extra-service-card:nth-child(1)::after { color: #f87171; }
.extra-service-card:nth-child(2)::after { color: #38bdf8; }
.extra-service-card:nth-child(3)::after { color: #fbbf24; }
.extra-service-card:nth-child(4)::after { color: #a78bfa; }
.extra-service-card:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

/* Process step pulse on hover */
.process-step .w-10 {
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.process-step:hover .w-10 {
  background: rgba(12, 140, 233, 0.25);
  border-color: rgba(12, 140, 233, 0.5);
  transform: scale(1.1);
}

/* ========== MOBILE RESPONSIVE FIXES ========== */
@media (max-width: 640px) {
  /* Stack floating buttons so they don't overlap */
  .whatsapp-btn {
    bottom: 20px;
    left: 16px;
    width: 50px;
    height: 50px;
  }
  .chat-open-btn {
    bottom: 20px;
    right: 16px;
    width: 50px;
    height: 50px;
  }
  .theme-toggle {
    bottom: 80px; /* above WhatsApp/chat */
    left: 50%;
    width: 44px;
    height: 44px;
  }
  .chat-widget {
    bottom: 80px;
    right: 12px;
    left: 12px;
    width: auto;
    height: 380px;
    max-width: none;
  }

  /* Hero text */
  h1.font-display {
    font-size: 2.5rem !important;
    line-height: 1.05 !important;
  }

  /* Cards spacing */
  .service-card-inner,
  .pricing-card-inner {
    padding: 1.25rem;
  }

  /* Work cards full width friendly */
  .work-card {
    aspect-ratio: 16 / 11;
  }

  /* Nav glass padding */
  .glass-nav {
    margin-top: 0.75rem;
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  /* Hide custom cursor on touch - already handled */

  /* Stats */
  .stat-number {
    font-size: 1.75rem !important;
  }
}

@media (max-width: 400px) {
  .theme-toggle {
    bottom: 76px;
  }
}

/* Prevent horizontal overflow */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

/* ========== CLOUD BADGES ========== */
.cloud-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.cloud-badge:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  color: white;
}

[data-theme="light"] .cloud-badge {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  color: rgba(10, 14, 20, 0.7);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
[data-theme="light"] .cloud-badge:hover {
  border-color: rgba(0, 0, 0, 0.15);
  color: #0a0e14;
}

/* Nav theme toggles */
.theme-toggle-nav {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  -webkit-tap-highlight-color: transparent;
}

[data-theme="light"] .theme-toggle-nav {
  color: #0a0e14 !important;
}
[data-theme="light"] .theme-toggle-nav:hover {
  background: rgba(0, 0, 0, 0.06) !important;
}

[data-theme="dark"] .icon-sun-nav { display: none !important; }
[data-theme="dark"] .icon-moon-nav { display: block !important; }
[data-theme="light"] .icon-sun-nav { display: block !important; }
[data-theme="light"] .icon-moon-nav { display: none !important; }

/* Hide floating bottom toggle on mobile - use nav instead */
@media (max-width: 640px) {
  .theme-toggle {
    display: none !important;
  }
}
