/* Font Face Declarations */
@font-face {
  font-family: 'Alliance No.2';
  src: url('../assets/fonts/Degarism Studio - Alliance No.2 Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Alliance No.2';
  src: url('../assets/fonts/Alliance No.2 Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Alliance No.2';
  src: url('../assets/fonts/Alliance No.2 Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Alliance No.2';
  src: url('../assets/fonts/Alliance No.2 Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Alliance No.2';
  src: url('../assets/fonts/Alliance No.2 Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* End Font Face Declarations */

:root {
  --link-color--link-primary: var(--base-color-brand--blue);
  --text-color--text-alternate: var(--base-color-neutral--white);
  --background-color--background-primary: var(--base-color-neutral--black);
  --text-color--text-primary: var(--base-color-neutral--black);
  --text-color--text-secondary: var(--base-color-neutral--neutral-darker);
  --background-color--background-success: var(--base-color-system--success-green);
  --text-color--text-success: var(--base-color-system--success-green-dark);
  --lp-colors--black: #151515;
  --border-color--border-primary: var(--base-color-neutral--neutral-lightest);
  --background-color--background-alternate: var(--base-color-neutral--white);
  --background-color--background-secondary: var(--base-color-brand--blue);
  --background-color--background-tertiary: var(--base-color-brand--pink);
  --background-color--background-error: var(--base-color-system--error-red);
  --text-color--text-error: var(--base-color-system--error-red-dark);
  --green: #20322f;
  --link-color--link-secondary: var(--base-color-neutral--black);
  --link-color--link-alternate: var(--base-color-neutral--white);
  --border-color--border-alternate: var(--base-color-neutral--black);
  --background-color--background-warning: var(--base-color-system--warning-yellow);
  --text-color--text-warning: var(--base-color-system--warning-yellow-dark);
  --lp-colors--white: #fffdf5;
  --lp-white: #fffdf5;
  --lp-black: #151515;
  --base-color-neutral--neutral: #767676;
  --base-color-neutral--neutral-darkest: #111;
  --base-color-brand--blue-dark: #121219;
  --base-color-neutral--neutral-dark: #3c3c3c;
  --text-color--text-light-gray: #858585;
  --text-color--text-gray: #4b5563;
  --text-color--text-purple: #504cc5;
  --black-blue: #232a45;
  --lp-page--text: var(--light--black);
  --lp-purple: #9f66f6;
  --lp-red: #ca071a;
  --dark--text: var(--lp-colors--white);
  --light--black: var(--lp-colors--black);
  --light--white: var(--lp-colors--white);
  --lp-indigo: #2d75dd;
  --lp-page--background: var(--light--white);
  --lp-yellow: #f9a900;
  --lp-pink: #db005f;
  --lp-dark-purple: #5e007e;
  --lp-orange: #ff5900;
  --lp-green: #058244;
  --dark--background: var(--lp-colors--black);
  --base-color-brand--blue-light: #d9e5ff;
  --base-color-brand--blue: #2d62ff;
  --base-color-brand--pink-light: #ffaefe;
  --base-color-brand--pink: #dd23bb;
  --base-color-brand--pink-dark: #3c043b;
  --base-color-neutral--black: #1a1a1a;
  --base-color-neutral--white: #fff;
  --base-color-neutral--neutral-lightest: #eee;
  --base-color-neutral--neutral-lighter: #ccc;
  --base-color-neutral--neutral-light: #aaa;
  --base-color-neutral--neutral-darker: #222;
  --base-color-system--success-green: #cef5ca;
  --base-color-system--success-green-dark: #114e0b;
  --base-color-system--warning-yellow: #fcf8d8;
  --base-color-system--warning-yellow-dark: #5e5515;
  --base-color-system--error-red: #f8e4e4;
  --base-color-system--error-red-dark: #3b0b0b;
  --base-color-system--focus-state: #2d62ff;
  --border-color--border-secondary: var(--base-color-brand--blue);
  --text-color--text-black-blue: #232a45;
  --text-color--text-black-gray: #555;
}

body {
  box-sizing: border-box;
  min-height: 100%;
  margin: 0;
  font-family: Alliance No\.2, sans-serif;
  font-size: 1.125rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overscroll-behavior: none;
  background-color: var(--lp-page--background);
  color: var(--lp-page--text);
}

/* HEADER SECTION */
.main-header {
  background-color: var(--base-color-neutral--white);
  width: 100%;
  padding: 20px 0;
  position: fixed;
  top: 0;
  z-index: 1000;
}

.main-header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 700;
  font-size: 24px;
  color: var(--base-color-neutral--black);
}

.main-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 30px;
}

.main-nav a {
  color: var(--base-color-neutral--black);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
}

.cta-button {
  background-color: var(--lp-red);
  color: var(--base-color-neutral--white);
  padding: 12px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  white-space: nowrap;
}

/* Mobile menu icon - hidden by default */
.menu-icon {
  display: none;
  width: 24px;
  height: 24px;
  position: relative;
  cursor: pointer;
  z-index: 1002; /* Higher than the slide-out menu to ensure it's clickable */
}

.menu-icon span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--lp-red);
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.menu-icon span:nth-child(1) {
  top: 0px;
}

.menu-icon span:nth-child(2) {
  top: 10px;
}

.menu-icon span:nth-child(3) {
  top: 20px;
}

/* Hamburger icon animation for open state */
.menu-icon.open span:nth-child(1) {
  top: 10px;
  transform: rotate(135deg);
}

.menu-icon.open span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.menu-icon.open span:nth-child(3) {
  top: 10px;
  transform: rotate(-135deg);
}

/* Mobile side menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -280px; /* Start off-screen */
  width: 280px;
  height: 100%;
  background-color: var(--base-color-neutral--black);
  z-index: 1001;
  transition: right 0.3s ease-in-out;
  padding: 80px 30px 30px;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
  visibility: hidden; /* Hidden by default */
}

.mobile-menu.open {
  right: 0; /* Slide in */
  visibility: visible; /* Only visible when open */
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu li {
  margin-bottom: 20px;
}

.mobile-menu a {
  color: var(--base-color-neutral--white);
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu .mobile-cta {
  margin-top: 40px;
  display: block;
  background-color: var(--lp-red);
  color: var(--base-color-neutral--white);
  padding: 15px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  text-align: center;
}

/* Overlay for when menu is open */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
  pointer-events: none; /* Don't capture clicks when hidden */
}

.menu-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto; /* Capture clicks when visible */
}

/* HERO SECTION */
.hero-section {
  padding: 140px 0 80px;
  text-align: center;
  overflow: hidden;
  position: relative;
  background-color: var(--base-color-neutral--white);
  min-height: 950px;
}

.hero-section .container {
  max-width: 970px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}

.subtitle {
  font-size: 20px;
  color: var(--base-color-neutral--black);
  margin-bottom: 20px;
  font-weight: 800;
  position: relative;
  z-index: 5;
}

.main-heading {
  font-size: 48px;
  font-weight: 700;
  color: var(--base-color-neutral--black);
  margin: 0 auto 40px;
  max-width: 800px;
  line-height: 1.2;
  position: relative;
  z-index: 5;
}

.hero-background {
  position: absolute;
  top: 280px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  min-width: 100%;
  max-width: none;
  height: auto;
  z-index: 1;
  opacity: 1;
  filter: none;
  display: none; /* Hide hero background image */
}

.wave-container {
  position: absolute;
  width: 1050px;
  height: 180px;
  top: 335px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: none; /* Hide wave container */
}

.wave-bar {
  position: absolute;
  width: 100%;
  height: 15px;
  left: 0;
  transform-origin: center;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  border-radius: 0px;
}

.wave-bar-1 {
  top: 45px;
  background-color: #f9a900; /* yellow*/
  animation: wave1 3s infinite ease-in-out;
}

.wave-bar-2 {
  top: 60px;
  background-color: #ff5900; /* orange */
  animation: wave2 2.8s infinite ease-in-out;
  animation-delay: 0.1s;
}

.wave-bar-3 {
  top: 75px;
  background-color: #ca071a; /* red */
  animation: wave3 2.6s infinite ease-in-out;
  animation-delay: 0.2s;
}

.wave-bar-4 {
  top: 90px;
  background-color: #563885; /* light purple */
  animation: wave4 2.4s infinite ease-in-out;
  animation-delay: 0.3s;
}

.wave-bar-5 {
  top: 105px;
  background-color: #5e007e; /* dark purple  */
  animation: wave5 2.2s infinite ease-in-out;
  animation-delay: 0.4s;
}

.wave-bar-6 {
  top: 120px;
  background-color: #232a45; /* dark */
  animation: wave6 2s infinite ease-in-out;
  animation-delay: 0.5s;
}

@keyframes wave1 {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(1.9); }
}

@keyframes wave2 {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(1.8); }
}

