/* ============================================
   BRAND COLORS REFERENCE
   Black:  #0A0A0A
   Teal:   #5A9CA6
   Cream:  #F0EDE8
   Light Grey: #F7F5F2

   THEME: Light grey / off-white backgrounds
   TEXT:   Dark grey, black, teal
   ============================================ */

/* ============================================
   GLOBAL & BASE STYLES
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

::selection {
  background: rgba(90, 156, 166, 0.25);
  color: #0A0A0A;
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #F0EDE8;
}
::-webkit-scrollbar-thumb {
  background: rgba(90, 156, 166, 0.35);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(90, 156, 166, 0.55);
}

/* ============================================
   LOADER
   ============================================ */

.loader-ring {
  display: inline-block;
  position: relative;
  width: 60px;
  height: 60px;
}
.loader-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 48px;
  height: 48px;
  margin: 6px;
  border: 3px solid transparent;
  border-radius: 50%;
  border-top-color: #5A9CA6;
  border-right-color: #365252;
  animation: loader-spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}
.loader-ring div:nth-child(1) { animation-delay: -0.45s; }
.loader-ring div:nth-child(2) { animation-delay: -0.3s; }
.loader-ring div:nth-child(3) { animation-delay: -0.15s; }

@keyframes loader-spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loader-hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

/* ============================================
   ANIMATED GRADIENT TEXT
   ============================================ */

.animate-gradient-text {
  background: linear-gradient(90deg, #5A9CA6, #7BB8C1, #9AD0D8, #5A9CA6);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient 4s ease infinite;
}

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

/* ============================================
   HERO BACKGROUND (Dark hero stays)
   ============================================ */

.hero-bg {
  background: radial-gradient(ellipse at 50% 50%, rgba(90, 156, 166, 0.06) 0%, transparent 60%);
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(90, 156, 166, 0.25), transparent);
  top: -10%;
  left: -10%;
  animation: float-orb 15s ease-in-out infinite;
}
.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(90, 156, 166, 0.15), transparent);
  bottom: -5%;
  right: -5%;
  animation: float-orb 20s ease-in-out infinite reverse;
}
.orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(240, 237, 232, 0.04), transparent);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float-orb 12s ease-in-out infinite 2s;
}

@keyframes float-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25%      { transform: translate(30px, -40px) scale(1.05); }
  50%      { transform: translate(-20px, 20px) scale(0.95); }
  75%      { transform: translate(40px, 30px) scale(1.02); }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(90, 156, 166, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 156, 166, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

/* ============================================
   SCROLL DOT
   ============================================ */

@keyframes scroll-dot {
  0%   { opacity: 0; transform: translateY(0); }
  40%  { opacity: 1; }
  80%  { opacity: 0; transform: translateY(8px); }
  100% { opacity: 0; transform: translateY(8px); }
}

.animate-scroll-dot {
  animation: scroll-dot 2s ease-in-out infinite;
}

/* ============================================
   EQUAL-HEIGHT CARD GRIDS
   ============================================ */

.equal-height-cards > * {
  display: flex;
  flex-direction: column;
}

.equal-height-cards > * > p:last-child {
  margin-top: auto;
}

/* ============================================
   LIGHT THEME CARDS
   ============================================ */

.light-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(10, 10, 10, 0.06);
}

.light-card-hover {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(10, 10, 10, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.light-card-hover:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(90, 156, 166, 0.25);
  transform: translateY(-4px);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.06),
    0 0 60px rgba(90, 156, 166, 0.04);
}

/* Keep glass-card for backward compat but restyle for light */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(10, 10, 10, 0.06);
}

.glass-card-hover {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(10, 10, 10, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card-hover:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(90, 156, 166, 0.25);
  transform: translateY(-4px);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.06),
    0 0 60px rgba(90, 156, 166, 0.04);
}

/* ============================================
   NAVBAR (Vise-style – always light)
   ============================================ */

