/* Higher specificity for GeneratePress */
body, 
.main-navigation a, 
.entry-content, 
h1, h2, h3, h4, h5, h6,
.button {
    font-family: 'Roobert', sans-serif;
    font-feature-settings: "ss02" 1;
}

/* --- Display & Headings --- */
.fs-display {
  font-size: clamp(3rem, 2.222vw + 2.556rem, 4.5rem); /* 48px → 72px */
}

.fs-h1 {
  font-size: clamp(2.5rem, 1.482vw + 2.204rem, 3.5rem); /* 40px → 56px */
}

.fs-h2 {
  font-size: clamp(2rem, 1.111vw + 1.778rem, 2.75rem); /* 32px → 44px */
}

.fs-h3 {
  font-size: clamp(1.75rem, 0.741vw + 1.602rem, 2.25rem); /* 28px → 36px */
}

.fs-h4 {
  font-size: clamp(1.5rem, 0.556vw + 1.389rem, 1.875rem); /* 24px → 30px */
}

.fs-h5 {
  font-size: clamp(1.25rem, 0.370vw + 1.176rem, 1.5rem); /* 20px → 24px */
}

.fs-h6 {
  font-size: clamp(1rem, 0.185vw + 0.963rem, 1.125rem); /* 16px → 18px */
}

/* --- Body Text --- */
.fs-lead {
  font-size: clamp(1.25rem, 0.370vw + 1.176rem, 1.5rem); /* 20px → 24px (Hero paragraphs) */
}

.fs-body-lg {
  font-size: clamp(1.125rem, 0.185vw + 1.088rem, 1.25rem); /* 18px → 20px */
}

.fs-body {
  font-size: clamp(1rem, 0.185vw + 0.963rem, 1.125rem); /* 16px → 18px */
}

.fs-body-sm {
  font-size: clamp(0.875rem, 0.185vw + 0.838rem, 1rem); /* 14px → 16px */
}

/* --- UI & Meta --- */
.fs-caption {
  font-size: clamp(0.75rem, 0.185vw + 0.713rem, 0.875rem); /* 12px → 14px */
}

.fs-tiny {
  font-size: clamp(0.625rem, 0.185vw + 0.588rem, 0.75rem); /* 10px → 12px (Badges) */
}


/* Letter spacing utilities */
.tracking-tight {
  letter-spacing: -0.025em;  /* -0.4px on 16px base */
}

/* Line height utilities */
.leading-11 {
  line-height: 1.1;
}

.leading-relaxed {
  line-height: 1.625;  /* 26px on 16px base - spacious but readable */
}



/* Homepage flag group animation */
.ui-bento-card:hover .ui-flag-avatar:nth-child(1) {
	transform: translateY(-0.375rem);
	box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}
.ui-bento-card:hover .ui-flag-avatar:nth-child(2) {
	transform: translateY(-0.375rem);
	transition-delay: 50ms;
	box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}
.ui-bento-card:hover .ui-flag-avatar:nth-child(3) {
	transform: translateY(-0.375rem);
	transition-delay: 100ms;
	box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}
.ui-bento-card:hover .ui-flag-avatar:nth-child(4) {
	transform: translateY(-0.375rem);
	transition-delay: 150ms;
	box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}
.ui-bento-card:hover .ui-flag-avatar:nth-child(5) {
	transform: translateY(-0.375rem);
	transition-delay: 200ms;
	box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}
