/* =========================================
   CONVIRA DESIGN - STYLES
   ========================================= */

:root {
  --color-black: #000000;
  --color-charcoal: #1A1A1A;
  --color-white: #FFFFFF;
  --color-green: #C6FF00;
  --font-primary: "Helvetica Neue", Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--color-black);
  color: var(--color-white);
  font-family: var(--font-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Ambient Glow System */
.ambient-glow-container {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.orb-wrapper {
  position: absolute;
  width: 100%; height: 100%;
}
.w-1 { transform: translateY(calc(var(--scroll-y, 0px) * -0.3)); }
.w-2 { transform: translateY(calc(var(--scroll-y, 0px) * -0.7)); }
.w-3 { transform: translateY(calc(var(--scroll-y, 0px) * -0.5)); }
.w-4 { transform: translateY(calc(var(--scroll-y, 0px) * -0.2)); }

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px); /* extreme softness */
}
.orb-1 {
  width: 70vw; height: 70vw;
  top: -10vh; left: -20vw;
  background: radial-gradient(circle, rgba(198, 255, 0, 0.12) 0%, transparent 60%);
  animation: float1 14s infinite ease-in-out alternate;
}
.orb-2 {
  width: 60vw; height: 60vw;
  top: 80vh; right: -15vw;
  background: radial-gradient(circle, rgba(198, 255, 0, 0.08) 0%, transparent 60%);
  animation: float2 18s infinite ease-in-out alternate-reverse;
}
.orb-3 {
  width: 80vw; height: 80vw;
  top: 160vh; left: 5vw;
  background: radial-gradient(circle, rgba(198, 255, 0, 0.1) 0%, transparent 60%);
  animation: float1 16s infinite ease-in-out alternate;
}
.orb-4 {
  width: 90vw; height: 90vw;
  top: 260vh; right: -10vw;
  background: radial-gradient(circle, rgba(198, 255, 0, 0.09) 0%, transparent 60%);
  animation: float2 22s infinite ease-in-out alternate;
}

@keyframes float1 {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.15) translate(8vw, -5vh); }
}
@keyframes float2 {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.2) translate(-6vw, 8vh); }
}

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

ul {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  line-height: 1.2;
}

.text-green { color: var(--color-green); }
.text-gray { color: #A0A0A0; }

/* Header */
.header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0.75rem 4rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--color-black);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-left {
  justify-self: start;
}

.header-center {
  justify-self: center;
}

.header-left img {
  height: 35px;
  width: 179px; /* Explicit width based on SVG aspect ratio to prevent 0px rendering */
  object-fit: contain;
  display: block;
}

.header-right {
  justify-self: end;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-size: 1.1rem;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--color-green);
}

/* Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background-color: var(--color-green);
  color: var(--color-black);
  font-weight: bold;
  border-radius: 4px;
  text-transform: uppercase;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
}

.btn:hover {
  box-shadow: 0 0 15px rgba(198, 255, 0, 0.4);
  transform: translateY(-2px);
}

.btn-large {
  padding: 1rem 3rem;
  font-size: 1.15rem;
  border-radius: 50px; /* Optional fallback for form button */
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 6rem;
}

.hero-content {
  width: 100%;
  max-width: 1600px;
  margin: 8rem auto 0;
  text-align: left;
}

.hero-title {
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  max-width: 1000px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-white);
  max-width: 700px;
  margin: 0 0 3rem 0;
  font-weight: 500;
}

.hero-cta-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.hero-proof-strip {
  color: #A0A0A0; /* Light, understated grey */
  font-size: 0.9rem;
  font-weight: 400;
  margin: 0;
  max-width: 100%;
  line-height: 1.4;
}

/* Trust Bar Section */
.trust-section {
  padding: 3rem 2rem 3rem 2rem;
  background-color: transparent;
}

