/* FONT IMPORTS */
@font-face {
  font-family: 'Sentient';
  src: url('fonts/Sentient/TTF/Sentient-Variable.ttf') format('truetype');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Sentient';
  src: url('fonts/Sentient/TTF/Sentient-VariableItalic.ttf') format('truetype');
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Cabinet Grotesk';
  src: url('fonts/CabinetGrotesk/TTF/CabinetGrotesk-Variable.ttf') format('truetype');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inria Serif';
  src: url('fonts/Inria_Serif/InriaSerif-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inria Serif';
  src: url('fonts/Inria_Serif/InriaSerif-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Inria Serif';
  src: url('fonts/Inria_Serif/InriaSerif-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inria Serif';
  src: url('fonts/Inria_Serif/InriaSerif-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Inria Serif';
  src: url('fonts/Inria_Serif/InriaSerif-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inria Serif';
  src: url('fonts/Inria_Serif/InriaSerif-LightItalic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'GeneralSans';
  src: url('fonts/GeneralSans/GeneralSans-Variable.ttf') format('truetype');
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}

/* ====== ZODIAK ====== */
/* Zodiak Regular */
@font-face {
  font-family: 'Zodiak';
  src: url('fonts/Zodiak/TTF/Zodiak-Variable.ttf') format('truetype');
  font-weight: 700 800;
  font-style: normal;
  font-display: swap;
}

/* Zodiak Italic */
@font-face {
  font-family: 'Zodiak';
  src: url('fonts/Zodiak/TTF/Zodiak-VariableItalic.ttf') format('truetype');
  font-weight: 700 800;
  font-style: italic;
  font-display: swap;
}

/* BASE STYLING */
body {
  margin: 0;
  padding: 0;
  background-color: #f9efdc;
  font-family: 'Sentient', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: white;
  padding: 8px;
  z-index: 100;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
}

/* Focus States */
:focus {
  outline: 3px solid #000;
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

:focus-visible {
  outline: 3px solid #000;
  outline-offset: 2px;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  height: 143px;
  padding: 17px 20px 0 60px;
  background-color: #f9efdc;
  position: relative; /* Allow absolute positioning of nav-links */
}

.logo {
  font-size: 32px;
  font-weight: bold;
  color: #000;
  margin: 0;
  font-family: 'Sentient', serif;
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 40px;
  position: absolute;
  left: 45%; /* Shift slightly to the left */
  transform: translateX(-50%);
  margin-top: 11px;
}

.navbar .nav-links a {
  position: relative;
  text-decoration: none;
  font-size: 18px;
  color: #000;
  font-family: 'Sentient', sans-serif;
  font-weight: 400;
  font-style: normal;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background-color: #000;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* ========== BUTTON STYLING ========== */

button,
.footer-btn,
.demo-btn,
.access-btn,
.hero-btn {
  font-family: 'Zodiak', serif;
  font-size: 20px;
  font-weight: 800;
  background-color: #000000;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

/* Demo and Waitlist buttons specific styling */
.demo-btn,
.join-waitlist-btn {
  font-weight: 700;
}

/* Hover effect — subtle scale and shadow */
button:hover {
  background-color: #222222;
  transform: scale(1.02);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Click (active) effect — slight shrink */
button:active {
  transform: scale(0.98);
  transition-duration: 0.1s;
}

/* CTA buttons spacing */
.buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Secondary Buttons */
.demo-btn,
.access-btn {
  padding: 8px 20px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero button */
.hero-btn {
  padding: 18px 24px;
  width: 372px;
  height: 60px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: 'Zodiak', serif;
  font-size: 20px;
  font-weight: 800;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.hero-btn:hover {
  background-color: #222;
  transform: scale(1.02);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.hero-btn:active {
  transform: scale(0.98);
  transition-duration: 0.1s;
}

/* HERO SECTION */
.hero {
  text-align: center;
  padding-top: 10px;
  background-color: #f9efdc;
}

.hero-title {
  font-family: 'Sentient', serif;
  font-weight: 300;
  font-size: 74px;
  letter-spacing: 0.02em;
  color: #000;
  margin-bottom: 2px; /* Keeps it tight above subtitle */
}

.hero-subtitle {
  font-family: 'Sentient', serif;
  font-size: 60px;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin: 2px 0;
  color: #000;
}

.hero-description {
  font-family: 'Sentient', serif;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0.02em;
  max-width: 1120px;
  margin: 0 auto 32px; /* Closer to subtitle, still enough space below */
  color: #000;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 50px;
}

/* HERO DIVIDER */
.hero-divider {
  border: none;
  height: 1.5px;
  background-color: #000;
  width: 1150px;
  margin: 0 auto;
  transform: scaleY(1) translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-perspective: 1000;
  perspective: 1000;
  -webkit-transform: translateZ(0);
}

/* CAROUSEL */
.carousel {
  overflow: hidden;
  width: 100%;
  margin-bottom: 60px;
}

.carousel-track {
  display: flex;
  gap: 40px;
  animation: scrollCarousel 25s linear infinite;
  width: fit-content;
  min-width: 200%;
}

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

/* SHOWCASE 1 */
.showcase {
  background-color: #f9efdc;
  padding: 18px 40px 40px;
}

.showcase-text h3 {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 0.02em;
  max-width: 740px;
  color: #000;
  margin-bottom: 50px;
}

.showcase-image {
  display: flex;
  justify-content: flex-end;
  margin-top: -32px;
}

.showcase-image img {
  width: 80%;
  max-width: 900px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.showcase-caption {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 0.02em;
  max-width: 1080px;
  color: #000;
  margin-top: 60px;
}

/* SHOWCASE 2 */
.showcase-image-second {
  display: flex;
  justify-content: flex-start;
  margin-top: -24px;
  padding-left: 40px;
}

.showcase-image-second img {
  width: 85%;
  max-width: 1200px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  margin-left: 0;
}
.showcase-highlight {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: #000;
  line-height: 1.4;
  max-width: 880px;
  text-align: right;
  margin-left: auto;
  margin-right: 60px;
  margin-top: 38px;
  margin-bottom: 60px;
}

.showcase-divider {
  width: 0;
  height: 1.5px;
  background-color: #000;
  border: none;
  margin: 0 auto 80px;
  opacity: 0;
  transform: scaleY(1);
  transition: width 1.6s cubic-bezier(0.25, 0.8, 0.25, 1), 
              opacity 0.4s ease-in,
              transform 0.1s ease-out;
}

.showcase-divider.visible {
  width: 1150px;
  opacity: 1;
  transform: scaleY(1);
}
/* SHOWCASE 3 */
.showcase-3 {
  background-color: #f9efdc;
  padding: 20px 75px 80px;
}

.showcase-heading {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 128px;
  font-weight: 700;
  color: #000;
  margin: -40px 0 12px;
  text-align: left;
  line-height: 1.1;
}

.showcase-heading-divider {
  width: 1036px;
  height: 1.5px;
  background-color: #000;
  border: none;
  margin: 0 auto 40px auto;
  transform: scaleY(1) translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-perspective: 1000;
  perspective: 1000;
  -webkit-transform: translateZ(0);
}

.showcase-block {
  margin-bottom: 80px;
}

.showcase-subtitle {
  font-family: 'Inria Serif', serif;
  font-style: italic;
  font-size: 48px;
  font-weight: 400;
  color: #000;
  margin-bottom: 20px;
  text-align: left;
}

.showcase-description {
  font-family: 'Inria Serif', serif;
  font-style: italic;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: #000;
  max-width: 1020px;
  margin-bottom: 40px;
  text-align: left;
  line-height: 1.7;
}

.showcase-inner-divider {
  width: 635px;
  height: 1.5px;
  background-color: #000;
  border: none;
  margin-top: 20px;
  transform: scaleY(1) translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-perspective: 1000;
  perspective: 1000;
  -webkit-transform: translateZ(0);
}

/* FINAL SECTION */
.final-section {
  padding: 100px 75px 40px;
  background-color: #f9efdc;
}

/* Footer divider above */
.footer-divider {
  margin: 20px auto 40px;
  width: 1150px;
  height: 1px;
  background-color: #000;
  border: none;
}

/* Footer */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  padding: 50px 0 35px;
  margin-top: -116px;
  background-color: #f9efdc;
}

.footer-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  font-family: 'Sentient', serif;
  font-size: 76px;
  font-weight: bold;
  color: #000;
  margin: 0;
}

.footer-tagline {
  font-family: 'Sentient', serif;
  font-size: 22px;
  font-weight: bold;
  color: #000;
  margin-top: -8px;
  margin-bottom: 0;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
}

.social-icons img {
  width: 42px;
  height: auto;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.social-icons img:hover {
  transform: scale(1.1);
}

/* Footer Buttons */
.footer-buttons {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-top: 8px;
}

.footer-btn {
  font-family: 'Zodiak', serif;
  font-size: 20px;
  font-weight: 800;
  background-color: #000000;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 8px 20px;
  height: 40px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.footer-btn:hover {
  background-color: #222222;
  transform: scale(1.02);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.footer-btn:active {
  transform: scale(0.98);
  transition-duration: 0.1s;
}

/* Final Bottom Divider */
.footer-end-line {
  width: 1000px;
  height: 1px;
  background-color: #000;
  border: none;
  margin: 40px auto 5px auto;
  display: block;
  position: relative;
  z-index: 1;
}

/* === WAITLIST PANEL OVERLAY === */
.waitlist-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
  z-index: 900;
}

.waitlist-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* === WAITLIST SLIDE-IN PANEL === */
.waitlist-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 440px;
  height: 100vh;
  background-color: #f9efdc;
  padding: 64px 32px 48px 40px;
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  opacity: 0;
  transition:
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.4s ease,
    box-shadow 0.4s ease;
  z-index: 1000;
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
  display: flex;
  flex-direction: column;
}

.waitlist-panel.active {
  transform: translateX(0%);
  opacity: 1;
  box-shadow: -16px 0 32px rgba(0, 0, 0, 0.12);
}

/* === CLOSE ICON === */
.close-icon {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  opacity: 0.7;
  transition: all 0.2s ease;
}

.close-icon:hover {
  opacity: 1;
  transform: scale(1.05);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* === FORM CONTENT === */
.waitlist-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.waitlist-header {
  font-family: 'Sentient', serif;
  font-size: 22px;
  margin-bottom: 36px;
  letter-spacing: 0.3px;
}

/* === LABELS AND INPUTS === */
.waitlist-content label {
  font-family: 'Sentient', serif;
  font-size: 14px;
  margin-bottom: 6px;
  display: block;
  color: rgba(0, 0, 0, 0.8);
  letter-spacing: 0.2px;
}

.waitlist-content input {
  width: 100%;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-family: 'Sentient', serif;
  font-size: 15.5px;
  padding: 0 12px;
  margin-bottom: 28px;
  background-color: white;
}

.waitlist-content input:focus {
  outline: none;
  border-color: #000;
}

.waitlist-content input.error {
  border-color: #ff0000;
}

.error-message {
  color: #ff0000;
  font-size: 14px;
  margin-top: -15px;
  margin-bottom: 15px;
  font-family: 'Sentient', sans-serif;
}

.form-group {
  margin-bottom: 20px;
}

/* === SUBMIT BUTTON === */
.waitlist-submit {
  height: 46px;
  width: 100%;
  font-family: 'Zodiak', serif;
  font-size: 18.5px;
  font-weight: 800;
  letter-spacing: 0.25px;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.waitlist-submit:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* === CONFIRMATION MESSAGE === */
.waitlist-confirmation {
  font-family: 'Sentient', serif;
  font-size: 22px;
  font-weight: 600;
  margin-top: 36px;
  margin-bottom: 8px;
  line-height: 1.5;
  text-align: left;
  color: #000;
  letter-spacing: 0.02em;
}

/* === PRIVACY TEXT === */
.waitlist-privacy {
  font-family: 'Inria Serif', serif;
  font-style: italic;
  font-size: 15px;
  color: rgba(0, 0, 0, 0.65);
  line-height: 1.7;
  margin-top: 12px;
  letter-spacing: 0.01em;
}

/* Group container animation */
.waitlist-thankyou-group {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Active state triggers fade-in */
.waitlist-thankyou-group.active {
  opacity: 1;
  transform: translateY(0);
}

/* Fade-out transition for form */
#waitlist-form.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* CONTAINER FOR LARGE SCREENS */
@media (min-width: 1440px) {
  .container {
    max-width: 1280px;
    margin: 0 auto;
  }

  .navbar, .hero, .carousel, .showcase, .final-section, .footer {
    width: 100%;
    box-sizing: border-box;
  }

  .navbar, .hero, .carousel, .showcase, .final-section, .footer {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* RIGHT-ALIGNED TEXT FIX */
.right-aligned-text {
  text-align: right;
  max-width: 600px; /* Adjust as needed for design */
  margin-left: auto;
}

/* RIGHT-ALIGNED TEXT CONTAINER */
.right-aligned-text-container {
  text-align: right;
  margin-left: auto;
  margin-right: 60px; /* Adjust to match nearby content spacing */
  max-width: 880px; /* Control layout */
}

/* Apply this class to the specific text container */

/* HIGHLIGHT CONTAINER */
.highlight-container {
  display: block;
  width: 100%;
  max-width: 1150px; /* same as overall container width */
  margin: 0 60px 0 auto; /* push it right while maintaining spacing */
  text-align: right;
}

/* Ensure the paragraph inside the container remains right-aligned */
.highlight-container .showcase-highlight {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: #000;
  line-height: 1.4;
  text-align: right;
  width: auto; /* Remove fixed width */
  margin: 38px 0 60px 0; /* Remove left margin */
}

/* Override any parent container styles that might center this block */
.showcase-2, .section, .main {
  text-align: left; /* Override any centering */
}

/* LARGE SCREEN RESPONSIVENESS */
@media (min-width: 1920px) {
  .container {
    max-width: 1920px;
    margin: 0 auto;
  }

  .hero {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .hero-title {
    font-size: clamp(74px, 5vw, 84px);
  }

  .hero-subtitle {
    font-size: clamp(60px, 4vw, 68px);
  }

  .hero-description {
    font-size: clamp(22px, 2vw, 26px);
  }

  .carousel {
    margin-bottom: 80px;
  }

  .carousel-track {
    gap: 50px;
  }

  .showcase {
    padding-top: 60px;
    padding-bottom: 80px;
  }

  .showcase-text h3 {
    font-size: clamp(42px, 3vw, 48px);
  }

  .showcase-caption {
    font-size: clamp(36px, 2.5vw, 42px);
  }

  .highlight-container {
    padding: 40px 0;
  }

  .showcase-highlight {
    font-size: clamp(40px, 2.5vw, 44px);
  }

  .showcase-image img {
    max-width: 100%;
  }

  .showcase-image-second img {
    max-width: 100%;
  }

  .showcase-3 {
    padding-top: 40px;
    padding-bottom: 100px;
  }

  .showcase-heading {
    font-size: clamp(128px, 7vw, 140px);
  }

  .showcase-subtitle {
    font-size: clamp(48px, 3vw, 52px);
  }

  .showcase-description {
    font-size: clamp(32px, 2.2vw, 36px);
  }

  .footer {
    padding-top: 80px;
    padding-bottom: 70px;
  }

  .footer-logo {
    font-size: clamp(76px, 5vw, 90px);
  }

  .footer-tagline {
    font-size: clamp(22px, 2vw, 28px);
  }

  .hero-divider,
  .showcase-divider,
  .showcase-heading-divider,
  .showcase-inner-divider,
  .footer-divider,
  .footer-end-line {
    margin: 40px auto;
    width: 1280px;
  }

  .hero-btn {
    width: clamp(372px, 25vw, 420px);
    height: clamp(60px, 5vw, 70px);
    font-size: clamp(20px, 2vw, 24px);
  }

  .demo-btn,
  .access-btn,
  .footer-btn {
    font-size: clamp(20px, 2vw, 22px);
    padding: 10px 24px;
    height: 52px;
  }
}

/* === UTILITIES === */
.hidden {
  display: none;
}
