/* Flyra New Landing Page Styles */

/* Reset any body/html margins/padding that might affect positioning */
.flyra-new-page,
.flyra-new-page body,
.flyra-new-page html {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
}

/* Override landing.css hero background for flyra-new page */
.flyra-new-page .hero {
  background: #FFFFFF !important;
  background-image: none !important;
  background-size: initial !important;
  background-position: initial !important;
  background-attachment: initial !important;
}

/* Ensure the page background is plain white */
.flyra-new-page {
  background: #ffffff !important;
  min-height: 100vh;
  font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif;
  width: 100%;
  position: relative;
}

/* Navbar navigation links hover colors - Product, Pricing, Download */
.flyra-new-page .flyra-nav-links-center a:hover {
  color: #56cdff !important;
}

/* Equal spacing between nav links in center - Product (handled in media query below) */

/* Layout: Logo on left, Product + Pricing + Download centered, CTA buttons on right */
/* Mobile: Simple flex layout with logo and hamburger */
.flyra-new-page .flyra-nav-container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  gap: 0 !important;
  position: relative !important;
}

/* On mobile, override grid with simple flex */
@media (max-width: 768px) {
  .flyra-new-page .flyra-nav-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
}

/* Left side - Logo only (Desktop only) */
@media (min-width: 768px) {
  .flyra-new-page .flyra-nav-left {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    flex: 0 0 auto !important;
  }

  .flyra-new-page .flyra-nav-logo {
    display: flex !important;
  }

  /* Navigation links center - Product grouped and centered (Desktop only) */
  .flyra-new-page .flyra-nav-links-center {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    pointer-events: auto !important;
  }

  /* Right side - CTA Buttons (Desktop only) */
  .flyra-new-page .flyra-nav-right {
    display: flex !important;
    align-items: center !important;
    margin-left: auto !important;
    flex: 0 0 auto !important;
  }

  .flyra-new-page .flyra-nav-buttons {
    display: flex !important;
    gap: 0 !important;
  }
}

/* Hide desktop elements on mobile */
@media (max-width: 767px) {
  .flyra-new-page .flyra-nav-left {
    display: none !important;
  }

  .flyra-new-page .flyra-nav-links-center {
    display: none !important;
  }

  .flyra-new-page .flyra-nav-right {
    display: none !important;
  }
}

/* Ensure Poppins font is applied */
.flyra-new-page,
.flyra-new-page * {
  font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif;
}

/* Override any conflicting body styles from root layout */
.flyra-new-page body {
  background: transparent !important;
  color: inherit !important;
}

/* Ensure text colors are correct - black for hero/landing sections */
.flyra-new-page section h1:not(.hero h1),
.flyra-new-page section h2,
.flyra-new-page section h3,
.flyra-new-page section h4,
.flyra-new-page section h5,
.flyra-new-page section h6 {
  color: #000000; /* black */
  font-weight: 500;
}

/* Override for hero section */
.hero section h1,
.hero-content h1 {
  color: #FFFFFF !important;
}

.flyra-new-page section p {
  color: #000000; /* black */
}

/* Ensure buttons have correct styling */
.flyra-new-page button,
.flyra-new-page .btn {
  font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif;
}

/* Ensure links have correct styling */
.flyra-new-page a {
  font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif;
  text-decoration: none;
}

/* Color utilities for Flyra brand */
.flyra-new-page .text-flyra-primary {
  color: #56cdff;
}

.flyra-new-page .bg-flyra-primary {
  background-color: #56cdff;
}

.flyra-new-page .border-flyra-primary {
  border-color: #56cdff;
}

/* Hero Section Background Styling */
.hero {
  position: relative;
  overflow: hidden;
  color: #000; /* Black text for visibility on white background */
  background: #FFFFFF !important; /* Plain white background - override landing.css */
  background-image: none !important; /* Remove layered-peaks background from landing.css */
}

/* Craft-style Hero Background Container - Thin top, thick bottom */
.hero-background-container {
  position: absolute;
  top: 0.25rem;
  left: 0;
  right: 0;
  bottom: auto;
  height: 85vh;
  z-index: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0.125rem;
  padding-top: 0;
  padding-bottom: 0;
  background: #FFFFFF !important;
}

.hero-bg-wrapper {
  background: #FFFFFF !important;
  background-image: none !important;
  border-radius: 24px;
  box-shadow: none;
  padding: 0.125rem;
  padding-top: 0;
  position: relative;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.6);
  width: 98%;
  height: 100%;
  margin-top: 0;
  margin-bottom: 0;
}

.hero-bg-wrapper::before {
  content: "";
  position: absolute;
  inset: -50px;
  background: radial-gradient(circle at center, rgba(86, 205, 255, 0.3), transparent 70%);
  z-index: -1;
  filter: blur(40px);
  pointer-events: none;
}

.hero-bg-wrapper img {
  border-radius: 16px;
}

@media (max-width: 768px) {
  .hero-background-container {
    padding: 1rem;
  }
  
  .hero-bg-wrapper {
    padding: 1rem;
    border-radius: 20px;
  }
  
  .hero-bg-wrapper img {
    border-radius: 12px;
  }
}

/* Grid texture overlay - removed since we're using an image background */

/* Hero text styling */
.hero h1,
.hero p,
.hero section h1,
.hero-content h1 {
  color: #000000 !important; /* Black text for visibility on white background */
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.hero-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: center !important;
  width: 100% !important;
  padding-top: 0.75rem !important;
}

/* Hero button styling */
.hero-button {
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.hero-button:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.5);
}

