/* Taste-Skill Inspired Styles */
/* Palette: Dark Blue #365B6D | Cyan Blue #41C1BA */

:root {
  --primary: #41c1ba;
  --primary-hover: #36a59e;
  --dark-blue: #365b6d;
  --dark-blue-deep: #25404d;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #f8fafc;

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

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-soft: 0 10px 40px -10px rgba(54, 91, 109, 0.15);
  --shadow-strong: 0 20px 40px -10px rgba(54, 91, 109, 0.25);

  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) transparent;
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 100px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-hover);
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 600;
  color: var(--dark-blue);
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Loader Overlay */
.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--bg-white);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;
}

.loader-overlay.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.loader-logo {
  height: 48px;
  opacity: 0.8;
  animation: pulse 2s infinite;
}

.loader-progress-wrap {
  width: 200px;
  height: 4px;
  background: rgba(54, 91, 109, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 10px;
}

.loader-bar {
  height: 100%;
  width: 0%;
  background: var(--primary);
  border-radius: 4px;
  transition: width 0.1s linear;
}

.loader-percentage {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--dark-blue);
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center {
  text-align: center;
}
.text-white {
  color: var(--text-light) !important;
}
.text-white-70 {
  color: rgba(255, 255, 255, 0.7);
}
.text-muted {
  color: var(--text-muted);
}
.bg-light {
  background-color: var(--bg-light);
}
.bg-dark {
  background-color: var(--dark-blue);
  color: var(--text-light);
}
.bg-dark h1,
.bg-dark h2,
.bg-dark h3 {
  color: var(--text-light);
}
.bg-dark-cyan {
  background-color: var(--dark-blue-deep);
}

/* CTA strip between sections */
.section-cta {
  padding: 0;
}
.max-w-2xl {
  max-width: 42rem;
}
.max-w-3xl {
  max-width: 48rem;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.mb-4 {
  margin-bottom: 2rem;
}
.section-padding {
  padding: 70px 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 1rem;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  gap: 8px;
}

.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: scale(0);
  animation: ripple-wave 0.65s linear;
  pointer-events: none;
}

@keyframes ripple-wave {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(65, 193, 186, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(65, 193, 186, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--dark-blue);
  border: 1px solid rgba(54, 91, 109, 0.2);
}

.btn-outline:hover {
  background-color: rgba(54, 91, 109, 0.05);
  border-color: var(--dark-blue);
}

.btn-large {
  padding: 14px 28px;
  font-size: 1.05rem;
  font-weight: 400;
}

.btn-block {
  width: 100%;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  background-color: rgba(65, 193, 186, 0.15);
  color: var(--primary);
}

.badge-light {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--primary);
}

.badge-hero {
  background-color: rgba(65, 193, 186, 0.35);
  color: white;
  border: 1px solid rgba(65, 193, 186, 0.5);
}

.badge-cyan {
  background-color: var(--primary);
  color: #fff;
}

/* Typography elements */
.section-title {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.lead-text {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100vw;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  padding: 15px 0;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.navbar .btn-outline {
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.4s ease,
    border-color 0.4s ease,
    color 0.4s ease;
}

.navbar.scrolled .btn-outline {
  opacity: 1;
  pointer-events: auto;
  border-color: var(--dark-blue);
  color: var(--dark-blue);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 40px;
  filter: brightness(0) invert(1);
  transition: var(--transition-smooth);
}

.navbar.scrolled .logo img {
  filter: none;
}

/* =========================================
   SCROLL CONTROLLED HERO SECTION
   ========================================= */

.hero-container {
  /* The height of this container determines how long the user has to scroll 
     before the video finishes. For a 16s video, let's use 300vh */
  height: 400vh;
  position: relative;
  background-color: var(--dark-blue);
}

.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(37, 64, 77, 0.65) 0%,
    rgba(20, 40, 55, 0.88) 100%
  );
  z-index: 1;
  will-change: opacity;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 800px;
  padding-top: 10vh;
  will-change: opacity, transform;
}

.hero-title {
  color: white;
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.25rem;
  max-width: 640px;
  line-height: 1.6;
}

.hero-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 2rem;
}

.hero-bullets span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  margin-top: 10px;
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--primary);
  animation: scroll-down 2s infinite cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scroll-down {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(200%);
  }
}

/* Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}
.delay-3 {
  transition-delay: 0.3s;
}
.delay-4 {
  transition-delay: 0.8s;
}

.delay-t1 {
  transition-delay: 0s;
}
.delay-t2 {
  transition-delay: 0.2s;
}
.delay-t3 {
  transition-delay: 0.4s;
}
.delay-t4 {
  transition-delay: 0.6s;
}
.delay-t5 {
  transition-delay: 0.8s;
}
.delay-t6 {
  transition-delay: 1s;
}

/* =========================================
   PAGE CONTENT (Taste-Skill Layouts)
   ========================================= */