@keyframes wave3 {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(1.8); }
}

@keyframes wave4 {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(1.5); }
}

@keyframes wave5 {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(1.9); }
}

@keyframes wave6 {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(1.3); }
}

.phone-container {
  position: absolute;
  max-width: 400px;
  top: 160px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  z-index: 3;
}

.phone-mockup {
  width: 100%;
  height: auto;
  position: relative;
}

.phone-mockup img {
  width: 100%;
  height: auto;
  display: block;
}

.phone-content {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 75%;
  text-align: center;
}

.phone-app-title {
  font-size: 30px;
  font-weight: 800;
  color: #222;
  margin-bottom: 10px;
}

.phone-app-subtitle {
  font-size: 12px;
  font-weight: 600;
  color: #555;
  margin-bottom: 15px;
}

.phone-input {
  width: 100%;
  padding-top: 8px;
  padding-bottom: 8px;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 8px;
  font-size: 12px;
}

.phone-button {
  width: 100%;
  padding: 8px;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}

.partner-logos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-top: 620px;
  margin-bottom: 200px;
  flex-wrap: wrap;
  position: relative;
  z-index: 5;
}

.partner-logos img {
  height: 30px;
  opacity: 0.6;
  filter: grayscale(1);
}

/* WORKFLOW INTEGRATION SECTION */
.workflow-section {
  padding: 80px 0;
  background-color: var(--base-color-neutral--white);
  margin-top: -40px;
}

