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

:root {
  --primary-color: #000000;
  --secondary-color: #ffffff;
  --accent-color: #0066ff;
  --text-gray: #666666;
  --light-gray: #f5f5f5;
  --border-gray: #e0e0e0;
  --hover-color: #0052cc;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
  color: var(--primary-color);
  background-color: var(--secondary-color);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  background-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(0.1875rem);
  -webkit-backdrop-filter: blur(0.1875rem);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem 2rem;
  position: fixed;
  width: calc(100% - 16rem);
  left: 8rem;
  right: 8rem;
  top: 1rem;
  z-index: 1000;
  border-radius: 0.5rem;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-color: rgba(255, 255, 255, 0.12);
}

/* Default state - white text for video section */
.navbar .nav-logo a,
.navbar .nav-search,
.navbar .nav-menu-button {
  color: var(--secondary-color);
}

.navbar .nav-button {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border-color: var(--secondary-color);
}

.navbar .nav-button:hover {
  background-color: transparent;
  color: var(--secondary-color);
}

/* After passing video - switch to dark text */
.navbar.past-video {
  background-color: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.05);
}

.navbar.past-video .nav-logo a,
.navbar.past-video .nav-search,
.navbar.past-video .nav-menu-button {
  color: var(--primary-color);
}

.navbar.past-video .nav-button {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border-color: var(--primary-color);
}

.navbar.past-video .nav-button:hover {
  background-color: transparent;
  color: var(--primary-color);
}

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

.nav-logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 400;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: color 0.15s ease;
}

.nav-logo svg,
.nav-logo img {
  width: 32px;
  height: 32px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-button {
  padding: 0.625rem 1.5rem;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.15s ease;
  border: 1px solid;
}

.nav-search,
.nav-menu-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.nav-search:hover,
.nav-menu-button:hover {
  opacity: 0.7;
}

/* Hero Section */
.hero {
  height: 120vh;
  min-height: 120vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
  margin-bottom: 0;
  padding-bottom: 20vh; /* Push content up */
  max-width: 100vw;
}

.video-hero {
  margin-top: 0;
}

.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  max-width: 100vw;
  height: 120vh;
  z-index: -1;
  background-color: #1a1a1a;
  overflow: hidden;
}

.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.video-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  max-width: 100vw;
  height: 120vh;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.6) 50%,
    rgba(0, 0, 0, 0.8) 100%
  );
  z-index: -1;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.hero-title-wrapper,
.hero-subtitle-wrapper {
  overflow: hidden;
  position: relative;
}

.hero-title {
  font-size: 5rem;
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
  color: var(--secondary-color);
  font-family: "Alliance No. 2", "Alliance No. 1", sans-serif;
  overflow: hidden;
  animation: titleFadeUp 1.2s ease-out forwards;
  animation-delay: 0.3s;
  opacity: 0;
  transform: translateY(40px);
}

@keyframes titleFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title br {
  display: block;
  height: 0;
  content: "";
}