.trust-container {
  overflow: hidden;
  max-width: 1600px;
  margin: 0 auto;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.trust-track {
  display: flex;
  align-items: center;
  width: max-content;
  justify-content: flex-start;
  animation: marquee 30s linear infinite;
}

.trust-track:active, .trust-track:hover {
  animation-play-state: paused;
}

.trust-group {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding-right: 4rem; /* Gap between duplicate groups */
}

.trust-logo {
  height: 35px;
  width: auto;
  opacity: 0.4;
  filter: grayscale(100%);
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.trust-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

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

/* Case Study Wall */
.casestudy-section {
  padding: 4rem 0 8rem 0;
  background-color: transparent;
  overflow: hidden;
}

.casestudy-header {
  text-align: center;
  margin-bottom: 4rem;
  padding: 0 2rem;
}

.eyebrow-badge {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.1);
  color: #A0A0A0;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.casestudy-header h2 {
  font-size: 3.5rem;
  margin: 0;
}

.casestudy-marquee-container {
  width: 100%;
  overflow: hidden;
  margin-bottom: 4rem;
}

.casestudy-track {
  display: flex;
  width: max-content;
  animation: marquee-cs 40s linear infinite;
}

.casestudy-track:hover, .casestudy-track:active {
  animation-play-state: paused;
}

.casestudy-group {
  display: flex;
  gap: 2rem;
  padding-right: 2rem; /* Ensure seamless gap before the duplicate group */
}

.casestudy-card {
  width: 400px;
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 2.5rem;
  box-sizing: border-box;
  background-color: #1A1A1A; /* Neutral placeholder */
  border-radius: 24px;
}

.cs-brand-name {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.02em;
  margin: 0;
  z-index: 2;
  position: relative;
}

.cs-mockup-wrapper {
  margin-top: auto;
  position: relative;
  z-index: 1;
  transform: rotate(-5deg) translateY(20px) scale(1.05);
  transition: transform 0.4s ease;
}

.casestudy-card:hover .cs-mockup-wrapper {
  transform: rotate(-5deg) translateY(10px) scale(1.08);
}

.cs-mockup-placeholder {
  background-color: #2A2A2A;
  border-radius: 12px;
  width: 120%;
  aspect-ratio: 16/9;
  margin-left: -10%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.05);
}

.casestudy-footer {
  text-align: center;
  padding: 0 2rem;
}

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

@media (max-width: 900px) {
  .casestudy-card {
    width: 300px;
    padding: 1.5rem;
  }
  .casestudy-header h2 {
    font-size: 2.5rem;
  }
}