.workflow-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-heading {
  font-size: 36px;
  font-weight: 700;
  color: var(--base-color-neutral--black);
  margin-bottom: 20px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.3;
}

.section-text {
  font-size: 18px;
  color: var(--text-color--text-gray);
  margin-bottom: 60px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.workflow-diagram {
  position: relative;
  width: 100%;
  height: 300px;
}

.top-branch,
.middle-branch,
.bottom-branch {
  position: absolute;
  height: 25px;
  background-color: var(--base-color-neutral--black);
  display: flex;
  align-items: center;
}

.top-branch {
  top: 20%;
  width: 80%;
  left: 10%;
}

.middle-branch {
  top: 50%;
  width: 100%;
  left: 0;
}

.bottom-branch {
  top: 80%;
  width: 80%;
  left: 15%;
}

.path {
  flex-grow: 1;
  height: 100%;
}

.node {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  position: relative;
  z-index: 2;
}

.node:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 16px;
  white-space: nowrap;
  min-width: 150px;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.node.tooltip-visible::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 16px;
  white-space: nowrap;
  min-width: 150px;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
  animation: fadeInOut 3s ease-in-out;
}

@keyframes fadeInOut {
  0% { opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { opacity: 0; }
}

.orange {
  background-color: var(--lp-orange);
}

.pink {
  background-color: var(--lp-pink);
}

.purple {
  background-color: var(--lp-purple);
}

.red {
  background-color: var(--lp-red);
}

.connectors {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.connector {
  position: absolute;
  width: 25px;
  background-color: var(--base-color-neutral--black);
}

.c1 {
  height: 30%;
  left: 20%;
  top: 20%;
}

.c2 {
  height: 30%;
  left: 40%;
  top: 50%;
}

.c3 {
  height: 30%;
  left: 60%;
  top: 20%;
}

.c4 {
  height: 30%;
  left: 80%;
  top: 50%;
}

/* AUDIO DEMONSTRATION SECTION */
.audio-demo-section {
  padding: 80px 0;
  background-color: var(--base-color-neutral--black);
  color: var(--base-color-neutral--white);
}

.audio-demo-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.audio-demo-section .subtitle {
  color: var(--base-color-neutral--white);
  opacity: 0.9;
}

.audio-demo-section .section-heading {
  color: var(--base-color-neutral--white);
}

.audio-samples {
  display: flex;
  gap: 30px;
  margin-top: 60px;
}

.audio-card {
  flex: 1;
  background-color: #000;
  border-radius: 4px;
  overflow: hidden;
}

.waveform {
  padding: 30px;
  height: 200px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.waveform-visual {
  width: 100%;
  height: 60px;
  background-size: 100% 100%;
  background-repeat: repeat-x;
  opacity: 0.7;
}

.healthcare {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 30"><path d="M0,15 L5,10 L10,15 L15,5 L20,15 L25,12 L30,15 L35,14 L40,15 L45,13 L50,15 L55,10 L60,15 L65,7 L70,15 L75,13 L80,15 L85,11 L90,15 L95,8 L100,15" stroke="white" fill="none" stroke-width="0.5" /></svg>');
}

.travel {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 30"><path d="M0,15 L5,14 L10,15 L15,14.5 L20,15 L25,14.7 L30,15 L35,14.8 L40,15 L45,14.2 L50,15 L55,14.5 L60,15 L65,14.7 L70,15 L75,14.3 L80,15 L85,14.6 L90,15 L95,14.5 L100,15" stroke="white" fill="none" stroke-width="0.5" /></svg>');
}

.education {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 30"><path d="M0,15 L5,5 L10,15 L15,25 L20,15 L25,2 L30,15 L35,20 L40,15 L45,10 L50,15 L55,5 L60,15 L65,25 L70,15 L75,3 L80,15 L85,22 L90,15 L95,7 L100,15" stroke="white" fill="none" stroke-width="0.5" /></svg>');
}

.play-button {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s;
}

.play-button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent rgba(255, 255, 255, 0.8);
}

.waveform:hover .play-button {
  opacity: 1;
}

.audio-meta {
  padding: 15px;
  display: flex;
  justify-content: space-between;
}

.sector {
  color: var(--text-color--text-light-gray);
  font-size: 14px;
}

.name {
  font-weight: 500;
}

/* SECURITY COMPLIANCE SECTION */
.security-section {
  padding: 80px 0;
  background-color: var(--base-color-neutral--white);
}

.security-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 60px;
}

.security-card {
  background-color: var(--base-color-neutral--black);
  color: var(--base-color-neutral--white);
  padding: 24px;
  border-radius: 4px;
  position: relative;
  height: 100%;
}

.indicator {
  width: 16px;
  height: 16px;
  position: absolute;
  top: 24px;
  left: 24px;
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 16px 26px;
  padding-top: 4px;
}

.card-text {
  font-size: 16px;
  line-height: 1.5;
  opacity: 0.8;
  margin: 0;
}

/* Mobile Security Cards Carousel */
.mobile-security-carousel {
  display: none; /* Hidden on desktop */
  margin-top: 40px;
  position: relative;
}

.carousel-container {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; /* Hide scrollbar in Firefox */
  -ms-overflow-style: none; /* Hide scrollbar in IE and Edge */
  padding-bottom: 20px; /* Space for scrollbar */
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
  scroll-padding: 0 calc(50% - 140px); /* Center the active card */
  scroll-behavior: smooth; /* Ensure smooth scrolling */
}

.carousel-container::-webkit-scrollbar {
  display: none; /* Hide scrollbar in Chrome, Safari, Opera */
}

.carousel-track {
  display: flex;
  gap: 16px;
  padding: 15px 5px;
  width: fit-content; /* Ensure the track is as wide as needed */
  padding-left: calc(50% - 140px); /* Start with centered first card */
  padding-right: calc(50% - 140px); /* End with space for centering last card */
}

.carousel-card {
  flex: 0 0 280px; /* Fixed width for each card */
  scroll-snap-align: center; /* Snap to center of each card */
  background-color: var(--base-color-neutral--black);
  color: var(--base-color-neutral--white);
  padding: 24px;
  border-radius: 4px;
  position: relative;
  height: auto;
  min-height: 200px; /* Ensure consistent height */
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.carousel-card .card-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 16px 26px;
  padding-top: 4px;
}

.carousel-card .card-text {
  font-size: 16px;
  line-height: 1.5;
  opacity: 0.8;
  margin: 0;
  flex-grow: 1;
}

/* Navigation arrows - invisible but large clickable areas */
.carousel-nav-button {
  position: absolute;
  top: 0;
  height: 100%;
  width: 40px;
  z-index: 20;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  opacity: 0.7;
}

.carousel-nav-button:focus {
  outline: none;
}

.carousel-nav-button.prev {
  left: 0;
}

.carousel-nav-button.next {
  right: 0;
}

/* Small visible arrow icons inside the buttons */
.carousel-nav-button::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--base-color-neutral--black);
  border-right: 2px solid var(--base-color-neutral--black);
  opacity: 0.7;
}