.hero-subtitle {
  font-size: 1.55rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 3rem;
  line-height: 1.6;
  font-weight: 300;
  animation: titleFadeUp 1.2s ease-out forwards;
  animation-delay: 0.6s;
  opacity: 0;
  transform: translateY(30px);
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.hero-cta.primary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.hero-cta.primary:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

.hero-cta.secondary {
  background-color: transparent;
  color: var(--secondary-color);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-cta.secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--secondary-color);
  opacity: 0.7;
  animation: bounce 2s infinite;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.scroll-text {
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 0.5px;
  opacity: 0.9;
  white-space: nowrap;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Content wrapper for parallax */
.content-wrapper {
  position: relative;
  z-index: 2;
  background: transparent;
  max-width: 100vw;
  overflow-x: hidden;
}

/* Parallax spacer - removed */
.parallax-spacer {
  display: none;
}

/* Carousel Section */
.carousel-section * {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}

.carousel-section {
  position: relative;
  height: 110vh;
  min-height: 700px;
  background-color: #ffffff;
  overflow: hidden;
  display: flex;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  flex-direction: column;
  -webkit-flex-direction: column;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  margin-top: 0;
  margin-bottom: 0;
  border-radius: 0;
  box-shadow: none;
  padding-top: 4rem;
  padding-bottom: 4rem;
  z-index: 2;
  transform: none !important;
}

.carousel-container {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  flex-direction: column;
  -webkit-flex-direction: column;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  position: relative;
  flex: 1;
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
}

.carousel-header {
  text-align: center;
  margin-bottom: 2rem;
  padding: 0 40px;
}

.carousel-label {
  display: inline-block;
  color: #00ffff;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.carousel-header h2 {
  font-size: 1.75rem;
  color: #ffffff;
  font-weight: 300;
  line-height: 1.3;
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
  overflow-x: hidden;
  overflow-y: hidden;
  width: 100%;
  flex: 1;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  padding: 1rem 6rem 0;
  min-height: calc(100vh - 150px);
  height: calc(100vh - 150px);
  max-width: 100vw;
  box-sizing: border-box;
}

/* Carousel Navigation Arrows */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease, background-color 0.3s ease, transform 0.3s ease,
    border-color 0.3s ease;
  z-index: 10;
}

.carousel-nav-prev {
  left: 150px;
}

.carousel-nav-next {
  right: 150px;
}

.carousel-wrapper:hover .carousel-nav {
  opacity: 1;
}

.carousel-nav:hover {
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-50%) scale(1.05);
}

.carousel-nav:active {
  transform: translateY(-50%) scale(0.98);
}

.carousel-nav svg {
  width: 32px;
  height: 32px;
  stroke-width: 2;
}

.carousel-track {
  display: flex;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  flex-direction: row;
  -webkit-flex-direction: row;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-transition: -webkit-transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  -ms-transition: -ms-transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    -webkit-transform 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    -ms-transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  align-items: center;
  -webkit-align-items: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  height: 100%;
  gap: 0;
  white-space: nowrap;
  flex-wrap: nowrap;
  -webkit-flex-wrap: nowrap;
  -ms-flex-wrap: nowrap;
  width: max-content;
}

.carousel-slide {
  position: relative;
  float: left;
  flex: 0 0 calc(100vw - 15rem);
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 calc(100vw - 15rem);
  -ms-flex: 0 0 calc(100vw - 15rem);
  flex-shrink: 0;
  -webkit-flex-shrink: 0;
  -ms-flex-negative: 0;
  min-width: calc(100vw - 15rem);
  max-width: calc(100vw - 15rem);
  width: calc(100vw - 15rem);
  height: 90%;
  min-height: 500px;
  display: inline-block;
  vertical-align: middle;
  opacity: 0.6;
  transform: scale(0.95);
  -webkit-transform: scale(0.95);
  -ms-transform: scale(0.95);
  transition: opacity 0.8s ease, transform 0.8s ease;
  -webkit-transition: opacity 0.8s ease, -webkit-transform 0.8s ease;
  margin: 0 20px;
  box-sizing: border-box;
}

.carousel-slide.active {
  opacity: 1;
  transform: scale(1);
  -webkit-transform: scale(1);
}

.slide-image {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
  -webkit-transition: -webkit-transform 0.3s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #f0f0f0; /* Placeholder color while loading */
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  display: block;
}

.slide-image:hover {
  transform: scale(1.02);
}

.slide-overlay {
  position: absolute;
  top: 2rem;
  left: 2rem;
  right: auto;
  padding: 1.5rem 2rem;
  background: rgba(182, 182, 182, 0.6);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  border-radius: 4px;
  max-width: 33%;
  width: auto;
  height: auto;
  min-height: auto;
  overflow: visible;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.2);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.slide-category {
  display: none;
}

