/* Pashupatastra Solutions - Healthcare AI Landing Page Styles
   100% Pixel-Perfect Alignment to Figma Specifications */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --primary-blue: #3585FF;
  --primary-blue-hover: #2073ec;
  --primary-indigo: #3b469b;
  --text-dark: #080D0D;
  --text-muted: #6F7781;
  --star-amber: #FEB122;
  --chevron-blue: #12334D;
  --card-outline: rgba(215.46, 215.46, 215.46, 0.50);
}

* {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html {
  overflow-x: clip;
  min-height: 100%;
  scroll-behavior: smooth;
}

/* Hide scrollbar everywhere: Firefox */
html, body {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* Hide scrollbar everywhere: Chrome, Safari, Edge */
html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background-color: #ffffff;
  overflow-x: clip;
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
  /* Scale the full Figma 1920px layout down to match the 67% zoom appearance.
     This keeps the design pixel-perfect at 100% browser zoom on all screen sizes. */
  zoom: 0.67;
}

/* On tablet / large mobile screens restore to native scale */
@media (max-width: 1024px) {
  body {
    zoom: 1;
  }
}

/* Glassmorphism Header */
.header-glass {
  position: sticky !important;
  top: 0 !important;
  z-index: 50 !important;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0px 4px 40px rgba(0, 0, 0, 0.08);
}

/* Hero Section Background (Pure White matching Figma) */
.hero-section-bg {
  position: relative;
  background-color: #ffffff;
}

/* Ambient glow background for Section 4 & Section 10 (Exact Figma Asset) */
.section-ambient-glow-bg {
  position: relative;
  background-color: #ffffff;
  background-image: url('../assets/images/glow_bg.png');
  background-size: 100% 100%;
  background-position: center center;
  background-repeat: no-repeat;
}

.ambient-glow-pill {
  position: absolute;
  width: 446px;
  height: 877px;
  background: #3585FF;
  opacity: 0.25;
  border-radius: 9999px;
  filter: blur(327px);
  pointer-events: none;
}

/* Custom CTA Button styling matching Figma: height 66px, border-radius 12.56px, background #3585FF */
.btn-primary-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background-color: #3585FF;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 18px;
  border-radius: 12.56px;
  min-height: 56px;
  height: auto;
  padding: 8px 8px 8px 22px !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(53, 133, 255, 0.30);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  line-height: 1.25;
  text-decoration: none;
}

.btn-primary-arrow span {
  display: block;
  flex: 1 1 auto;
  text-align: center;
  white-space: normal;
  line-height: 1.25;
  margin-right: 12px;
  min-width: 0;
  word-break: normal;
  overflow-wrap: break-word;
}

.btn-primary-arrow::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-25deg);
  transition: left 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.btn-primary-arrow:hover::after {
  left: 200%;
}

.btn-primary-arrow:hover {
  background-color: #2173f3;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(53, 133, 255, 0.45);
}

.btn-primary-arrow:active {
  transform: translateY(0);
}

/* White 50.25px x 50.25px Box inside Button */
.btn-arrow-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50.25px;
  height: 50.25px;
  min-width: 50.25px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
  object-fit: contain;
}

.btn-primary-arrow:hover .btn-arrow-icon-box {
  transform: translateX(3px);
}