.carousel-nav-button:hover::after {
  opacity: 1;
}

.carousel-nav-button.prev::after {
  left: 15px;
  transform: translateY(-50%) rotate(-135deg);
}

.carousel-nav-button.next::after {
  right: 15px;
  transform: translateY(-50%) rotate(45deg);
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  padding: 10px 0;
}

.carousel-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--base-color-neutral--neutral-lighter);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}

.carousel-indicator.active {
  background-color: var(--base-color-neutral--black);
  width: 24px;
  border-radius: 4px;
}

/* Add peek effect styles */
.carousel-card.card-peek-left,
.carousel-card.card-peek-right {
  opacity: 0.6;
  transform: scale(0.9);
  pointer-events: none;
}

@media (max-width: 480px) {
  .carousel-card {
    flex: 0 0 260px; /* Slightly smaller cards on very small devices */
    padding: 20px;
  }
  
  .carousel-track {
    padding-left: calc(50% - 130px); /* Adjust for smaller card width */
    padding-right: calc(50% - 130px); /* Adjust for smaller card width */
  }
  
  /* Ensure scroll-padding is also adjusted */
  .carousel-container {
    scroll-padding: 0 calc(50% - 130px);
  }
}

/* BRAND VISUALIZATION FOOTER */
.brand-visualization {
  width: 100%;
  position: relative;
  height: 600px;
  background-color: var(--base-color-neutral--white);
  overflow-x: hidden;
  overflow-y: hidden;
}