/* Liquid Glass Button Styling */
.liquid-glass-button {
  position: relative;
  overflow: hidden;
}

.liquid-glass-button:hover {
  background: rgba(255, 255, 255, 0.3) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15), inset 0 1px 0 0 rgba(255, 255, 255, 0.3) !important;
}

.liquid-glass-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  animation: shimmer 3s infinite;
  pointer-events: none;
  z-index: 1;
}

.liquid-glass-button > * {
  position: relative;
  z-index: 2;
}

/* Liquid Glass Button for Navbar (on white background) */
.liquid-glass-button-nav {
  position: relative;
  overflow: hidden;
}

.liquid-glass-button-nav:hover {
  background: rgba(0, 0, 0, 0.08) !important;
  border-color: rgba(0, 0, 0, 0.15) !important;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.08), inset 0 1px 0 0 rgba(255, 255, 255, 0.6) !important;
}

.liquid-glass-button-nav::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: shimmer 3s infinite;
  pointer-events: none;
  z-index: 1;
}

.liquid-glass-button-nav > * {
  position: relative;
  z-index: 2;
}

/* Liquid Glass Navbar Styling */
.liquid-glass-nav {
  position: relative;
  overflow: hidden;
}

.liquid-glass-nav::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  animation: shimmer 3s infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* Liquid Glass Badge/Pill */
.liquid-glass-badge {
  position: relative;
  overflow: hidden;
}

.liquid-glass-badge::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  animation: shimmer 3s infinite;
  pointer-events: none;
  z-index: 1;
}

.liquid-glass-badge > * {
  position: relative;
  z-index: 2;
}

/* Liquid Glass Team Card */
.liquid-glass-team-card {
  position: relative;
  /* overflow: hidden; */ /* REMOVED: This was clipping the divider */
  background: linear-gradient(135deg, #141414 0%, #141414 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
}

.liquid-glass-team-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  animation: shimmer 8s infinite;
  pointer-events: none;
  z-index: 1;
}

.liquid-glass-team-card::after {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
  border-radius: 18px;
  z-index: 0;
}

.liquid-glass-team-card > * {
  position: relative;
  z-index: 2;
}

/* No hover effects for team card to match other pricing cards */

/* FORCE WHITE TEXT FOR TEAM CARD - MAXIMUM SPECIFICITY OVERRIDE - EXCLUDE BADGE */
.liquid-glass-team-card h3,
.liquid-glass-team-card .text-xl,
.liquid-glass-team-card .text-3xl,
.liquid-glass-team-card .text-sm,
.liquid-glass-team-card .text-xs,
.liquid-glass-team-card span:not(.bg-green-100):not(.text-green-800),
.liquid-glass-team-card div[style*="color:"]:not(.bg-green-100):not(.text-green-800),
.liquid-glass-team-card span[style*="color:"]:not(.bg-green-100):not(.text-green-800) {
  color: #ffffff !important !important !important !important !important !important;
}

/* Force white icons for team card - MAXIMUM SPECIFICITY */
.liquid-glass-team-card svg,
.liquid-glass-team-card .lucide,
.liquid-glass-team-card svg *,
.liquid-glass-team-card .lucide *,
.liquid-glass-team-card path,
.liquid-glass-team-card circle,
.liquid-glass-team-card rect {
  color: #ffffff !important !important !important !important !important !important;
  fill: currentColor !important !important !important;
  stroke: currentColor !important !important !important;
}


/* ABSOLUTE ISOLATION - Prevent any other CSS from affecting team card colors - EXCLUDE DIVIDER */
.liquid-glass-team-card *:not(.bg-green-100):not(.text-green-800):not(.team-card-divider):not(.mb-4.team-card-divider):not(div.team-card-divider):not(.mb-4),
.liquid-glass-team-card *::before:not(.bg-green-100):not(.text-green-800):not(.team-card-divider):not(.mb-4.team-card-divider):not(div.team-card-divider):not(.mb-4),
.liquid-glass-team-card *::after:not(.bg-green-100):not(.text-green-800):not(.team-card-divider):not(.mb-4.team-card-divider):not(div.team-card-divider):not(.mb-4) {
  color: inherit !important;
}



/* OVERRIDE ALL GENERAL PRICING CARD RULES FOR TEAM CARD - MAXIMUM PRIORITY */
.flyra-new-page div[data-plan-id="team"] h3,
.flyra-new-page div[data-plan-id="team"] .text-xl,
.flyra-new-page div[data-plan-id="team"] .text-3xl,
.flyra-new-page div[data-plan-id="team"] .text-sm,
.flyra-new-page div[data-plan-id="team"] .text-xs,
.flyra-new-page div[data-plan-id="team"] .text-gray-700,
.flyra-new-page div[data-plan-id="team"] .text-gray-600,
.flyra-new-page div[data-plan-id="team"] span:not(.bg-green-100):not(.text-green-800),
.flyra-new-page div[data-plan-id="team"] div,
.flyra-new-page div[data-plan-id="team"] *:not(.bg-green-100):not(.text-green-800) {
  color: #ffffff !important !important !important !important !important !important !important !important;
}

/* OVERRIDE ICON COLORS FOR TEAM CARD - MAXIMUM PRIORITY */
.flyra-new-page div[data-plan-id="team"] .lucide,
.flyra-new-page div[data-plan-id="team"] .lucide-check,
.flyra-new-page .liquid-glass-team-card .lucide,
.flyra-new-page .liquid-glass-team-card .lucide-check {
  color: #ffffff !important !important !important !important !important !important !important !important !important;
}