/* Bento Box Grid */
.bento-section {
  padding: 8rem 4rem;
  max-width: 1600px;
  margin: 0 auto;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.bento-card {
  background-color: var(--color-charcoal);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 4rem 4rem 0 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
  min-height: 600px;
  overflow: hidden;
  position: relative;
}

.bento-card.full-width {
  grid-column: 1 / -1;
  min-height: 600px;
}

.bento-card:hover {
  transform: translateY(-5px);
  border-color: rgba(198, 255, 0, 0.3);
  box-shadow: 0 10px 40px rgba(198, 255, 0, 0.08);
}

.bento-card h3 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.bento-card p {
  color: #A0A0A0;
  margin-bottom: 1rem;
}

.bento-link {
  color: var(--color-white);
  font-weight: 500;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.bento-link:hover { color: var(--color-green); }

.bento-image-placeholder {
  width: 100%;
  flex-grow: 1;
  margin-top: 2rem;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  background-color: rgba(0,0,0,0.5);
  border: 1px dashed rgba(255,255,255,0.1);
  border-bottom: none;
}

/* Statistics Section */
.stats-section {
  padding: 8rem 4rem;
  text-align: center;
}

.stats-section h2 {
  font-size: 4.5rem;
  margin-bottom: 6rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5rem 4rem;
  max-width: 1600px;
  margin: 0 auto;
}

.stat-item h4 {
  font-size: 4.5rem;
  color: var(--color-green);
  font-weight: 300;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.stat-item p {
  font-size: 0.9rem;
  color: var(--color-white);
  font-weight: bold;
}

/* About Us Section */


.about-content h2 {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
}

.about-content p {
  color: #A0A0A0;
  margin-bottom: 1.5rem;
  font-size: 1.15rem;
  line-height: 1.8;
}










/* Global Section */
.global-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1600px;
  margin: 0 auto;
  padding: 8rem 4rem;
  gap: 6rem;
  align-items: center;
}

.globe-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background-color: var(--color-charcoal);
  border-radius: 16px;
  border: 1px dashed rgba(255,255,255,0.1);
}

.global-content h2 {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
}
.global-content h2 span { color: var(--color-green); }

.global-content h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

.global-content p {
  color: #A0A0A0;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--color-white);
  border-radius: 50px;
}
.btn-outline:hover {
  border-color: var(--color-green);
  color: var(--color-green);
  box-shadow: none;
}

/* Contact Section */
.contact-section {
  max-width: 1600px;
  margin: 0 auto;
  padding: 8rem 4rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 6rem;
}

.contact-form-container h2 {
  font-size: 4.5rem;
  margin-bottom: 1rem;
}
.contact-form-container p {
  color: var(--color-white);
  margin-bottom: 3rem;
  font-weight: 500;
}




input, 
input:focus, textarea:focus {
  outline: none;
  border-bottom-color: var(--color-green);
  box-shadow: 0 10px 10px -10px rgba(198, 255, 0, 0.3);
}


.contact-info h3 { font-size: 1.5rem; margin-bottom: 1.5rem; }
.contact-info p { margin-bottom: 1rem; color: #A0A0A0; font-size: 1.1rem;}
.contact-info a { color: var(--color-green); font-weight: 500; }
.contact-info a:hover { color: var(--color-green); }



/* Footer */
.footer {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 4rem 2rem 2rem;
  max-width: 1600px;
  margin: 0 auto;
}

/* Footer Lead Capture */
.footer-capture {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 6rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  gap: 4rem;
}

.capture-primary {
  flex: 1;
  max-width: 500px;
}

.capture-primary h3 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.capture-primary p {
  color: #A0A0A0;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.capture-secondary {
  max-width: 350px;
}

.capture-secondary p {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.footer-form {
  display: flex;
  gap: 0.5rem;
  position: relative;
}

.footer-form input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  color: white;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.footer-form input:focus {
  outline: none;
  border-color: var(--color-green);
}

.footer-form input.error {
  border-color: #ff4444;
}

.footer-form .btn-green {
  border-radius: 8px;
  padding: 1rem 2rem;
  white-space: nowrap;
}

.footer-form.mini-form input {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
}

.footer-form.mini-form .btn {
  padding: 0.75rem 1.5rem;
  font-size: 0.8rem;
  background: rgba(255,255,255,0.1);
  color: white;
}

.footer-form.mini-form .btn:hover {
  background: rgba(255,255,255,0.2);
}

.form-message {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  display: none;
}
.form-message.success { color: var(--color-green); display: block; }
.form-message.error-text { color: #ff4444; display: block; }

.footer-nav {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-logo img { max-height: 25px; margin-bottom: 1.5rem; }
.footer-col h4 { margin-bottom: 1.5rem; font-size: 1.25rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col a { color: #A0A0A0; font-size: 0.9rem; transition: color 0.3s; }
.footer-col a:hover { color: var(--color-green); }

.footer-bottom {
  margin-top: 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #666;
  font-size: 0.8rem;
}

@media (max-width: 900px) {
  .header { grid-template-columns: 1fr 1fr; padding: 1.5rem 2rem; }
  .header-center { display: none; } /* Hide nav on mobile instead of logo */
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card.full-width { grid-column: 1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-section, .global-section, .contact-section { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
  .footer-capture { flex-direction: column; gap: 2rem; }
  .footer-form { flex-direction: column; }
  .footer-form .btn-green { width: 100%; }
}

/* Convira Design - Booking Button Styles */
.booking-container {
    margin-top: 2rem;
    max-width: 500px;
}

.booking-subtitle {
    color: #FFFFFF;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    margin-bottom: 24px;
    line-height: 1.5;
}

.convira-booking-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: #C6FF00; /* Convira Green */
    color: #000000; /* Convira Black */
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 18px 40px;
    border-radius: 50px; /* Pill shape to match your screenshot */
    text-decoration: none;
    border: 2px solid #C6FF00;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(198, 255, 0, 0.2); /* Soft ambient glow */
    cursor: pointer;
}

/* The Anti-Gravity Hover Effect */
.convira-booking-btn:hover {
    background-color: #000000;
    color: #C6FF00;
    border-color: #C6FF00;
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(198, 255, 0, 0.4); /* Expanded glow on hover */
}

/* Guarantee Block Section */
.guarantee-section {
  padding: 8rem 2rem;
  background-color: #050505; /* slightly darker to offset */
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin: 0 0 8rem 0;
  text-align: center;
}

.guarantee-content {
  max-width: 900px;
  margin: 0 auto;
}

.guarantee-seal {
  margin-bottom: 2rem;
}

.guarantee-headline {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  color: var(--color-white);
  letter-spacing: -0.02em;
}

.guarantee-subtext {
  font-size: 1.1rem;
  color: var(--color-gray);
  margin-bottom: 0;
}

/* Testimonials Section */
.testimonials-section {
  padding: 8rem 2rem;
  max-width: 1600px;
  margin: 0 auto;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 4rem;
}

.testimonials-header h2 {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-white);
}

.testimonials-carousel {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 2rem; /* space for custom scrollbar */
  scrollbar-width: thin;
  scrollbar-color: var(--color-green) #222;
}

.testimonials-carousel::-webkit-scrollbar {
  height: 8px;
}
.testimonials-carousel::-webkit-scrollbar-track {
  background: #222;
  border-radius: 4px;
}
.testimonials-carousel::-webkit-scrollbar-thumb {
  background: var(--color-green);
  border-radius: 4px;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 1.33rem); /* 3 cards across desktop */
  min-width: 350px;
  background-color: #1A1A1A; /* Matches dark card system */
  border-radius: 24px;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  scroll-snap-align: start;
}

.testimonial-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background-color: var(--color-black);
  border: 2px solid var(--color-green);
  color: var(--color-green);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 100px;
  text-transform: uppercase;
}

.testimonial-headline {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin: 1.5rem 0 1.5rem 0;
  color: var(--color-white);
  letter-spacing: -0.02em;
}

.testimonial-quote {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  flex-grow: 1;
}

.testimonial-author {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
}

.author-name {
  color: var(--color-white);
  font-weight: 700;
}

@media (max-width: 1200px) {
  .testimonial-card {
    flex: 0 0 calc(50% - 1rem); /* 2 across on tablet */
  }
}

@media (max-width: 768px) {
  .testimonials-header h2 {
    font-size: 2.5rem;
  }
  .testimonial-card {
    flex: 0 0 85%; /* Single swipeable card on mobile, showing next card peeking */
    min-width: unset;
  }
}

/* FAQ Section */
.faq-section {
  padding: 8rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.faq-container h2 {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-white);
  text-align: center;
  margin-bottom: 4rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-white);
  font-size: 1.3rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: color 0.3s;
}

.faq-question:hover, .faq-item.active .faq-question {
  color: var(--color-green);
}

.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
  color: var(--color-gray);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--color-green);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-answer p {
  padding-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.faq-cta {
  text-align: center;
  margin-top: 5rem;
}

@media (max-width: 768px) {
  .faq-container h2 {
    font-size: 2.5rem;
  }
  .faq-question {
    font-size: 1.15rem;
    padding: 1.5rem 0;
  }
}


/* ==== QA PASS APPENDS ==== */

/* P0.1 - Mobile hero + bento */
@media (max-width: 768px) {
  .hero { padding: 0 1.5rem; }
  .hero-content { margin-top: 6rem; }
  .hero-title { font-size: clamp(2.25rem, 8vw, 3.25rem); }
  .hero-subtitle { font-size: 1.05rem; margin-bottom: 2rem; }
  .bento-card,
  .bento-card.full-width { min-height: auto; padding: 2.5rem 1.5rem; }
  .bento-image-placeholder { min-height: 180px; }
}

/* P0.2 - In-page anchor offset */
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

/* P1.1 - Background wash */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(60vw 60vw at 15% 20%, rgba(198,255,0,0.06), transparent 60%),
    radial-gradient(70vw 70vw at 85% 75%, rgba(198,255,0,0.05), transparent 60%);
}

/* P1.3 - Heavy side padding on phones */
@media (max-width: 768px) {
  .bento-section, .stats-section, .global-section, .contact-section,
  .testimonials-section, .faq-section { padding: 5rem 1.5rem; }
  .stats-section h2 { font-size: 2.5rem; margin-bottom: 3rem; }
  .contact-form-container h2, .global-content h2 { font-size: 2.5rem; }
  .casestudy-header h2, .testimonials-header h2 { font-size: 2.25rem; }
}

/* P1.4 - Perf + reduced-motion */
.orb-wrapper { will-change: transform; }
@media (max-width: 768px) { .glow-orb { filter: blur(50px); } }
@media (prefers-reduced-motion: reduce) {
  .trust-track, .casestudy-track, .glow-orb { animation: none !important; }
}

/* P2.1 - Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ============================================================= */
/* KING KONG-STYLE HEADINGS — ALL CAPS + tight tracking          */
/* Heading elements only. Body/subtext, FAQ questions, buttons   */
/* are untouched.                                                 */
/* ============================================================= */
h1, h2, h3, h4, h5, h6 {
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

/* Big display headings — tighter for that dense KK impact */
.hero-title,
.stats-section h2,
.global-content h2,
.casestudy-header h2,
.testimonials-header h2,
.faq-container h2,
.contact-form-container h2,
.capture-primary h3,
.guarantee-headline {
  letter-spacing: -0.03em;
}

/* Exception — this h3 is a full supporting sentence; keep it     */
/* sentence-case & readable, like KK's sub-headlines.             */
.global-content h3 {
  text-transform: none;
  letter-spacing: normal;
}

/* ============================================================= */
/* KING KONG HEADING TYPEFACE — heavy condensed display (Anton)  */
/* Headings only. All body copy stays Helvetica Neue.            */
/* ============================================================= */
h1, h2, h3, h4, h5, h6,
.hero-title,
.stats-section h2,
.global-content h2,
.casestudy-header h2,
.testimonials-header h2,
.faq-container h2,
.contact-form-container h2,
.capture-primary h3,
.guarantee-headline {
  font-family: 'Anton', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;        /* Anton ships one weight and renders black */
  letter-spacing: 0;       /* reset last turn's -0.03em — Anton is already tight, */
                           /* extra negative tracking makes the caps collide */
  line-height: 1.05;       /* condensed faces run tall; tighten multi-line headings */
}

/* Supporting sentence-headline stays readable Helvetica, sentence-case */
.global-content h3 {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  text-transform: none;
  font-weight: 700;
  letter-spacing: normal;
  line-height: 1.3;
}

/* Stats thin aesthetic */
.stat-number { font-family: 'Helvetica Neue', Arial, sans-serif; font-weight: 300; letter-spacing: -0.02em; }

/* Increased sizes via condensed typography width */
.hero-title { font-size: clamp(4rem, 7.5vw, 6.5rem); }
.stats-section h2, .casestudy-header h2, .testimonials-header h2,
.faq-container h2, .contact-form-container h2 { font-size: 4.5rem; }

/* ================================================================ */
/* CONVIRA — MOBILE OVERRIDE LAYER                                   */
/* ---------------------------------------------------------------- */
/* PASTE THIS AT THE VERY END OF styles.css. It MUST stay last.      */
/*                                                                  */
/* Why: the Anton + size-bump blocks were appended after the mobile */
/* fixes, so their desktop sizes were winning on phones (later CSS  */
/* wins at equal specificity). This layer is scoped to <=768px and  */
/* uses !important on the sizes that kept overflowing, so it wins    */
/* regardless of what sits above it. Keep it at the bottom.          */
/* ================================================================ */
@media (max-width: 768px) {

  /* --- Loosen heading line-height: stops multi-line Anton --- */
  /* --- headings colliding (letter, guarantee, etc.)       --- */
  h1, h2, h3, h4, h5, h6 { line-height: 1.12; }

  /* ---------------- HEADER (button was off-screen) ---------- */
  .header { padding: 1rem 1.25rem; }
  .header-left img { width: auto; height: 26px; }   /* kill the fixed 179px width */
  .header .btn { padding: 0.55rem 0.9rem; font-size: 0.72rem; }

  /* ---------------- HERO (headline was oversized) ----------- */
  .hero { padding: 0 1.5rem; min-height: auto; }
  .hero-content { margin-top: 5.5rem; margin-bottom: 3rem; }
  .hero .hero-title { font-size: clamp(2.1rem, 8.5vw, 2.9rem) !important; }
  .hero-subtitle { font-size: 1rem; margin-bottom: 2rem; }
  .hero-proof-strip, .condensed-proof-strip { font-size: 0.78rem; word-break: break-word; }

  /* ---------------- BUTTONS (blobby oversized pills) -------- */
  .btn-large { width: 100%; max-width: 360px; padding: 0.9rem 1.25rem !important; font-size: 1rem !important; }
  .convira-booking-btn { width: 100%; box-sizing: border-box; padding: 14px 18px; font-size: 14px; }

  /* ---------------- SECTION PADDING (big black gaps) -------- */
  .bento-section, .stats-section, .global-section, .contact-section,
  .testimonials-section, .faq-section { padding: 4rem 1.5rem; }
  .casestudy-section { padding: 4rem 0; }
  .casestudy-header, .casestudy-footer { padding-left: 1.5rem; padding-right: 1.5rem; }

  /* ---------------- SECTION HEADINGS (oversized) ------------ */
  .casestudy-header h2, .testimonials-header h2 { font-size: 2.25rem !important; }
  .stats-section h2 { font-size: 2.1rem !important; margin-bottom: 2.5rem; }
  .faq-container h2 { font-size: 2.1rem !important; margin-bottom: 2.5rem; }
  .contact-form-container h2 { font-size: 2.1rem !important; }   /* "CONSULTATION" was overflowing */
  .global-content h2 { font-size: 2.25rem !important; }
  .capture-primary h3 { font-size: 2rem; }
  .footer-col h4 { font-size: 1.15rem; }

  /* ---------------- THE LETTER (heading/body overlap) ------- */
  /* Inline styles on this section need !important to beat.     */
  .letter-content { padding: 3.5rem 1.5rem !important; }
  .letter-content h2 { font-size: 2rem !important; line-height: 1.2 !important; margin-bottom: 1.25rem !important; }

  /* ---------------- STATS (numbers overflowing/clipped) ----- */
  .stats-grid { gap: 2.5rem 1.25rem; }
  .stats-section .stat-item h4 { font-size: 2.4rem !important; }
  .stat-item p { font-size: 0.78rem; }

  /* ---------------- GUARANTEE (headline lines overlapping) -- */
  .guarantee-section { padding: 4rem 1.5rem; margin: 0 0 4rem 0; }
  .guarantee-headline { font-size: 1.85rem !important; line-height: 1.2; }
  .guarantee-subtext { font-size: 1rem; }

  /* ---------------- BENTO (tall empty cards) ---------------- */
  .bento-card, .bento-card.full-width { min-height: auto; padding: 2.5rem 1.5rem; }
  .bento-card h3 { font-size: 1.8rem; }
  .bento-image-placeholder { min-height: 150px; flex-grow: 0; }

  /* ---------------- CASE STUDY CARDS (mockup overflow) ------ */
  .casestudy-card { width: 270px; padding: 1.5rem; }

  /* ---------------- TESTIMONIAL CARDS ----------------------- */
  .testimonial-headline { font-size: 1.9rem; }
}


/* ============================================================= */
/* ALIVE PACK — ANIMATION & INTERACTION POLISH                   */
/* ============================================================= */

/* 1. Cursor-reactive spotlight */
.cursor-glow {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 30%),
              rgba(198,255,0,0.07), transparent 60%);
}
@media (hover: none) { .cursor-glow { display: none; } }

/* 2. Film grain overlay */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* 3. Button shine sweep + press state */
.btn, .convira-booking-btn { position: relative; overflow: hidden; }
.btn::after, .convira-booking-btn::after {
  content: ""; position: absolute; top: 0; left: -75%; width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg); transition: left 0.55s ease;
}
.btn:hover::after, .convira-booking-btn:hover::after { left: 125%; }
.btn:active, .convira-booking-btn:active { transform: translateY(0) scale(0.97); }

/* 4. Staggered reveals */
.js .reveal .bento-card, .js .reveal .stat-item, .js .reveal .faq-item {
  opacity: 0; transform: translateY(24px);
  transition: opacity .55s cubic-bezier(.2,.7,.2,1), transform .55s cubic-bezier(.2,.7,.2,1);
}
.js .reveal.is-visible .bento-card,
.js .reveal.is-visible .stat-item,
.js .reveal.is-visible .faq-item { opacity: 1; transform: none; }

.js .reveal.is-visible .bento-card:nth-child(2), .js .reveal.is-visible .stat-item:nth-child(2), .js .reveal.is-visible .faq-item:nth-child(2){ transition-delay: .07s; }
.js .reveal.is-visible .bento-card:nth-child(3), .js .reveal.is-visible .stat-item:nth-child(3), .js .reveal.is-visible .faq-item:nth-child(3){ transition-delay: .14s; }
.js .reveal.is-visible .bento-card:nth-child(4), .js .reveal.is-visible .stat-item:nth-child(4), .js .reveal.is-visible .faq-item:nth-child(4){ transition-delay: .21s; }
.js .reveal.is-visible .bento-card:nth-child(5), .js .reveal.is-visible .stat-item:nth-child(5), .js .reveal.is-visible .faq-item:nth-child(5){ transition-delay: .28s; }
.js .reveal.is-visible .stat-item:nth-child(6), .js .reveal.is-visible .faq-item:nth-child(6){ transition-delay: .35s; }
.js .reveal.is-visible .stat-item:nth-child(7){ transition-delay: .42s; }
.js .reveal.is-visible .stat-item:nth-child(8){ transition-delay: .49s; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal .bento-card, .js .reveal .stat-item, .js .reveal .faq-item {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
}

/* 5. Hero entrance on load */
@keyframes riseIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.js .hero-title       { animation: riseIn .8s cubic-bezier(.2,.7,.2,1) both; }
.js .hero-subtitle    { animation: riseIn .8s cubic-bezier(.2,.7,.2,1) .15s both; }
.js .hero-cta-wrapper { animation: riseIn .8s cubic-bezier(.2,.7,.2,1) .30s both; }
@media (prefers-reduced-motion: reduce) {
  .js .hero-title, .js .hero-subtitle, .js .hero-cta-wrapper { animation: none; }
}

/* 6. Card cursor-spotlight */
.bento-card::before, .testimonial-card::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(450px circle at var(--cx, 50%) var(--cy, 50%),
              rgba(198,255,0,0.12), transparent 40%);
  opacity: 0; transition: opacity .35s ease;
}
.bento-card:hover::before, .testimonial-card:hover::before { opacity: 1; }
.bento-card > *, .testimonial-card > * { position: relative; z-index: 1; }  /* keep text above the glow */

/* 7. Animated nav underlines */
.nav-link { position: relative; }
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px;
  background: var(--color-green); transition: width .3s ease;
}
.nav-link:hover::after { width: 100%; }