.logo-silhouette {
  position: absolute;
  top: 6rem; /* Pushed down to make space for the notice */
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 200px;
  font-weight: 900;
  color: var(--base-color-neutral--black);
  z-index: 2; /* Above pixels and gradient */
  letter-spacing: -5px;
  text-transform: uppercase;
}

/* Specific styles for Hero Pixel Container */
.hero-pixels {
  position: absolute;
  top: 480px; /* Adjust as needed to position below subtitle */
  left: 0;
  width: 100%;
  height: 400px; /* Adjust height as needed */
  z-index: 0; /* Behind hero text and phone */
}

/* Ensure base pixel container styles apply to both */
.pixel-container {
  /* position: absolute; <- Removed from base, handled by specific classes */
  /* top: 15rem; <- Removed */
  /* left: 0; <- Removed */
  /* width: 100%; <- Removed */
  /* height: calc(100% - 15rem); <- Removed */
  z-index: 0; /* Base stacking level for pixels */
  display: grid;
  grid-template-columns: repeat(100, 1fr); /* Default to 100 columns */
  grid-template-rows: repeat(25, 1fr); /* Default to 25 rows */
}

/* Styles for Brand Visualization Pixel Container */
.brand-visualization-pixels {
  position: absolute;
  top: 19rem; /* Original positioning */
  left: 0;
  width: 100%;
  height: calc(100% - 15rem); /* Original height calc */
  /* Inherits grid display and z-index from base .pixel-container */
}

