/* ==========================================================================
   UGN BİLİŞİM - MODERN TECH DESIGN SYSTEM & STYLESHEET
   Inspired by SunucuAl aesthetics, tailored for high-end IT Consulting
   ========================================================================== */

:root {
  --font-sans: 'Inter', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Inter', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  
  --color-navy: #0a2240;
  --color-navy-dark: #06162b;
  --color-navy-light: #103460;
  --color-teal: #167e94;
  --color-teal-light: #22a6c4;
  --color-teal-dark: #0e5c6d;
  
  --color-primary: #0a2240;
  --color-primary-dark: #06162b;
  --color-primary-light: #167e94;
  --color-cyan: #167e94;
  --color-indigo: #0d2c52;
  --color-emerald: #10b981;
  --color-amber: #f59e0b;
  --color-slate-900: #06162b;
  --color-slate-800: #0a2240;
  --color-slate-700: #334155;
  --color-slate-600: #475569;
  --color-slate-500: #64748b;
  --color-slate-100: #f1f5f9;
  --color-slate-50: #f8fafc;
}

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

html {
  font-family: var(--font-sans);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background-color: #f8fafc;
  color: #1e293b;
  line-height: 1.6;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  letter-spacing: -0.011em;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--font-heading);
  letter-spacing: -0.024em;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
  text-rendering: optimizeLegibility;
  font-weight: 800;
}

h1 {
  letter-spacing: -0.035em;
  line-height: 1.15;
}

h2 {
  letter-spacing: -0.028em;
  line-height: 1.2;
}