.slide-overlay h3 {
  color: #ffffff;
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
  font-weight: 400;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.slide-overlay p {
  color: #ffffff;
  font-size: 1.5rem;
  line-height: 1.3;
  font-weight: 500;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
  display: block;
  overflow: visible;
  text-overflow: unset;
  max-height: none;
  white-space: normal;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Carousel Slide Links */
.slide-link {
  display: block;
  text-decoration: none;
  height: 100%;
  width: 100%;
}

.slide-link:hover .slide-overlay h3 {
  transform: translateY(-2px);
  transition: transform 0.3s ease;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background-color: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background-color: #00ffff;
  border-color: #00ffff;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.indicator:hover {
  border-color: rgba(255, 255, 255, 0.6);
}

/* Carousel Title Squares */
.carousel-titles {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  padding: 2rem 8rem 1rem; /* Align with carousel items: 100px wrapper padding + 20px slide margin */
  z-index: 10;
  position: relative;
  gap: 1rem;
}

.carousel-titles-wrapper {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.title-square {
  position: relative;
  padding: 0.5rem 1.25rem;
  background-color: rgba(240, 240, 240, 0.5);
  border: 1px solid rgba(200, 200, 200, 0.3);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.title-square.active {
  background-color: rgba(230, 230, 230, 0.7);
  border-color: rgba(180, 180, 180, 0.4);
}

.title-square:hover:not(.active) {
  background-color: rgba(225, 225, 225, 0.6);
  border-color: rgba(190, 190, 190, 0.4);
}

.title-text {
  position: relative;
  z-index: 2;
  color: #4a4a4a;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-align: center;
  white-space: nowrap;
  opacity: 0.9;
}

.title-square.active .title-text {
  color: #2a2a2a;
  font-weight: 500;
  opacity: 1;
}

/* Progress bar implementation */
.title-square::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background-color: rgba(200, 200, 200, 0.5);
  z-index: 1;
  transition: none;
}

.title-square.active::before {
  animation: progressFill 4.95s linear forwards;
}

@keyframes progressFill {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}

/* See All Button */
.see-all-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.5rem;
  background-color: transparent;
  border: 1px solid #d0d0d0;
  color: #666666;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
  justify-self: end;
  align-self: start;
}

.see-all-button:hover {
  background-color: #f5f5f5;
  border-color: #999999;
  color: #333333;
}

/* Mission Statement Section */
.mission-statement {
  padding: 8rem 9.5rem;
  padding-bottom: 8rem;
  padding-top: 4rem;
  background-color: #ffffff;
}

/* Mobile sections - hidden by default on desktop */
.mission-statement-mobile,
.carousel-section-mobile,
.interactive-features-mobile,
.testimonials-section-mobile {
  display: none;
}

.mission-text {
  font-size: 3rem;
  font-weight: 100;
  line-height: 1.3;
  text-align: left;
  color: #1a1a1a;
  max-width: 100%;
  margin: 0;
  letter-spacing: -0.02em;
  transform: translateY(70px);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mission-text.visible {
  transform: translateY(0);
}

.mission-text .ai-driven {
  color: #b0b0b0;
  position: relative;
  display: inline;
}

.mission-text .ai-driven::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: #ffffff;
  animation: none;
}

.mission-text .ai-driven.typing::after {
  animation: revealText 0.8s steps(17, end) forwards;
}

.mission-text .four-pillar {
  color: #b0b0b0;
  font-weight: 300;
  position: relative;
  display: inline;
}

.mission-text .four-pillar::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: #ffffff;
  animation: none;
}

.mission-text .four-pillar.typing::after {
  animation: revealText 0.8s steps(17, end) forwards;
}

@keyframes revealText {
  from {
    left: 0;
  }
  to {
    left: 100%;
  }
}

/* Interactive Features Section */
.interactive-features {
  background-color: #ffffff;
  width: 100%;
  position: relative;
}

/* Mobile Features Section styles moved to mobile.css */

.interactive-features .container {
  max-width: 100%;
  padding: 0 160px;
  margin: 0;
}

.feature-list {
  display: flex;
  flex-direction: column;
  margin: 0 -160px;
}

a.feature-item,
.feature-item {
  display: flex;
  align-items: stretch;
  width: 100%;
  height: 40vh;
  border-bottom: 1px solid #e0e0e0;
  background-color: #ffffff;
  position: relative;
  transition: background-color 0.3s ease;
  padding: 0 160px;
  text-decoration: none;
  color: inherit;
}

.feature-description {
  flex: 0.7;
  padding: 1rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.feature-description p {
  font-size: 1.2rem;
  line-height: 1.3;
  font-weight: 400;
  color: #333333;
  margin: 0;
  p.wrap {
    white-space: pre-line;
  } /* Allow line breaks */
}

.feature-number {
  font-size: 1.2rem;
  color: #666;
  margin-top: auto;
  padding-top: 1rem;
  padding-bottom: 1.5rem;
  align-self: flex-start;
}

.feature-video-container {
  flex: 2;
  position: relative;
  background: #ffffff;
  overflow: hidden;
  padding: 1rem 0.5rem 4rem 0.5rem;
  transition: background-color 0.3s ease;
}

.feature-video {
  position: absolute;
  top: 1rem;
  left: 0.5rem;
  right: 0.5rem;
  bottom: 4rem;
  width: calc(100% - 1rem);
  height: calc(100% - 5rem);
  object-fit: cover;
  opacity: 0;
  transition: none;
  display: block;
}

a.feature-item:hover,
.feature-item:hover {
  background-color: #e8e8e8;
}

a.feature-item:hover .feature-video-container,
.feature-item:hover .feature-video-container {
  background-color: #e8e8e8;
}

a.feature-item:hover .feature-video,
.feature-item:hover .feature-video {
  opacity: 1;
}

.feature-title {
  flex: 1;
  padding: 0 0 0 2rem;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  height: 50%;
}

.feature-title h3 {
  font-size: 10rem;
  font-weight: 450;
  color: #000000;
  margin: -0.2em 0 0 0;
  text-align: left;
  transition: color 0.3s ease, transform 0.3s ease, opacity 1s ease;
  letter-spacing: 0.05em;
  position: relative;
  display: inline-block;
  overflow: hidden;
  opacity: 0; /* Initially hidden */
}

.feature-title h3.visible {
  opacity: 1; /* Smooth fade in */
}

a.feature-item:hover .feature-title h3,
.feature-item:hover .feature-title h3 {
  transform: translateX(15px);
}

/* Build Section */
.build-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
  padding-left: 7rem;
  padding-right: 7rem;
  background-color: #ececec;
}

.build-section .container {
  max-width: 100%;
  padding-left: 3rem;
  padding-right: 3rem;
}

.build-content {
  display: flex;
  align-items: stretch;
  gap: 3rem;
  max-width: 100%;
  margin: 0 auto;
  justify-content: center;
}

.build-image {
  flex: 1;
  max-width: 50%;
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 550px;
}

.build-image picture {
  width: 100%;
  height: 100%;
  display: flex;
}

.build-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.build-text {
  flex: 1;
  max-width: 50%;
  padding: 6rem;
  background-color: #ffffff;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 550px;
}

.build-text h2 {
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: #000000;
  line-height: 1.2;
}

.build-text p {
  font-size: 1.125rem;
  padding-left: 7rem;
  padding-right: 7rem;
  line-height: 1.6;
  color: #666666;
  margin-bottom: 2.5rem;
}

.learn-more-btn {
  display: inline-block;
  padding: 12px 30px;
  border: 1px solid #000000;
  color: #000000;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  align-self: center;
  text-align: center;
  transition: all 0.3s ease;
}

.learn-more-btn:hover {
  background-color: #000000;
  color: #ffffff;
}

/* Testimonials Section */
.testimonials-section {
  padding: 5rem 160px;
  background-color: #ffffff;
  /* Removed overflow: hidden to allow carousel to extend beyond section padding */
}

.testimonials-title {
  font-size: 2.5rem;
  font-weight: 400;
  text-align: left;
  margin: 0 0 3rem 0;
  color: #000000;
  position: relative;
  overflow: visible;
  white-space: nowrap;
  min-height: 3.5rem;
}

.testimonials-title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0px;
  right: 0;
  height: 1px;
  background-color: #e0e0e0;
}