.ui-bento-card:hover .ui-flag-avatar:nth-child(6) {
	transform: translateY(-0.375rem);
	transition-delay: 250ms;
	box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.back-video {
  position: absolute;
  right: 0;
  bottom: 0;
	top: 0;
	left: 0;
  width: 100%;
  height: auto;
  z-index: 100;
}
.background-video {
    position: absolute;
	top: 0;
    left: 0;

    width: 100%;
    height: 100%;
	object-fit: cover;
	display: block;
/*     opacity: 0.5; */
}

video[poster] {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* Only apply progress bar styles to tabs with this specific class */
.ui-rotate-tabs-tab {
  position: relative;
  /* Keep your existing grey bottom border as the track */
  border-bottom: 2px solid #e2e8f0;
  cursor: pointer;
}

/* Blue progress fill - positioned over the grey border */
.ui-rotate-tabs-tab::after {
  content: '';
  position: absolute;
  bottom: -2px; /* Align with existing border */
  left: 0;
  height: 2px;
  background-color: #2563eb; /* Blue-600 */
  width: var(--progress, 0%);
  transition: width 0.1s linear;
  z-index: 10;
}

/* Manual click state: smooth fill to 100% */
.ui-rotate-tabs-tab.manual-active::after {
  transition: width 0.3s ease-out;
  width: 100% !important;
}

/* Active tab text styling */
.ui-rotate-tabs-tab.gb-block-is-current {
  color: #0f172a; /* slate-900 */
  font-weight: 500;
}

.ui-rotate-tabs-tab:not(.gb-block-is-current) {
  color: #64748b; /* slate-500 */
}

/* Content transitions */
.gb-tabs__item {
  opacity: 0;
  display: none;
  transition: opacity 300ms ease-in-out;
}

.gb-tabs__item.gb-tabs__item-open {
  opacity: 1;
  display: block;
}
/* 
.gb-site-header.gb-is-sticky, 
#mobile-menu-blur{
	 backdrop-filter: blur(20px);
}
 */


/* Just for pricing table */
/* ============================================
   PRICING TABLE GRID LAYOUT
   ============================================ */

.ui-pricing-table {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  border-radius: 8px;
/*   overflow: hidden; */
  font-size: 1rem;
  /* Horizontal scroll for mobile */
  min-width: 800px;
}

/* Wrapper for mobile scrolling */
/* .gb-container:has(> .ui-pricing-table) {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
} */

/* ============================================
   ROW WRAPPERS (for hover effects)
   ============================================ */

.ui-pricing-row {
  display: contents; /* Makes children participate in parent grid */
  cursor: default;
}

/* Hover effect across all 4 cells in a row */
.ui-pricing-row:hover > * {
  background-color: #f8fafc;
  transition: background-color 0.2s ease;
}

/* ============================================
   HEADER CELLS (first 4 children)
   ============================================ */

.ui-pricing-table > :not(.ui-pricing-row):not(.ui-pricing-section):nth-child(-n+4) {
  padding: 1.5rem 1rem;
  background-color: #f8fafc;
  border-bottom: 2px solid #0f172a;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

/* First column header (Features label) */
.ui-pricing-table > :not(.ui-pricing-row):not(.ui-pricing-section):nth-child(1) {
  text-align: left;
  align-items: flex-start;
  color: #64748b;
  font-weight: 400;
  justify-content: center;
}

/* Pro column blue styling */
.ui-pricing-header-pro .gb-headline,
.ui-pricing-table > :nth-child(3) .gb-headline:first-child {
  color: #2563eb;
  font-weight: 600;
}

/* ============================================
   SECTION HEADERS (Core Capabilities)
   ============================================ */

.ui-pricing-section {
  grid-column: 1 / -1; /* Span all 4 columns */
  background-color: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #0f172a;
}

.ui-pricing-section svg,
.ui-pricing-section .gb-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #94a3b8;
  flex-shrink: 0;
}

/* ============================================
   DATA CELLS (inside .ui-pricing-row)
   ============================================ */

.ui-pricing-row > * {
  padding: 1.25rem 1rem;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
}

/* First column in row (feature names) */
.ui-pricing-row > *:nth-child(1) {
  color: #0f172a;
  font-weight: 400;
  text-align: left;
  justify-content: flex-start;
}

/* Value columns (2nd, 3rd, 4th) */
.ui-pricing-row > *:nth-child(2),
.ui-pricing-row > *:nth-child(3),
.ui-pricing-row > *:nth-child(4) {
  justify-content: center;
  color: #475569;
  text-align: center;
}

/* Highlight text (like "Unlimited") */
.ui-pricing-highlight {
  color: #0f172a !important;
  font-weight: 600 !important;
}

/* ============================================
   BUTTONS (GenerateBlocks override)
   ============================================ */

.ui-pricing-btn-outline,
.ui-pricing-btn-primary,
.ui-pricing-btn-dark {
  display: inline-flex;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  line-height: 1.25;
}

.ui-pricing-btn-outline {
  background: white;
  border-color: #e2e8f0;
  color: #0f172a;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.ui-pricing-btn-outline:hover {
  background: #f8fafc;
}

.ui-pricing-btn-primary {
  background: #2563eb;
  color: white;
  box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}

.ui-pricing-btn-primary:hover {
  background: #1d4ed8;
}

.ui-pricing-btn-dark {
  background: #0f172a;
  color: white;
}

.ui-pricing-btn-dark:hover {
  background: #334155;
}

/* ============================================
   CHECKMARK ICONS
   ============================================ */

/* Style for check SVGs in cells */
.ui-pricing-row svg,
.ui-check {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0 auto;
}

.ui-check-muted,
.ui-pricing-row > *:nth-child(2) svg {
  color: #94a3b8;
}

.ui-check-blue,
.ui-pricing-row > *:nth-child(3) svg {
  color: #2563eb;
}

.ui-check-dark,
.ui-pricing-row > *:nth-child(4) svg {
  color: #0f172a;
}

/* Remove bottom border from last row cells */
.ui-pricing-table > .ui-pricing-row:last-child > * {
  border-bottom: none;
}

/* ============================================
   MOBILE RESPONSIVENESS
   ============================================ */

@media (max-width: 768px) {
  .ui-pricing-table {
    font-size: 0.875rem;
  }
  
  .ui-pricing-row > *,
  .ui-pricing-table > :not(.ui-pricing-row):not(.ui-pricing-section):nth-child(-n+4) {
    padding: 1rem 0.75rem;
  }
}