.page-content {
  position: relative;
  z-index: 10;
  background: var(--bg-white);
}

/* Layout Utilities */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.split-layout.align-center {
  align-items: center;
}

.split-cta {
  grid-column: 1;
  margin-top: 0.5rem;
}

.split-cta-right {
  grid-column: 2;
  margin-top: 0.5rem;
}

.bg-image {
  background-size: cover;
  background-position: center;
}

/* Cards */
.glass-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-soft);
}

.dark-card {
  background: var(--dark-blue);
  color: white;
  border: none;
  box-shadow: var(--shadow-strong);
}

.dark-card h3 {
  color: white;
}

.virada-card {
  background: transparent;
  border: none;
  border-left: 2px solid rgba(54, 91, 109, 0.15);
  border-radius: 0;
  padding: 8px 0 8px 24px;
  color: var(--text-main);
  margin-top: 1rem;
}

.virada-card h3 {
  font-size: 1.25rem;
  color: var(--dark-blue);
  margin-bottom: 12px;
}

/* Pain list */
.pain-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 0;
}

.pain-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 1.05rem;
  line-height: 1.2;
  color: var(--text-main);
}

.pain-bullet {
  color: #e63946;
  font-weight: 900;
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: -2px;
  -webkit-text-stroke: 1.5px #e63946;
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--primary);
}

.cyan-icon {
  background: rgba(65, 193, 186, 0.1);
}

/* Authority Layout */
.authority-section h2,
.authority-section h3,
.authority-section h4 {
  color: var(--text-light);
}
.authority-section p,
.authority-section .section-desc {
  color: rgba(255, 255, 255, 0.8);
}
.authority-section .bento-item {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(65, 193, 186, 0.2);
  box-shadow: inset 0 0 1px rgba(65, 193, 186, 0.1);
}
.authority-section .bento-item h3,
.authority-section .bento-item p {
  color: rgba(255, 255, 255, 0.9);
}
.authority-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 64px;
  align-items: flex-start;
}

.authority-photo {
  position: sticky;
  top: 100px;
}

.authority-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
  display: block;
}

.authority-content {
  min-width: 0;
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto auto;
  gap: 24px;
  margin-top: 60px;
}

.bento-item {
  background: white;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.bento-large {
  grid-column: 1 / -1;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.feature-card p {
  color: var(--text-muted);
}

/* Timeline Modern */
.timeline-modern {
  max-width: 800px;
  margin: 60px auto 0;
  position: relative;
}

.timeline-modern::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 199px;
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.timeline-step {
  display: flex;
  margin-bottom: 60px;
  position: relative;
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.step-meta {
  width: 200px;
  flex-shrink: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  padding-right: 48px;
  position: relative;
  gap: 0;
}

.step-num {
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: var(--dark-blue);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.25);
  z-index: 2;
  transition:
    background 0.5s ease,
    border-color 0.5s ease,
    color 0.5s ease,
    box-shadow 0.5s ease;
}

.timeline-step.step-done .step-num {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(65, 193, 186, 0.4);
}

.timeline-step.step-done .step-num::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: white;
  opacity: 0.9;
}

.step-time {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0;
  background: var(--primary);
  color: #fff;
  padding: 5px 10px;
  border-radius: 20px;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
}

.step-content {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-left: 40px;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}

.step-content:hover {
  transform: translateY(-5px);
  border-color: rgba(65, 193, 186, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.step-content h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: white;
}

.step-content p {
  color: var(--text-white-70);
  font-size: 1.05rem;
  margin-bottom: 0;
}

.highlight-tag {
  margin-top: 24px;
  background: rgba(65, 193, 186, 0.25);
  border-left: 6px solid var(--primary);
  border: 1px solid rgba(65, 193, 186, 0.5);
  border-left-width: 6px;
  padding: 22px 26px;
  border-radius: var(--radius-sm);
  color: #fff;
  font-weight: 500;
  font-size: 1.1rem;
  box-shadow: 0 8px 30px rgba(65, 193, 186, 0.3);
  position: relative;
  transform: scale(1.02);
  transition: all 0.3s ease;
}

.highlight-tag:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 40px rgba(65, 193, 186, 0.4);
}

.highlight-tag strong {
  color: var(--primary);
  display: block;
  margin-bottom: 8px;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Social Proof */
.social-proof-section {
  margin-top: 100px;
  text-align: center;
}

.subsection-title {
  font-size: 1.25rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 40px;
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  margin-top: 40px;
}

.carousel-track {
  position: relative;
}

.carousel-arrow {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  color: var(--dark-blue);
  font-size: 1.25rem;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.55);
  transform: translateY(-50%) scale(1.08);
}

.carousel-arrow-left {
  left: -20px;
}
.carousel-arrow-right {
  right: -20px;
}

@media (min-width: 769px) {
  .carousel-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .carousel-hint {
    display: none;
  }
}

.testimonials-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
  scrollbar-width: none;
}

