/* ==========================================================================
   Gest'Omni Landing Page - Modern Premium CSS Design System
   ========================================================================== */

/* --- Google Fonts Import --- */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap");

/* --- Design Tokens / CSS Variables --- */
:root {
  /* Colors */
  --bg-dark: 257 100% 98%;
  --bg-card: 0 0% 100%;
  --bg-card-hover: 236 38% 93%;

  --primary: 187 100% 23%;
  --primary-hover: 187 100% 30%;
  --primary-glow: rgba(0, 104, 118, 0.15);

  --secondary: 213 17% 38%;
  --secondary-hover: 213 17% 45%;

  --text-primary: 226 21% 12%;
  --text-secondary: 213 17% 38%;
  --text-muted: 191 7% 45%;

  --border: 213 27% 84%;
  --border-focus: 187 100% 23%;
  --glass-bg: rgba(250, 248, 255, 0.6);
  --glass-border: rgba(0, 0, 0, 0.05);

  /* Fonts */
  --font-heading: "Outfit", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Layout & Transitions */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* --- Base Resets --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: hsl(var(--bg-dark));
  color: hsl(var(--text-primary));
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* --- Premium Background Glow Spheres --- */
.bg-glow-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.glow-sphere {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.15;
  mix-blend-mode: screen;
}

.glow-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, hsl(var(--primary)) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  animation: float-glow 20s infinite alternate;
}

.glow-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, hsl(188 86% 53%) 0%, transparent 70%);
  top: 40%;
  left: -200px;
  animation: float-glow 25s infinite alternate-reverse;
}

.glow-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    hsl(var(--secondary)) 0%,
    transparent 70%
  );
  bottom: 10%;
  right: -100px;
  animation: float-glow 18s infinite alternate;
}

@keyframes float-glow {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(50px, 50px) scale(1.1);
  }
}

/* --- Typography & Headings --- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

p {
  color: hsl(var(--text-secondary));
  font-size: 1.05rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

/* --- Styled Containers --- */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4%;
}

/* --- Premium Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-bounce);
  border: 1px solid transparent;
}

.btn-primary {
  background-color: hsl(var(--primary));
  color: #fff;
  box-shadow: 0 4px 20px hsl(var(--primary) / 0.3);
}

.btn-primary:hover {
  background-color: hsl(var(--primary-hover));
  transform: translateY(-3px);
  box-shadow: 0 8px 25px hsl(var(--primary) / 0.5);
}

.btn-secondary {
  background-color: transparent;
  color: hsl(var(--text-primary));
  border-color: hsl(var(--border));
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background-color: hsl(var(--border) / 0.5);
  border-color: hsl(var(--text-secondary));
  transform: translateY(-2px);
}

.btn-small {
  padding: 8px 16px;
  font-size: 0.9rem;
  border-radius: 6px;
}

/* --- Header / Navbar --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: var(--glass-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: 100%;
  padding: 0 4%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  cursor: pointer;
}

.logo span {
  background: linear-gradient(135deg, #fff 0%, hsl(var(--text-secondary)) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-logo-img {
  height: 38px;
  width: 56px;
  min-width: 56px;
  flex-shrink: 0;
  object-fit: contain;
}

.logo svg {
  stroke: hsl(var(--primary));
  filter: drop-shadow(0 0 8px hsl(var(--primary) / 0.5));
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 24px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: hsl(var(--text-secondary));
}

.nav-links a:hover {
  color: hsl(var(--text-primary));
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* --- Bilingual Pill Switcher --- */
.lang-switcher {
  display: flex;
  position: relative;
  background-color: hsl(var(--bg-card));
  border: 1px solid hsl(var(--border));
  border-radius: 20px;
  padding: 2px;
  width: 90px;
  height: 36px;
  cursor: pointer;
  overflow: hidden;
}

.lang-option {
  flex: 1;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 30px;
  z-index: 2;
  color: hsl(var(--text-secondary));
  transition: var(--transition-smooth);
  user-select: none;
}

.lang-option.active {
  color: #fff;
}

.lang-slider {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 42px;
  height: 30px;
  background-color: hsl(var(--primary));
  border-radius: 18px;
  z-index: 1;
  transition: var(--transition-smooth);
}

.lang-switcher[data-lang="pt"] .lang-slider {
  left: 44px;
}

/* --- Mobile Menu Toggle --- */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background-color: hsl(var(--text-primary));
  transition: var(--transition-smooth);
}

/* --- Hero Carousel Slider Section --- */
.hero-carousel-root {
  position: relative;
  width: 100%;
  height: 85vh;
  min-height: 550px;
  overflow: hidden;
  background-color: #070a13;
}

.carousel-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.8s ease-in-out;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.slide-content-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
}