/* NUCLEAR OPTION - FINAL OVERRIDE FOR TEAM CARD COLORS */
.flyra-new-page div[data-plan-id="team"] h3,
.flyra-new-page div[data-plan-id="team"] .text-xl,
.flyra-new-page div[data-plan-id="team"] .text-3xl,
.flyra-new-page div[data-plan-id="team"] .text-sm,
.flyra-new-page div[data-plan-id="team"] .text-xs,
.flyra-new-page div[data-plan-id="team"] span,
.flyra-new-page .liquid-glass-team-card h3,
.flyra-new-page .liquid-glass-team-card .text-xl,
.flyra-new-page .liquid-glass-team-card .text-3xl,
.flyra-new-page .liquid-glass-team-card .text-sm,
.flyra-new-page .liquid-glass-team-card .text-xs,
.flyra-new-page .liquid-glass-team-card span:not(.bg-green-100):not(.text-green-800) {
  color: #ffffff !important !important !important !important !important !important !important !important !important;
}

.flyra-new-page div[data-plan-id="team"] .lucide,
.flyra-new-page .liquid-glass-team-card .lucide {
  color: #ffffff !important !important !important !important !important !important !important !important !important;
}

/* MAKE ICONS AND TEXT SMALLER ONLY ON TEAM CARD */
.flyra-new-page div[data-plan-id="team"] .flex.items-center,
.flyra-new-page .liquid-glass-team-card .flex.items-center {
  font-size: 14px !important;
  line-height: 1.4 !important;
}

.flyra-new-page div[data-plan-id="team"] .flex.items-center .lucide,
.flyra-new-page .liquid-glass-team-card .flex.items-center .lucide {
  width: 16px !important;
  height: 16px !important;
  margin-right: 10px !important;
}

.liquid-glass-nav > * {
  position: relative;
  z-index: 2;
}

/* Navbar styling when over hero section */
.flyra-new-page nav {
  backdrop-filter: blur(16px);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 0 20px rgba(255,255,255,0.1);
}

/* Flyra Tools Section */
.flyra-tools {
  background: #FFFFFF;
  text-align: center;
  padding: 6rem 2rem;
}

.flyra-tools-content {
  max-width: 1200px;
  margin: 0 auto;
}

.flyra-tools h2 {
  font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif;
  font-size: 2rem;
  font-weight: 500;
  color: #111;
  margin-bottom: 4rem;
  line-height: 1.3;
}

.flyra-tools em {
  font-style: italic;
}

.flyra-tools h2 .text-rotate {
  display: inline-flex !important;
  flex-wrap: nowrap !important;
  vertical-align: baseline;
  font-weight: 950 !important;
}

.flyra-tools h2 .text-rotate-element,
.flyra-tools h2 .text-rotate-word,
.flyra-tools h2 .text-rotate span {
  font-weight: 950 !important;
}

.flyra-tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4rem 2rem;
  justify-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.tool {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  cursor: default;
}

.tool svg {
  color: #111;
  opacity: 0.85;
  transition: none;
}

.tool p {
  font-size: 0.95rem;
  font-weight: 500;
  color: #111;
  margin: 0;
}

@media (max-width: 768px) {
  .flyra-tools {
    padding: 4rem 1.5rem;
  }

  .flyra-tools h2 {
    font-size: 1.5rem;
    margin-bottom: 3rem;
  }

  .flyra-tools-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 1.5rem;
  }
}

/* Flyra Job Section */
.flyra-job-section {
  display: flex;
  justify-content: center;
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #f4f0ff 0%, #fff8f3 100%);
  position: relative;
  overflow: hidden;
}

.flyra-job-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='300' height='300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: cover;
  opacity: 0.15;
  pointer-events: none;
}

.job-container {
  background: linear-gradient(135deg, #E6F2FF 0%, #D6E9F5 100%);
  backdrop-filter: blur(12px);
  border-radius: 24px;
  padding: 4rem 3rem;
  max-width: 1200px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  flex-wrap: wrap;
  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.05),
    0 20px 50px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 2;
}

.job-images {
  position: relative;
  flex: 1;
  min-width: 320px;
  display: flex;
  justify-content: center;
  height: 400px;
}

.job-img {
  width: 300px;
  height: 355px;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center top;
     object-position: center top;
  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.08),
    0 20px 40px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease;
}

.job-img.back {
  transform: translateY(40px) translateX(-40px);
  z-index: 1;
  opacity: 0.95;
  position: absolute;
}

.job-img.front {
  position: absolute;
  z-index: 2;
  transform: translateY(-20px) translateX(40px);
}

.job-content {
  flex: 1;
  max-width: 500px;
}

.job-content h3 {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 1rem;
  font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif;
  font-weight: 600;
}

.job-content h2 {
  font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif;
  font-size: 2.4rem;
  color: #111;
  margin-bottom: 1rem;
  font-weight: 600;
  line-height: 1.2;
}

.job-content p {
  color: #333;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif;
}

.job-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 2rem;
  margin-bottom: 2.5rem;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #111;
  font-weight: 500;
  font-size: 0.95rem;
  font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif;
}

.feature svg {
  color: #111;
  flex-shrink: 0;
}

.job-cta {
  border-radius: 9999px;
  padding: 0.8rem 1.5rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif;
  position: relative;
  overflow: hidden;
}

.job-cta:hover {
  background: rgba(107, 114, 128, 0.4) !important;
  border-color: rgba(107, 114, 128, 0.5) !important;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15), inset 0 1px 0 0 rgba(255, 255, 255, 0.3) !important;
  transform: translateY(-2px);
}