.pixel {
  width: 100%; /* Fill grid cell width */
  height: 100%; /* Fill grid cell height */
  aspect-ratio: 1 / 1; /* Force square rendering */
  opacity: 1; /* Start fully opaque (animation will change this) */
  animation: flicker 1s infinite steps(1, end);
}

/* Flicker Animation */
@keyframes flicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; } /* Flicker effect */
}

/* Responsive Design */
@media (max-width: 768px) {
  .main-header {
    padding: 15px 0;
  }
  
  .main-header .container {
    flex-direction: row; /* Keep it in a single row */
    justify-content: space-between;
    padding-left:  20px;
    padding-right: 20px;
    gap: 0; /* Remove gap to maximize space */
  }
  
  /* Explicitly hide desktop nav and show mobile menu elements only on mobile */
  .main-nav {
    display: none;
  }

  .hero-background {
    display: none;
  }


  .wave-bar {
    height: 5px;
    
  }
  
  .wave-bar-1 {
    top: 45px;
  }

  .wave-bar-2 {
    top: 50px;
  }
  .wave-bar-3 {
    top: 55px;
  }
  .wave-bar-4 {
    top: 60px;
  }
  .wave-bar-5 {
    top: 65px;
  }
  .wave-bar-6 {
    top: 70px;
  }


  .subtitle {
    font-size: 25px;
  }



  .cta-button {
    display: none;
  }
  
  /* Show the menu icon on mobile */
  .menu-icon {
    display: block;
  }
  
  .main-heading {
    font-size: 28px;
  }

  /* Keep phone the same size on mobile */
  .phone-container {
    max-width: 400px; /* Same size as desktop */
    width: 100%; /* Take full width of container up to max-width */
    top: 200px; /* Adjusted position for mobile */
  }

  /* Adjust wave container position for mobile */
  .wave-container {
    width: 100%;
    min-width: 100%; /* Ensure it fills the width */
    top: -140px;
  }

  /* Adjust hero background for mobile */
  .hero-background {
    top: -300px;
    min-width: 100%; /* Ensure it fills the width */
    max-width: none; /* No maximum width */
  }
  
  /* Ensure partner logos are positioned correctly on mobile */
  .partner-logos {
    margin-top: 550px;
  }
  
  .audio-samples {
    flex-direction: column;
  }
  
  .security-grid {
    display: none; /* Hide grid layout on mobile */
  }
  
  .mobile-security-carousel {
    display: block; /* Show carousel on mobile */
  }
  
  .logo-silhouette {
    font-size: 100px;
  }

  /* Mobile overrides for pixel-container grid (applies to hero by default) */
  .pixel-container {
    grid-template-columns: repeat(50, 1fr); /* Updated mobile columns */
    grid-template-rows: repeat(10, 1fr); /* Updated mobile rows */
  }
  
  /* Specific override for Brand Viz on mobile */
  .brand-visualization-pixels {
     grid-template-columns: repeat(50, 1fr); /* Keep brand viz at 50 cols on mobile */
     grid-template-rows: repeat(25, 1fr); /* Keep brand viz at 25 rows */
  }

  .hero-pixels {
    top: 20px; /* Move to top */
    height: 150px; /* Reduced height */
  }

  /* Adjust tooltips for mobile */
  .node.tooltip-visible::after {
    min-width: 120px;
    width: auto;
    font-size: 14px;
    padding: 6px 12px;
    white-space: normal;
    text-align: center;
    max-width: 250px;
  }
}