/* Global Mobile & Tablet Responsiveness for Primary CTA Buttons */
/* Global Mobile & Tablet Responsiveness for Primary CTA Buttons */
@media (max-width: 1024px) {
  .btn-primary-arrow:not(.header-btn-responsive) {
    display: inline-flex !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 52px !important;
    height: auto !important;
    padding: 6px 6px 6px 16px !important;
    font-size: 15px !important;
    border-radius: 12px !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
  .btn-primary-arrow:not(.header-btn-responsive) span {
    display: block !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    margin-right: 8px !important;
    font-size: 14.5px !important;
    line-height: 1.25 !important;
    text-align: center !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }
  .btn-primary-arrow:not(.header-btn-responsive) .btn-arrow-icon-box {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    flex-shrink: 0 !important;
    border-radius: 9px !important;
    margin: 0 !important;
  }
}

@media (max-width: 639px) {
  .btn-primary-arrow:not(.header-btn-responsive) {
    min-height: 46px !important;
    padding: 4px 4px 4px 14px !important;
    font-size: 13.5px !important;
    border-radius: 10px !important;
  }
  .btn-primary-arrow:not(.header-btn-responsive) span {
    font-size: 13px !important;
    line-height: 1.2 !important;
    margin-right: 6px !important;
  }
  .btn-primary-arrow:not(.header-btn-responsive) .btn-arrow-icon-box {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    border-radius: 7px !important;
    margin: 0 !important;
  }
}

@media (max-width: 380px) {
  .btn-primary-arrow:not(.header-btn-responsive) {
    min-height: 42px !important;
    padding: 3px 3px 3px 10px !important;
    font-size: 12px !important;
    border-radius: 9px !important;
  }
  .btn-primary-arrow:not(.header-btn-responsive) span {
    font-size: 12px !important;
    margin-right: 4px !important;
    line-height: 1.2 !important;
  }
  .btn-primary-arrow:not(.header-btn-responsive) .btn-arrow-icon-box {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    border-radius: 6px !important;
    margin: 0 !important;
  }
}

/* Header Responsive CTA Button */
.header-btn-responsive {
  height: 34px !important;
  min-height: 34px !important;
  padding: 2px 2px 2px 9px !important;
  font-size: 11px !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 10px rgba(53, 133, 255, 0.25) !important;
}

.header-btn-responsive span {
  margin-right: 4px !important;
  font-size: 11px !important;
  white-space: nowrap !important;
  line-height: 1 !important;
}

.header-btn-responsive .btn-arrow-icon-box {
  width: 26px !important;
  height: 26px !important;
  min-width: 26px !important;
  border-radius: 6px !important;
  margin: 0 !important;
}

@media (min-width: 390px) {
  .header-btn-responsive {
    height: 36px !important;
    min-height: 36px !important;
    padding: 2.5px 2.5px 2.5px 10px !important;
    font-size: 11.5px !important;
    border-radius: 8.5px !important;
  }
  .header-btn-responsive span {
    margin-right: 5px !important;
    font-size: 11.5px !important;
  }
  .header-btn-responsive .btn-arrow-icon-box {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    border-radius: 6.5px !important;
    margin: 0 !important;
  }
}

@media (min-width: 480px) {
  .header-btn-responsive {
    height: 40px !important;
    min-height: 40px !important;
    padding: 3px 3px 3px 12px !important;
    font-size: 12.5px !important;
    border-radius: 9px !important;
  }
  .header-btn-responsive span {
    margin-right: 6px !important;
    font-size: 12.5px !important;
  }
  .header-btn-responsive .btn-arrow-icon-box {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    border-radius: 7.5px !important;
    margin: 0 !important;
  }
}

@media (min-width: 640px) {
  .header-btn-responsive {
    height: 48px !important;
    min-height: 48px !important;
    padding: 4px 4px 4px 16px !important;
    font-size: 14px !important;
    border-radius: 11px !important;
  }
  .header-btn-responsive span {
    margin-right: 10px !important;
    font-size: 14px !important;
  }
  .header-btn-responsive .btn-arrow-icon-box {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    border-radius: 9px !important;
    margin: 0 !important;
  }
}

@media (min-width: 1024px) {
  .header-btn-responsive {
    height: 66px !important;
    min-height: 58px !important;
    padding: 6px 6px 6px 22px !important;
    font-size: 18px !important;
    border-radius: 12.56px !important;
  }
  .header-btn-responsive span {
    margin-right: 14px !important;
    font-size: 18px !important;
  }
  .header-btn-responsive .btn-arrow-icon-box {
    width: 50.25px !important;
    height: 50.25px !important;
    min-width: 50.25px !important;
    border-radius: 10px !important;
    margin: 0 !important;
  }
}

/* Hero Custom Input Field matching Figma */
.figma-input {
  width: 100%;
  height: 65px;
  background: #F6F6F6;
  box-shadow: 0px 5.87px 29.37px rgba(0, 0, 0, 0.11), 0px 0px 14.68px rgba(254.69, 254.69, 254.69, 0.15) inset;
  border-radius: 11.75px;
  outline: 1.47px rgba(0, 0, 0, 0.14) solid;
  outline-offset: -1.47px;
  border: none;
  padding: 0 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  color: #080D0D;
  transition: all 0.2s ease;
}

.figma-input:focus {
  outline: 1.5px solid #3585FF;
  background: #ffffff;
}

/* Hero Dropdown Trigger */
.figma-dropdown-trigger {
  width: 100%;
  height: 65px;
  background: #ffffff;
  border: 1.5px solid #3585FF;
  border-radius: 11.75px;
  box-shadow: 0px 4px 20px rgba(53, 133, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 19px;
  color: #080D0D;
  cursor: pointer;
  transition: all 0.2s ease;
}

.figma-dropdown-trigger:hover, .figma-dropdown-trigger:focus {
  border-color: #2173f3;
  box-shadow: 0px 6px 25px rgba(53, 133, 255, 0.25);
  background: #ffffff;
  outline: none;
}

/* Hero Form Input Fields (Exact Figma Component 2) */
.figma-input-field {
  width: 100%;
  height: 58px;
  background: #ffffff;
  border-radius: 11.75px;
  border: 1.5px solid #3585FF;
  box-shadow: 0px 4px 20px rgba(53, 133, 255, 0.12);
  padding: 0 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 19px;
  color: #080D0D;
  transition: all 0.2s ease;
}

.figma-input-field::placeholder {
  color: #9EA5AD;
}

.figma-input-field:hover, .figma-input-field:focus {
  border-color: #2173f3;
  box-shadow: 0px 6px 25px rgba(53, 133, 255, 0.22);
  background: #ffffff;
  outline: none;
}

.figma-textarea-field {
  width: 100%;
  background: #ffffff;
  border-radius: 11.75px;
  border: 1.5px solid #3585FF;
  box-shadow: 0px 4px 20px rgba(53, 133, 255, 0.12);
  padding: 16px 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 19px;
  color: #080D0D;
  resize: none;
  transition: all 0.2s ease;
}

.figma-textarea-field::placeholder {
  color: #9EA5AD;
}

.figma-textarea-field:hover, .figma-textarea-field:focus {
  border-color: #2173f3;
  box-shadow: 0px 6px 25px rgba(53, 133, 255, 0.22);
  background: #ffffff;
  outline: none;
}

/* Figma Standard Card */
.figma-card {
  background: #ffffff;
  border-radius: 15px;
  outline: 1px rgba(215.46, 215.46, 215.46, 0.50) solid;
  outline-offset: -1px;
  box-shadow: 0px 4px 40px rgba(0, 0, 0, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.figma-card:hover {
  transform: translateY(-3px);
  box-shadow: 0px 12px 45px rgba(53, 133, 255, 0.09);
  outline-color: rgba(53, 133, 255, 0.40);
}

/* Results Partner / Stat Card (Increased Size: 440px x 126px) */
.stat-ticker-card {
  width: 440px;
  height: 126px;
  background: #ffffff;
  box-shadow: 0px 6px 36px rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  outline: 1.16px rgba(0, 0, 0, 0.05) solid;
  outline-offset: -1.16px;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 28px;
  flex-shrink: 0;
  transition: all 0.25s ease;
  overflow: hidden;
}

/* Logo section – fixed width, right border acts as divider */
.stat-logo-box {
  width: 175px;
  min-width: 175px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 24px;
  border-right: 1.16px solid rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

/* Stats section – takes remaining space */
.stat-info-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-left: 24px;
}

.stat-ticker-card:hover {
  transform: translateY(-3px);
  box-shadow: 0px 10px 38px rgba(53, 133, 255, 0.14);
}

/* Tag Pill matching Figma (height 36px, border-radius 87.71px, background rgba(0,136,255,0.10)) */
.figma-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 16px;
  background: rgba(0, 136, 255, 0.10);
  box-shadow: 0px 3.51px 17.54px rgba(0, 0, 0, 0.04);
  border-radius: 87.71px;
  color: #3585FF;
  font-size: 15px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  text-transform: capitalize;
}

/* Step Badge matching Figma (98px x 46px, #3585FF, border-radius 7px) */
.step-badge {
  width: 98px;
  height: 46px;
  background: #3585FF;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 20px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  flex-shrink: 0;
}

/* ==================== SECURITY & COMPLIANCE SECTION STYLES ==================== */
.compliance-step-card {
  background: #ffffff;
  border: 1px solid #E5EEF9;
  border-radius: 16px;
  padding: 20px 18px;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 140px;
  text-align: left;
}

.compliance-step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(53, 133, 255, 0.45);
  box-shadow: 0px 14px 36px rgba(53, 133, 255, 0.10);
}

.compliance-node-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
}

.compliance-node-halo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s ease;
}