.job-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  animation: shimmer 3s infinite;
  pointer-events: none;
  z-index: 1;
}

.job-cta > * {
  position: relative;
  z-index: 2;
}

@media (max-width: 968px) {
  .job-container {
    flex-direction: column;
    padding: 3rem 2rem;
  }

  .job-images {
    width: 100%;
    min-width: auto;
  }

  .job-content {
    max-width: 100%;
  }

  .job-content h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .flyra-job-section {
    padding: 4rem 1.5rem;
  }

  .job-container {
    padding: 2.5rem 1.5rem;
  }

  .job-content h2 {
    font-size: 1.75rem;
  }

  .job-features {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .job-img {
    width: 250px;
    height: 350px;
  }

  .job-img.back {
    transform: translateY(30px) translateX(-30px);
  }

  .job-img.front {
    transform: translateY(-15px) translateX(30px);
  }
}

/* ============================================
   Team Features Section
   ============================================ */

.flyra-team-features {
  padding: 6rem 1.5rem;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

/* Hide on mobile */
@media (max-width: 768px) {
  .flyra-team-features {
    display: none;
  }
}

/* Team Features Background Container - Similar to hero */
.team-features-background-container {
  position: relative;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.125rem;
  background: transparent;
}

.team-features-bg-wrapper {
  /* Background image now handled by Next.js Image component in TeamFeatures.tsx */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 24px;
  box-shadow: none;
  padding: 0.125rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.6);
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.team-features-bg-wrapper::before {
  content: "";
  position: absolute;
  inset: -50px;
  background: radial-gradient(circle at center, rgba(86, 205, 255, 0.15), transparent 70%);
  z-index: -1;
  filter: blur(40px);
  pointer-events: none;
}

/* Add subtle overlay for better text readability */
.team-features-bg-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.3);
  z-index: 0;
  pointer-events: none;
}

.team-features-container {
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
  padding: 3.2rem 6rem;
  background: transparent;
  max-width: 1400px;
}

/* Header */
.team-features-header {
  text-align: center;
  margin-bottom: 2.56rem;
}

.team-features-title {
  font-size: 1.92rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.64rem;
  font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif;
  line-height: 1.2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.team-features-title-pill {
  display: inline-block;
  background: transparent;
  color: #000000;
  padding: 0;
  font-size: 3.5rem;
  font-weight: 700;
  font-style: italic;
  font-family: 'Dancing Script', 'Brush Script MT', 'Lucida Handwriting', 'Comic Sans MS', cursive !important;
}

.team-features-subtitle {
  font-size: 0.8rem;
  color: #6b7280;
  font-weight: 400;
  max-width: 384px;
  margin: 0 auto;
  font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif;
  line-height: 1.6;
}

/* Tab Selector Wrapper - Centers the tab selector */
.team-features-tab-selector-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 2rem;
}

/* Tab Selector - Connected tabs in one container */
.team-features-tab-selector {
  display: flex;
  flex-direction: row;
  gap: 0;
  justify-content: center;
  align-items: center;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  padding: 0.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
  position: relative;
  width: -moz-fit-content;
  width: fit-content;
}

/* Liquid glass shimmer effect for container */
.team-features-tab-selector::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  animation: shimmer 3s infinite;
  pointer-events: none;
  z-index: 1;
}

.team-features-tab-selector > * {
  position: relative;
  z-index: 2;
}

.team-feature-tab-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  border: none;
  background: transparent;
  backdrop-filter: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #6b7280;
  white-space: nowrap;
}

.team-feature-tab-pill svg {
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-feature-tab-pill:hover {
  color: #57cdff;
}

.team-feature-tab-pill:hover svg {
  color: #57cdff !important;
}

.team-feature-tab-pill.active {
  background: rgba(255, 255, 255, 0.9);
  color: #57cdff;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), inset 0 1px 0 0 rgba(255, 255, 255, 0.9);
}

.team-feature-tab-pill-label {
  white-space: nowrap;
}

/* Feature Header - Changes based on active tab */
.team-features-feature-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.64rem;
  margin-bottom: 2rem;
  text-align: center;
}

.team-features-feature-title {
  font-size: 3.5rem;
  font-weight: 700;
  font-style: italic;
  color: #000000;
  margin: 0;
  font-family: 'Dancing Script', 'Brush Script MT', 'Lucida Handwriting', 'Comic Sans MS', cursive !important;
}

.team-features-feature-subtitle {
  font-size: 0.8rem;
  color: #6b7280;
  font-weight: 400;
  max-width: 384px;
  margin: 0 auto;
  font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif;
  line-height: 1.6;
}

/* Main Content Layout - Image container only */
.team-features-content {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: stretch;
}

/* Image Container - Below tabs - Matching track-everything and visualize-everything styling */
.team-features-image-wrapper {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  margin-top: 1rem;
}

.team-features-image-container {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #f9fafb;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(0, 0, 0, 0.05);
}

.team-features-image-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
  max-height: 600px;
  height: 360px; /* 60% of 600px to crop 40% from bottom */
}