h3 {
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.font-sans {
  font-family: var(--font-sans);
}

.font-mono, code, pre, kbd {
  font-family: var(--font-mono);
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

/* Containers */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Gradients & Glows (Aligned with Navy & Petrol Cyan Logo Identity) */
.text-gradient-blue {
  background: linear-gradient(135deg, #0a2240 0%, #167e94 50%, #22a6c4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #167e94 0%, #22a6c4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-amber {
  background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-mesh-bg {
  background: radial-gradient(circle at 80% 20%, rgba(22, 126, 148, 0.12) 0%, transparent 45%),
              radial-gradient(circle at 10% 80%, rgba(10, 34, 64, 0.08) 0%, transparent 45%),
              linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.dark-hero-bg {
  background: radial-gradient(circle at 70% 30%, rgba(22, 126, 148, 0.28) 0%, transparent 50%),
              radial-gradient(circle at 20% 70%, rgba(10, 34, 64, 0.35) 0%, transparent 40%),
              linear-gradient(135deg, #06162b 0%, #0a2240 100%);
}

.subtle-grid {
  background-size: 32px 32px;
  background-image: 
    linear-gradient(to right, rgba(148, 163, 184, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
}

.dark-grid {
  background-size: 32px 32px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
}

/* Glassmorphism */
.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.glass-dark {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Range Slider Custom Styling */
.server-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 6px;
  background: #e2e8f0;
  outline: none;
  transition: all 0.2s;
  cursor: pointer;
}

.server-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #2563eb;
  cursor: pointer;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.25), 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.server-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.35), 0 4px 10px rgba(0, 0, 0, 0.2);
}

.server-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #2563eb;
  cursor: pointer;
  border: none;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.25);
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

@keyframes pulse-soft {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

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

.animate-pulse-soft {
  animation: pulse-soft 2s ease-in-out infinite;
}

/* Interactive Cards & Buttons */
.feature-card {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 30px -10px rgba(37, 99, 235, 0.12), 0 10px 15px -3px rgba(0, 0, 0, 0.05);
  border-color: rgba(37, 99, 235, 0.3);
}

.pricing-card {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 35px -10px rgba(15, 23, 42, 0.12);
}

.btn-primary {
  background: linear-gradient(135deg, #0a2240 0%, #167e94 100%);
  color: #ffffff;
  font-weight: 700;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(10, 34, 64, 0.35);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #06162b 0%, #22a6c4 100%);
  box-shadow: 0 6px 22px rgba(22, 126, 148, 0.45);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-cyan {
  background: linear-gradient(135deg, #167e94 0%, #22a6c4 100%);
  color: #ffffff;
  font-weight: 700;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(22, 126, 148, 0.3);
}
.btn-cyan:hover {
  background: linear-gradient(135deg, #0a2240 0%, #167e94 100%);
  box-shadow: 0 6px 20px rgba(34, 166, 196, 0.4);
  transform: translateY(-2px);
  color: #ffffff;
}

/* Accordion FAQ */
.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #ffffff;
  transition: all 0.2s ease;
  overflow: hidden;
}
.faq-item.active {
  border-color: #99f6e4;
  box-shadow: 0 10px 25px -5px rgba(22, 126, 148, 0.12);
}
.faq-question {
  cursor: pointer;
  user-select: none;
}
.faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer {
  max-height: 600px;
  opacity: 1;
  padding-top: 0.5rem;
  padding-bottom: 1.25rem;
}
.faq-item .faq-icon {
  transition: transform 0.3s ease;
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: #167e94;
}

/* Breadcrumbs */
.ugn-breadcrumbs {
  font-size: 0.8125rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.ugn-breadcrumbs a {
  color: #475569;
  font-weight: 600;
}
.ugn-breadcrumbs a:hover {
  color: #167e94;
}

/* Badges */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}
.badge-blue {
  background-color: #f0fdfa;
  color: #0a2240;
  border: 1px solid #99f6e4;
}
.badge-teal {
  background-color: #f0fdfa;
  color: #167e94;
  border: 1px solid #5eead4;
}
.badge-emerald {
  background-color: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}
.badge-amber {
  background-color: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

/* Grid & Layout Utilities */
.grid { display: grid; }
.flex { display: flex; }
.hidden { display: none; }
.inline-flex { display: inline-flex; }

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:flex-row { flex-direction: row; }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:flex { display: flex; }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:col-span-4 { grid-column: span 4 / span 4; }
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
  .lg\:col-span-7 { grid-column: span 7 / span 7; }
  .lg\:col-span-8 { grid-column: span 8 / span 8; }
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none; }
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background-color: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.whatsapp-float:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
  color: #ffffff;
}

/* ==========================================================================
   Hero Services Slider Styles
   ========================================================================== */
.hero-slider-container {
  position: relative;
  width: 100%;
}

.hero-slide {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slide.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.slider-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  color: #334155;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.slider-nav-btn:hover {
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.35);
  transform: translateY(-2px);
}

.hero-service-tab {
  padding: 0.75rem 1.15rem;
  border-radius: 1.1rem;
  font-size: 0.82rem;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  color: #475569;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.hero-service-tab .tab-num {
  font-size: 0.68rem;
  font-family: monospace;
  font-weight: 800;
  opacity: 0.55;
  transition: opacity 0.25s;
}

.hero-service-tab.active {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #06b6d4 100%);
  color: #ffffff;
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.4);
  border-color: transparent;
  transform: translateY(-2px);
}

.hero-service-tab.active .tab-num {
  opacity: 0.9;
  color: #a5f3fc;
}

.hero-service-tab.active i {
  color: #ffffff !important;
}

.hero-service-tab:not(.active):hover {
  background: #ffffff;
  color: #2563eb;
  border-color: #93c5fd;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.1);
  transform: translateY(-1px);
}

/* Slide timer progress bar */
.slider-progress-wrapper {
  height: 4px;
  width: 100%;
  background: rgba(226, 232, 240, 0.8);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.slider-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #1e40af, #2563eb, #06b6d4);
  border-radius: 999px;
  transition: width 0.05s linear;
}

/* ==========================================================================
   ADVANCED ANIMATIONS & MICRO-INTERACTIONS
   ========================================================================== */
@keyframes floatSlow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.04); }
}

@keyframes shimmerEffect {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

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

.animate-pulse-glow {
  animation: pulseGlow 4s ease-in-out infinite;
}

.glass-dark {
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.glass-light {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.glow-hover {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.glow-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 35px -10px rgba(37, 99, 235, 0.18), 0 0 15px 0 rgba(6, 182, 212, 0.12);
}

.live-ping-dot {
  position: relative;
  display: inline-flex;
  width: 8px;
  height: 8px;
}

.live-ping-dot::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 9999px;
  background-color: inherit;
  animation: ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* Infinite Marquee Animation for Partners */
@keyframes marqueeScroll {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

@keyframes marqueeScrollReverse {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0%); }
}

.animate-marquee {
  display: flex;
  width: max-content;
  animation: marqueeScroll 32s linear infinite;
}

.animate-marquee-reverse {
  display: flex;
  width: max-content;
  animation: marqueeScrollReverse 36s linear infinite;
}

.animate-marquee:hover,
.animate-marquee-reverse:hover {
  animation-play-state: paused;
}

.partner-badge {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.4rem;
  border-radius: 1.25rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(51, 65, 85, 0.7);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  user-select: none;
}

.partner-badge:hover {
  background: rgba(30, 41, 59, 0.95);
  border-color: rgba(59, 130, 246, 0.6);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.25), 0 0 12px 0 rgba(6, 182, 212, 0.2);
}

/* ==========================================================================
   PAGE TRANSITIONS & SCROLL REVEAL ANIMATION SYSTEM
   ========================================================================== */

/* Modern Browser View Transitions API */
@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: 250ms cubic-bezier(0.4, 0, 0.2, 1) both ugnFadeOut;
}

::view-transition-new(root) {
  animation: 350ms cubic-bezier(0, 0, 0.2, 1) both ugnFadeInUp;
}

@keyframes ugnFadeOut {
  from { opacity: 1; transform: scale(1); }
  to { opacity: 0; transform: scale(0.99); }
}

@keyframes ugnFadeInUp {
  from { opacity: 0; transform: translateY(10px) scale(0.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Global Page Transition Loader Top Bar */
#ugn-page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #0A2240 0%, #167E94 50%, #22A6C4 100%);
  z-index: 999999;
  pointer-events: none;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  box-shadow: 0 0 10px rgba(34, 166, 196, 0.8), 0 0 20px rgba(22, 126, 148, 0.5);
}

#ugn-page-loader.loading {
  width: 75%;
}

#ugn-page-loader.loaded {
  width: 100%;
  opacity: 0;
  transition: width 0.2s ease, opacity 0.35s ease 0.2s;
}

/* Body & Main Page Entrance Transition */
body {
  opacity: 1;
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

body.ugn-page-exiting {
  opacity: 0.05;
  transform: translateY(-4px);
  transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-main {
  animation: ugnPageEntrance 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes ugnPageEntrance {
  0% {
    opacity: 0;
    transform: translateY(14px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll Reveal Elements System */
.ugn-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.ugn-reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.ugn-reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.ugn-reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.ugn-reveal.ugn-visible,
.ugn-reveal-left.ugn-visible,
.ugn-reveal-right.ugn-visible,
.ugn-reveal-scale.ugn-visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Stagger Delay Utility Classes for Grid Items */
.stagger-1 { transition-delay: 60ms; }
.stagger-2 { transition-delay: 120ms; }
.stagger-3 { transition-delay: 180ms; }
.stagger-4 { transition-delay: 240ms; }
.stagger-5 { transition-delay: 300ms; }
.stagger-6 { transition-delay: 360ms; }

/* Micro Floating & Telemetry Badges Animations */
@keyframes ugnFloatSlow {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes ugnGlowPulse {
  0%, 100% {
    opacity: 0.35;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.02);
  }
}

.animate-float-slow {
  animation: ugnFloatSlow 4s ease-in-out infinite;
}

.animate-glow-pulse {
  animation: ugnGlowPulse 3s ease-in-out infinite;
}

/* Card & Button Interactive Hover Transitions */
.feature-card,
.price-card,
.feature-box,
.stat-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
}

.feature-card:hover,
.price-card:hover {
  transform: translateY(-6px);
}

/* Smooth Accordion Height Animation */
.faq-answer {
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

/* Accessibility: Respect Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .ugn-reveal,
  .ugn-reveal-left,
  .ugn-reveal-right,
  .ugn-reveal-scale {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  
  #ugn-page-loader {
    display: none !important;
  }
}

/* Responsive Custom Spacers & Helpers */
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.pb-20 { padding-bottom: 5rem; }
.pt-12 { padding-top: 3rem; }

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE REFINEMENTS
   ========================================================================== */
@media (max-width: 640px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
    font-size: 24px;
  }
  
  .badge-pill {
    font-size: 0.68rem;
    padding: 0.25rem 0.65rem;
  }

  /* Safe tap target sizing */
  button, input, select, textarea, a.btn-primary, a.btn-cyan {
    touch-action: manipulation;
  }

  /* Prevent table/code overflow causing horizontal scroll */
  table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