/* Additional mobile fine-tuning for smaller phones */
@media (max-width: 480px) {
  .phone-container {
    max-width: 400px; /* Keep same size even on very small screens */
    width: 100%;
  }

  .hero-section {
    min-height: 850px;
  }
}

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

@media (max-width: 640px) {
  .security-grid {
    grid-template-columns: 1fr;
  }
}

/* PRICING SECTION */
.pricing-section {
  background-color: #1a1a1a;
  color: white;
  padding: 80px 0;
  position: relative;
  margin-top: -350px;
  z-index: 10;
  border-radius: 10px;
}

.pricing-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}

.pricing-section .subtitle {
  font-size: 20px;
  color: var(--base-color-neutral--white);
  margin-bottom: 20px;
  font-weight: 500;
}

.pricing-section .section-heading {
  font-size: 42px;
  font-weight: 700;
  color: var(--base-color-neutral--white);
  margin: 0 auto 30px;
  max-width: 800px;
  line-height: 1.2;
}

.pricing-section .description {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  max-width: 800px;
  margin: 0 auto 60px;
}

.pricing-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.pricing-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 40px;
  min-width: 300px;
  flex: 1;
  max-width: 450px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-sizing: border-box; /* Ensure padding is included in width calculations */
}

.pricing-card .card-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  color: white;
}

.price {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 30px;
  color: white;
}

.price span {
  font-size: 16px;
  font-weight: 400;
  opacity: 0.7;
  display: block;
  margin-top: 5px;
}

.features {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  text-align: left;
  width: 100%;
}

.features li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  padding-left: 30px;
}

.features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border-radius: 0;
}

.feature-yellow::before {
  background-color: var(--lp-yellow);
}

.feature-orange::before {
  background-color: var(--lp-orange);
}

.feature-red::before {
  background-color: var(--lp-red);
}

.feature-purple::before {
  background-color: var(--lp-purple);
}

.feature-blue::before {
  background-color: var(--base-color-brand--blue);
}

.pricing-section .cta-button {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--lp-red);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.3s ease;
  margin-top: auto;
  border: none;
}

.cta-enterprise {
  background-color: transparent;
  border: 2px solid var(--lp-red) !important;
}

.pricing-section .cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .pricing-cards {
    flex-direction: column;
    align-items: center;
    width: 100%; /* Ensure the pricing cards container takes full width */
  }
  
  .pricing-card {
    width: 100%;
    max-width: 100%;
    min-width: auto; /* Remove min-width constraint on mobile */
    margin: 0 0 30px; /* Add bottom margin instead of using gap */
    padding: 30px 25px; /* Reduce padding on mobile to prevent overflow */
  }
  
  .pricing-section .container {
    padding: 0 20px; /* Reduce container padding on mobile */
  }
  
  .pricing-section .section-heading {
    font-size: 32px;
  }
}

/* Additional adjustments for extra small screens */
@media (max-width: 480px) {
  .pricing-card {
    padding: 25px 20px; /* Further reduce padding on very small screens */
  }
  
  .features li {
    padding-left: 25px; /* Slightly reduce left padding of feature list items */
  }
}

.launch-notice {
  text-align: center;
  margin-bottom: 2rem; /* Adjust as needed */
  color: var(--base-color-neutral--black); /* Example color, adjust if needed */
  font-weight: 800; /* Make text bold like original subtitle */
  font-size: 1rem; /* Example size, adjust if needed */
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
  .main-header {
    .features li {
      font-size: 0.9rem;
    }
  }
}

/* @media (max-width: 480px) { ... } */
/* Removed potentially duplicated media query block - verify if needed */ 