/* 8. Placeholder shimmer */
.bento-image-placeholder, .globe-placeholder, .cs-mockup-placeholder { position: relative; overflow: hidden; }
.bento-image-placeholder::after, .globe-placeholder::after, .cs-mockup-placeholder::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.05) 50%, transparent 70%);
  transform: translateX(-100%); animation: shimmer 2.6s infinite;
}
@keyframes shimmer { 100% { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) {
  .bento-image-placeholder::after, .globe-placeholder::after, .cs-mockup-placeholder::after { animation: none; }
}

/* 9. Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%; z-index: 1001;
  background: var(--color-green); box-shadow: 0 0 10px rgba(198,255,0,0.6);
}

/* 10. Guarantee lime accent */
.guarantee-section {
  border-top: 1px solid rgba(198,255,0,0.25) !important;
  border-bottom: 1px solid rgba(198,255,0,0.25) !important;
}
.guarantee-seal svg { filter: drop-shadow(0 0 12px rgba(198,255,0,0.5)); }



/* ============================================================= */
/* LENIS SMOOTH SCROLL BASE STYLES                               */
/* ============================================================= */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
.lenis.lenis-smooth iframe {
  pointer-events: none;
}


/* ============================================================= */
/* HERO 2-COLUMN LAYOUT EXPERIMENT                               */
/* ============================================================= */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-image-col {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
}

.hero-mobile-img {
  max-width: 100%;
  height: auto;
  transform: translateY(-25px);
  animation: floatHero 6s ease-in-out infinite;
  filter: drop-shadow(0 25px 45px rgba(0,0,0,0.4));
}

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

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

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-image-col {
    justify-content: center;
    margin-top: 1rem;
    margin-bottom: -3rem;
  }
  .hero-mobile-img {
    max-width: 80%;
    transform: translateY(0px);
    animation: floatHeroMobile 6s ease-in-out infinite;
  }
}

@media (max-width: 600px) {
  .hero-mobile-img {
    max-width: 100%;
  }
  .trust-logo {
    height: 25px !important;
  }
}

/* Bento Visual Overrides */
.bento-visual {
  width: calc(100% + 8rem);
  margin-left: -4rem;
  margin-right: -4rem;
  margin-top: 3rem;
  margin-bottom: -2px; /* Pull it tight to the bottom */
  display: block;
  object-fit: cover;
}

@media (max-width: 768px) {
  .bento-visual {
    width: calc(100% + 3rem);
    margin-left: -1.5rem;
    margin-right: -1.5rem;
  }
}