.team-features-image {
  width: 100%;
  height: 100%;
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center top;
     object-position: center top;
  border: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.team-features-image-prev {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 1;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  animation: fadeOut 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.team-features-image-active {
  position: relative;
  opacity: 1;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

@keyframes fadeOut {
  to {
    opacity: 0;
  }
}

.team-features-image:focus,
.team-features-image:focus-visible,
.team-features-image:active {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
}

.team-features-image-container:focus,
.team-features-image-container:focus-visible,
.team-features-image-container:active {
  outline: none !important;
  border: none !important;
}

.team-features-image-inner:focus,
.team-features-image-inner:focus-visible,
.team-features-image-inner:active {
  outline: none !important;
  border: none !important;
}

.team-features-image-gradient {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 96px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.6), #ffffff);
  pointer-events: none;
  z-index: 3;
}


@keyframes imageFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.team-features-image-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(
    circle at center,
    rgba(86, 205, 255, 0.1) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.8;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .team-features-title {
    font-size: 1.6rem;
  }

  .team-features-subtitle {
    font-size: 0.72rem;
  }
}

/* Mobile: Horizontal scrollable tabs, image below */
@media (max-width: 768px) {
  .flyra-team-features {
    padding: 4rem 1.5rem;
  }

  .team-features-bg-wrapper {
    width: 100%;
    border-radius: 12.8px;
  }

  .team-features-container {
    padding: 2.4rem 1.2rem;
  }

  .team-features-header {
    margin-bottom: 1.92rem;
  }

  .team-features-title {
    font-size: 1.28rem;
  }

  .team-features-subtitle {
    font-size: 0.64rem;
  }

  /* Mobile Layout: Tab selector scrollable */
  .team-features-tab-selector {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.1) transparent;
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
  }

  .team-features-tab-selector::-webkit-scrollbar {
    height: 4px;
  }

  .team-features-tab-selector::-webkit-scrollbar-track {
    background: transparent;
  }

  .team-features-tab-selector::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
  }

  .team-feature-tab-pill {
    flex: 0 0 auto;
    min-width: -moz-fit-content;
    min-width: fit-content;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
  }


  .team-feature-tab-content {
    padding: 1rem 1.25rem;
    flex-direction: row;
    text-align: left;
  }

  .team-feature-tab-icon {
    width: 36px;
    height: 36px;
  }

  .team-feature-tab-title {
    font-size: 0.875rem;
  }

  .team-feature-tab-description {
    font-size: 0.75rem;
  }

  .team-features-image-wrapper {
    margin-top: 0.5rem;
  }

  .team-features-image-container {
    border-radius: 12px;
  }

  .team-features-feature-header {
    margin-bottom: 1.5rem;
    gap: 0.64rem;
  }

  .team-features-feature-title {
    font-size: 2.5rem;
  }

  .team-features-feature-subtitle {
    font-size: 0.72rem;
  }
}

@media (max-width: 480px) {
  .flyra-team-features {
    padding: 3rem 1rem;
  }

  .team-features-bg-wrapper {
    border-radius: 9.6px;
  }

  .team-features-container {
    padding: 1.6rem 0.8rem;
  }

  .team-features-header {
    margin-bottom: 1.28rem;
  }

  .team-features-title {
    font-size: 1.12rem;
  }

  .team-feature-tab {
    min-width: 180px;
  }

  .team-feature-tab-content {
    padding: 0.875rem 1rem;
    gap: 0.75rem;
  }

  .team-feature-tab-icon {
    width: 32px;
    height: 32px;
  }

  .team-feature-tab-title {
    font-size: 0.8rem;
  }

  .team-feature-tab-description {
    font-size: 0.7rem;
  }

  .team-features-image-wrapper {
    margin-top: 0.5rem;
  }

  .team-features-image-container {
    border-radius: 12px;
  }

  .team-features-feature-header {
    margin-bottom: 1.25rem;
    gap: 0.64rem;
  }

  .team-features-feature-title {
    font-size: 2rem;
  }

  .team-features-feature-subtitle {
    font-size: 0.64rem;
  }
}

/* ============================================
   Team Scroll Stack Section
   ============================================ */

.flyra-team-scroll-stack {
  padding: 4rem 1.5rem 5rem 1.5rem;
  background: #ffffff; /* White section background */
  position: relative;
  overflow: hidden;
  min-height: 600px; /* Ensure visibility */
}

/* Hide on mobile */
@media (max-width: 768px) {
  .flyra-team-scroll-stack {
    display: none;
  }
}

.team-scroll-stack-container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.team-scroll-stack {
  width: 100%;
  height: auto;
}

/* Override ScrollStack scroller styles when using window scroll */
.flyra-team-scroll-stack .scroll-stack-scroller {
  height: auto;
  overflow: visible;
  min-height: 500px; /* Ensure scroller has minimum height */
}

.flyra-team-scroll-stack .scroll-stack-inner {
  padding: 10vh 5rem 20rem;
  min-height: 500px; /* Ensure inner has minimum height */
}

.team-scroll-stack-item {
  background: transparent;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  height: auto !important;
  min-height: 400px;
  padding: 0.125rem !important;
  /* Add these for smooth positioning */
  position: relative;
  contain: layout style paint;
  isolation: isolate;
  /* Force GPU acceleration */
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.team-scroll-stack-bg-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #D6E9F5; /* Pastel blue background */
}

.team-scroll-stack-bg-wrapper::before {
  content: "";
  position: absolute;
  inset: -50px;
  background: radial-gradient(circle at center, rgba(86, 205, 255, 0.15), transparent 70%);
  z-index: 0;
  filter: blur(40px);
  pointer-events: none;
}

.team-scroll-stack-card-content {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 3rem;
  height: 100%;
  min-height: 400px;
  position: relative;
  z-index: 2;
}