.compliance-node-inner {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: transform 0.3s ease;
}

.compliance-node-wrapper:hover .compliance-node-inner {
  transform: scale(1.08);
}

.compliance-node-halo::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.12;
  transition: all 0.3s ease;
}

.compliance-node-halo::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 1.5px dashed currentColor;
  opacity: 0.28;
  transition: all 0.3s ease;
}

.compliance-node-wrapper:hover .compliance-node-halo::before {
  opacity: 0.22;
  transform: scale(1.06);
}

.compliance-shield-core {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.compliance-trust-bar {
  background: #F8FAFD;
  border: 1.2px solid #E2ECF8;
  box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.02);
  border-radius: 9999px;
}

@media (max-width: 1023px) {
  .compliance-trust-bar {
    border-radius: 24px !important;
  }
}

/* ==================== CLIENT TESTIMONIAL SLIDER SECTION ==================== */
.testimonial-section-bg {
  background-color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.testimonial-globe-pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-image: url('../assets/images/testimonial_globe_bg.png');
  background-position: center bottom;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 0;
  opacity: 1;
}

.testimonial-blue-backdrop {
  background: #3585FF;
  border-radius: 44px;
  transform: rotate(-2deg);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card-main {
  background: #FFFFFF;
  border-radius: 44px;
  border: 1px solid rgba(226, 236, 248, 0.95);
  box-shadow: 0px 28px 80px rgba(18, 51, 77, 0.09), 0px 4px 18px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
}

.testimonial-slide {
  display: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

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

.testimonial-dot {
  height: 9px;
  border-radius: 9999px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.testimonial-dot.active {
  width: 44px;
  background-color: #3585FF;
}

.testimonial-dot:not(.active) {
  width: 9px;
  background-color: #DDE5F0;
}

.testimonial-dot:not(.active):hover {
  background-color: #BACBDE;
}

.testimonial-tab-item {
  background: #FFFFFF;
  border: 1.5px solid #E5EEF9;
  box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.03);
  border-radius: 20px;
  padding: 14px 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  min-height: 72px;
}

.testimonial-tab-item:hover {
  transform: translateY(-3px);
  border-color: rgba(53, 133, 255, 0.5);
  box-shadow: 0px 10px 28px rgba(53, 133, 255, 0.12);
}

.testimonial-tab-item.active {
  border-color: #3585FF;
  box-shadow: 0px 10px 32px rgba(53, 133, 255, 0.18);
  background: #FFFFFF;
  outline: 2.5px solid rgba(53, 133, 255, 0.25);
  outline-offset: 1px;
}




/* Feature Icon Box (64px x 63.58px, border-radius 18.23px) */
.figma-icon-box {
  width: 64px;
  height: 63.58px;
  position: relative;
  overflow: hidden;
  border-radius: 18.23px;
  background: #EDF5FF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(53, 133, 255, 0.12);
}

/* Tech Partner Card (171px x 71px, radius 14px) */
.tech-partner-card {
  width: 171px;
  height: 71px;
  background: #ffffff;
  box-shadow: 0px 2.11px 27.1px rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  box-sizing: border-box;
  overflow: hidden;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.tech-partner-card img {
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
}

.tech-partner-card:hover {
  transform: translateY(-2px);
  box-shadow: 0px 6px 30px rgba(53, 133, 255, 0.16);
}

/* FAQ Accordion Item (93px min height, 15px radius, 0px 4px 40px rgba(0,0,0,0.08)) */
.figma-faq-item {
  background: #ffffff;
  box-shadow: 0px 4px 40px rgba(0, 0, 0, 0.08);
  border-radius: 15px;
  transition: all 0.25s ease;
  overflow: hidden;
}

.figma-faq-item:hover {
  box-shadow: 0px 6px 45px rgba(53, 133, 255, 0.10);
}

.figma-faq-trigger {
  width: 100%;
  min-height: 93px;
  padding: 24px 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background: transparent;
  border: none;
  text-align: left;
}

.figma-faq-chevron {
  width: 24px;
  height: 24px;
  color: #12334D;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.figma-faq-item.active .figma-faq-chevron {
  transform: rotate(180deg);
}

.figma-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
}

.figma-faq-item.active .figma-faq-answer {
  max-height: 300px;
  padding: 0 35px 28px 35px;
}

/* Dark Why-Section Background (Exact Figma Colors & Radial Glow) */
.why-section-bg {
  background-image: url('../assets/images/why_section_bg.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

/* Final CTA Section Background (Exact Figma Asset Provided by User) */
.final-cta-bg {
  background-color: #ffffff;
  background-image: url('../assets/images/footer_bg_full_hq.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  padding-bottom: 0 !important;
}

/* Glass Wrapper for Final Form */
.figma-glass-wrapper {
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(7.58px);
  -webkit-backdrop-filter: blur(7.58px);
  box-shadow: 1.22px 1.13px 4.62px rgba(255, 255, 255, 0.13) inset, 2.15px 2px 9.24px rgba(255, 255, 255, 0.13) inset;
  border-radius: 17px;
  outline: 1px white solid;
  padding: 13px;
}

/* Modal styles */
.modal-overlay {
  background-color: rgba(8, 13, 13, 0.65);
  backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  transform: scale(0.95) translateY(10px);
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-container {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Continuous smooth marquee ticker for Section 3 */
@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.ticker-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: tickerScroll 30s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

/* Continuous smooth marquee ticker for Section 10 (Tech Partners) */
@keyframes techTickerScrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

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

.tech-ticker-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 8px 0;
}

.tech-ticker-row {
  display: flex;
  gap: 18px;
  width: max-content;
  will-change: transform;
}

.tech-ticker-row.scroll-left {
  animation: techTickerScrollLeft 32s linear infinite;
}

.tech-ticker-row.scroll-right {
  animation: techTickerScrollRight 32s linear infinite;
}

.tech-ticker-row:hover {
  animation-play-state: paused;
}

/* Pulse animation for live badge */
@keyframes livePulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.15);
  }
}

.live-dot {
  display: inline-block;
  width: 12.9px;
  height: 12.9px;
  border-radius: 9999px;
  background-color: #00CF2D;
  animation: livePulse 1.8s infinite ease-in-out;
}

/* ==================== MODERN SCROLL & UI ANIMATIONS ==================== */
/* 1. Reveal Animations */
.reveal-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-up.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-fade {
  opacity: 0;
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity;
}

.reveal-fade.is-revealed {
  opacity: 1;
}

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

.reveal-scale.is-revealed {
  opacity: 1;
  transform: scale(1);
}

/* Staggered Child Reveal Delays */
.stagger-1 { transition-delay: 0.08s; }
.stagger-2 { transition-delay: 0.16s; }
.stagger-3 { transition-delay: 0.24s; }
.stagger-4 { transition-delay: 0.32s; }
.stagger-5 { transition-delay: 0.40s; }
.stagger-6 { transition-delay: 0.48s; }

/* 2. Hero Section Entrance Animations */
@keyframes heroEntranceLeft {
  0% {
    opacity: 0;
    transform: translateY(28px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroEntranceRight {
  0% {
    opacity: 0;
    transform: translateY(36px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-anim-left {
  animation: heroEntranceLeft 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-anim-right {
  animation: heroEntranceRight 1.05s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

/* 3. Hero Video Display Styling */
.hero-video-container {
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.5);
  position: relative;
}

.hero-video-container video {
  display: block;
}

#hero-video-center-btn {
  pointer-events: auto;
}

.hero-video-container:hover #hero-video-center-btn {
  transform: scale(1);
  opacity: 1;
}

/* 4. Enhanced Card Hover Micro-Interactions */
.figma-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), outline-color 0.3s ease;
}

.figma-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 16px 50px rgba(53, 133, 255, 0.11);
  outline-color: rgba(53, 133, 255, 0.45);
}

/* Tech Partner Card Micro-Scale */
.tech-partner-card {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.tech-partner-card:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0px 8px 35px rgba(53, 133, 255, 0.18);
}

/* Gentle Float Animation */
@keyframes gentleFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

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

/* Accessible Reduced Motion */
@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;
  }
  .reveal-up, .reveal-fade, .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==================== MOBILE CAROUSEL (Touch-scroll, snap) ==================== */
/* Applied ONLY on mobile (< 640px). Desktop grid layout is fully preserved.     */

@media (max-width: 639px) {
  html, body {
    overflow-x: clip !important;
    max-width: 100vw !important;
    width: 100% !important;
  }

  .mobile-carousel {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 16px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-behavior: smooth !important;
    padding-bottom: 16px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }

  .mobile-carousel::-webkit-scrollbar {
    display: none !important;
  }

  .mobile-carousel > * {
    flex: 0 0 85vw !important;
    width: 85vw !important;
    min-width: 85vw !important;
    max-width: 85vw !important;
    scroll-snap-align: start !important;
    scroll-snap-stop: always !important;
  }

  /* Tech Partner Ticker on Mobile */
  .tech-ticker-wrap {
    gap: 12px !important;
    padding: 4px 0 !important;
  }

  .tech-ticker-row {
    gap: 12px !important;
  }

  .tech-ticker-row.scroll-left,
  .tech-ticker-row.scroll-right {
    animation-duration: 22s !important;
  }

  .tech-partner-card {
    width: 142px !important;
    height: 60px !important;
    padding: 6px 12px !important;
    border-radius: 12px !important;
    flex-shrink: 0 !important;
  }

  .tech-partner-card img {
    max-height: 32px !important;
  }

  /* Dot indicators */
  .carousel-dots {
    display: flex !important;
    justify-content: center !important;
    gap: 7px !important;
    margin-top: 18px !important;
  }

  .carousel-dot {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: #D1D5DB !important;
    border: none !important;
    cursor: pointer !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    transition: background 0.25s ease, transform 0.2s ease !important;
  }

  .carousel-dot.active {
    background: #3585FF !important;
    transform: scale(1.3) !important;
  }
}

@media (min-width: 640px) {
  .carousel-dots { display: none !important; }
}

/* ==================== COMPREHENSIVE MOBILE RESPONSIVE STYLES ==================== */

@media (max-width: 639px) {
  /* Header Layout & Sizing */
  .header-glass div {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  /* Form Fields & Dropdowns on Mobile */
  .figma-input,
  .figma-dropdown-trigger {
    height: 52px !important;
    font-size: 15px !important;
    padding: 0 14px !important;
    border-radius: 10px !important;
  }
  
  .figma-input-field {
    height: 48px !important;
    font-size: 15px !important;
    padding: 0 14px !important;
    border-radius: 10px !important;
  }

  /* Dropdown options on mobile: match trigger font size */
  .dropdown-item {
    font-size: 15px !important;
    padding: 10px 16px !important;
  }
  
  .figma-textarea-field {
    font-size: 15px !important;
    padding: 12px 14px !important;
    border-radius: 10px !important;
  }

  /* Hero Video Container */
  .hero-video-container {
    border-radius: 14px !important;
  }

  /* Ticker Cards Scaling */
  .ticker-track {
    gap: 12px !important;
  }

  .stat-ticker-card {
    width: 285px !important;
    height: 94px !important;
    padding: 0 14px !important;
    border-radius: 12px !important;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.06) !important;
    outline: 1px rgba(0, 0, 0, 0.08) solid !important;
  }

  .stat-logo-box {
    width: 105px !important;
    min-width: 105px !important;
    padding-right: 10px !important;
  }

  .stat-logo-box img {
    max-height: 36px !important;
    max-width: 90px !important;
  }

  .stat-info-box {
    padding-left: 10px !important;
  }

  .stat-info-box .text-\[30px\],
  .stat-info-box .text-\[28px\] {
    font-size: 20px !important;
    line-height: 24px !important;
    font-weight: 700 !important;
  }

  .stat-info-box .text-\[13px\] {
    font-size: 11px !important;
    line-height: 1.2 !important;
    color: #4B5563 !important;
  }
}

@media (min-width: 480px) and (max-width: 1024px) {
  .ticker-track {
    gap: 16px !important;
  }

  .stat-ticker-card {
    width: 340px !important;
    height: 104px !important;
    padding: 0 18px !important;
    border-radius: 12px !important;
  }

  .stat-logo-box {
    width: 130px !important;
    min-width: 130px !important;
    padding-right: 14px !important;
  }

  .stat-logo-box img {
    max-height: 44px !important;
    max-width: 115px !important;
  }

  .stat-info-box {
    padding-left: 14px !important;
  }

  .stat-info-box .text-\[30px\],
  .stat-info-box .text-\[28px\] {
    font-size: 24px !important;
    line-height: 28px !important;
  }

  .stat-info-box .text-\[13px\] {
    font-size: 12px !important;
  }
}

/* Sidebar Table of Contents Scrollbar Styling */
.toc-scroll::-webkit-scrollbar {
  display: block !important;
  width: 4px !important;
}
.toc-scroll::-webkit-scrollbar-track {
  background: transparent !important;
}
.toc-scroll::-webkit-scrollbar-thumb {
  background: #CBD5E1 !important;
  border-radius: 4px !important;
}