.testimonials-carousel::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  min-width: 320px;
  max-width: 400px;
  scroll-snap-align: center;
  flex: 0 0 auto;
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  text-align: left;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.carousel-hint {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 8px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.5;
  }
}

.stars {
  color: #fbbf24;
  font-size: 1.25rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-card .quote {
  font-size: 1.125rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 24px;
  font-style: italic;
  flex-grow: 1;
}

.author-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 16px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(65, 193, 186, 0.3);
}

.author-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.author-name {
  font-weight: 600;
  color: var(--dark-blue);
  font-size: 0.95rem;
}

.author-source {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Dossie Section */
.premium-list {
  margin-top: 40px;
}

.premium-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.125rem;
  margin-bottom: 20px;
  color: var(--text-main);
}

.premium-list li svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.dossie-mockup {
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

/* Technical dossie panel */
.dossie-technical-panel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.dossie-aerial {
  width: 100%;
  display: block;
  aspect-ratio: 4/5;
  object-fit: cover;
  filter: brightness(0.85) saturate(1);
}

.dossie-overlay-cards {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px;
  background: linear-gradient(to top, rgba(20, 40, 55, 0.95) 60%, transparent);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dossie-stat-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(65, 193, 186, 0.25);
  border-radius: 10px;
  padding: 12px 16px;
  backdrop-filter: blur(8px);
}

.dossie-stat-label {
  display: block;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.dossie-stat-value {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-heading);
  line-height: 1.2;
}

.dossie-stat-trend {
  display: block;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 3px;
}

.dossie-bar-wrap {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin: 6px 0 4px;
  overflow: hidden;
}

.dossie-bar {
  height: 100%;
  background: var(--primary);
  border-radius: 2px;
}

.float-animation {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Contact & Form */
.logos-area {
  margin-bottom: 80px;
}

.logos-title {
  font-size: 1rem;
  text-align: center;
  margin-bottom: 40px;
}

.logos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  opacity: 0.5;
  filter: grayscale(100%);
  transition: var(--transition-smooth);
}

.logos-grid:hover {
  opacity: 0.8;
}

.logo-placeholder {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--dark-blue);
  border: 2px dashed rgba(54, 91, 109, 0.2);
  border-radius: var(--radius-sm);
}

.form-card {
  max-width: 600px;
  margin: 0 auto;
}

.form-card h3 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.form-subtitle {
  color: var(--text-muted);
  margin-bottom: 32px;
}

.premium-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 0;
}

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

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark-blue);
}

.form-group input {
  padding: 16px;
  border: 1px solid rgba(54, 91, 109, 0.2);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition-smooth);
  background: rgba(255, 255, 255, 0.5);
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(65, 193, 186, 0.1);
}

/* LGPD Checkbox */
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.form-checkbox input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--primary);
  cursor: pointer;
}

.form-checkbox label {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  cursor: pointer;
  font-weight: 400;
}

.lgpd-link {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lgpd-link:hover {
  color: white;
}

/* Insight Timeline */
.cta-final-section {
  background: var(--bg-light);
}

.insight-timeline {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.insight-timeline::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(54, 91, 109, 0.15) 10%,
    rgba(54, 91, 109, 0.15) 90%,
    transparent
  );
}

.insight-item {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding-bottom: 40px;
  position: relative;
}

.insight-item:last-child {
  padding-bottom: 0;
}

.insight-node {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(54, 91, 109, 0.3);
  position: relative;
  z-index: 1;
  margin-top: 14px;
}

.insight-card {
  flex: 1;
  padding: 20px 24px;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid rgba(54, 91, 109, 0.08);
  box-shadow: var(--shadow-soft);
}

.insight-card p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* Qualify Section */
.qualify-section {
  background: var(--dark-blue-deep);
}

.qualify-header {
  text-align: center;
  margin-bottom: 64px;
}

.qualify-header .section-title {
  color: white;
  margin-bottom: 16px;
}

.qualify-header .lead-text {
  color: rgba(255, 255, 255, 0.6);
}

.qualify-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0 48px;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}

.qualify-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
  align-self: stretch;
  margin-top: 8px;
}

.qualify-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.4);
}

.qualify-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.qualify-dot-yes {
  background: var(--primary);
}
.qualify-dot-no {
  background: rgba(255, 255, 255, 0.2);
}

.qualify-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.qualify-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1rem;
  line-height: 1.5;
}