.team-scroll-stack-image-wrapper {
  flex: 1;
  position: relative;
  min-height: 300px;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-scroll-stack-image-wrapper .team-scroll-stack-image {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
  -o-object-position: center center;
     object-position: center center;
}

.team-scroll-stack-image-gradient {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 96px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.6), #ffffff);
  pointer-events: none;
  z-index: 10;
  border-radius: 0 0 16px 16px;
  /* Ensure gradient is visible at the bottom of the cropped visible area */
  transform: translateZ(0);
}

.team-scroll-stack-image {
  width: 100%;
  height: auto;
  max-height: 400px;
  -o-object-fit: contain;
     object-fit: contain;
  border-radius: 16px;
}

/* Crop 2.5% from the top of leaderboard and equipment images */
.cropped-image-wrapper {
  overflow: hidden;
  /* Clip the wrapper to match the image's visible area */
  clip-path: inset(2.5% 0 0 0 round 16px);
  -webkit-clip-path: inset(2.5% 0 0 0 round 16px);
}

.cropped-image {
  clip-path: inset(2.5% 0 0 0 round 16px);
  -webkit-clip-path: inset(2.5% 0 0 0 round 16px);
  border-radius: 16px;
}

/* Crop 1% from the top of team-messages image */
.cropped-image-wrapper-1 {
  overflow: hidden;
  /* Clip the wrapper to match the image's visible area */
  clip-path: inset(1% 0 0 0 round 16px);
  -webkit-clip-path: inset(1% 0 0 0 round 16px);
}

.cropped-image-1 {
  clip-path: inset(1% 0 0 0 round 16px);
  -webkit-clip-path: inset(1% 0 0 0 round 16px);
  border-radius: 16px;
}

.team-scroll-stack-text-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.team-scroll-stack-title {
  font-family: 'Dancing Script', 'Brush Script MT', 'Lucida Handwriting', 'Comic Sans MS', cursive !important;
  font-size: 3.5rem;
  font-weight: 700;
  font-style: italic;
  color: #1f2937;
  margin: 0;
  line-height: 1.2;
}

.team-scroll-stack-subtitle {
  font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif;
  font-size: 1.125rem;
  color: #6b7280;
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 1024px) {
  .team-scroll-stack-card-content {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
    min-height: auto;
  }

  .team-scroll-stack-image-wrapper {
    min-height: 250px;
    width: 100%;
  }

  .team-scroll-stack-text-wrapper {
    text-align: center;
  }

  .team-scroll-stack-title {
    font-size: 2rem;
  }

  .team-scroll-stack-subtitle {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .flyra-team-scroll-stack {
    padding: 4rem 1.5rem 5rem 1.5rem;
  }

  .team-scroll-stack-item {
    border-radius: 16px;
    min-height: 350px;
  }

  .team-scroll-stack-card-content {
    padding: 1.5rem;
    gap: 1.5rem;
  }

  .team-scroll-stack-image-wrapper {
    min-height: 200px;
  }

  .team-scroll-stack-title {
    font-size: 1.75rem;
  }

  .team-scroll-stack-subtitle {
    font-size: 0.9375rem;
  }
}

/* ============================================
   Payment Integrations Section
   ============================================ */

.flyra-payment-integrations {
  padding: 6rem 1.5rem;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

/* Payment Integrations Background Container - Similar to team features */
.payment-integrations-background-container {
  position: relative;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.125rem;
  background: transparent;
}

.payment-integrations-bg-wrapper {
  background: url('/payment-section-background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 24px;
  box-shadow: none;
  padding: 0.125rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.6);
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.payment-integrations-bg-wrapper::before {
  content: "";
  position: absolute;
  inset: -50px;
  background: radial-gradient(circle at center, rgba(86, 205, 255, 0.2), transparent 70%);
  z-index: -1;
  filter: blur(40px);
  pointer-events: none;
}

/* Add overlay for better text readability */
.payment-integrations-bg-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.3);
  z-index: 0;
  pointer-events: none;
}

.payment-integrations-container {
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
  padding: 3.2rem 4rem;
  background: transparent;
  max-width: 900px;
}

@media (max-width: 768px) {
  .flyra-payment-integrations {
    padding: 4rem 1.5rem;
  }

  .payment-integrations-bg-wrapper {
    width: 100%;
    border-radius: 12.8px;
  }

  .payment-integrations-container {
    padding: 2.4rem 1.2rem;
  }
}

@media (max-width: 480px) {
  .flyra-payment-integrations {
    padding: 3rem 1rem;
  }

  .payment-integrations-bg-wrapper {
    border-radius: 9.6px;
  }

  .payment-integrations-container {
    padding: 1.6rem 0.8rem;
  }
}

/* ============================================
   Track Everything Section
   ============================================ */

.flyra-track-everything {
  padding: 2rem 1.5rem 6rem 1.5rem;
  background: #ffffff;
  position: relative;
}

.track-everything-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.track-everything-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2.5rem;
}

.track-everything-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  max-width: 800px;
}

.track-everything-title {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 600;
  font-style: normal;
  color: #1f2937;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.02em;
}

.track-everything-title-italic {
  font-style: italic;
}

.track-everything-subtitle {
  font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  color: #6b7280;
  line-height: 1.7;
  margin: 0;
  max-width: 700px;
}

.track-everything-image-wrapper {
  width: 100%;
  max-width: 960px;
  margin-top: 1rem;
}

.track-everything-image-container {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #f9fafb;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(0, 0, 0, 0.05);
}

.track-everything-image-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
  max-height: 600px;
}

.track-everything-image {
  width: 100%;
  height: auto;
  display: block;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center top;
     object-position: center top;
  border: none;
  outline: none;
}

