/* ==========================================================================
   TIC SOLUTION - Static Website Stylesheet
   Modern Glassmorphism & High-Conversion Tech Design System
   Exclusive Typography: Poppins
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap');

:root {
  --font-main: 'Poppins', sans-serif;
  
  /* Brand Colors */
  --color-brand-50: #eff6ff;
  --color-brand-500: #2563eb;
  --color-brand-600: #1d4ed8;
  --color-accent-cyan: #00e5ff;
  --color-accent-emerald: #10b981;
}

/* Base resets & typography */
html {
  font-family: var(--font-main);
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

/* Glassmorphism Styles */
.glass-panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.dark .glass-panel {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dark .glass-card {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: 0 20px 30px -10px rgba(37, 99, 235, 0.15);
}

.dark .glass-card:hover {
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: 0 20px 30px -10px rgba(0, 229, 255, 0.12);
}

/* Text Gradients */
.text-gradient-brand {
  background: linear-gradient(135deg, #2563eb 0%, #00e5ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-emerald {
  background: linear-gradient(135deg, #10b981 0%, #00e5ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glowing background orbs */
.bg-orb {
  position: absolute;
  border-radius: 9999px;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

.dark .bg-orb {
  opacity: 0.25;
}

/* Animated Pulse Badge */
@keyframes pulse-subtle {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.05);
  }
}

.animate-pulse-subtle {
  animation: pulse-subtle 2.5s infinite ease-in-out;
}

/* Floating animation for icons/badges */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.05);
}

.dark ::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.8);
}

::-webkit-scrollbar-thumb {
  background: rgba(100, 116, 139, 0.3);
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(37, 99, 235, 0.6);
}

/* Stepper & Checkbox Custom Elements */
.quote-step {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.quote-step.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.custom-checkbox-card {
  transition: all 0.2s ease;
  cursor: pointer;
  user-select: none;
}

.custom-checkbox-card:hover {
  border-color: #3b82f6;
}

.custom-checkbox-card.selected {
  border-color: #2563eb;
  background-color: rgba(37, 99, 235, 0.08);
}

.dark .custom-checkbox-card.selected {
  border-color: #00e5ff;
  background-color: rgba(0, 229, 255, 0.08);
}

/* Modal animation */
.modal-backdrop {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  transform: scale(0.95) translateY(10px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.open .modal-dialog {
  transform: scale(1) translateY(0);
}

/* Interactive Accordion */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-content {
  max-height: 500px;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-icon {
  transition: transform 0.3s ease;
}

/* Print Friendly */
@media print {
  header, footer, .no-print {
    display: none !important;
  }
}

/* ==========================================================================
   Modern PageHeader Components
   ========================================================================== */
.page-header-container {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  padding: 3.5rem 1.5rem 3.5rem;
  margin-bottom: 2.75rem;
  background: radial-gradient(circle at 50% -20%, rgba(37, 99, 235, 0.12) 0%, rgba(255, 255, 255, 0.6) 55%, transparent 100%);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 20px 40px -15px rgba(37, 99, 235, 0.05);
}

.dark .page-header-container {
  background: radial-gradient(circle at 50% -20%, rgba(37, 99, 235, 0.22) 0%, rgba(15, 23, 42, 0.75) 60%, transparent 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

.page-header-glow {
  position: absolute;
  top: -6rem;
  left: 50%;
  transform: translateX(-50%);
  width: 32rem;
  height: 24rem;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, rgba(0, 229, 255, 0.12) 40%, transparent 70%);
  filter: blur(54px);
  pointer-events: none;
  z-index: 0;
}

.dark .page-header-glow {
  background: radial-gradient(circle, rgba(37, 99, 235, 0.35) 0%, rgba(0, 229, 255, 0.18) 45%, transparent 70%);
}

.page-header-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(148, 163, 184, 0.2) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 20%, #000 50%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 20%, #000 50%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}
