:root {
  --emerald-main: #10b981;
  --emerald-dark: #064e3b;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

.site-loader {
  opacity: 1;
  visibility: visible;
}

.photo-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.photo-layer img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  filter: blur(24px) saturate(1.3) contrast(0.9);
}

.photo-layer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(16,185,129,0.24), transparent 30%), linear-gradient(180deg, rgba(255,255,255,0.88), rgba(255,255,255,0.5));
}

.noise-pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.16) 1px, transparent 1px);
  background-size: 6px 6px;
  opacity: 0.26;
  pointer-events: none;
}

.faq-item {
  background: white;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.5rem;
  padding: 1.5rem;
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-weight: 700;
  color: #0f172a;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item .faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  transition: transform 0.25s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-item p {
  margin-top: 1rem;
  color: #475569;
  line-height: 1.8;
}

.site-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.animate-spin-slow {
  animation: spin 6s linear infinite;
}

.loader-bar {
  animation: loader-fill 2.8s ease-in-out infinite;
}

@keyframes loader-fill {
  0%, 100% {
    width: 0%;
  }
  50% {
    width: 95%;
  }
}

/* Smooth Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Professional Gradient Text */
.grad-text {
  background: linear-gradient(135deg, #059669 0%, #10b981 50%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Ultra-Glassmorphism */
.glass {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

/* Organic blob background */
.hero-blob {
  position: absolute;
  border-radius: 60% 40% 70% 30% / 40% 60% 40% 60%;
  filter: blur(70px);
  opacity: 0.32;
  pointer-events: none;
  animation: morph 10s ease-in-out infinite;
}

@keyframes morph {
  0%, 100% {
    border-radius: 60% 40% 70% 30% / 40% 60% 40% 60%;
  }
  50% {
    border-radius: 30% 70% 40% 60% / 60% 30% 70% 40%;
  }
}

/* Floating effects */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

.animate-float,
.float-ring {
  animation: float 5s ease-in-out infinite;
}

/* Modern Hover Effects for Buttons */
.btn-hover-effect {
  position: relative;
  overflow: hidden;
}

.btn-hover-effect::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn-hover-effect:hover::after {
  width: 300%;
  height: 300%;
}

/* Custom Selection Color */
::selection {
  background: var(--emerald-main);
  color: white;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: var(--emerald-main);
  border-radius: 999px;
}

.ceo-avatar {
  position: relative;
  display: inline-flex;
}

.ceo-avatar > div {
  position: relative;
  z-index: 1;
}

.ceo-avatar::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(100% + 18px);
  height: calc(100% + 18px);
  transform: translate(-50%, -50%) rotate(0deg);
  border-radius: 9999px;
  border: 2px dotted rgba(34,197,94,0.95);
  box-shadow: 0 0 18px rgba(34,197,94,0.35), inset 0 0 10px rgba(16,185,129,0.35);
  mix-blend-mode: screen;
  box-sizing: border-box;
  animation: ceo-avatar-ring 6s linear infinite;
  pointer-events: none;
}

@keyframes ceo-avatar-ring {
  to {
    transform: translate(-50%, -50%) rotate(360deg);  
  }}
/* Smooth mobile menu animation */

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fade-in 0.9s ease-out forwards;
}