.track-everything-image-gradient {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 96px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.6), #ffffff);
  pointer-events: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .flyra-track-everything {
    padding: 2rem 1.5rem 4rem 1.5rem;
  }

  .track-everything-content {
    gap: 2rem;
  }

  .track-everything-title {
    font-size: 2.5rem;
  }

  .track-everything-subtitle {
    font-size: 1rem;
  }

  .track-everything-image-wrapper {
    margin-top: 0.5rem;
  }

  .track-everything-image-container {
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .flyra-track-everything {
    padding: 2rem 1rem 3rem 1rem;
  }

  .track-everything-title {
    font-size: 2rem;
  }

  .track-everything-subtitle {
    font-size: 0.9375rem;
  }
}

/* ============================================
   Customize Everything Section
   ============================================ */

.flyra-customize-everything {
  padding: 6rem 1.5rem;
  background: #ffffff;
  position: relative;
}

.customize-everything-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.customize-everything-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 3rem;
}

.customize-everything-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  max-width: 800px;
}

.customize-everything-title {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 600;
  font-style: normal;
  color: #1f2937;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.02em;
}

.customize-everything-title-italic {
  font-style: italic;
}

.customize-everything-subtitle {
  font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  color: #6b7280;
  line-height: 1.7;
  margin: 0;
  max-width: 700px;
}

.customize-everything-cards {
  width: 100%;
  margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .flyra-customize-everything {
    padding: 4rem 1.5rem;
  }

  .customize-everything-content {
    gap: 2rem;
  }

  .customize-everything-title {
    font-size: 2.5rem;
  }

  .customize-everything-subtitle {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .flyra-customize-everything {
    padding: 3rem 1rem;
  }

  .customize-everything-title {
    font-size: 2rem;
  }

  .customize-everything-subtitle {
    font-size: 0.9375rem;
  }
}

/* Visualize Everything Section (Maps) */
.flyra-visualize-everything {
  padding: 9rem 1.5rem 6rem 1.5rem;
  background: #ffffff;
  position: relative;
}

.visualize-everything-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.visualize-everything-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2.5rem;
}

.visualize-everything-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  max-width: 800px;
}

.visualize-everything-title {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 600;
  font-style: normal;
  color: #1f2937;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.02em;
}

.visualize-everything-title-italic {
  font-style: italic;
}

.visualize-everything-subtitle {
  font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  color: #6b7280;
  line-height: 1.7;
  margin: 0;
  max-width: 700px;
}

.visualize-everything-image-wrapper {
  width: 100%;
  max-width: 960px;
  margin-top: 1rem;
}

.visualize-everything-image-container {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #f9fafb;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(0, 0, 0, 0.05);
  border: none;
  outline: none;
}

.visualize-everything-image-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
  max-height: 600px;
  border: none;
  outline: none;
}

.visualize-everything-image {
  width: 100%;
  height: auto;
  display: block;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center top;
     object-position: center top;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent;
}

.visualize-everything-image:focus,
.visualize-everything-image:focus-visible,
.visualize-everything-image:active {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
}

.visualize-everything-image-container:focus,
.visualize-everything-image-container:focus-visible,
.visualize-everything-image-container:active {
  outline: none !important;
  border: none !important;
}

.visualize-everything-image-inner:focus,
.visualize-everything-image-inner:focus-visible,
.visualize-everything-image-inner:active {
  outline: none !important;
  border: none !important;
}

.visualize-everything-image-gradient {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 96px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.6), #ffffff);
  pointer-events: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .flyra-visualize-everything {
    padding: 6rem 1.5rem 4rem 1.5rem;
  }

  .visualize-everything-content {
    gap: 2rem;
  }

  .visualize-everything-title {
    font-size: 2.5rem;
  }

  .visualize-everything-subtitle {
    font-size: 1rem;
  }

  .visualize-everything-image-wrapper {
    margin-top: 0.5rem;
  }

  .visualize-everything-image-container {
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .flyra-visualize-everything {
    padding: 4.5rem 1rem 3rem 1rem;
  }

  .visualize-everything-title {
    font-size: 2rem;
  }

  .visualize-everything-subtitle {
    font-size: 0.9375rem;
  }
}

/* Prevent blue border on hover for feature cards */
.flyra-feature-dual .feature-card:hover {
  border-color: rgba(229, 231, 235, 0.5) !important;
}

/* Spotlight Card Overrides for White Theme */
.spotlight-card-white.card-spotlight {
  background-color: #ffffff !important;
  border: 1px solid rgba(156, 163, 175, 0.6) !important;
  border-radius: 20px !important;
}

/* ============================================
   Ease Everything Section
   ============================================ */
.flyra-ease {
  background: #ffffff;
  padding: 3.5rem 1.25rem;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .flyra-ease {
    padding: 3rem 1rem;
  }
}

.flyra-ease-background {
  position: relative;
  max-width: 1160px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, #2a2a2a 0%, #2a2a2a 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.05) !important;
}

.flyra-ease-background-layer {
  display: none;
}

.flyra-ease-container {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 40% 60%;
  align-items: start;
  gap: 1.5rem;
}

.flyra-ease-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: space-between;
  height: 100%;
  align-items: flex-start;
}

.flyra-ease-right {
  width: 100%;
}

.flyra-ease-header {
  text-align: left;
  max-width: 480px;
  margin: 0;
  padding-top: 1.1rem;
}

.flyra-ease-header h2 {
  font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #f1f5f9 !important;
  margin-bottom: 0.5rem;
}