.qualify-yes .qualify-list li {
  color: rgba(255, 255, 255, 0.9);
}

.qualify-no .qualify-list li {
  color: rgba(255, 255, 255, 0.35);
}

.qualify-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 1px;
}

.qualify-icon.yes {
  background: rgba(65, 193, 186, 0.15);
  color: var(--primary);
}

.qualify-icon.no {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.25);
}

@media (max-width: 768px) {
  .qualify-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .qualify-divider {
    width: 100%;
    height: 1px;
    align-self: auto;
    margin: 0;
  }
}

.bg-contact {
  background-color: var(--dark-blue-deep);
}

/* Footer */
.footer {
  padding: 60px 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-info {
  width: 100%;
  text-align: center;
}

.footer-info > div {
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 2rem;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.footer-social-link:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .footer {
    padding: 48px 0;
  }
  .footer-info {
    font-size: 0.8rem !important;
  }
  .footer-info > div {
    flex-direction: column;
    align-items: center;
    gap: 4px !important;
  }
}

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  background: white;
  border-radius: var(--radius-lg);
  max-width: 620px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.3);
  animation: modal-in 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 32px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.modal-header h3 {
  font-size: 1.25rem;
  color: var(--dark-blue);
  margin: 0;
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.05);
  font-size: 1.25rem;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.1);
}

.modal-body {
  padding: 24px 32px;
  overflow-y: auto;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) transparent;
}

.modal-updated {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.modal-body h4 {
  font-size: 0.95rem;
  color: var(--dark-blue);
  margin: 24px 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.modal-body h4:first-of-type {
  margin-top: 0;
}

.modal-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 8px;
}

.modal-body ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 8px;
}

.modal-body ul li {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 4px;
}

.modal-footer {
  padding: 20px 32px 28px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  display: flex;
  justify-content: flex-end;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.5rem;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-large {
    grid-column: 1;
  }
  .split-layout {
    gap: 40px;
  }
  .logos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .authority-layout {
    grid-template-columns: 280px 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .dossie-overlay-cards {
    padding: 16px 14px;
    gap: 8px;
    background: linear-gradient(to top, rgba(20, 40, 55, 0.5) 40%, transparent);
  }

  .dossie-stat-card {
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(65, 193, 186, 0.12);
    backdrop-filter: blur(4px);
  }

  .dossie-stat-value {
    font-size: 1rem;
  }

  .dossie-stat-label {
    font-size: 0.62rem;
  }

  .dossie-stat-trend {
    font-size: 0.65rem;
  }

  .split-layout {
    grid-template-columns: 1fr;
  }
  .split-layout .split-text {
    order: -1;
  }
  .split-layout .split-visual {
    order: 1;
  }
  .split-cta,
  .split-cta-right {
    order: 2;
    grid-column: 1;
    text-align: center;
    margin-top: 0;
  }
  .section-title {
    font-size: 2.25rem;
  }
  .section-padding {
    padding: 80px 0;
  }
  .section-cta {
    padding: 32px 0;
  }
  .pain-section {
    padding-bottom: 48px;
  }
  .method-section {
    padding-top: 32px;
  }

  /* Hero mobile */
  .hero-video {
    object-fit: cover;
    object-position: center center;
  }
  .hero-container {
    height: 300vh;
  }
  .hero-sticky {
    height: 100vh;
  }

  .hero-content {
    max-width: 100%;
    padding: 0 24px;
    padding-top: 0;
    margin-top: 10vh;
  }

  .hero-title {
    font-size: 1.85rem;
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    max-width: 100%;
  }

  .timeline-modern::before {
    left: 24px;
  }
  .step-meta {
    width: auto;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    padding-right: 0;
    padding-left: 60px;
    margin-bottom: 8px;
  }
  .step-num {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }
  .step-time {
    margin-top: 0;
    white-space: nowrap;
    max-width: none;
    font-size: 0.7rem;
  }
  .step-content {
    padding: 24px;
    margin-left: 60px;
  }
  .timeline-step {
    flex-direction: column;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-card {
    max-width: 100%;
    padding: 24px;
  }

  .form-card h3 {
    font-size: 1.5rem;
  }

  .form-subtitle {
    font-size: 0.9rem;
    margin-bottom: 24px;
  }

  .premium-form {
    gap: 16px;
  }

  .form-group input {
    padding: 14px;
    font-size: 1rem;
  }

  .btn-block {
    padding: 16px;
    font-size: 1rem;
  }

  /* Authority layout stacks on mobile */
  .authority-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .authority-photo {
    position: static;
    max-width: 320px;
    margin: 0 auto;
  }

  /* Hero bullets stack on mobile */
  .hero-bullets {
    flex-direction: column;
    gap: 8px;
  }
}