.slide-left-text {
  max-width: 680px;
  text-align: left;
  color: #fff;
  z-index: 3;
}

.slide-left-text h2 {
  font-size: clamp(2rem, 3.8vw, 3.8rem);
  margin-bottom: 20px;
  line-height: 1.15;
  font-weight: 800;
  background: linear-gradient(
    135deg,
    #fff 40%,
    hsl(var(--text-secondary)) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.slide-left-text p {
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  margin-bottom: 35px;
  color: hsl(var(--text-secondary));
  line-height: 1.6;
}

/* Slider Controls */
.slider-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(7, 10, 19, 0.5);
  border: 1px solid var(--glass-border);
  color: #fff;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-smooth);
  backdrop-filter: blur(8px);
}

.slider-control:hover {
  background: hsl(var(--primary));
  border-color: hsl(var(--primary-hover));
  transform: translateY(-50%) scale(1.08);
}

.slider-control.prev {
  left: 3%;
}

.slider-control.next {
  right: 3%;
}

/* Slider Indicators */
.slider-indicators {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.slider-dot.active {
  background: hsl(var(--secondary-hover));
  width: 28px;
  border-radius: 6px;
}

/* --- Split Video Section --- */
.video-section.black-bg {
  background-color: #faf8ff;
  padding: 80px 0;
  border-top: none;
}

.video-grid-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(30px, 4vw, 70px);
  align-items: center;
  width: 100%;
  transition:
    grid-template-columns 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    gap 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-col-left {
  width: 100%;
  transition:
    max-width 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    margin 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-col-right {
  width: 100%;
  color: #006875;
  text-align: left;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    max-height 0.5s ease,
    margin 0.5s ease;
  opacity: 1;
  transform: translateX(0);
}

.video-col-right h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.25;
  background: linear-gradient(
    135deg,
    #fff 50%,
    hsl(var(--text-secondary)) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.video-col-right p {
  color: hsl(var(--text-secondary));
  font-size: 1.05rem;
  line-height: 1.65;
}

.video-wrapper {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.5),
    0 0 40px hsl(var(--primary) / 0.05);
  background-color: hsl(var(--bg-card));
  aspect-ratio: 16 / 9;
  position: relative;
  transition:
    transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Video Expanded States */
.video-section.video-expanded .video-grid-row {
  grid-template-columns: 1fr;
  gap: 0;
}

.video-section.video-expanded .video-col-left {
  max-width: 1000px;
  margin: 0 auto;
}

.video-section.video-expanded .video-col-right {
  opacity: 0;
  transform: translateX(20px);
  max-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  pointer-events: none;
}

.video-section.video-expanded .video-wrapper {
  transform: scale(1.03);
  box-shadow:
    0 35px 70px -10px rgba(0, 0, 0, 0.7),
    0 0 50px hsl(var(--primary) / 0.2);
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(7, 10, 19, 0.35), rgba(7, 10, 19, 0.8)),
    url("video_cover.png");
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  cursor: pointer;
  z-index: 2;
  transition: var(--transition-smooth);
}

.video-placeholder:hover {
  filter: brightness(1.08);
}

.play-button-glow {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background-color: hsl(var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px hsl(var(--primary) / 0.4);
  transition: var(--transition-bounce);
}

.video-placeholder:hover .play-button-glow {
  transform: scale(1.1);
  box-shadow: 0 0 35px hsl(var(--primary) / 0.7);
}

.play-button-glow svg {
  fill: #fff;
  transform: translateX(3px);
}

/* --- Segments & Solutions Tabs Section --- */
.tabs-section {
  padding: 90px 0;
  background-color: hsl(var(--bg-dark));
  border-top: 1px solid hsl(var(--border));
}

.tabs-title-side h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  margin-bottom: 40px;
  text-align: center;
  font-weight: 700;
  line-height: 1.25;
  background: linear-gradient(
    135deg,
    #fff 50%,
    hsl(var(--text-secondary)) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tabs-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 100%;
}

.tabs-navigation {
  display: flex;
  gap: 12px;
  background: hsl(var(--bg-card));
  border: 1px solid hsl(var(--border));
  padding: 6px;
  border-radius: 30px;
  margin-bottom: 10px;
}

.tab-nav-btn {
  background: none;
  border: none;
  color: hsl(var(--text-secondary));
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 25px;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-family: var(--font-heading);
  font-size: 0.95rem;
}

.tab-nav-btn:hover {
  color: #006875;
}

.tab-nav-btn.active {
  background-color: hsl(var(--primary));
  color: #fff;
  box-shadow: 0 4px 15px hsl(var(--primary) / 0.3);
}

.tabs-content {
  width: 100%;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

/* --- Flip Card Interactive Styles --- */
.flip-card {
  background-color: transparent;
  height: 360px;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: left;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: var(--radius-md);
  border: 1px solid hsl(var(--border));
  overflow: hidden;
}

.flip-card-front {
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  color: white;
}

.flip-card-front .card-content {
  padding: 24px;
  width: 100%;
  background: linear-gradient(
    to top,
    rgba(250, 248, 255, 0.98) 50%,
    transparent 100%
  );
  height: 60%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.flip-card-front h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
  color: #fff;
  font-weight: 700;
}

.flip-card-front p {
  font-size: 0.9rem;
  color: hsl(var(--text-secondary));
  line-height: 1.5;
}

.flip-card-front .see-more {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: hsl(var(--secondary-hover));
  margin-top: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.flip-card-back {
  background-color: hsl(var(--bg-card-hover));
  color: white;
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.flip-card-back .card-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  width: 100%;
}

.flip-card-back h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: hsl(var(--secondary-hover));
}

.flip-card-back p {
  font-size: 0.92rem;
  color: hsl(var(--text-secondary));
  line-height: 1.5;
}

/* --- Mission / Purpose Section --- */
.mission-section {
  padding: 100px 0;
  border-top: 1px solid hsl(var(--border));
  background-color: hsl(var(--bg-card) / 0.3);
}

.mission-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}

.mission-content .badge {
  background-color: hsl(var(--secondary) / 0.1);
  border-color: hsl(var(--secondary) / 0.2);
  color: hsl(var(--secondary-hover));
}

.mission-content h2 {
  font-size: 2.8rem;
  margin-bottom: 24px;
}

.mission-content p {
  margin-bottom: 20px;
}

.mission-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.stat-card {
  background-color: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 30px;
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition-smooth);
}

.stat-card:hover {
  border-color: hsl(var(--primary) / 0.3);
  transform: translateY(-5px);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(
    135deg,
    hsl(var(--primary-hover)) 0%,
    hsl(var(--secondary-hover)) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
}

.stat-label {
  color: hsl(var(--text-secondary));
  font-weight: 500;
}

/* --- Features Section --- */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 3rem;
  margin-bottom: 16px;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
}

.features-section {
  padding: 100px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 100%;
}

@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-card {
  background-color: hsl(var(--bg-card));
  border: 1px solid hsl(var(--border));
  padding: 40px;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  transition: var(--transition-bounce);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    hsl(var(--primary)),
    hsl(var(--secondary))
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: hsl(var(--border) / 0.1);
  box-shadow:
    0 20px 40px -15px rgba(0, 0, 0, 0.4),
    0 0 20px hsl(var(--primary) / 0.05);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background-color: hsl(var(--primary) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1px solid hsl(var(--primary) / 0.2);
  transition: var(--transition-bounce);
}

.feature-card:hover .feature-icon-wrapper {
  background-color: hsl(var(--primary));
  transform: rotate(6deg) scale(1.1);
}

.feature-icon-wrapper svg {
  stroke: hsl(var(--primary-hover));
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon-wrapper svg {
  stroke: #fff;
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.95rem;
}

.feature-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: hsl(var(--primary-hover));
  margin-top: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- Pricing Section --- */
.pricing-section {
  padding: 60px 0;
  background-color: hsl(var(--bg-card) / 0.3);
  border-top: 1px solid hsl(var(--border));
  border-bottom: 1px solid hsl(var(--border));
}

.pricing-section .container {
  max-width: 1500px;
  padding: 0 2%;
  margin: 0 auto !important;
}

.pricing-toggle-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
}

.pricing-toggle-label {
  font-size: 1rem;
  font-weight: 600;
  color: hsl(var(--text-secondary));
  transition: var(--transition-smooth);
  cursor: pointer;
}

.pricing-toggle-label.active {
  color: hsl(var(--text-primary));
}

.pricing-switch-btn {
  width: 56px;
  height: 30px;
  background-color: hsl(var(--border));
  border-radius: 15px;
  position: relative;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.pricing-switch-btn::before {
  content: "";
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: hsl(var(--text-primary));
  position: absolute;
  top: 3px;
  left: 3px;
  transition: var(--transition-bounce);
}

.pricing-switch-btn.yearly {
  background-color: hsl(var(--primary));
}

.pricing-switch-btn.yearly::before {
  transform: translateX(26px);
  background-color: #fff;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 400px));
  justify-content: center;
  gap: 20px;
  align-items: stretch;
}

.pricing-card {
  background-color: hsl(var(--bg-card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-smooth);
}

.pricing-card.popular {
  border-color: hsl(var(--primary));
  box-shadow:
    0 20px 40px -15px rgba(0, 0, 0, 0.4),
    0 0 25px hsl(var(--primary) / 0.1);
  transform: translateY(-10px);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg,
    hsl(var(--primary)),
    hsl(var(--secondary))
  );
  color: #fff;
  padding: 6px 16px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 30px;
}

.pricing-card-header {
  margin-bottom: 20px;
}

.pricing-plan-name {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.pricing-price-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  margin-bottom: 12px;
  width: 100%;
}

.pricing-currency {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
}

.pricing-value {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
}

.pricing-period {
  color: hsl(var(--text-secondary));
  font-size: 0.95rem;
}

.pricing-card-description {
  font-size: 0.9rem;
  color: hsl(var(--text-secondary));
  min-height: auto;
}

.pricing-divider {
  height: 1px;
  background-color: hsl(var(--border));
  margin: 16px 0;
}

.pricing-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.pricing-features-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
}

.pricing-features-list li svg {
  stroke: hsl(var(--secondary-hover));
  flex-shrink: 0;
}

.pricing-card .btn {
  width: 100%;
}

/* --- FAQ Section --- */
.faq-section {
  padding: 100px 0;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background-color: hsl(var(--bg-card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: hsl(var(--text-primary));
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-question svg {
  transition: var(--transition-smooth);
  stroke: hsl(var(--text-secondary));
}

.faq-item.active {
  border-color: hsl(var(--primary) / 0.4);
}

.faq-item.active .faq-question svg {
  transform: rotate(45deg);
  stroke: hsl(var(--primary-hover));
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  padding: 0 24px 24px 24px;
  transition: max-height 0.4s ease-in-out;
}

.faq-answer p {
  color: hsl(var(--text-secondary));
  font-size: 0.95rem;
}

/* --- Footer Section --- */
footer {
  padding: 80px 0 40px 0;
  border-top: 1px solid hsl(var(--border));
  background-color: hsl(var(--bg-dark));
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-brand p {
  max-width: 400px;
}

.footer-links {
  display: flex;
  gap: 80px;
}

.footer-link-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-link-group h4 {
  font-size: 1rem;
  color: hsl(var(--text-primary));
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-link-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link-group a {
  font-size: 0.95rem;
  color: hsl(var(--text-secondary));
}

.footer-link-group a:hover {
  color: hsl(var(--text-primary));
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid hsl(var(--border));
  color: hsl(var(--text-muted));
  font-size: 0.9rem;
}

.admin-access-btn {
  background: none;
  border: none;
  color: hsl(var(--text-muted));
  font-size: 0.72rem;
  cursor: default; /* Pass unnoticed by looking like plain text */
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0.45;
  transition: opacity var(--transition-smooth);
  user-select: none;
}

.admin-access-btn:hover {
  color: hsl(var(--text-muted)); /* Do not highlight */
  opacity: 0.45;
}

/* --- Admin Panel Secret Drawer --- */
.admin-drawer {
  position: fixed;
  top: 0;
  right: -550px;
  width: 500px;
  height: 100vh;
  background-color: hsl(var(--bg-card));
  border-left: 1px solid hsl(var(--border));
  z-index: 1000;
  box-shadow: -25px 0 50px -12px rgba(0, 0, 0, 0.8);
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.admin-drawer.open {
  right: 0;
}

.admin-drawer-header {
  padding: 24px;
  border-bottom: 1px solid hsl(var(--border));
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-drawer-header h3 {
  font-size: 1.4rem;
  color: #000;
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-drawer-header h3 svg {
  stroke: hsl(var(--primary));
}

.admin-close-btn {
  background: none;
  border: none;
  color: hsl(var(--text-secondary));
  cursor: pointer;
  transition: var(--transition-smooth);
}

.admin-close-btn:hover {
  color: #000;
}

.admin-drawer-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 24px;
}

/* --- Admin Forms & Inputs --- */
.admin-login-view {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  height: 100%;
  gap: 20px;
}

.admin-login-logo {
  text-align: center;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: hsl(var(--text-secondary));
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.admin-drawer input,
.admin-drawer textarea,
.admin-drawer select,
.form-group input,
.form-group textarea,
.form-group select {
  background-color: #fff;
  border: 1px solid hsl(var(--border));
  color: #000;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  width: 100%;
  transition: var(--transition-smooth);
}

.admin-drawer input:focus,
.admin-drawer textarea:focus,
.admin-drawer select:focus,
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: hsl(var(--primary));
  box-shadow: 0 0 10px hsl(var(--primary) / 0.15);
}

.admin-drawer textarea,
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.admin-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid hsl(var(--border));
  margin-bottom: 24px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.admin-tab-btn {
  background: none;
  border: none;
  color: hsl(var(--text-secondary));
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 6px;
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.admin-tab-btn:hover {
  color: #000;
  background-color: hsl(var(--border) / 0.5);
}

.admin-tab-btn.active {
  color: #fff;
  background-color: hsl(var(--primary));
}

.admin-tab-content {
  display: none;
}

.admin-tab-content.active {
  display: block;
}

.admin-drawer-footer {
  padding: 24px;
  border-top: 1px solid hsl(var(--border));
  display: flex;
  flex-direction: column;
  gap: 12px;
  background-color: hsl(var(--bg-dark));
}

.admin-publish-btn {
  width: 100%;
  background-color: hsl(var(--secondary));
  color: #fff;
  box-shadow: 0 4px 15px hsl(var(--secondary) / 0.2);
}

.admin-publish-btn:hover {
  background-color: hsl(var(--secondary-hover));
  box-shadow: 0 8px 20px hsl(var(--secondary) / 0.4);
}

.admin-instructions {
  font-size: 0.8rem;
  color: hsl(var(--text-muted));
  text-align: center;
  line-height: 1.4;
}

/* --- Backdrop Overlay for Drawer --- */
.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
  .hero {
    text-align: center;
    padding: 120px 0 60px 0;
  }
  .hero-split-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-text-side {
    align-items: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .mission-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  nav {
    display: none; /* In production: add mobile slide-out menu */
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    padding: 100px 0 50px 0;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1.05rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section-header h2 {
    font-size: 2.2rem;
  }

  .mission-content h2 {
    font-size: 2.2rem;
  }

  .pricing-card.popular {
    transform: none;
  }

  .admin-drawer {
    width: 100%;
    right: -100%;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* --- Admin Media Tab Styles --- */
.media-preview-thumb {
  width: 60px;
  height: 40px;
  border-radius: 4px;
  border: 1px solid hsl(var(--border));
  background-color: rgba(255, 255, 255, 0.05);
  object-fit: cover;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}
.media-preview-thumb:hover {
  transform: scale(1.1);
}
.img-url-input {
  background-color: hsl(var(--bg-dark));
  border: 1px solid hsl(var(--border));
  color: #fff;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.85rem;
  width: 100%;
  transition: var(--transition-smooth);
}
.img-url-input:focus {
  outline: none;
  border-color: hsl(var(--primary));
  box-shadow: 0 0 10px hsl(var(--primary) / 0.15);
}
.img-file-input {
  margin-top: 4px;
  font-size: 0.75rem;
  color: hsl(var(--text-secondary));
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}
.btn-reset-image {
  background: none;
  border: none;
  color: hsl(var(--secondary-hover));
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.btn-reset-image:hover {
  color: #fff;
  text-decoration: underline;
}
.image-edit-block {
  transition: var(--transition-smooth);
}
.image-edit-block:hover {
  border-color: hsl(var(--border-focus)) !important;
  background-color: hsl(var(--bg-card-hover) / 0.1);
}

/* ==========================================================================
   Mobile-First Optimization for Small Screen Sizes (Cell Phones)
   ========================================================================== */
@media (max-width: 576px) {
  body {
    font-size: 14px !important;
  }

  .container {
    padding: 0 16px !important;
  }

  section,
  .pricing-section,
  .video-section,
  .tabs-section,
  .faq-section {
    padding: 40px 0 !important;
  }

  /* Typography Scale Down */
  h1 {
    font-size: 1.8rem !important;
  }

  h2,
  .section-header h2,
  .tabs-header-row h2,
  .mission-content h2,
  .faq-title,
  #video-section-title {
    font-size: 1.55rem !important;
    line-height: 1.25 !important;
    margin-bottom: 12px !important;
  }

  p,
  .section-header p,
  .mission-content p,
  #video-section-desc {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
  }

  /* Navigation Header */
  #site-header {
    padding: 12px 0 !important;
  }

  .logo span {
    font-size: 1.1rem !important;
  }

  .brand-logo-img {
    width: 24px !important;
    height: 24px !important;
  }

  .lang-switcher {
    width: 70px !important;
    height: 30px !important;
    padding: 2px !important;
    gap: 0 !important;
  }

  .lang-option {
    font-size: 0.72rem !important;
    line-height: 24px !important;
    padding: 0 !important;
  }

  .lang-slider {
    width: 32px !important;
    height: 24px !important;
    border-radius: 14px !important;
    top: 2px !important;
    left: 2px !important;
    transform: translateX(0) !important;
  }

  .lang-switcher[data-lang="pt"] .lang-slider {
    transform: translateX(34px) !important;
    left: 2px !important;
  }

  .nav-cta-btn {
    display: none !important; /* Hide to save header real estate */
  }

  .menu-toggle {
    gap: 5px !important;
    z-index: 101 !important; /* Keep hamburger above navigation drawer */
  }

  .menu-toggle span {
    width: 20px !important;
    height: 2px !important;
  }

  /* Animate menu toggle button to X on active */
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg) !important;
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0 !important;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg) !important;
  }

  /* Slide-out Mobile Navigation Drawer */
  nav {
    display: none;
  }

  nav.open {
    display: flex !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: hsl(var(--bg-dark) / 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 20px 20px;
    z-index: 100;
    border-bottom: 1px solid var(--glass-border);
    animation: fadeInMenu 0.3s ease forwards;
  }

  @keyframes fadeInMenu {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  nav.open .nav-links {
    flex-direction: column !important;
    align-items: center !important;
    gap: 24px !important;
    width: 100% !important;
    display: flex !important;
  }

  nav.open .nav-links a {
    font-size: 1.3rem !important;
    font-weight: 600 !important;
    color: #fff !important;
    width: 100% !important;
    text-align: center !important;
    padding: 10px 0 !important;
    display: block !important;
    transition: var(--transition-smooth);
  }

  nav.open .nav-links a:hover {
    color: hsl(var(--primary-hover)) !important;
  }

  /* Hero Slider (Carousel) */
  .hero-carousel-root {
    height: 65vh !important;
    min-height: 440px !important;
  }

  .slide-content-wrapper {
    padding-top: 90px !important; /* Push text down to avoid header overlay */
    padding-bottom: 20px !important;
  }

  .slide-left-text {
    max-width: 100% !important;
    padding: 0 8px !important;
  }

  .slide-left-text .badge {
    font-size: 0.7rem !important;
    padding: 4px 8px !important;
    margin-bottom: 10px !important;
  }

  .slide-left-text h2 {
    font-size: 1.65rem !important;
    margin-bottom: 10px !important;
  }

  .slide-left-text p {
    font-size: 0.85rem !important;
    margin-bottom: 18px !important;
    line-height: 1.45 !important;
  }

  /* Shrink slider navigation controls to avoid blocking text */
  .slider-control {
    width: 34px !important;
    height: 34px !important;
  }

  .slider-control svg {
    width: 16px !important;
    height: 16px !important;
  }

  /* Buttons */
  .btn {
    padding: 10px 18px !important;
    font-size: 0.85rem !important;
    border-radius: var(--radius-sm) !important;
  }

  /* Video Section */
  .video-grid-row {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .video-col-right {
    text-align: center !important;
  }

  /* Features Grid */
  .features-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .feature-card {
    padding: 16px !important;
    border-radius: var(--radius-md) !important;
  }

  .feature-card h3 {
    font-size: 1.05rem !important;
  }

  .feature-card p {
    font-size: 0.82rem !important;
  }

  .feature-icon-wrapper {
    width: 44px !important;
    height: 44px !important;
    margin-bottom: 12px !important;
  }

  .feature-icon-wrapper svg {
    width: 20px !important;
    height: 20px !important;
  }

  /* Tabs Segment & Solutions */
  .tabs-navigation {
    flex-direction: column !important;
    gap: 6px !important;
    margin-bottom: 20px !important;
  }

  .tab-nav-btn {
    width: 100% !important;
    padding: 8px 12px !important;
    font-size: 0.85rem !important;
  }

  .flip-card {
    height: 240px !important;
  }

  .flip-card .card-content {
    padding: 16px !important;
  }

  .flip-card .card-content h3 {
    font-size: 1.1rem !important;
    margin-bottom: 6px !important;
  }

  .flip-card .card-content p {
    font-size: 0.82rem !important;
    margin-bottom: 12px !important;
  }

  /* Pricing Section */
  .pricing-toggle-container {
    padding: 3px !important;
    gap: 6px !important;
    margin-bottom: 24px !important;
  }

  .pricing-toggle-label {
    font-size: 0.78rem !important;
  }

  .pricing-switch-btn {
    width: 40px !important;
    height: 22px !important;
  }

  .pricing-switch-btn::before {
    width: 16px !important;
    height: 16px !important;
  }

  .pricing-switch-btn.yearly::before {
    left: 20px !important;
  }

  .pricing-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .pricing-card {
    padding: 24px 20px !important;
    border-radius: var(--radius-md) !important;
  }

  .pricing-card.popular {
    transform: none !important;
  }

  .pricing-card-header h3 {
    font-size: 1.25rem !important;
  }

  .pricing-card-header .price-amount {
    margin-top: 12px !important;
  }

  .pricing-value {
    font-size: 2.6rem !important;
  }

  .pricing-currency {
    font-size: 1.1rem !important;
  }

  .pricing-period {
    font-size: 0.8rem !important;
  }

  .pricing-card-features ul {
    gap: 8px !important;
    margin-bottom: 20px !important;
  }

  .pricing-card-features li {
    font-size: 0.82rem !important;
  }

  .pricing-card-features svg {
    width: 14px !important;
    height: 14px !important;
  }

  /* FAQ List */
  .faq-list {
    gap: 10px !important;
  }

  .faq-item {
    padding: 14px !important;
  }

  .faq-trigger h3 {
    font-size: 0.92rem !important;
  }

  .faq-content p {
    font-size: 0.82rem !important;
  }

  /* Footer */
  footer {
    padding: 30px 0 15px 0 !important;
  }

  .footer-grid {
    gap: 24px !important;
  }

  .footer-links {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .footer-link-group h4 {
    font-size: 0.9rem !important;
    margin-bottom: 10px !important;
  }

  .footer-link-group a {
    font-size: 0.8rem !important;
  }

  .footer-bottom {
    margin-top: 24px !important;
    padding-top: 12px !important;
    flex-direction: column !important;
    gap: 10px !important;
    text-align: center !important;
    font-size: 0.72rem !important;
  }
}

/* Custom CSS for Hero CTA subtext and Partners section */
.hero-cta-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 15px;
}

.hero-cta-subtext {
  font-size: 0.88rem;
  color: hsl(var(--text-secondary));
  opacity: 0.85;
  margin-left: 10px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Partners Section styling */
.partners-section {
  margin-top: 70px;
  padding-top: 50px;
  border-top: 1px solid hsl(var(--border) / 0.5);
  text-align: center;
}

.partners-title {
  font-size: 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: hsl(var(--text-secondary));
  margin-bottom: 30px;
}

.partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}

.partner-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: hsl(var(--text-secondary) / 0.5);
  transition: var(--transition-smooth);
}

.partner-logo:hover {
  color: hsl(var(--text-primary));
}

.partner-logo-svg {
  width: auto;
  height: 24px;
  max-width: 100px;
}

.partner-text {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Pricing Card Layout Replacements */
.pricing-trial-badge {
  font-size: 0.9rem;
  color: hsl(var(--text-secondary));
  font-weight: 600;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-free-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.pricing-after-trial {
  font-size: 0.85rem;
  font-weight: 600;
  color: hsl(var(--text-secondary));
  margin-top: 4px;
  display: block;
}

/* Pricing Header Blue Banner Style (Image 2 style) */
.pricing-header-banner {
  background: linear-gradient(
    135deg,
    hsl(217, 91%, 50%) 0%,
    hsl(217, 91%, 60%) 100%
  );
  border-radius: var(--radius-lg);
  padding: 30px 20px 40px 20px; /* Reduced bottom padding */
  margin-bottom: -20px; /* Pull the pricing grid up to overlap less */
  position: relative;
  z-index: 1;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 50px hsl(217, 91%, 50% / 0.1);
  border: 1px solid hsl(217, 91%, 50% / 0.2);
}

.pricing-header-banner .section-header {
  margin-bottom: 24px; /* Reduced from 60px */
}

.pricing-header-banner .pricing-toggle-container {
  margin-bottom: 0px; /* Reduced from 50px */
}

.pricing-header-banner .section-header h2 {
  color: #fff !important;
  font-weight: 800 !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pricing-header-banner .section-header p {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500 !important;
}

.pricing-header-banner .pricing-toggle-label {
  color: rgba(255, 255, 255, 0.8) !important;
}

.pricing-header-banner .pricing-toggle-label.active {
  color: #fff !important;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.pricing-header-banner .pricing-switch-btn {
  background-color: rgba(255, 255, 255, 0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.pricing-header-banner .pricing-switch-btn::before {
  background-color: #fff !important;
}

.pricing-header-banner .pricing-switch-btn.yearly {
  background-color: #fff !important;
}

.pricing-header-banner .pricing-switch-btn.yearly::before {
  background-color: hsl(217, 91%, 50%) !important;
}

.pricing-grid {
  position: relative;
  z-index: 2;
  margin-top: 0 !important;
}

@media (max-width: 768px) {
  .pricing-header-banner {
    padding: 24px 15px 35px 15px !important; /* Reduced padding on mobile */
    margin-bottom: -20px !important; /* Adjusted margin on mobile */
  }
}

/* Correcoes solicitadas - Cores de titulo nos cards e Sombras Globais */
.flip-card-front h3,
.flip-card-back h3 {
  color: #006875 !important;
}
.flip-card-back {
  color: hsl(var(--text-primary)) !important;
}
.flip-card-front .card-content p,
.flip-card-back .card-content p {
  color: hsl(var(--text-secondary)) !important;
}

/* Sombras nos cards */
.flip-card-inner,
.pricing-card,
.feature-card,
.stat-card,
.bento-card {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
}
.flip-card:hover .flip-card-inner,
.pricing-card:hover,
.feature-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Corrigir textos que ficaram invisiveis/brancos */
#video-section-title,
.tabs-title-side h2,
.pricing-free-title {
  color: #006875 !important;
  background: none !important;
  -webkit-text-fill-color: #006875 !important;
}

/* Ocultar menu mobile (3 pontinhos) */
.menu-toggle {
  display: none !important;
}

/* Sombras mais fortes nos planos e na tag MAIS POPULAR */
.pricing-card {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}
.pricing-card.popular {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15) !important;
}
.popular-badge {
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3) !important;
}


.play-button-glow,
#video-placeholder-text {
  display: none !important;
}
/* --- Scroll Video Banner --- */
.scroll-video-banner {
  height: 300vh; /* Aumentado para mais tempo de rolagem e menos pulos */
  position: relative;
  background-color: #000;
  width: 100%;
}

.scroll-video-container {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#scroll-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  display: block;
}

/* --- Scroll Video Overlays & Gradients --- */
.scroll-video-overlay {
  position: absolute;
  top: 50%;
  background: rgba(255, 255, 255, 0.03); /* Extremely subtle white */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  padding: 40px;
  border-radius: 20px;
  max-width: 800px;
  width: 90%;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.5s ease-out,
    transform 0.5s ease-out;
  z-index: 10;
}

.scroll-video-overlay.left-aligned {
  left: 5%;
  top: 30%;
  transform: translate(0, -50%);
  text-align: left;
}
.scroll-video-overlay.left-aligned.active {
  opacity: 1;
  transform: translate(0, -50%);
  pointer-events: auto;
}

.scroll-video-overlay.center-aligned {
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.scroll-video-overlay.center-aligned.active {
  opacity: 1;
  transform: translate(-50%, -50%);
  pointer-events: auto;
}

.scroll-video-gradient-bottom {
  position: absolute;
  bottom: -5px; /* Cover any potential 1px gaps */
  left: 0;
  width: 100%;
  height: 255px;
  background: linear-gradient(to bottom, transparent 0%, #faf8ff 100%);
  pointer-events: none;
  z-index: 5;
}

/* --- Scroll Hook Parts (Glassmorphism) --- */
.scroll-hook-glass {
  position: absolute;
  left: 5%;
  max-width: 800px;
  width: 90%;
  padding: 40px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  text-align: left;

  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.5s ease-out,
    transform 0.5s ease-out;
  z-index: 10;
}

.scroll-hook-glass.active {
  opacity: 1;
  pointer-events: auto;
}

.scroll-hook-glass.hook-top {
  top: 50%;
  transform: translate(0, calc(-50% + 20px));
}
.scroll-hook-glass.hook-top.active {
  transform: translate(0, -50%);
}

.scroll-hook-glass.hook-bottom {
  top: 50%;
  transform: translate(0, calc(-50% + 20px));
}
.scroll-hook-glass.hook-bottom.active {
  transform: translate(0, -50%);
}


/* --- Mobile Fixes --- */
@media (max-width: 768px) {
  #site-header {
    height: 60px !important;
    padding: 5px 0 !important;
    background-color: rgba(250, 248, 255, 0.4) !important;
    backdrop-filter: blur(10px) !important;
  }
  .header-container {
    height: 100% !important;
  }
  .scroll-video-overlay.left-aligned,
  .scroll-hook-glass {
    left: auto !important;
    right: 5% !important;
    top: auto !important;
    bottom: 10% !important;
    text-align: right !important;
    padding: 15px !important;
    max-width: 85% !important;
    transform: none !important;
  }
  .scroll-hook-glass.hook-top {
    bottom: 10% !important;
  }
  .scroll-hook-glass.hook-bottom {
    bottom: 10% !important;
  }
  .scroll-video-overlay.left-aligned h1,
  .scroll-hook-glass h1 {
    font-size: 1.4rem !important;
    text-align: right !important;
    font-weight: 800 !important;
  }
  .video-wrapper {
    min-height: 200px !important;
  }
}
/* --- Global Loader --- */
#global-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #070a13;
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.6s ease, visibility 0.6s;
}
#global-loader.hidden {
  opacity: 0;
  visibility: hidden;
}
.loader-content {
  text-align: center;
  color: #fff;
}
.loader-logo {
  max-height: 50px;
  margin-bottom: 30px;
  animation: pulse-glow 2s infinite ease-in-out;
}
.spinner {
  width: 40px;
  height: 40px;
  margin: 0 auto 20px;
  border: 4px solid rgba(255,255,255,0.1);
  border-left-color: #00d2ff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes pulse-glow {
  0%, 100% { filter: drop-shadow(0 0 10px rgba(0,210,255,0.2)); opacity: 0.8; }
  50% { filter: drop-shadow(0 0 25px rgba(0,210,255,0.6)); opacity: 1; }
}