/* Cursor styles removed */

.testimonials-carousel {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: hidden;
  padding: 2rem 160px 2rem 0px;
}

.testimonials-track {
  display: flex;
  gap: 2rem;
  animation: scroll 20s linear infinite;
}

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

.testimonial-card {
  flex: 0 0 300px;
  background-color: #f5f5f5;
  padding: 1.5rem;
  height: 400px;
  position: relative;
  transition: transform 0.3s ease;
  clip-path: polygon(0 0, calc(100% - 45px) 0, 100% 45px, 100% 100%, 0 100%);
  overflow: hidden;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.company-name {
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: #1a1a1a;
  text-transform: uppercase;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.3;
  color: #6a6a6a;
  font-style: normal;
  position: absolute;
  bottom: 2rem;
  left: 1.5rem;
  right: 1.5rem;
  opacity: 1;
  transition: top 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    bottom 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  quotes: '"' '"';
}

.testimonial-author {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.01s ease, transform 0.01s ease;
}

.author-name {
  font-size: 1.05rem;
  line-height: 1.3;
  color: #1a1a1a;
  font-weight: 400;
  margin-bottom: 0.25rem;
}

.author-title {
  font-size: 1.05rem;
  line-height: 1.3;
  color: #6a6a6a;
  font-weight: 400;
}

.testimonial-card:hover .testimonial-text {
  top: 4rem;
  bottom: auto;
  color: #1a1a1a;
}

.testimonial-card:hover .testimonial-author {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease 0.2s, transform 0.4s ease 0.2s;
}

/* Platforms Section */
.platforms {
  padding: 5rem 0;
  background-color: #ffffff;
}

.platforms h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 700;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.platform-card {
  border: 1px solid var(--border-gray);
  padding: 2rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  background-color: var(--secondary-color);
}

.platform-card:hover {
  border-color: var(--accent-color);
  box-shadow: 0 4px 16px rgba(0, 102, 255, 0.1);
}

.platform-card h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--accent-color);
}