.flyra-ease-header p {
  font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif;
  font-size: 0.98rem;
  line-height: 1.6;
  color: #cbd5e1 !important;
  margin: 0 0 1rem;
}

/* MagicBento replaces native grid/cards; keep spacing via container */
.flyra-ease-grid {
  display: contents;
}

/* Ease section MagicBento overrides */
.ease-grid.card-grid {
  max-width: 1200px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .ease-grid.card-grid {
    grid-template-columns: 1fr;
  }
}

.flyra-ease .magic-bento-card {
  aspect-ratio: 4 / 3;
  min-height: 180px;
  padding: 0.9rem 0.9rem;
  grid-column: span 1 !important;
  grid-row: span 1 !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: none;
  border-radius: 18px;
}

.flyra-ease .magic-bento-card--white,
.flyra-ease .magic-bento-card--light {
  background: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: none !important;
}

.flyra-ease .magic-bento-card:nth-child(n) {
  grid-column: span 1 !important;
  grid-row: span 1 !important;
}

.flyra-ease .magic-bento-card__content {
  flex: 1;
}

.flyra-ease .magic-bento-card__icon {
  width: 26px;
  height: 26px;
  margin-top: 0.35rem;
  margin-bottom: 0.35rem;
  color: #1f2933 !important;
  stroke: #1f2933 !important;
}

/* Override base MagicBento icon colors for white/light variants */
.flyra-ease .magic-bento-card.magic-bento-card--white .magic-bento-card__icon,
.flyra-ease .magic-bento-card.magic-bento-card--light .magic-bento-card__icon,
.flyra-ease .magic-bento-card.magic-bento-card--white .magic-bento-card__icon--large,
.flyra-ease .magic-bento-card.magic-bento-card--light .magic-bento-card__icon--large {
  color: #1f2933 !important;
  stroke: #1f2933 !important;
}

/* Ensure SVG paths inherit the coral accent */
.flyra-ease .magic-bento-card__icon *,
.flyra-ease .magic-bento-card__icon--large * {
  color: #1f2933 !important;
  stroke: #1f2933 !important;
}

.flyra-ease .magic-bento-card__title {
  font-weight: 600;
  font-size: 1rem;
  color: #1f2933;
}

.flyra-ease .magic-bento-card__description {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #4b5563;
}

.flyra-ease-cta {
  display: flex;
  justify-content: flex-start;
  width: 100%;
}

.flyra-ease-cta .rounded-full,
.flyra-ease-cta button {
  padding: 0.75rem 1.4rem;
  font-size: 0.95rem;
  border-radius: 9999px;
}

@media (max-width: 900px) {
  .flyra-ease-container {
    grid-template-columns: 1fr;
  }

  .ease-grid.card-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Team Features Inverted Section
   ============================================ */
.flyra-team-inverted {
  background: #ffffff;
  padding: 6rem 1.25rem;
  margin-top: 3rem;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.flyra-team-bg {
  position: relative;
  max-width: 1160px;
  margin: 0 auto;
  padding: 3.75rem 2.5rem;
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, #2a2a2a 0%, #2a2a2a 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.05) !important;
}

.flyra-team-container {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 40% 60%;
  align-items: start;
  gap: 1.5rem;
}

.flyra-team-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 1.25rem;
  width: 100%;
  height: 100%;
}

.flyra-team-right {
  width: 100%;
}

.flyra-team-header {
  text-align: left;
  max-width: 520px;
  margin-left: 0;
  margin-bottom: auto;
}

.flyra-team-header h2 {
  font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #f1f5f9 !important;
  margin-bottom: 0.6rem;
}

.flyra-team-header p {
  font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif;
  font-size: 0.98rem;
  line-height: 1.6;
  color: #cbd5e1 !important;
  margin: 0 0 1.25rem;
}

.team-grid.card-grid {
  max-width: 1200px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .flyra-team-container {
    grid-template-columns: 1fr;
  }

  .team-grid.card-grid {
    grid-template-columns: 1fr;
  }

  .flyra-team-header {
    margin: 0;
  }
}

.flyra-team-bg .magic-bento-card {
  aspect-ratio: 4 / 3;
  min-height: 180px;
  padding: 0.9rem 0.9rem;
  grid-column: span 1 !important;
  grid-row: span 1 !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: none;
  border-radius: 18px;
  background: #ffffff;
}

.flyra-team-bg .magic-bento-card--white,
.flyra-team-bg .magic-bento-card--light {
  background: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: none !important;
}

.flyra-team-bg .magic-bento-card__content {
  flex: 1;
}

.flyra-team-bg .magic-bento-card__icon {
  width: 26px;
  height: 26px;
  margin-top: 0.35rem;
  margin-bottom: 0.35rem;
  color: #1f2933 !important;
  stroke: #1f2933 !important;
}

.flyra-team-bg .magic-bento-card__icon *,
.flyra-team-bg .magic-bento-card__icon--large * {
  color: #1f2933 !important;
  stroke: #1f2933 !important;
}

.flyra-team-bg .magic-bento-card__title {
  font-weight: 600;
  font-size: 1rem;
  color: #1f2933;
}

.flyra-team-bg .magic-bento-card__description {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #4b5563;
}

.flyra-team-cta {
  display: flex;
  justify-content: flex-start;
  margin-top: auto;
}

.flyra-team-cta .rounded-full,
.flyra-team-cta button {
  padding: 0.75rem 1.4rem;
  font-size: 0.95rem;
  border-radius: 9999px;
}