.vise-nav {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

/* Scrolled state: slightly more opaque */
.vise-nav.nav-scrolled {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Hamburger */
.hamburger-lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 18px;
}
.hamburger-lines span {
  display: block;
  height: 2px;
  background: #F0EDE8;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Dark hamburger variant (always dark lines) */
.dark-hamburger span {
  background: #0A0A0A !important;
}

.hamburger-active .hamburger-lines span:nth-child(1) {
  transform: rotate(45deg) translate(3px, 6px);
}
.hamburger-active .hamburger-lines span:nth-child(2) {
  opacity: 0;
}
.hamburger-active .hamburger-lines span:nth-child(3) {
  transform: rotate(-45deg) translate(3px, -6px);
}

/* ============================================
   SECTION GLOW (Light theme)
   ============================================ */

.section-glow-light {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(90, 156, 166, 0.2), transparent);
}

/* ============================================
   WEBINAR CARDS (Light theme)
   ============================================ */

.webinar-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.webinar-card:hover {
  transform: translateY(-4px);
  border-color: rgba(90, 156, 166, 0.25);
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.08),
    0 0 80px rgba(90, 156, 166, 0.04);
}

.webinar-card .webinar-image {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.webinar-card:hover .webinar-image {
  transform: scale(1.05);
}

.webinar-card .register-btn {
  position: relative;
  overflow: hidden;
}
.webinar-card .register-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}
.webinar-card .register-btn:hover::before {
  left: 100%;
}

/* Gift line pulse */
.gift-line {
  animation: gift-pulse 2s ease-in-out infinite;
}
@keyframes gift-pulse {
  0%, 100% { opacity: 0.8; }
  50%      { opacity: 1; transform: scale(1.02); }
}

/* ============================================
   BENEFIT CARDS (Light theme)
   ============================================ */

.benefit-card {
  position: relative;
  overflow: hidden;
}
.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #5A9CA6;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.benefit-card:hover::before {
  transform: scaleX(1);
}

.benefit-card .benefit-icon {
  transition: all 0.3s ease;
}
.benefit-card:hover .benefit-icon {
  transform: scale(1.1) rotate(-5deg);
  color: #5A9CA6;
}

/* ============================================
   TESTIMONIAL CAROUSEL (Light theme)
   ============================================ */

.testimonial-card {
  overflow-wrap: break-word;
  word-wrap: break-word;
  transition: all 0.5s ease;
}

.testimonial-card .quote-icon {
  transition: transform 0.3s ease;
}
.testimonial-card:hover .quote-icon {
  transform: scale(1.15) rotate(-5deg);
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.12);
  transition: all 0.3s ease;
  cursor: pointer;
}
.testimonial-dot.active {
  width: 24px;
  border-radius: 4px;
  background: #5A9CA6;
}


/* ============================================
   SPEAKER CARDS (Light theme)
   ============================================ */

.speaker-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.speaker-card:hover {
  transform: translateY(-8px);
  border-color: rgba(90, 156, 166, 0.25);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.06),
    0 0 40px rgba(90, 156, 166, 0.04);
}

.speaker-photo-wrapper {
  position: relative;
  overflow: hidden;
}
.speaker-photo-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(90, 156, 166, 0.12);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.speaker-card:hover .speaker-photo-wrapper::after {
  opacity: 1;
}

.speaker-photo {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.speaker-card:hover .speaker-photo {
  transform: scale(1.08);
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 1.5rem;
  padding: 1px;
  background: linear-gradient(135deg, rgba(90, 156, 166, 0.3), rgba(10, 10, 10, 0.1), rgba(90, 156, 166, 0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

/* ============================================
   ANIMATION HELPERS
   ============================================ */

/* Hero title blend – lets video texture bleed through */
.hero-title-blend {
  mix-blend-mode: lighten;
}

.hero-element {
  opacity: 0;
  transform: translateY(40px);
}
.hero-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.reveal-up {
  opacity: 0;
  transform: translateY(40px);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 640px) {
  .gradient-orb {
    opacity: 0.2;
  }
  .orb-1 { width: 300px; height: 300px; }
  .orb-2 { width: 250px; height: 250px; }
  .orb-3 { width: 200px; height: 200px; }
}