.platform-card > p:first-of-type {
  color: var(--text-gray);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.platform-description {
  color: var(--text-gray);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.platform-link {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease;
}

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

/* Recognition Section */
.recognition {
  padding: 5rem 0;
  background-color: var(--light-gray);
}

.recognition h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 700;
}

.recognition-content {
  text-align: center;
}

.recognition-item {
  margin-bottom: 3rem;
}

.recognition-item h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.recognition-item p {
  color: var(--text-gray);
  font-size: 1.1rem;
}

.recognition-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.stat {
  text-align: center;
}

.stat h4 {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

.stat p {
  color: var(--text-gray);
  font-size: 1rem;
}

/* CTA Section */
.cta-section {
  padding: 5rem 160px;
  background-color: #ffffff;
}

.cta-buttons {
  display: flex;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.cta-box {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid #e0e0e0;
}

.cta-demo {
  background-color: #e0e0e0;
  color: #000000;
}

.cta-build {
  background-color: #2a2a2a;
  color: #ffffff;
}

.cta-text {
  font-size: 2.5rem;
  font-weight: 400;
}

.cta-arrow {
  font-size: 2.5rem;
  transition: transform 0.3s ease;
}

.cta-box:hover .cta-arrow {
  transform: translateX(10px);
}

.cta-demo:hover {
  background-color: #d0d0d0;
}

.cta-build:hover {
  background-color: #1a1a1a;
}

/* Footer */
.footer {
  background-color: #ffffff;
  color: #000000;
  padding: 4rem 160px 2rem;
  border-top: 1px solid #e0e0e0;
}

.footer .container {
  max-width: 1400px;
}

.footer-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-direction: row;
}

.footer-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  text-align: left;
}

.footer-column {
  flex: 1;
  min-width: 0;
}

.footer-info {
  flex: 0 0 250px;
}

.copyright {
  font-size: 0.875rem;
  margin: 0;
  color: #666;
}

.rights {
  font-size: 0.875rem;
  margin: 0;
  color: #666;
}

.footer-spacer {
  height: 2rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.cookies-settings,
.footer-email {
  display: inline-block;
  font-size: 0.875rem;
  color: #666;
  text-decoration: none;
}

.cookies-settings:hover,
.footer-email:hover {
  text-decoration: underline;
}

.region-selector {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.region-selector span {
  font-size: 0.875rem;
  cursor: pointer;
}

.region-selector span:hover {
  text-decoration: underline;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.social-btn {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border: 1px solid #000000;
  border-radius: 20px;
  text-decoration: none;
  color: #000000;
  font-size: 0.75rem;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
}

.social-btn:hover {
  background-color: #000000;
  color: #ffffff;
}

.footer-column h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  color: #666666;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 0.75rem;
}

.footer-column ul li a {
  color: #000000;
  text-decoration: none;
  font-size: 0.875rem;
  transition: opacity 0.3s ease;
}

.footer-column ul li a:hover {
  opacity: 0.7;
}

/* Tablet styles */
@media (min-width: 48.0625rem) and (max-width: 64rem) {
  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .mission-statement,
  .cta-section,
  .footer {
    padding-left: 80px;
    padding-right: 80px;
  }

  .testimonials-section {
    padding: 5rem 0;
  }

  .testimonials-title {
    padding: 1rem 80px 0 80px;
  }

  .testimonials-title::before {
    left: 80px;
  }

  .build-section {
    padding: 5rem 80px;
  }

  .interactive-features .container {
    padding: 0 80px;
  }

  .feature-list {
    margin: 0 -80px;
  }

  a.feature-item,
  .feature-item {
    padding: 0 80px;
  }

  .testimonials-carousel {
    padding: 2rem 80px;
  }
}

/* Desktop layout */
@media (min-width: 64.0625rem) {
  .footer-content {
    display: flex !important;
    flex-direction: row !important;
  }
}

/* Ensure desktop layout for feature items */
@media (min-width: 48.0625rem) {
  a.feature-item,
  .feature-item {
    display: grid !important;
    grid-template-columns: 1fr 1.2fr 2fr !important;
    height: 40vh !important;
    min-height: 250px;
    max-height: 400px;
    align-items: stretch;
  }

  .feature-description {
    order: 1 !important;
    grid-column: 1;
    height: 100%;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .feature-video-container {
    order: 2 !important;
    grid-column: 2;
    height: 100%;
  }

  .feature-title {
    order: 3 !important;
    grid-column: 3;
    height: 50%;
    align-self: start;
    padding-right: 0;
  }
}

/* Responsive Design */
@media (max-width: 87.5rem) {
  .mission-statement {
    padding: 8rem 6rem;
  }
}

@media (max-width: 64rem) {
  .mission-statement {
    padding: 6rem 4rem;
  }

  .mission-text {
    font-size: 2.5rem !important;
  }
}

@media (max-width: 48rem) {
  .carousel-section {
    padding: 3rem 0;
  }

  .carousel-header h2 {
    font-size: 1.75rem;
  }

  .carousel-wrapper {
    padding: 0 20px;
  }

  .carousel-slide {
    flex: 0 0 calc(100vw - 60px);
    height: calc(100% - 20px);
  }

  .slide-overlay {
    padding: 1rem 1.5rem;
    top: 1.5rem;
    left: 1.5rem;
    max-width: 40%;
    width: auto;
    height: auto;
    overflow: visible;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .slide-overlay h3 {
    font-size: 0.75rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.2;
    letter-spacing: 0.05em;
  }

  .slide-overlay p {
    font-size: 1.25rem;
    display: block;
    overflow: visible;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: normal;
    line-height: 1.3;
    white-space: normal;
    text-overflow: unset;
    max-height: none;
  }

  .carousel-titles {
    padding: 1rem 20px 0;
    grid-template-columns: 1fr auto;
    gap: 0.5rem;
  }

  .carousel-titles-wrapper {
    gap: 0.25rem;
  }

  .title-square {
    padding: 0.4rem 1rem;
  }

  .title-text {
    font-size: 0.75rem;
  }

  .nav-container {
    padding: 0 1.25rem;
  }

  .nav-logo a span {
    display: none;
  }

  .nav-button {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }

  .nav-search {
    display: none;
  }

  .nav-actions {
    gap: 0.5rem;
  }
}

/* Page Transition Enhancements */
.carousel-slide {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.carousel-slide:hover {
  transform: scale(1.02);
}

/* Ensure smooth rendering during transitions */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Prevent layout shift during transitions */
html {
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* Smooth transition for links */
.slide-link {
  display: block;
  height: 100%;
  will-change: transform;
}

/* Mobile Carousel styles moved to mobile.css */

.carousel-mobile-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.carousel-mobile-header {
  display: none; /* Hide header, button will be below carousel */
}

.carousel-mobile-track {
  display: flex;
  height: 70%;
  align-items: center;
  width: 100%;
  cursor: grab;
  will-change: transform;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.carousel-mobile-track:active {
  cursor: grabbing;
}

.carousel-mobile-slide {
  min-width: 100%;
  padding: 0 1rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transform: scale(0.95);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.carousel-mobile-slide.active {
  opacity: 1;
  transform: scale(1);
}

.carousel-mobile-slide .carousel-item {
  width: 100%;
  max-width: 400px;
  height: 85%;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.1);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #e8e8e8;
  position: relative;
  border: 1px solid #ddd;
}

.carousel-mobile-text {
  text-align: center;
  margin-top: 1rem;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.carousel-mobile-slide h3 {
  font-size: 1.25rem;
  color: #1a1a1a;
  margin: 0;
  font-weight: 500;
  display: block;
  width: 100%;
}

.carousel-mobile-slide p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
  margin: 0;
  display: block;
  width: 100%;
}

.see-all-button-mobile {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: transparent;
  color: #666666;
  text-decoration: none;
  border: 1px solid #d0d0d0;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  font-weight: 400;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}

.see-all-button-mobile:hover {
  background-color: #f5f5f5;
  border-color: #999999;
  color: #333333;
}

.carousel-mobile-indicators {
  display: none; /* Remove dot indicators */
}

.carousel-mobile-dot {
  display: none; /* Remove dot indicators */
}

/* Very small screens (phones) */
@media (max-width: 30rem) {
  .navbar {
    width: calc(100% - 1rem) !important;
    left: 0.5rem !important;
    right: 0.5rem !important;
    padding: 0.5rem !important;
  }

  .nav-actions {
    gap: 0.5rem !important;
  }

  .nav-button {
    padding: 0.375rem 0.625rem !important;
    font-size: 0.7rem !important;
  }
}

/* Small screens */
@media (max-width: 48rem) {
  /* Prevent horizontal scroll on mobile */
  html,
  body {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  * {
    max-width: 100vw !important;
  }

  /* Mobile-specific display rules moved to mobile.css */

  /* Navigation mobile responsive */
  .navbar {
    width: calc(100% - 2rem) !important;
    left: 1rem !important;
    right: 1rem !important;
    padding: 0.5rem 0.75rem !important;
  }

  .nav-container {
    padding: 0 !important;
    max-width: 100% !important;
  }

  .nav-logo a {
    font-size: 1rem;
    gap: 0.5rem;
  }

  .nav-logo svg,
  .nav-logo img {
    width: 1.5rem !important;
    height: 1.5rem !important;
  }

  .nav-logo a span {
    display: none;
  }

  .nav-button {
    padding: 0.4rem 0.8rem !important;
    font-size: 0.75rem !important;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

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

  .hero-cta {
    width: 100%;
    justify-content: center;
  }

  .features-grid,
  .platform-grid {
    grid-template-columns: 1fr;
  }

  .recognition-stats {
    grid-template-columns: 1fr;
  }

  .mission-text {
    font-size: 2rem;
    padding: 0 1rem;
  }

  .mission-statement {
    display: none !important; /* Hide desktop mission statement on mobile */
  }

  /* Mobile mission statement styles moved to mobile.css */

  .mission-text {
    font-size: 1.75rem !important;
    line-height: 1.4;
  }

  /* Hide desktop features on mobile */
  .interactive-features {
    display: none !important;
  }

  /* Show mobile features */
  .interactive-features-mobile {
    display: block !important;
  }

  .features-mobile-container {
    padding: 0 1.5rem;
  }

  .feature-mobile-item {
    display: block;
    padding: 2rem 0;
    border-bottom: 1px solid #e0e0e0;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.3s ease;
  }

  .feature-mobile-item:last-child {
    border-bottom: none;
  }

  .feature-mobile-item:active {
    background-color: #f5f5f5;
  }

  .feature-mobile-title {
    font-size: 2.5rem;
    font-weight: 450;
    color: #000000;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
  }

  .feature-mobile-description {
    font-size: 1rem;
    line-height: 1.5;
    color: #666666;
    margin-bottom: 0.5rem;
  }

  .feature-mobile-number {
    font-size: 0.875rem;
    color: #999999;
    margin-top: 0.5rem;
  }

  .build-section {
    padding: 3rem 1rem;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .testimonials-section {
    padding: 3rem 0;
  }

  .testimonials-title {
    padding: 1rem 20px 0 20px;
    font-size: 1.75rem;
    white-space: normal; /* Allow wrapping on mobile */
    min-height: auto;
  }

  .testimonials-title::before {
    left: 20px;
  }

  /* Cursor removed */

  .testimonials-carousel {
    padding: 2rem 1rem;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .cta-section {
    padding: 3rem 1rem;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .footer {
    padding: 3rem 1rem 2rem;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .feature-list {
    gap: 1rem;
  }

  a.feature-item,
  .feature-item {
    grid-template-columns: 1fr;
    height: auto;
    width: 100%;
    max-width: 100vw;
    padding: 0 1rem;
    overflow-x: hidden;
  }

  .feature-description,
  .feature-video-container,
  .feature-title {
    padding: 1.5rem;
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
  }

  .feature-title {
    border-bottom: none;
  }

  .feature-description {
    order: 2;
  }

  .feature-video-container {
    height: 200px;
    order: 1;
  }

  .feature-title {
    font-size: 1.25rem;
    order: 3;
  }

  /* Build Section Mobile */
  .build-section {
    padding: 3rem 1rem;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .build-content {
    flex-direction: column;
    gap: 1.5rem;
  }

  .build-image {
    max-width: 100%;
    height: 200px;
  }

  .build-text {
    text-align: left;
    padding: 2rem 1rem;
    max-width: 100%;
  }

  .build-text h2 {
    font-size: 2rem;
  }

  .build-text p {
    font-size: 1rem;
    padding-left: 0;
    padding-right: 0;
  }

  .learn-more-btn {
    align-self: center;
    width: 100%;
    text-align: center;
  }

  /* Testimonials Mobile */
  .testimonials-section {
    padding: 3rem 0;
  }

  .testimonials-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .testimonial-card {
    flex: 0 0 300px;
    padding: 2rem;
    height: 250px;
  }

  .testimonial-text {
    font-size: 1rem;
  }

  /* CTA Mobile */
  .cta-buttons {
    flex-direction: column;
  }

  .cta-text {
    font-size: 1.5rem;
  }

  .cta-arrow {
    font-size: 1.5rem;
  }

  /* Footer Mobile */
  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-info {
    flex: 1;
    width: 100%;
    margin-bottom: 2rem;
  }

  .footer-column {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
  }

  .footer-column:last-child {
    border-bottom: none;
  }
}
