body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  width: 100%;
  height: 100%;
  scroll-behavior: smooth;
}



.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  padding: 20px 20px; /* Reduced horizontal padding */
  /* Use space-between to push logo left and nav links right */
  justify-content: space-between;
  transition: all 0.3s ease;
  display: flex !important;
  flex-wrap: nowrap !important;
}

.navbar-scrolled {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  padding: 10px 20px; /* Reduced padding when scrolled */
}

.navbar-brand {
  margin: 0 20px 0 0; /* Add right margin to increase space */
  padding: 0; /* Remove any default padding */
  display: flex;
  align-items: center;
}

.navbar-brand:hover {
  opacity: 0.9;
}

.navbar-nav {
  /* Removed transparent background and border styles */
  transition: all 0.3s ease;
  padding: 0; /* Remove padding from the ul itself */
}

.navbar-scrolled .navbar-nav {
  padding: 0; /* No padding when scrolled either */
}

.navbar-scrolled .navbar-nav {
  background: transparent;
  /* Removed border: 1px solid rgba(255, 255, 255, 0.5); */
}

.navbar-nav .nav-link {
  color: #1F2937; /* Dark text for contrast */
  font-weight: 300; /* Light font weight for Inter */
  text-shadow: 0 0 10px rgba(255,255,255,0.7); /* Keep text shadow for visibility */
  margin-left: 0; /* No left margin for the first item */
  padding: 0.5rem 0; /* Adjust padding for a cleaner look */
  transition: all 0.3s ease;
  font-size: 16px;
}

#auto-id-19 {
  transform: translateY(0);
  color: #4B5563;
}

#auto-id-22 {
  transform: translateY(0);
  font-weight: 600;
}

#auto-id-22 span {
  font-weight: 600;
}

#auto-id-23 {
  transform: translateY(0);
}

#auto-id-27 {
  transform: translateY(0);
  color: #4B5563;
}

.navbar-scrolled .navbar-nav .nav-link {
  font-size: 14px; /* Smaller font size when scrolled */
  padding: 0.25rem 0; /* Reduced padding when scrolled */
}

.navbar-scrolled .navbar-nav .nav-link {
  text-shadow: none; /* Remove text shadow when scrolled for cleaner look */
}

.navbar-nav .nav-link:hover {
  color: #9AFF72; /* Hover color for nav links */
}

.btn-login {
  color: #1F2937; /* Match nav link text color */
  font-weight: 300;
  text-decoration: none;
  background-color: transparent;
  border: none;
  padding: 0.375rem 0.75rem; /* Match sign up button padding for consistent height */
  font-size: 14px;
  margin-right: 10px; /* Space between login and sign up buttons */
  transition: all 0.3s ease;
}

#auto-id-27 {
  margin-left: auto;
  margin-right: auto;
}

/* Login/signup buttons visible on all pages */
#auto-id-20 {
  display: flex !important;
}

.navbar-scrolled .btn-login {
  font-size: 13px;
  padding: 0.25rem 0.5rem;
}

.btn-login:hover {
  color: #9AFF72; /* Match nav link hover color */
  text-decoration: none;
  background-color: transparent;
  border: none;
}

.btn-sign-up {
    padding: 0.375rem 0.75rem; /* Adjusted padding to better match nav items */
    height: auto;
    line-height: 1.5;
    font-size: 14px;
    transition: all 0.3s ease;
}

/* Specific styling for navbar sign-up button */
#auto-id-28 {
    width: auto;
    height: auto;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    padding: 0.375rem 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
    background-color: #1F2937;
    color: #fff;
    border: none;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease;
}

.navbar-scrolled #auto-id-28 {
    font-size: 13px;
    padding: 0.25rem 0.5rem;
}

/* Hero sign-up button with liquid glass effect */
#auto-id-30 {
    background: #0B0F0C;
    border: 1px solid #0B0F0C;
    color: #ffffff;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    text-shadow: none;
    padding: 0.6rem 1.8rem;
    font-size: 1rem;
    margin-top: -1.5rem;
}

/* Elegant periodic shimmer effect */
#auto-id-30::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transform: skewX(-20deg);
    animation: button-shimmer 4s infinite ease-in-out;
    pointer-events: none;
}

@keyframes button-shimmer {
    0% { left: -150%; }
    20% { left: 150%; }
    100% { left: 150%; }
}

/* Static highlight shine spots */
#auto-id-30::before,
#auto-id-30-footer::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    width: 20px;
    height: 15px;
    background: radial-gradient(
        ellipse at center,
        rgba(255, 255, 255, 0.2) 0%,
        rgba(255, 255, 255, 0) 80%
    );
    filter: blur(1px);
    pointer-events: none;
    z-index: 1;
    transform: rotate(-15deg);
}

#auto-id-30-reflection::before,
#auto-id-30-footer-reflection::before {
    content: '';
    position: absolute;
    bottom: -15px;
    right: -10px;
    width: 140px;
    height: 25px;
    background: radial-gradient(
        ellipse at center,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(255, 255, 255, 0) 80%
    );
    filter: blur(4px);
    pointer-events: none;
    z-index: 1;
    transform: rotate(-10deg);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Interactive light reflection */
#auto-id-30-reflection,
#auto-id-30-footer-reflection {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 0%;
    width: 12%;
    height: 6px;
    background: radial-gradient(
        ellipse at center,
        rgba(255, 255, 255, 0.5) 0%,
        rgba(255, 255, 255, 0) 80%
    );
    opacity: 0.4;
    filter: blur(2px);
    pointer-events: none;
    z-index: 2;
    transform: perspective(100px) rotateX(20deg);
}

#auto-id-30:hover {
    background: #1a1f1a;
    border-color: #1a1f1a;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

#auto-id-30:hover #auto-id-30-reflection,
#auto-id-30-footer:hover #auto-id-30-footer-reflection {
    opacity: 0.6;
    transform: perspective(100px) rotateX(20deg) scaleX(1.1);
}

#auto-id-30:hover::before,
#auto-id-30:hover #auto-id-30-reflection::before,
#auto-id-30-footer:hover::before,
#auto-id-30-footer:hover #auto-id-30-footer-reflection::before {
    opacity: 0.3;
    transform: translate(10%, 10%);
}

#auto-id-30:active, #auto-id-30-footer:active {
    transform: translateY(-1px) scale(0.98);
}

/* Specific styling for the footer CTA sign-up button - matches header CTA */
#auto-id-30-footer {
    background: #0B0F0C;
    border: 1px solid #0B0F0C;
    color: #ffffff;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    text-shadow: none;
    padding: 0.6rem 1.8rem;
    font-size: 1rem;
    text-decoration: none;
}

#auto-id-30-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transform: skewX(-20deg);
    animation: button-shimmer 4s infinite ease-in-out;
    pointer-events: none;
}

#auto-id-30-footer:hover {
    background: #1a1f1a;
    border-color: #1a1f1a;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
    color: #ffffff;
}

.navbar-scrolled .btn-sign-up {
    font-size: 13px;
    padding: 0.25rem 0.5rem;
}

.navbar-logo {
  height: 24px;
  width: 118px;
  object-fit: contain;
  transition: height 0.3s ease;
  transform: translateY(0);
}

.navbar-scrolled .navbar-logo {
  height: 20px; /* Smaller logo when scrolled */
  width: 98px; /* Maintain aspect ratio */
}

.controls {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: auto;
  display: none; /* Hide the controls */
}

.control-item {
  background: rgba(255, 255, 255, 0.8);
  padding: 8px 15px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.control-item label {
  font-weight: 600;
  margin-right: 10px;
  font-size: 14px;
  color: #333;
}

.control-item input[type="range"] {
  width: 200px;
  cursor: pointer;
}

#reynolds-value, #splat-interval-value {
  font-weight: 700;
  color: #6e8efb;
}

canvas {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  pointer-events: auto;
}

.mobile-only-br {
  display: none;
}

.desktop-only-br {
  display: inline;
}

@media (max-width: 768px) {
  .navbar-toggler {
    display: none !important;
  }

  .navbar-collapse {
    display: flex !important;
    flex-basis: auto !important;
    flex-grow: 0 !important;
  }

  .navbar-logo {
    height: 18px;
    width: auto;
  }

  .btn-login {
    font-size: 12px;
    padding: 0.25rem 0.5rem;
    margin-right: 5px;
  }

  #auto-id-28 {
    font-size: 12px !important;
    padding: 0.25rem 0.6rem !important;
  }

  .mobile-only-br {
    display: inline;
  }

  .desktop-only-br {
    display: none;
  }

  canvas {
    pointer-events: none;
  }

  .hero-section .container {
    padding: 0 20px;
    max-width: 100%;
  }

  .fake-chat-input {
    width: 90% !important;
    max-width: 450px !important;
  }

  .tab-content {
    padding: 0 10px;
  }

  .hero-section {
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    padding-top: 60px !important;
  }

  .hero-announcement-pill {
    margin-top: -4rem;
    font-size: 12px;
    padding: 4px 12px 4px 4px;
  }

  .hero-title {
    font-size: 3.2rem !important;
    line-height: 1.1 !important;
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
  }

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

  .hero-subtitle-container {
    font-size: 0.95rem !important;
    line-height: 1.3 !important;
    margin-top: 0.5rem !important;
    margin-bottom: 25px !important;
    min-height: auto !important;
  }

  .subtitle-rotation-container {
    width: 125px !important;
  }

  /* Bottom section mobile styles */
  section h2 {
    font-size: 24px !important;
  }
}

#scroll-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  display: none;
}

@media (max-width: 768px) {
  #scroll-overlay {
    display: block;
    pointer-events: auto;
  }
}

.hero-section {
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #1F2937;
  z-index: 10;
  position: relative;
  pointer-events: none;
}

.hero-section * {
  pointer-events: auto;
}

.hero-announcement-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 6px 16px 6px 6px;
  border-radius: 100px;
  text-decoration: none;
  color: #1F2937;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  margin-top: -3.5rem;
  margin-bottom: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.hero-announcement-pill:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  color: #1F2937;
}

.hero-announcement-pill .pill-badge {
  background: #9AFF72;
  color: #1F2937;
  padding: 2px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-announcement-pill .pill-text {
  opacity: 0.9;
}

.hero-title {
  font-size: 72px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-top: 5rem;
  margin-bottom: 2.5rem;
  color: #1F2937;
  text-shadow: 0 0 15px rgba(255,255,255,0.5);
  max-width: 95%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 1200px) {
  .hero-title {
    font-size: 60px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 42px !important;
    max-width: 100%;
  }
}

.hero-subtitle-container {
  font-size: 22px;
  font-weight: 300;
  margin-top: calc(2rem + 48px);
  margin-bottom: 60px;
  color: #4B5563;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  height: auto;
  min-height: 40px;
  perspective: 1000px;
  overflow: visible;
  display: flex;
  justify-content: center;
  align-items: center;
}

.rolling-text {
  display: inline-block;
  backface-visibility: hidden;
}

.rolling-text span {
  display: inline-block;
  transition: opacity 0.3s ease;
  transform-origin: center;
}

.subtitle-rotation-container {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  vertical-align: baseline;
  width: 100%;
  min-width: 200px;
  height: 1.2em; /* Fixed height to match line-height */
  text-align: center;
  margin: 0;
  position: relative;
}

.subtitle-rotation-wrapper {
  display: inline-block;
  white-space: nowrap;
  overflow: visible;
}

.rolling-out span {
  opacity: 0;
  transition: opacity 0.2s ease;
}

.rolling-in span {
  animation: flipIn 0.4s cubic-bezier(0.19, 1, 0.22, 1) forwards, subtitleShimmer 2s ease-in-out forwards;
  background: linear-gradient(
    180deg,
    #4B5563 0%,
    #9B6FD8 20%,
    #5BA8F0 40%,
    #4B8BFF 60%,
    #9B6FD8 80%,
    #4B5563 100%
  );
  background-size: 100% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes flipIn {
  0% {
    opacity: 0;
    transform: rotateX(90deg) translateY(20px);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: rotateX(0deg) translateY(0);
    filter: blur(0);
  }
}

@keyframes subtitleShimmer {
  0% {
    background-position: center 200%;
  }
  100% {
    background-position: center -200%;
    -webkit-text-fill-color: #1F2937;
  }
}

.hero-pair {
  transition: opacity 0.5s ease-in-out;
}

.hero-free-text {
  margin-top: 16px;
  margin-bottom: 0;
  color: #4B5563;
  font-size: 14px;
  font-weight: 400;
}

.btn-sign-up-hero {
  border-radius: 9999px;
  border: 4px solid #ffffff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Fake chat input styles */
.fake-chat-input {
  margin-top: 28px;
  width: 450px;
  margin-left: auto;
  margin-right: auto;
  cursor: pointer;
}


.fake-chat-input-inner {
  background: #ffffff;
  border: 1px solid hsl(216, 12%, 84%);
  border-radius: 16px;
  padding: 12px 16px 12px 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  height: 132px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.fake-chat-input-text {
  color: hsla(215, 28%, 17%, 1);
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  min-height: 48px;
  flex: 1;
}

.fake-chat-input-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
}

.fake-chat-input-paperclip {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #6B7280;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
}

.fake-chat-input-arrow {
  background: #1F2937;
  border: none;
  border-radius: 12px;
  width: 70px;
  height: 36px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

/* Editorial Banner Section */
.editorial-banner {
    background-color: rgba(0, 59, 255, 0.5); /* Vibrant blue with 50% opacity */
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-top: 180px;
    position: relative;
    z-index: 10;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 180px);
    mask-image: linear-gradient(to bottom, transparent 0%, black 180px);
}

.editorial-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)" opacity="0.05"/%3E%3C/svg%3E');
    pointer-events: none;
    z-index: 1;
}

.editorial-banner-text {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    font-size: clamp(4rem, 14vw, 24rem);
    line-height: 0.82;
    color: #ffffff;
    text-align: center;
    white-space: nowrap;
    width: 100%;
    max-width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    pointer-events: auto;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin-bottom: 0;
    padding-bottom: 0;
}

.editorial-line-1 {
    margin-bottom: 0.05em;
}

.editorial-line-2 {
    line-height: 0.76;
    margin-bottom: -0.05em;
}

@media (max-width: 768px) {
    .editorial-banner {
        padding-top: 100px;
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 100px);
        mask-image: linear-gradient(to bottom, transparent 0%, black 100px);
    }
    .editorial-banner-text {
        font-size: 14vw; 
        margin-bottom: 0;
    }
}

/* Pinned Gallery Section */
.gallery-pinned-section {
    position: relative;
    width: 100%;
    min-height: auto;
    height: auto;
    padding: 60px 0 60px 0;
    overflow: visible;
    background-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
}

.gallery-pinned-section::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 150px;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

.gallery-pinned-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 250px;
    background: linear-gradient(to bottom, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

.gallery-pinned-content {
    width: 100%;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    padding: 40px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.gallery-text {
    position: relative;
    width: 100%;
    margin: 0 0 40px 0;
    text-align: center;
    z-index: 5;
    pointer-events: auto;
}

.gallery-headline {
    font-size: 42px;
    font-weight: 500;
    line-height: 1.1;
    color: #1F2937;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.gallery-carousel-wrapper {
    position: relative;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
}

.gallery-grid {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    grid-auto-flow: column;
    grid-auto-columns: calc(30% - 24px); 
    gap: 24px;
    padding: 20px 0 60px 0; 
    z-index: 2;
    pointer-events: auto;
    background: transparent;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    scroll-behavior: smooth;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}

.gallery-grid::-webkit-scrollbar { display: none; }

.gallery-card:nth-child(n) { 
    grid-area: auto; 
    margin-top: 0 !important;
}

.gallery-card {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 16/10;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: #f3f4f6;
    transform-origin: center center;
    will-change: transform, opacity;
    scroll-snap-align: center;
}

.gallery-nav-btn {
    position: absolute;
    top: calc(50% - 30px);
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #1F2937;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.gallery-nav-btn:hover {
    background: #1F2937;
    color: #ffffff;
    transform: translateY(-50%) scale(1.05);
}

.gallery-nav-btn.prev { left: 24px; }
.gallery-nav-btn.next { right: 24px; }

.gallery-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    pointer-events: auto;
    position: relative;
    z-index: 10;
}

.gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(31, 41, 55, 0.2);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    padding: 0;
}

.gallery-dot:hover {
    background: rgba(31, 41, 55, 0.5);
}

.gallery-dot.active {
    background: #1F2937;
    width: 24px;
    border-radius: 4px;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-card:hover img {
    transform: scale(1.05);
}

.gallery-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 40%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.gallery-card:hover .gallery-card-overlay {
    opacity: 1;
    pointer-events: auto;
}

.gallery-card-title {
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #1F2937;
    font-size: 13px;
    font-weight: 600;
    padding: 14px 20px;
    margin: 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.gallery-card:hover .gallery-card-title {
    transform: translateY(0);
}

.gallery-card-actions {
    display: flex;
    justify-content: center;
    padding-bottom: 24px;
}

.btn-gallery {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    height: 36px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(255, 255, 255, 0.95);
    color: #111827;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(8px) scale(0.95);
}

.btn-gallery:hover {
    transform: translateY(0) scale(1);
    background: #ffffff;
    color: #111827;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.gallery-card:hover .btn-gallery {
    transform: translateY(0) scale(1);
}

#gallery-pinned-section {
    padding-bottom: 100px;
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black calc(100% - 100px), transparent 100%);
    mask-image: linear-gradient(to bottom, black 0%, black calc(100% - 100px), transparent 100%);
}

/* Events Gallery Distinct Background Filter */
.events-gallery-section {
    background-color: rgba(240, 245, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 100px, black 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 100px, black 100%);
    margin-top: -100px;
    padding-top: 160px;
}

.events-gallery-section::before {
    display: none;
}

.events-gallery-section::after {
    height: 150px;
    background: linear-gradient(to top, #ffffff 0%, rgba(240, 245, 255, 0) 100%);
}

.events-gallery-section .gallery-card {
    cursor: default;
}

.events-gallery-section .gallery-card:hover img {
    transform: scale(1);
}

/* Events Gallery Side-by-side Layout */
@media (min-width: 992px) {
    .events-gallery-section .gallery-pinned-content {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 40px;
    }
    .events-gallery-section .gallery-text {
        width: 35%;
        text-align: left;
        margin-bottom: 0;
        flex-shrink: 0;
        padding-top: 20px;
    }
    .events-gallery-section .gallery-carousel-wrapper {
        width: 65%;
        flex-grow: 1;
    }
    .events-gallery-section .gallery-grid {
        grid-auto-columns: calc(45% - 24px);
    }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .gallery-pinned-section {
        padding: 40px 0;
        background-color: rgba(255, 255, 255, 0.6);
    }
    .gallery-pinned-content {
        padding: 20px;
        gap: 24px;
    }
    .gallery-headline {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    .gallery-nav-btn {
        display: flex;
        width: 40px;
        height: 40px;
        top: calc(50% - 10px);
    }
    .gallery-nav-btn i { font-size: 14px; }
    .gallery-nav-btn.prev { left: 12px; }
    .gallery-nav-btn.next { right: 12px; }

    .gallery-grid {
        grid-template-rows: 1fr; 
        grid-auto-columns: calc(85% - 16px);
        gap: 16px;
        padding: 0 0 20px 0;
        -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
        mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    }

    .gallery-card:nth-child(n) {
        aspect-ratio: 16/10;
        width: 100%;
        max-width: 100%;
    }

    .events-gallery-section {
        margin-top: -60px;
        padding-top: 120px;
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 60px, black 100%);
        mask-image: linear-gradient(to bottom, transparent 0%, black 60px, black 100%);
    }
}

/* Editorial Collab & Expert Section */
.editorial-collab-section {
    padding: 70px 0 140px 0;
    background-color: #ffffff;
    position: relative;
    z-index: 10;
}
.editorial-image-wrapper {
    position: relative;
    padding-right: 2rem;
    padding-bottom: 2rem;
}
.editorial-image-wrapper img {
    border-radius: 4px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    aspect-ratio: 1080 / 1007;
}
.editorial-floating-card {
    position: absolute;
    bottom: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.6);
    transform: translateY(20px) translateX(-20px);
}
.expert-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #1F2937;
    color: #9AFF72;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}
.expert-name {
    font-weight: 600;
    color: #1F2937;
    font-size: 15px;
    margin-bottom: 2px;
}
.expert-role {
    font-size: 12px;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.editorial-collab-headline {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: #111827;
    margin-bottom: 0;
}
.editorial-collab-headline .serif-italic {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-weight: 400;
    color: #6B7280;
}
.editorial-feature-group h4 {
    font-size: 1.35rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}
.editorial-feature-group p {
    font-size: 1rem;
    color: #4B5563;
    line-height: 1.5;
    margin-bottom: 0;
    font-weight: 300;
}
.editorial-divider {
    border: 0;
    border-top: 1px solid #e5e7eb;
    margin: 1.5rem 0;
}
.btn-editorial {
    background: #111827;
    color: #ffffff;
    padding: 0.875rem 2.25rem;
    border-radius: 100px;
    font-weight: 500;
    letter-spacing: -0.01em;
    transition: all 0.3s ease;
}
.btn-editorial:hover {
    background: #374151;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
@media (max-width: 991px) {
    .editorial-collab-section { padding: 40px 0 80px 0; }
    .editorial-collab-headline { font-size: 2.5rem; }
    .editorial-image-wrapper { padding-right: 1rem; padding-bottom: 1rem; }
    .editorial-floating-card { transform: translateY(10px) translateX(-10px); padding: 1rem; }
    .expert-avatar { width: 36px; height: 36px; font-size: 14px; }
}

/* Features Highlight Section */
.features-highlight-section {
    padding: 100px 0;
    background-color: #ffffff;
    position: relative;
    z-index: 10;
}
/* Split Feature Section */
.feature-split-row {
    margin-bottom: 120px;
}
.feature-split-row:last-child {
    margin-bottom: 0;
}
.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    color: #4B5563;
    margin-bottom: 20px;
}
.feature-tag i {
    font-size: 16px;
}
.feature-split-title {
    font-size: 38px;
    font-weight: 500;
    color: #111827;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
    font-family: 'Inter', sans-serif;
}
.feature-split-desc {
    font-size: 18px;
    color: #4B5563;
    line-height: 1.5;
    margin-bottom: 36px;
    font-weight: 300;
}
.feature-split-btn {
    background: #1a1a1a;
    color: #ffffff;
    border-radius: 8px;
    padding: 14px 28px;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 1px solid #1a1a1a;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-decoration: none;
    display: inline-block;
}
.feature-split-btn:hover {
    background: #333333;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
    text-decoration: none;
}
.feature-image-wrapper {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    background-color: #f9fafb;
}
@media (max-width: 991px) {
    .feature-split-row {
        margin-bottom: 80px;
    }
    .feature-split-title {
        font-size: 32px;
    }
    .feature-split-desc {
        font-size: 16px;
    }
}
@media (max-width: 768px) {
    .features-highlight-section {
        padding: 60px 0;
    }
    .feature-split-title {
        font-size: 28px;
    }
    .feature-split-desc {
        font-size: 15px;
    }
}

/* Go Live Instantly Section */
.go-live-section {
    padding: 100px 0;
    background-color: #FFFDF9;
    color: #111827;
    position: relative;
    z-index: 10;
}
.go-live-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 150px;
    background: linear-gradient(to bottom, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
    pointer-events: none;
}
.go-live-section::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 150px;
    background: linear-gradient(to top, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
    pointer-events: none;
}
.go-live-section .container {
    position: relative;
    z-index: 2;
}
.go-live-title {
    font-size: 46px;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    font-family: 'Inter', sans-serif;
    color: #111827;
}
.go-live-desc {
    font-size: 20px;
    color: #4B5563;
    line-height: 1.6;
    margin-bottom: 0;
    font-weight: 400;
}
.go-live-image-container {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    background: #ffffff;
}

/* Publishing Cards */
.publishing-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.publishing-card:not(.merged-left):not(.merged-right):hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.1);
}

/* Merged Publishing Cards */
.publishing-merged {
    background: #ffffff;
    border-radius: 120px 0 120px 0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.publishing-merged:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}
.publishing-merged .publishing-card {
    border: none;
    box-shadow: none;
    border-radius: 0;
    background: transparent;
}
.publishing-merged .merged-left {
    border-right: 1px solid rgba(0,0,0,0.05);
}
.publishing-merged .merged-right .publishing-card-body {
    padding-top: 48px;
    padding-right: 32px;
}
@media (max-width: 768px) {
    .publishing-merged {
        border-radius: 60px 0 60px 0;
    }
    .publishing-merged .merged-left {
        border-right: none;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    .publishing-merged .merged-right .publishing-card-body {
        padding-top: 32px;
        padding-right: 24px;
    }
}
.publishing-card-img-wrapper {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f9fafb;
}
.publishing-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.publishing-card:hover .publishing-card-img-wrapper img {
    transform: scale(1.05);
}
.publishing-card-body {
    padding: 24px;
}
.publishing-card-title {
    color: #111827;
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 4px;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.02em;
}
.publishing-card-text {
    color: #4B5563;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 0;
    font-weight: 400;
}
@media (max-width: 991px) {
    .go-live-title {
        font-size: 42px;
    }
}
@media (max-width: 768px) {
    .go-live-section {
        padding: 80px 0;
    }
    .go-live-title {
        font-size: 32px;
    }
    .go-live-desc {
        font-size: 16px;
    }
}

/* Zero Cost AI Section */
.zero-cost-ai-section {
    padding: 140px 0 70px 0;
    background-color: #ffffff;
    position: relative;
    z-index: 10;
}

#auto-id-106-190::before {
    content: '';
    position: absolute;
    top: -5%;
    right: -10%;
    width: 65%;
    height: 85%;
    background: linear-gradient(120deg, 
        rgba(154, 255, 114, 0.4) 0%,    /* Brand Mint */
        rgba(135, 206, 250, 0.4) 33%,   /* Sky Blue */
        rgba(216, 180, 226, 0.4) 66%,   /* Muted Lavender */
        rgba(255, 228, 196, 0.4) 100%); /* Pale Peach */
    background-size: 200% 200%;
    filter: blur(80px);
    animation: panGradient 15s ease-in-out infinite alternate;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
}

@media (max-width: 991px) {
    #auto-id-106-190::before {
        width: 120%;
        height: 60%;
        top: auto;
        bottom: 15%;
        right: -10%;
    }
}

@media (max-width: 768px) {
    .zero-cost-ai-section {
        padding: 80px 0 40px 0;
    }
}

.ai-feature-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 20px 0;
    position: relative;
    box-shadow: none;
}

@media (max-width: 991px) {
    .ai-feature-card {
        padding: 20px 0;
    }
}

.ai-friendly-visual {
    position: relative;
    width: 100%;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-friendly-chat {
    width: 100%;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    z-index: 2;
}

.ai-chat-bubble {
    padding: 16px 20px;
    border-radius: 18px;
    font-size: 15px;
    line-height: 1.5;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    max-width: 85%;
    font-family: 'Inter', sans-serif;
    opacity: 0; /* Handled by GSAP */
}

.ai-chat-bubble.user {
    background: #1F2937;
    color: #ffffff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.ai-chat-bubble.system {
    background: #ffffff;
    color: #1F2937;
    border: 1px solid #f3f4f6;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    position: relative;
}

.ai-typing-dots {
    display: flex;
    gap: 4px;
    align-items: center;
    height: 22px;
}

.ai-typing-dots span {
    width: 6px;
    height: 6px;
    background-color: #9CA3AF;
    border-radius: 50%;
    animation: bounce-dot 1.4s infinite ease-in-out both;
}
.ai-typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.ai-typing-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes bounce-dot {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

.ai-chat-text {
    display: none; /* Toggled by GSAP */
}

.floating-badge {
    position: absolute;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 10px 20px 10px 10px;
    border-radius: 100px;
    color: #1F2937;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 3;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    font-family: 'Inter', sans-serif;
}

.badge-icon {
    width: 32px; height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    background: #f9fafb;
}

.badge-friendly-1 {
    top: 10%; right: -5%;
    animation: float-badge 4s ease-in-out infinite;
}

.badge-friendly-2 {
    bottom: 5%; left: -5%;
    animation: float-badge 5s ease-in-out infinite reverse;
}

@media (max-width: 768px) {
    .badge-friendly-1 { top: -10px; right: 10px; }
    .badge-friendly-2 { bottom: -10px; left: 10px; }
    .ai-friendly-visual { height: 240px; }
}

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

/* Bottom section with tabs */
.tabs-section {
  background: #ffffff;
  padding: 100px 0 40px 0;
  position: relative;
  z-index: 10;
  overflow-x: hidden;
}

.tabs-section .container {
  position: relative;
  z-index: 2;
}

.background-marquee-container {
  position: relative;
  margin-top: 80px;
  width: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  display: flex;
}

.background-marquee-track {
  display: flex;
  white-space: nowrap;
  animation: backgroundScrollMarquee 40s linear infinite;
  will-change: transform;
}

.background-marquee-text {
  color: #0F172A;
  font-size: clamp(30px, 5vw, 60px);
  font-weight: 500;
  letter-spacing: -0.05em;
  padding-right: 0.2em;
  font-family: 'Inter', sans-serif;
}

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

@media (max-width: 768px) {
  .tabs-section {
    padding: 60px 0 20px 0;
  }
}

/* How it works section */
.how-it-works-section {
    padding: 150px 0 120px 0;
    background: #ffffff;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

#sky-canvas {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0px, black 150px, black calc(100% - 150px), transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0px, black 150px, black calc(100% - 150px), transparent 100%);
}

@media (max-width: 768px) {
    .how-it-works-section {
        padding: 100px 0 80px 0;
    }
    
    #sky-canvas {
        -webkit-mask-image: linear-gradient(to bottom, transparent 0px, black 100px, black calc(100% - 100px), transparent 100%);
        mask-image: linear-gradient(to bottom, transparent 0px, black 100px, black calc(100% - 100px), transparent 100%);
    }
    .step-images {
        margin-top: 20px;
    }
}
.how-it-works-title {
    color: hsla(215, 28%, 17%, 1);
    font-size: 42px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    margin-bottom: 16px;
    text-align: left;
}
.how-it-works-subtitle {
    color: #4B5563;
    font-size: 20px;
    font-weight: 400;
    text-align: left;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: 0;
    margin-right: auto;
    font-family: 'Inter', sans-serif;
}
.step-item {
    padding: 24px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 12px;
    opacity: 1;
}
.step-item h3 {
    font-size: 26px;
    font-weight: 600;
    color: #9CA3AF;
    margin-bottom: 12px;
    display: inline-block;
    position: relative;
    transition: color 0.3s ease;
}
.step-item:hover h3 {
    color: #6B7280;
}
.step-item:nth-child(1).active h3 {
    color: #ea580c; /* Orange */
}
.step-item:nth-child(2).active h3 {
    color: #4f46e5; /* Indigo */
}
.step-item:nth-child(3).active h3 {
    color: #059669; /* Emerald */
}
.step-item h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 1px;
    background-color: #9CA3AF;
    opacity: 0;
    transition: width 0.4s ease-out, opacity 0.4s ease-out;
}
.step-item.active h3::after {
    width: 100%;
    opacity: 1;
}
.step-item h3::before {
    content: '';
    position: absolute;
    left: -16px;
    bottom: -10px;
    width: 10px;
    height: 10px;
    background-color: #9AFF72;
    z-index: 1;
    opacity: 0;
    transform: scale(0.5);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease-out;
}
.step-item:nth-child(1) h3::before {
    background-color: #ff9838; /* Orange */
}
.step-item:nth-child(2) h3::before {
    background-color: #4f46e5; /* Indigo */
}
.step-item:nth-child(3) h3::before {
    background-color: #10b981; /* Emerald */
}
.step-item.active h3::before {
    opacity: 1;
    transform: scale(1);
}
.step-item p {
    font-size: 16px;
    color: #9CA3AF;
    margin: 0;
    line-height: 1.5;
    transition: color 0.3s ease;
}
.step-item:hover p {
    color: #6B7280;
}
.step-item.active p {
    color: #4B5563;
}
.step-images {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: none;
    border: none;
}

@media (min-width: 992px) {
    .how-it-works-section .image-content {
        display: block;
    }
    .step-images {
        width: calc(50vw + 28px); /* Reduced by 40px to create breathing room from text */
        margin-left: calc(100% - (50vw + 68px)); /* Keeps the left edge bleeding to viewport */
        aspect-ratio: 4/3;
        height: auto;
        min-height: auto;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        border-top-right-radius: 24px;
        border-bottom-right-radius: 24px;
    }
}
@media (min-width: 1200px) {
    .how-it-works-section .container {
        max-width: 1140px;
    }
    .step-images {
        width: calc(100% - 40px); /* Keep 40px breathing room on larger screens */
        margin-left: 0;
        border-radius: 24px; /* Restore all rounded corners */
    }
}

.how-it-works-section .text-content {
    max-width: 460px;
}
@media (max-width: 991px) {
    .how-it-works-section .text-content {
        margin: 0 auto;
    }
}
.step-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    clip-path: inset(100% 0 0 0);
    transition: clip-path 0s 0.8s, opacity 0s 0.8s;
    background: #ffffff;
    overflow: hidden;
    border-radius: inherit;
}

.step-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="1.5" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)" opacity="0.15"/%3E%3C/svg%3E');
    mix-blend-mode: hard-light;
    pointer-events: none;
    z-index: 5;
}

.step-bg.active {
    z-index: 2;
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transition: clip-path 0.8s cubic-bezier(0.77, 0, 0.175, 1), opacity 0s;
}

.step-animation-container {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    padding: 20px;
}

.step-prompt-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #1F2937;
    font-weight: 500;
    border: 1px solid #e5e7eb;
    position: absolute;
    max-width: 95%;
    width: max-content;
    opacity: 0;
    transform: translateX(120vw);
    z-index: 20;
}

.step-bg.active .step-prompt-box {
    animation: promptSequence 8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.step-browser-frame {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    width: 90%;
    height: 85%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: absolute;
    opacity: 0;
    transform: scale(0.95) translateX(0);
    border: 1px solid #e5e7eb;
}

.step-bg.active .step-browser-frame {
    animation: browserSequence 8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes promptSequence {
    0% { transform: translateX(120vw); opacity: 0; }
    1%, 5% { transform: translateX(120vw); opacity: 1; }
    25%, 48% { transform: translateX(0); opacity: 1; }
    70% { transform: translateX(-120vw); opacity: 1; }
    71%, 95% { transform: translateX(-120vw); opacity: 0; }
    96%, 100% { transform: translateX(120vw); opacity: 0; }
}

@keyframes browserSequence {
    0%, 50% { opacity: 0; transform: scale(0.95) translateX(0); }
    65%, 78% { opacity: 1; transform: scale(1) translateX(0); }
    95% { opacity: 1; transform: scale(1) translateX(-120vw); }
    96%, 98% { opacity: 0; transform: scale(1) translateX(-120vw); }
    99%, 100% { opacity: 0; transform: scale(0.95) translateX(0); }
}

.step-prompt-arrow {
    background-color: #1F2937;
    transition: background-color 0.3s;
}

.step-bg.active .step-prompt-text {
    animation: typingSequence 8s steps(40, end) infinite;
    white-space: nowrap;
    overflow: hidden;
}

.step-bg.active .step-prompt-arrow {
    animation: buttonClickSequence 8s ease infinite;
    transform-origin: center;
}

@keyframes typingSequence {
    0%, 25% { clip-path: inset(0 100% 0 0); }
    40%, 70% { clip-path: inset(0 0 0 0); }
    71%, 100% { clip-path: inset(0 100% 0 0); }
}

@keyframes buttonClickSequence {
    0%, 38% { opacity: 0; transform: scale(0.5); background-color: #1F2937; }
    40%, 41% { opacity: 1; transform: scale(1); background-color: #1F2937; }
    43% { opacity: 1; transform: scale(0.85); background-color: #374151; }
    45%, 70% { opacity: 1; transform: scale(1); background-color: #10B981; }
    71%, 100% { opacity: 0; transform: scale(0.5); background-color: #1F2937; }
}

/* Fluid Gradient Backgrounds - High End Studio Mesh Effect */
.fluid-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(65px);
    opacity: 0.9;
    animation: fluid-float 12s infinite ease-in-out alternate;
    will-change: transform;
    transform: translateZ(0);
}

/* Card 1: Warm Fuzzy Heart (Ref: Screenshot 2026-03-29 at 6.27.22 PM.png) */
.step-bg:nth-child(1) .blob-1 { background: #ff3b6b; width: 60%; height: 60%; top: 5%; left: 5%; animation-delay: 0s; }
.step-bg:nth-child(1) .blob-2 { background: #ff9838; width: 60%; height: 60%; top: 5%; right: 5%; animation-delay: -4s; }
.step-bg:nth-child(1) .blob-3 { background: #e62222; width: 70%; height: 70%; bottom: -5%; left: 15%; animation-delay: -8s; }

/* Card 2: Cool Fuzzy Diamond */
.step-bg:nth-child(2) .blob-1 { background: #4f46e5; width: 55%; height: 55%; top: 15%; left: 15%; animation-delay: -2s; border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
.step-bg:nth-child(2) .blob-2 { background: #06b6d4; width: 55%; height: 55%; top: 25%; right: 15%; animation-delay: -6s; border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
.step-bg:nth-child(2) .blob-3 { background: #ec4899; width: 50%; height: 50%; bottom: 10%; left: 25%; animation-delay: -10s; border-radius: 50%; }

/* Card 3: Fresh Fuzzy Organic */
.step-bg:nth-child(3) .blob-1 { background: #10b981; width: 60%; height: 60%; top: 10%; left: 10%; animation-delay: -4s; border-radius: 50% 50% 30% 70% / 50% 50% 70% 50%; }
.step-bg:nth-child(3) .blob-2 { background: #3b82f6; width: 60%; height: 60%; bottom: 10%; right: 10%; animation-delay: -8s; border-radius: 40% 60% 50% 50% / 40% 50% 50% 60%; }
.step-bg:nth-child(3) .blob-3 { background: #f59e0b; width: 50%; height: 50%; top: 20%; left: 25%; animation-delay: -12s; border-radius: 50%; }

@keyframes fluid-float {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    33% { transform: translate(4%, -4%) scale(1.05) rotate(3deg); }
    66% { transform: translate(-3%, 4%) scale(0.95) rotate(-3deg); }
    100% { transform: translate(0, 0) scale(1) rotate(0deg); }
}

.tabs-section h2 {
  color: hsla(215, 28%, 17%, 1);
  font-size: 42px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  text-align: center;
  margin-bottom: 12px;
}

.tabs-subtitle {
  color: #4B5563;
  font-size: 1.125rem;
  font-weight: 300;
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
  font-family: 'Inter', sans-serif;
}

.tabbed-control {
  margin-top: 30px;
}

.tab-buttons-wrapper {
  position: relative;
  max-width: 100%;
}

.tab-buttons-wrapper::before,
.tab-buttons-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  pointer-events: none;
  z-index: 1;
}

.tab-buttons-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #ffffff, transparent);
}

.tab-buttons-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #ffffff, transparent);
}

.tab-buttons {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  padding: 0 30px; /* Add padding to prevent gradient overlap */
}

.tab-buttons::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

@media (max-width: 768px) {
  .tab-buttons {
    justify-content: flex-start;
    flex-wrap: nowrap;
    padding: 0 40px; /* Extra padding on mobile */
  }
  
  .tab-buttons-wrapper::before,
  .tab-buttons-wrapper::after {
    width: 40px; /* Wider gradient on mobile */
  }
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
  pointer-events: auto;
  flex-direction: row-reverse;
}

@media (max-width: 768px) {
  .hero-buttons {
    margin-top: 5rem !important;
  }
  
  .hero-free-text {
    margin-top: 0.25rem !important;
    margin-bottom: 0.25rem !important;
  }
}

.btn-experience-magic {
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #1F2937;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-weight: 600;
  padding: 0.8rem 2rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.10), 0 2px 4px rgba(0, 0, 0, 0.08);
}

.btn-experience-magic:hover,
.btn-experience-magic:focus {
  background-color: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  color: #1F2937;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15), 0 3px 6px rgba(0, 0, 0, 0.12);
}

.btn-waitlist {
  background-color: #9AFF72;
  color: #000;
  border-color: #9AFF72;
  font-weight: 600;
  padding: 0.8rem 2rem;
  transition: all 0.3s ease;
}

.btn-waitlist:hover,
.btn-waitlist:focus {
  background-color: #83e65a;
  border-color: #83e65a;
  color: #000;
}

/* Specific styling for the hero section Sign Up button if needed differently from general .btn-waitlist */
.btn-sign-up-hero {
  /* Add any specific styling here if it needs to differ from .btn-waitlist */
}

.chip-container-wrapper {
  margin-top: 3rem; /* Add space above the chips */
  width: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 11;
  padding: 10px 0; /* Add vertical padding to prevent cutoff on hover */
}

.chip-container {
  display: flex;
  width: fit-content;
  animation: scroll 60s linear infinite;
}

.chip-container:hover {
  animation-play-state: paused;
}

.chip-list {
  display: flex;
  gap: 20px;
  padding: 0 10px;
}

.chip {
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 12px 24px;
  border-radius: 50px;
  color: #1F2937;
  font-weight: 500;
  font-size: 1rem;
  white-space: nowrap;
  pointer-events: auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.chip:hover {
  transform: scale(1.1);
  border-color: #9AFF72;
  box-shadow: 0 0 15px #9AFF72;
}

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

.live-demo-section {
    padding: 80px 0 100px 0; /* Increased top padding to account for smaller navbar */
    background-color: #ffffff;
    z-index: 10;
    position: relative;
    pointer-events: auto;
}

/* Community Section Styles */
.community-section {
    padding: 100px 0;
    background-color: #ffffff;
    position: relative;
    z-index: 10;
}

.community-header {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    gap: 1.5rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.community-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0;
    color: #ffffff;
    background-color: #1F2937;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    flex-shrink: 0;
    position: relative;
    border: 3px solid #1F2937;
    box-shadow: 5px 5px 0 #FFD700;
}

.community-subtitle {
    font-size: 1rem;
    text-align: left;
    margin-bottom: 0;
    color: #4B5563;
    flex: 1;
}

.community-showcase {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 60px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.showcase-item {
    background: #ffffff;
    border: 2px solid #1F2937;
    border-radius: 2px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* Different hover effects for each showcase item */
.showcase-item:nth-child(3n+1) {
    box-shadow: 0 0 0 rgba(0, 229, 255, 0);
}

.showcase-item:nth-child(3n+1):hover {
    transform: translateY(-8px) rotateX(-5deg);
    box-shadow: 0 20px 40px rgba(0, 229, 255, 0.3);
    border-color: #00E5FF;
}

.showcase-item:nth-child(3n+2) {
    box-shadow: 0 0 0 rgba(255, 0, 170, 0);
}

.showcase-item:nth-child(3n+2):hover {
    transform: translateY(-8px) rotateY(5deg);
    box-shadow: 0 20px 40px rgba(255, 0, 170, 0.3);
    border-color: #FF00AA;
}

.showcase-item:nth-child(3n+3) {
    box-shadow: 0 0 0 rgba(154, 255, 114, 0);
}

.showcase-item:nth-child(3n+3):hover {
    transform: translateY(-8px) rotateX(5deg);
    box-shadow: 0 20px 40px rgba(154, 255, 114, 0.3);
    border-color: #9AFF72;
}

.showcase-preview {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #000;
}

.showcase-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
    filter: grayscale(0);
}

/* Color blocks for showcase items */
.color-block {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.color-block-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.color-block-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.color-block-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.color-block-4 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.color-block-5 {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.color-block-6 {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.color-block-7 {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.color-block-8 {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

.color-block-9 {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.color-block-10 {
    background: linear-gradient(135deg, #c471f5 0%, #fa71cd 100%);
}

.color-block-11 {
    background: linear-gradient(135deg, #48c6ef 0%, #6f86d6 100%);
}

.color-block-12 {
    background: linear-gradient(135deg, #feada6 0%, #f5efef 100%);
}

.showcase-item:hover .showcase-image {
    transform: scale(1.1);
    filter: grayscale(20%) contrast(1.2);
}

.showcase-item:hover .color-block {
    transform: scale(1.1);
    filter: brightness(1.1) saturate(1.2);
}

/* Unique overlay effects */
.showcase-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

/* Glitch effect overlay for every 3rd item */
.showcase-item:nth-child(3n+1) .showcase-overlay {
    background: linear-gradient(45deg, rgba(0, 229, 255, 0.9), rgba(154, 255, 114, 0.9));
    clip-path: polygon(0 0, 100% 0, 100% 75%, 0 100%);
}

.showcase-item:nth-child(3n+2) .showcase-overlay {
    background: linear-gradient(-45deg, rgba(255, 0, 170, 0.9), rgba(0, 229, 255, 0.9));
    clip-path: polygon(0 25%, 100% 0, 100% 100%, 0 100%);
}

.showcase-item:nth-child(3n+3) .showcase-overlay {
    background: linear-gradient(90deg, rgba(154, 255, 114, 0.9), rgba(255, 0, 170, 0.9));
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 75%);
}

.showcase-item:hover .showcase-overlay {
    opacity: 1;
    pointer-events: all;
}

.btn-view-site {
    background: transparent;
    color: #ffffff;
    padding: 12px 24px;
    border: 2px solid #ffffff;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
    position: relative;
    overflow: hidden;
}

.btn-view-site::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #ffffff;
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-view-site:hover {
    color: #1F2937;
}

.btn-view-site:hover::before {
    left: 0;
}

.showcase-info {
    padding: 20px;
    background: #ffffff;
    position: relative;
}

/* Add corner accent to showcase info */
.showcase-info::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 40px 40px 0;
    border-color: transparent;
    transition: all 0.3s ease;
}

.showcase-item:nth-child(3n+1) .showcase-info::before {
    border-color: transparent #00E5FF transparent transparent;
}

.showcase-item:nth-child(3n+2) .showcase-info::before {
    border-color: transparent #FF00AA transparent transparent;
}

.showcase-item:nth-child(3n+3) .showcase-info::before {
    border-color: transparent #9AFF72 transparent transparent;
}

.showcase-item:hover .showcase-info::before {
    border-width: 0 60px 60px 0;
}

.showcase-info h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 4px;
    transition: all 0.3s ease;
}

.showcase-item:hover .showcase-info h4 {
    transform: translateX(5px);
}

.showcase-info p {
    font-size: 0.875rem;
    color: #6B7280;
    margin-bottom: 12px;
    font-weight: 500;
}

.showcase-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    background: transparent;
    color: #1F2937;
    padding: 4px 12px;
    border: none;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.showcase-item:hover .tag {
    background: #1F2937;
    color: #ffffff;
}

/* Interactive stats that appear on hover */
.showcase-stats {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(31, 41, 55, 0.95);
    padding: 15px;
    border-radius: 8px;
    display: flex;
    justify-content: space-around;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.showcase-item:hover .showcase-stats {
    opacity: 1;
    transform: translateY(0);
}

.stat-item {
    text-align: center;
    color: #ffffff;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    display: block;
    margin-bottom: 2px;
}

.stat-label {
    font-size: 0.75rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.community-cta {
    text-align: center;
    margin-top: 80px;
}

.btn-see-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #1F2937;
    color: #fff;
    border: 2px solid #1F2937;
    text-decoration: none;
    font-weight: 600;
    padding: 0.8rem 2rem;
    transition: all 0.3s ease;
    border-radius: 0.375rem;
    font-size: 1rem;
    text-transform: none;
    letter-spacing: normal;
}

.btn-see-all:hover,
.btn-see-all:focus {
    background-color: #374151;
    border-color: #374151;
    color: #fff;
    transform: none;
}

.btn-see-all i {
    transition: transform 0.3s ease;
}

.btn-see-all:hover i {
    transform: translateX(4px);
}

/* Features Section Styles */
.features-section {
    padding: 100px 0 80px 0; /* Added 80px bottom padding */
    background-color: rgba(249, 250, 251, 0.5); /* More transparent light gray */
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    position: relative;
    z-index: 10;
}

.features-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    margin-bottom: 60px;
    padding: 0 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    justify-content: flex-start;
}

.features-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0;
    color: #ffffff;
    background-color: #1F2937;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    display: inline-block;
    flex-shrink: 0;
    position: relative;
    border: 3px solid #1F2937;
    box-shadow: 5px 5px 0 #00B4D8;
}

/* Override shadow color for demo section title */
.demo-header .features-title {
    box-shadow: 5px 5px 0 #9AFF72;
}

.features-subtitle {
    font-size: 1rem;
    text-align: left;
    margin-bottom: 0;
    color: #4B5563;
    margin-top: 0;
    flex: 1;
}

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

/* Container for the first two features */
.features-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.feature-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 30px;
    border-radius: 8px;
}

/* Individual feature block colors */
.feature-ai {
    background-color: rgba(225, 245, 230, 0.6); /* More transparent pastel green */
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.feature-ai:hover {
    border-color: #00E5FF; /* Neon cyan */
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}

.feature-production {
    background-color: rgba(254, 183, 232, 0.6); /* More transparent pink */
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: stretch;
}

.feature-production:hover {
    border-color: #FF00AA; /* Neon pink */
    box-shadow: 0 0 20px rgba(255, 0, 170, 0.4);
}

/* Specific padding for content sections in all features */
.feature-ai .feature-content,
.feature-production .feature-content,
.feature-freedom .feature-content {
    padding: 20px 30px;
}

/* Full-width feature wrapper */
.feature-freedom-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.feature-freedom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
    background-color: rgba(254, 249, 182, 0.6); /* More transparent yellow */
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
    overflow: hidden;
    padding: 0;
}

.feature-freedom:hover {
    border-color: #FFD700; /* Neon yellow/gold */
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.feature-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Reduce padding specifically for the text sections in feature cards */
.feature-ai .feature-content,
.feature-production .feature-content {
    padding: 20px 30px;
}

.feature-header-inline {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #10B981;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.feature-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1F2937;
    margin: 0;
}

.feature-text p {
    font-size: 1rem;
    color: #4B5563;
    line-height: 1.6;
    margin-bottom: 16px;
}

.feature-benefits {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #4B5563;
}

.benefit-item i {
    color: #9AFF72;
    font-size: 14px;
}

.feature-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

/* Full-width visual for all features */
.feature-ai .feature-visual,
.feature-production .feature-visual,
.feature-freedom .feature-visual {
    padding: 0;
    background: rgba(255, 255, 255, 0.2); /* Even more transparent for subtle effect */
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    flex: 1;
    display: flex;
    align-items: stretch;
    min-height: 0;
}

/* Feature Demo Window */
.feature-demo-window {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Full-width demo window for AI feature */
.feature-ai .feature-demo-window {
    border-radius: 0;
    border: none;
    border-top: 1px solid rgba(229, 231, 235, 0.5);
    box-shadow: none;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff; /* Changed to white */
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
}

.demo-typing {
    margin-bottom: 20px;
}

.typing-text {
    color: #1F2937;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    background: #f0fdf4;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #9AFF72;
    font-style: italic;
}

/* Recipe steps visualization */
.recipe-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.recipe-step {
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    animation: fadeInStep 0.5s ease forwards;
}

.recipe-step:nth-child(1) {
    animation-delay: 0.5s;
}

.recipe-step:nth-child(2) {
    animation-delay: 1s;
}

.recipe-step:nth-child(3) {
    animation-delay: 1.5s;
}

@keyframes fadeInStep {
    to {
        opacity: 1;
    }
}

.step-number {
    width: 28px;
    height: 28px;
    background: #10B981;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.step-text {
    color: #4B5563;
    font-size: 14px;
}

/* Design showcase for feature 2 */
.design-showcase {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-production .design-showcase {
    border-radius: 0;
    border: none;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: none;
}

.design-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.design-title {
    color: #1F2937;
    font-size: 14px;
    font-weight: 600;
}

.design-actions {
    display: flex;
    gap: 12px;
}

.design-actions i {
    color: #6B7280;
    font-size: 14px;
    transition: color 0.2s ease;
}

.design-actions i:hover {
    color: #9AFF72;
}

.design-preview {
    padding: 24px;
    background: #f9fafb;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.color-palette {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.color-swatch {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.color-swatch:hover {
    transform: scale(1.1);
}

.design-elements {
    text-align: center;
}

.design-text {
    font-size: 24px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 8px;
}

.design-subtext {
    font-size: 14px;
    color: #6B7280;
    margin: 0;
}

/* Ease demo for feature 3 */
.ease-demo {
    background: #ffffff; /* Changed to white */
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    border: none;
    border-radius: 0;
    padding: 24px;
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: none;
    border-left: 1px solid rgba(229, 231, 235, 0.5);
}

.ease-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-card {
    text-align: center;
    padding: 20px 10px;
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.stat-icon i {
    font-size: 24px;
    color: #10B981;
}

.stat-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #1F2937;
}

.stat-label {
    font-size: 12px;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ai-thinking {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.thinking-dot {
    width: 8px;
    height: 8px;
    background: #9AFF72;
    border-radius: 50%;
    animation: thinking 1.4s infinite ease-in-out both;
}

.thinking-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.thinking-dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes thinking {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Code Preview Window */
.code-preview {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Full-width code preview for production feature */
.feature-production .code-preview {
    border-radius: 0;
    border: none;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: none;
}

.code-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.code-filename {
    color: #1F2937;
    font-size: 14px;
    font-weight: 600;
}

.code-actions {
    display: flex;
    gap: 12px;
}

.code-actions i {
    color: #6B7280;
    font-size: 14px;
    transition: color 0.2s ease;
}

.code-actions i:hover {
    color: #9AFF72;
}

.code-content {
    padding: 24px;
    background: #f9fafb;
}

.code-content pre {
    margin: 0;
    color: #1F2937;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.8;
}

.code-content code {
    color: inherit;
    background: none;
    padding: 0;
}

/* Add some syntax highlighting colors for the code preview */
.code-content .check {
    color: #10b981;
    font-weight: 600;
}

/* Export Demo */
.export-demo {
    background: rgba(255, 255, 255, 0.5);
    border: none;
    border-radius: 0;
    padding: 24px;
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: none;
    border-left: 1px solid #e5e7eb;
}

.export-options {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
}

.export-option {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.export-option:hover {
    border-color: #9AFF72;
    transform: translateY(-2px);
    background: #ffffff;
}

.export-option.active {
    border-color: #9AFF72;
    background: #f0fdf4;
}

.export-option i {
    font-size: 32px;
    color: #4B5563;
}

.export-option span {
    font-size: 14px;
    font-weight: 500;
    color: #1F2937;
}

.btn-export {
    background: #1F2937;
    color: #ffffff;
    border: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-export:hover {
    background: #374151;
}

.use-case-toggles {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.use-case-toggle {
    background: none;
    border: none;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 400;
    color: #4B5563;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
}

.use-case-toggle:hover {
    color: #1F2937;
}

.use-case-toggle.active {
    background-color: #E5E7EB;
    color: #1F2937;
    font-weight: 500;
}

.demo-background-block {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 450px;
    background-color: #9AFF72;
    z-index: -1;
    margin-top: 40px; /* Offset to align with browser mockup */
}

.demo-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    margin-bottom: 60px;
    padding: 0 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    justify-content: flex-start;
}

/* Remove old section-title styles - now using features-title */

/* Browser Mockup Styles */
.browser-mockup {
    max-width: 1200px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.browser-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #f5f0e6;
    border-bottom: 1px solid #e5ddd3;
}

.browser-controls {
    display: flex;
    gap: 8px;
}

.browser-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: block;
}

.browser-dot-red {
    background: #ff5f57;
}

.browser-dot-yellow {
    background: #ffbd2e;
}

.browser-dot-green {
    background: #28ca42;
}

.browser-address-bar {
    flex: 1;
    margin: 0 20px;
    padding: 8px 16px;
    background: #ffffff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #4B5563;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.browser-address-bar i {
    font-size: 12px;
    color: #28ca42;
}

.browser-actions {
    display: flex;
    align-items: center;
    color: #4B5563;
}

.browser-actions i {
    font-size: 14px;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background 0.2s;
}

.browser-actions i:hover {
    background: #e5e5e7;
}

.browser-content {
    height: 600px;
    background: #ffffff;
}

/* Demo Interface Styles */
.demo-interface {
    display: flex;
    height: 100%;
}

.demo-sidebar {
    width: 320px;
    background: #f8f9fa;
    padding: 24px;
    border-right: 1px solid #e5e5e7;
    overflow-y: auto;
}

.demo-prompt-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1F2937;
}

.demo-prompt {
    background: #ffffff;
    border: 1px solid #e5e5e7;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
}

.demo-prompt p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #4B5563;
}

.btn-generate {
    width: 100%;
    background: #1F2937;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.3s;
    cursor: pointer;
}

.btn-generate:hover {
    background: #374151;
}

.demo-options {
    margin-top: 32px;
}

.demo-options h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1F2937;
}

.demo-option-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #ffffff;
    border: 1px solid #e5e5e7;
    border-radius: 6px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #4B5563;
    transition: all 0.2s;
}

.demo-option-item:hover {
    border-color: #9AFF72;
    box-shadow: 0 2px 8px rgba(154, 255, 114, 0.2);
}

.demo-option-item i {
    color: #9AFF72;
}

.demo-preview {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.demo-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid #e5e5e7;
}

.demo-preview-title {
    font-weight: 600;
    color: #1F2937;
}

.demo-preview-devices {
    display: flex;
    gap: 16px;
}

.demo-preview-devices i {
    font-size: 16px;
    color: #9CA3AF;
    cursor: pointer;
    transition: color 0.2s;
}

.demo-preview-devices i:hover,
.demo-preview-devices i.active {
    color: #1F2937;
}

.demo-preview-content {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: #f5f5f7;
}

.demo-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    display: none;
}

.demo-loading.active {
    display: block;
}

.demo-loading-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid #e5e5e7;
    border-top-color: #9AFF72;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.demo-loading p {
    color: #4B5563;
    font-size: 14px;
}

.demo-website-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

/* Tablet styles */
@media (max-width: 1024px) {
  .community-showcase {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Medium tablet styles */
@media (max-width: 900px) {
  .community-showcase {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Navbar mobile styles */
  .navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
  }

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

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

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  .btn-lg {
    width: 100%;
    max-width: 280px; /* Adjust max-width for mobile buttons if needed */
  }

  .demo-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .row {
    flex-direction: column;
  }

  .browser-mockup {
    margin: 0 20px;
  }

  .use-case-toggles {
    padding: 0 20px;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .use-case-toggle {
    white-space: nowrap;
    font-size: 13px;
    padding: 6px 16px;
  }

  .demo-background-block {
    height: 250px;
  }

  .demo-interface {
    flex-direction: column;
  }

  .demo-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #e5e5e7;
    max-height: 300px;
  }

  .browser-content {
    height: 500px;
  }


  /* Features section mobile styles */
  .features-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .features-title {
    font-size: 1.8rem;
  }

  .features-subtitle {
    font-size: 0.9rem;
    text-align: left;
  }

  .features-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-block {
    padding: 20px;
  }

  .feature-visual {
    margin-top: 20px;
    padding: 20px;
  }

  /* Mobile: Full-width visual for all features */
  .feature-ai .feature-visual,
  .feature-production .feature-visual,
  .feature-freedom .feature-visual {
    padding: 0;
    margin-top: 0;
  }

  .feature-ai .feature-content,
  .feature-production .feature-content,
  .feature-freedom .feature-content {
    padding: 15px 20px;
  }

  .feature-freedom-wrapper {
    padding: 0 20px;
    margin-top: 20px;
  }

  .feature-freedom {
    grid-template-columns: 1fr;
    gap: 0;
    flex-direction: column;
  }

  .feature-freedom .feature-visual {
    order: 2;
    border-left: none;
    border-top: 1px solid #e5e7eb;
  }

  .feature-text h3 {
    font-size: 1.1rem;
  }

  .feature-text p {
    font-size: 0.9rem;
  }

  .feature-icon {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .feature-demo-window,
  .code-preview,
  .export-demo {
    max-width: 100%;
  }

  .export-options {
    flex-wrap: wrap;
  }

  .export-option {
    padding: 12px 16px;
  }

  .export-option i {
    font-size: 24px;
  }

  /* Community section mobile styles */
  .community-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .community-showcase {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0 20px;
  }

  .showcase-item {
    max-width: 100%;
  }

  .showcase-item:hover {
    transform: translateY(-5px);
  }

  .showcase-item:nth-child(3n+1):hover,
  .showcase-item:nth-child(3n+2):hover,
  .showcase-item:nth-child(3n+3):hover {
    transform: translateY(-5px) rotateX(0) rotateY(0);
  }

  .community-title {
    font-size: 1.8rem;
    box-shadow: 3px 3px 0 #FFD700;
  }

  .community-subtitle {
    font-size: 0.9rem;
    text-align: left;
  }

  .btn-see-all {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
  }

  .showcase-stats {
    padding: 10px;
  }

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

  .stat-label {
    font-size: 0.65rem;
  }
}

.signup-page {
    background: #ffffff; /* A soft, light blue-gray background */
}

/* Interactive Bento Grid Layout */
.interactive-bento-grid {
    display: grid;
    grid-template-areas:
        "c1 c2 c2"
        "c1 c3 c3"
        "c4 c4 c5"
        "c4 c4 c5";
    grid-template-columns: 5fr 3fr 4fr;
    grid-template-rows: 1fr 1fr 1fr 1fr;
    gap: 2px;
    background: #D0C8B8;
    border: 2px solid #D0C8B8;
    border-radius: 26px;
    overflow: hidden;
    height: 600px;
    width: 100%;
    max-width: 1000px;
    margin: 40px auto 0;
    padding: 0;
    transition: grid-template-columns 0.7s cubic-bezier(0.25, 1, 0.2, 1),
                grid-template-rows 0.7s cubic-bezier(0.25, 1, 0.2, 1);
}

/* Active States for Grid Tracks (Uniform 66% Height & 75% Width) */
.interactive-bento-grid[data-active="0"] {
    grid-template-columns: 18fr 3fr 3fr;
    grid-template-rows: 6fr 6fr 3fr 3fr;
}
.interactive-bento-grid[data-active="1"] {
    grid-template-columns: 6fr 9fr 9fr;
    grid-template-rows: 12fr 2fr 2fr 2fr;
}
.interactive-bento-grid[data-active="2"] {
    grid-template-columns: 6fr 9fr 9fr;
    grid-template-rows: 2fr 12fr 2fr 2fr;
}
.interactive-bento-grid[data-active="3"] {
    grid-template-columns: 9fr 9fr 6fr;
    grid-template-rows: 3fr 3fr 6fr 6fr;
}
.interactive-bento-grid[data-active="4"] {
    grid-template-columns: 3fr 3fr 18fr;
    grid-template-rows: 3fr 3fr 6fr 6fr;
}

.i-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
    background: #D0C8B8;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    min-width: 0;
    min-height: 0;
}

.i-card-1 { grid-area: c1; }
.i-card-2 { grid-area: c2; }
.i-card-3 { grid-area: c3; }
.i-card-4 { grid-area: c4; }
.i-card-5 { grid-area: c5; }

.i-card.active {
    cursor: default;
}

.i-card video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: opacity 0.5s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    filter: grayscale(0%);
}

.i-card.active video {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.02);
}

.i-card-overlay {
    position: absolute;
    inset: 0;
    /* Warmer, natural blended overlay concentrated near the bottom */
    background: linear-gradient(to top, rgba(70, 35, 15, 0.65) 0%, rgba(70, 35, 15, 0.15) 25%, transparent 45%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.i-card.active .i-card-overlay {
    opacity: 1;
}

.i-card-content {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.2, 1);
    pointer-events: none;
}

.i-card.active .i-card-content {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.i-card-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 15px rgba(48, 42, 36, 0.4);
}

.i-card-subtitle {
    font-size: 14px;
    color: rgba(255,255,255,0.95);
    margin: 0;
    text-shadow: 0 2px 15px rgba(48, 42, 36, 0.4);
}

.i-card-plus {
    position: absolute;
    top: 14px;
    right: 14px;
    transform: scale(1);
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1F2937;
    font-size: 14px;
    opacity: 1;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.i-card.active .i-card-plus {
    opacity: 0;
    transform: scale(0.8);
}

.i-card:not(.active):hover .i-card-plus {
    background: #111827;
    color: #ffffff;
    border-color: #111827;
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.i-card:not(.active):hover video {
    transform: scale(1.05);
}

.i-card-label-small {
    position: absolute;
    bottom: 0;
    left: 0;
    background: #ffffff;
    border-top: 2px solid #D0C8B8;
    border-right: 2px solid #D0C8B8;
    padding: 12px 20px;
    border-radius: 0 24px 0 0;
    white-space: nowrap;
    color: #1F2937;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 1;
    transition: opacity 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

.i-card.active .i-card-label-small {
    opacity: 0;
}

@media (max-width: 991px) {
    .interactive-bento-grid {
        height: 500px;
    }
    .i-card-label-small {
        font-size: 11px;
        padding: 10px 16px;
    }
}

@media (max-width: 768px) {
    .interactive-bento-grid {
        display: flex;
        flex-direction: column;
        height: 700px;
        gap: 2px;
        background: #D0C8B8;
        border: 2px solid #D0C8B8;
        border-radius: 26px;
        overflow: hidden;
        padding: 0;
        margin: 40px auto 0;
        width: 100%;
        transition: none;
    }
    .i-card {
        flex: 1;
        border-radius: 24px;
        transition: flex 0.7s cubic-bezier(0.25, 1, 0.2, 1), transform 0.3s ease;
    }
    .i-card.active {
        flex: 4;
    }
    .i-card-content {
        bottom: 16px;
        left: 16px;
        right: 16px;
    }
    .i-card-title {
        font-size: 18px;
    }
    .i-card-subtitle {
        font-size: 12px;
    }
    .i-card-label-small {
        font-size: 12px;
        padding: 10px 16px;
    }
}

/* Rainbow shimmer effect */
.shimmer-text {
    display: inline-block;
    color: #1F2937;
    transition: color 0.3s ease;
}

.shimmer-text.shimmer-active {
    background: linear-gradient(
        90deg,
        #2b2727 0%,
        #a45cba 25%,
        #0a7eba 50%,
        #2e11c2 75%,
        #2b2727 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 2s ease-in-out 1;
}

@keyframes shimmer {
    0% {
        background-position: 200% center;
    }
    99% {
        background-position: -200% center;
    }
    100% {
        background-position: -200% center;
        -webkit-text-fill-color: #1F2937;
        color: #1F2937;
    }
}

/* Hero Showcase Images (Behind Video) */
.hero-showcase-container {
    position: absolute;
    left: 50%;
    transform: translate(-50%, calc(-50% - 35px));
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 50; /* Behind floating-video-container (z-index: 100) */
    pointer-events: none;
}

.hero-bg-img {
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15), 0 0 0 1px rgba(255,255,255,0.4) inset;
    object-fit: cover;
    flex-shrink: 0;
    background: #f9fafb;
    transition: transform 0.5s ease;
}

.hero-bg-img.desktop {
    width: clamp(180px, 22vw, 400px);
    aspect-ratio: 16/10;
}

.hero-bg-img.mobile {
    width: clamp(90px, 11vw, 200px);
    aspect-ratio: 9/19;
    border-radius: 24px;
}

.hero-bg-img + .hero-bg-img {
    margin-left: -6vw;
}

.hero-bg-img:nth-child(1) { transform: translateY(80px) rotate(-14deg); z-index: 1; opacity: 1; margin-right: -2vw; }
.hero-bg-img:nth-child(2) { transform: translateY(-30px) rotate(-6deg); z-index: 2; opacity: 1; }
.hero-bg-img:nth-child(3) { transform: translateY(20px) rotate(-3deg); z-index: 1; opacity: 1; }
.hero-bg-img:nth-child(4) { transform: translateY(-110px) rotate(2deg); z-index: 0; opacity: 1; }
.hero-bg-img:nth-child(5) { transform: translateY(30px) rotate(4deg); z-index: 1; opacity: 1; }
.hero-bg-img:nth-child(6) { transform: translateY(-40px) rotate(8deg); z-index: 2; opacity: 1; }
.hero-bg-img:nth-child(7) { transform: translateY(90px) rotate(15deg); z-index: 1; opacity: 1; margin-left: -2vw; }

@media (max-width: 768px) {
    .hero-showcase-container {
        transform: translate(-50%, calc(-50% - 20px));
        width: 120vw; /* Stretch a bit more on mobile to prevent clipping issues */
    }
    .hero-bg-img + .hero-bg-img {
        margin-left: -10vw;
    }
    .hero-bg-img:nth-child(1) { transform: translateY(40px) rotate(-10deg); }
    .hero-bg-img:nth-child(2) { transform: translateY(-20px) rotate(-5deg); }
    .hero-bg-img:nth-child(3) { transform: translateY(10px) rotate(-2deg); }
    .hero-bg-img:nth-child(4) { transform: translateY(-60px) rotate(2deg); }
    .hero-bg-img:nth-child(5) { transform: translateY(15px) rotate(4deg); }
    .hero-bg-img:nth-child(6) { transform: translateY(-20px) rotate(7deg); }
    .hero-bg-img:nth-child(7) { transform: translateY(45px) rotate(12deg); }
}

.floating-video-container {
    position: absolute;
    left: 50%;
    transform: translate(-50%, calc(-50% - 35px));
    width: 90%;
    max-width: 600px;
    z-index: 100;
    pointer-events: auto;
}

.examples-hover-tip {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #4B5563;
    font-size: 14px;
    font-weight: 600;
    animation: bounceSmall 2s infinite;
    pointer-events: auto;
    cursor: pointer;
    transition: color 0.3s ease;
}

.examples-hover-tip:hover {
    color: #1F2937;
}

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

.floating-video {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .floating-video-container {
        width: 95%;
        max-width: 500px;
    }
}

/* Footer Container & Background Effect */
#get-started-cta {
    min-height: 400px;
    padding: 0;
    background-color: #1F2937;
    align-items: center;
    position: relative;
    z-index: 10;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
#cta-particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}
#get-started-cta::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)" opacity="0.15"/%3E%3C/svg%3E');
    pointer-events: none;
    z-index: 1;
}

/* Typography & Banner Link */
.cta-banner-link {
    font-family: 'Instrument Serif', serif;
    text-decoration: none;
    margin-top: calc(-0.06em + 3px);
    margin-bottom: 0;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    z-index: 2;
    font-size: 18vw;
    padding: 0;
    letter-spacing: -0.04em;
    width: 100%;
    display: block;
    white-space: nowrap;
    line-height: 0.72;
    color: #ffffff;
    text-align: center;
}
.cta-banner-link:hover {
    color: #ffffff;
    opacity: 1;
}

/* Arrows */
@media (min-width: 769px) {
    .desktop-get-starborn-wrapper {
        position: relative;
        display: inline-block;
    }
    .desktop-get-starborn-wrapper::before,
    .desktop-get-starborn-wrapper::after {
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        position: absolute;
        color: #9AFF72;
        font-size: 6vw;
        z-index: 10;
        bottom: -5vw;
    }
    .desktop-get-starborn-wrapper::before {
        content: '\f178';
        left: -3vw;
        transform: rotate(-45deg);
    }
    .desktop-get-starborn-wrapper::after {
        content: '\f177';
        right: -3vw;
        transform: rotate(45deg);
    }
}

/* Mobile Adjustments for Typography */
@media (max-width: 768px) {
    #get-started-cta { min-height: 300px; }
    .cta-banner-link { font-size: 23vw; line-height: 0.85; margin-top: calc(-0.06em + 1px); }
    .cta-banner-link .d-md-none { font-size: 23vw; }
    .get-wrapper { position: relative; display: inline-block; }
    .get-wrapper::before, .get-wrapper::after {
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        color: #9AFF72;
        font-size: 9vw;
        z-index: 10;
    }
    .get-wrapper::before { content: '\f178'; right: 100%; margin-right: 4vw; }
    .get-wrapper::after { content: '\f177'; left: 100%; margin-left: 4vw; }
}

/* Base Footer Elements */
.footer-section { background-color: transparent; color: #ffffff; padding: 0; width: 100%; }
.footer-content { max-width: 1200px; margin: 0 auto; padding: 0 20px 60px; }
.footer-main { display: flex; justify-content: space-between; align-items: flex-end; gap: 80px; margin-bottom: 60px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-logo { height: 32px; width: auto; max-width: 150px; object-fit: contain; }
.footer-tagline { font-size: 1rem; color: #9CA3AF; margin: 0; font-family: 'Inter', sans-serif;}

/* Neon Sparkle Animation */
.starborn-footer-logo { opacity: 0.8; transition: all 0.3s ease; animation: neon-sparkle 8s infinite; }
.starborn-footer-logo:hover { opacity: 1; filter: drop-shadow(-3px -3px 8px rgba(255, 179, 71, 0.4)) drop-shadow(3px 3px 8px rgba(135, 206, 250, 0.4)) brightness(1.02); animation: none; }
@keyframes neon-sparkle {
    0%, 85%, 100% { filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0)) brightness(1); }
    92% { filter: drop-shadow(-4px -4px 12px rgba(255, 179, 71, 0.6)) drop-shadow(4px 4px 12px rgba(135, 206, 250, 0.6)) brightness(1.05); }
}

/* Footer Bottom Row */
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-family: 'Inter', sans-serif; }
.footer-copyright p { margin: 0; font-size: 0.875rem; color: #9CA3AF; }
.footer-legal-links { display: flex; align-items: center; gap: 12px; }
.footer-legal-links a { color: #9CA3AF; text-decoration: none; font-size: 0.875rem; transition: color 0.2s ease; }
.footer-legal-links a:hover { color: #ffffff; text-decoration: underline; }
.footer-link-separator { color: #4B5563; font-size: 0.75rem; }

/* Mobile Footer Layout */
@media (max-width: 768px) {
    .footer-main { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 20px; }
    .footer-made-with img { height: 48px !important; width: auto; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
    .footer-copyright { text-align: left; width: 100%; }
    .footer-legal-links { order: 2; display: grid; grid-template-columns: 1fr 1fr; width: 100%; gap: 0; }
    .footer-legal-links a { text-align: left; }
    .footer-link-separator { display: none; }
}

/* Scramble Text Animation */
.scramble-char {
    opacity: 0.5;
    color: #9CA3AF;
    font-family: monospace;
}

/* Hero Chat Input */
@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.typing-cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background-color: #9CA3AF;
  vertical-align: text-bottom;
  animation: blink-cursor 1s step-end infinite;
  margin-left: 2px;
}
.hero-chat-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 16px;
}
.hero-chat-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px 24px;
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 160px;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.hero-chat-container:hover .hero-chat-box {
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.1);
    border-color: rgba(0,0,0,0.15);
}
.hero-chat-text {
    height: 82px;
    font-size: 18px;
    color: #4B5563;
    font-weight: 400;
    margin-bottom: 20px;
    line-height: 1.5;
}
.hero-chat-bottom {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
@media (max-width: 768px) {
    .hero-chat-container {
        padding: 0 16px;
    }
    .hero-chat-box {
        padding: 16px;
        height: 140px;
    }
    .hero-chat-text {
        height: 72px;
        font-size: 16px;
        margin-bottom: 16px;
    }
}

/* Rolling Banner Section */
.rolling-banner-section {
    padding: 80px 0 160px 0;
    background-color: #ffffff;
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.rolling-banner-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 250px;
    background: linear-gradient(to bottom, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

.rolling-banner-section::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 250px;
    background: linear-gradient(to top, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

@media (max-width: 768px) {
    .rolling-banner-section { padding: 40px 0 60px 0; }
}

.beyond-header {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.beyond-title {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(3.5rem, 6vw, 5rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    color: #111827;
    margin-bottom: 16px;
    line-height: 0.95;
}

.beyond-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    line-height: 1.6;
    color: #6B7280;
    margin: 0 auto 32px auto;
    max-width: 540px;
}

/* Gradient Background */
.banner-animated-bg-container {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    -webkit-mask-image: radial-gradient(ellipse at 50% 40%, black 20%, transparent 75%);
    mask-image: radial-gradient(ellipse at 50% 40%, black 20%, transparent 75%);
}

.banner-animated-bg {
    position: absolute;
    top: -20%; left: -20%; width: 140%; height: 140%;
    background: linear-gradient(120deg, 
        rgba(154, 255, 114, 0.4) 0%,    /* Brand Mint */
        rgba(135, 206, 250, 0.4) 33%,   /* Sky Blue */
        rgba(216, 180, 226, 0.4) 66%,   /* Muted Lavender */
        rgba(255, 228, 196, 0.4) 100%); /* Pale Peach */
    background-size: 200% 200%;
    filter: blur(80px);
    animation: panGradient 15s ease-in-out infinite alternate;
    opacity: 0.85;
}

@keyframes panGradient {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* Rolling Tracks */
.rolling-banner-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.rolling-banner-row {
    display: flex;
    width: 100%;
    overflow: hidden;
}

.rolling-banner-track {
    display: flex;
    gap: 16px;
    width: max-content;
}

.rolling-banner-track.roll-left { animation: marquee-roll-left 40s linear infinite; }
.rolling-banner-track.roll-right { animation: marquee-roll-right 40s linear infinite; }

@keyframes marquee-roll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 8px)); }
}

@keyframes marquee-roll-right {
    0% { transform: translateX(calc(-50% - 8px)); }
    100% { transform: translateX(0); }
}

/* Cards */
.banner-card {
    flex: 0 0 240px;
    height: 60px;
    perspective: 1000px;
    cursor: pointer;
}

.banner-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.banner-card:hover .banner-card-inner { transform: rotateX(180deg); }

.banner-card-front, .banner-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 28px;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    padding: 0 16px;
    white-space: nowrap;
    border: 1px solid rgba(0,0,0,0.05);
}

.banner-card.italic .banner-card-front,
.banner-card.italic .banner-card-back {
    font-style: italic;
}

.banner-card-front { 
    transform: rotateX(0deg); 
    background-color: #ffffff; 
    color: #000000; 
    transition: background-color 0.3s;
}
.banner-card:hover .banner-card-front { background-color: #f9fafb; }

.banner-card-back {
    transform: rotateX(180deg);
    background-color: #111827 !important;
    color: #ffffff !important;
    position: relative;
    overflow: hidden;
}

/* Confetti Effect */
.banner-card-back::before, .banner-card-back::after {
    content: '';
    position: absolute;
    left: -50%; right: -50%; top: -50%; bottom: -50%;
    background-repeat: no-repeat;
    opacity: 0;
    pointer-events: none;
    z-index: 0;
    filter: drop-shadow(0 0 4px rgba(255,255,255,0.4)) drop-shadow(0 0 8px rgba(255,255,255,0.2));
}

.banner-card-back::before {
    background-image: 
        url("data:image/svg+xml,%3Csvg viewBox='0 0 50 50' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 0 Q8 8 16 8 Q8 8 8 16 Q8 8 0 8 Q8 8 8 0 Z' fill='%23FFFFFF'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 50 50' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 0 Q6 6 12 6 Q6 6 6 12 Q6 6 0 6 Q6 6 6 0 Z' fill='%23FFD700'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 50 50' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 0 Q7 7 14 7 Q7 7 7 14 Q7 7 0 7 Q7 7 7 0 Z' fill='%23FFFFFF'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 50 50' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 0 Q5 5 10 5 Q5 5 5 10 Q5 5 0 5 Q5 5 5 0 Z' fill='%23FFD700'/%3E%3C/svg%3E");
    background-size: 20px 20px, 14px 14px, 24px 24px, 12px 12px;
    background-position: 48% 45%, 52% 48%, 45% 52%, 55% 55%;
}

.banner-card-back::after {
    background-image: 
        url("data:image/svg+xml,%3Csvg viewBox='0 0 45 45' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 0 Q7 7 14 7 Q7 7 7 14 Q7 7 0 7 Q7 7 7 0 Z' fill='%23FFD700'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 45 45' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 0 Q9 9 18 9 Q9 9 9 18 Q9 9 0 9 Q9 9 9 0 Z' fill='%23FFFFFF'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 45 45' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 0 Q5 5 10 5 Q5 5 5 10 Q5 5 0 5 Q5 5 5 0 Z' fill='%23FFD700'/%3E%3C/svg%3E");
    background-size: 18px 18px, 26px 26px, 14px 14px;
    background-position: 50% 40%, 60% 50%, 50% 60%;
}

.banner-card:hover .banner-card-back::before { animation: star-explode-1 1.2s cubic-bezier(0.165, 0.84, 0.44, 1) forwards; }
.banner-card:hover .banner-card-back::after { animation: star-explode-2 1.4s cubic-bezier(0.165, 0.84, 0.44, 1) forwards; }

@keyframes star-explode-1 {
    0% { transform: scale(0.5) rotate(0deg); opacity: 0; }
    20% { opacity: 1; }
    100% { background-position: -10% -20%, 110% -15%, -20% 120%, 120% 115%; transform: scale(1.3) rotate(15deg); opacity: 0; }
}

@keyframes star-explode-2 {
    0% { transform: scale(0.5) rotate(0deg); opacity: 0; }
    20% { opacity: 1; }
    100% { background-position: 50% -40%, 140% 50%, 50% 140%; transform: scale(1.4) rotate(-15deg); opacity: 0; }
}

@media (max-width: 768px) {
    .banner-card { flex: 0 0 160px; height: 42px; }
    .banner-card-front, .banner-card-back { font-size: 15px; border-radius: 6px; padding: 0 10px; }
    
    /* Mobile-specific prompt animation overrides */
    .step-prompt-box {
        max-width: 150%;
        width: max-content;
    }
    
    .step-bg.active .step-prompt-box {
        animation: promptSequenceMobile 8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    }
    
    .step-bg.active .step-prompt-text {
        animation: typingSequenceMobile 8s steps(40, end) infinite;
    }
    
    .step-bg.active .step-prompt-arrow {
        animation: buttonVisibilityMobile 8s ease infinite;
    }
}

@keyframes promptSequenceMobile {
    0% { transform: translateX(120vw); opacity: 0; }
    1%, 5% { transform: translateX(120vw); opacity: 1; }
    40%, 52% { transform: translateX(-35vw); opacity: 1; } /* left side pushed out */
    70% { transform: translateX(-150vw); opacity: 1; }
    71%, 95% { transform: translateX(-150vw); opacity: 0; }
    96%, 100% { transform: translateX(120vw); opacity: 0; }
}

@keyframes typingSequenceMobile {
    0%, 5% { clip-path: inset(0 100% 0 0); }
    40%, 70% { clip-path: inset(0 0 0 0); }
    71%, 100% { clip-path: inset(0 100% 0 0); }
}

@keyframes buttonVisibilityMobile {
    0%, 38% { opacity: 0; transform: scale(0.5); background-color: #1F2937; }
    42%, 48% { opacity: 1; transform: scale(1); background-color: #1F2937; }
    50% { opacity: 1; transform: scale(0.85); background-color: #374151; }
    52%, 70% { opacity: 1; transform: scale(1); background-color: #10B981; }
    71%, 100% { opacity: 0; transform: scale(0.5); background-color: #1F2937; }
}

/* Scrambling Text Utility Class */
.scrambling { color: #9AFF72 !important; }

/* Refine Through Conversation Animations (Card 2) */
.step-prompt-placeholder {
    position: absolute;
    left: 0;
    top: 0;
    color: #9CA3AF;
    pointer-events: none;
    white-space: nowrap;
    opacity: 0;
}

.step-bg.active .step-prompt-placeholder {
    animation: placeholderSequence 8s steps(1, end) infinite;
}

@keyframes placeholderSequence {
    0%, 24% { opacity: 1; }
    25%, 100% { opacity: 0; }
}

@media (max-width: 768px) {
    .step-bg.active .step-prompt-placeholder {
        animation: placeholderSequenceMobile 8s steps(1, end) infinite;
    }
    @keyframes placeholderSequenceMobile {
        0%, 4% { opacity: 1; }
        5%, 100% { opacity: 0; }
    }
}

.browser-img-before, .browser-img-after {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.step-bg.active .browser-img-before {
    animation: magicBefore 8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.step-bg.active .browser-img-after {
    animation: magicAfter 8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes magicBefore {
    0%, 66% { opacity: 1; filter: blur(0px); }
    69%, 100% { opacity: 0; filter: blur(4px); }
}

@keyframes magicAfter {
    0%, 66% { opacity: 0; filter: blur(4px); object-position: 50% 0%; }
    69% { opacity: 1; filter: blur(0px); object-position: 50% 0%; }
    85%, 100% { opacity: 1; filter: blur(0px); object-position: 50% 100%; }
}

/* 2nd Card Specific Animations */
.step-bg:nth-child(2).active .step-browser-frame {
    animation: browserSequence2 8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.step-bg:nth-child(2).active .browser-img-before {
    animation: magicBefore2 8s linear infinite;
}
.step-bg:nth-child(2).active .browser-img-after {
    animation: magicAfter2 8s linear infinite;
}

@keyframes browserSequence2 {
    0%, 80% { opacity: 1; transform: translateX(0) scale(1); }
    95% { opacity: 1; transform: translateX(-120vw) scale(1); }
    96%, 100% { opacity: 0; transform: translateX(-120vw) scale(1); }
}

@keyframes magicBefore2 {
    0%, 52% { opacity: 0.5; filter: blur(3px); }
    60%, 100% { opacity: 0; filter: blur(3px); }
}

@keyframes magicAfter2 {
    0%, 52% { clip-path: inset(0 0 100% 0); object-position: 50% 0%; }
    60% { clip-path: inset(0 0 0 0); object-position: 50% 0%; }
    80%, 100% { clip-path: inset(0 0 0 0); object-position: 50% 100%; }
}

/* 3rd Card Specific Animations */
.step-dialogue-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    font-family: 'Inter', sans-serif;
    color: #1F2937;
    border: 1px solid #e5e7eb;
    position: absolute;
    max-width: 80%;
    opacity: 0;
    transform: translateX(120vw);
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.step-bg:nth-child(3).active .step-dialogue-box {
    animation: dialogueSequence 8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes dialogueSequence {
    0%, 5% { transform: translateX(120vw); opacity: 0; }
    15%, 40% { transform: translateX(0); opacity: 1; }
    43%, 100% { transform: translateX(0); opacity: 0; }
}

@media (max-width: 768px) {
    .step-bg:nth-child(3).active .step-dialogue-box {
        animation: dialogueSequenceMobile 8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    }
    @keyframes dialogueSequenceMobile {
        0%, 5% { transform: translateX(120vw); opacity: 0; }
        15%, 40% { transform: translateX(0); opacity: 1; }
        43%, 100% { transform: translateX(0); opacity: 0; }
    }
}

.step-dialogue-text {
    font-weight: 600;
    font-size: 16px;
}

.step-publish-btn {
    background: #9AFF72;
    color: #1F2937;
    padding: 10px 24px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(154, 255, 114, 0.3);
    opacity: 0;
}

.step-bg:nth-child(3).active .step-publish-btn {
    animation: publishBtnSequence 8s ease infinite;
}

@keyframes publishBtnSequence {
    0%, 15% { opacity: 0; transform: scale(0.9); }
    20%, 25% { opacity: 1; transform: scale(1); filter: brightness(1); box-shadow: 0 4px 12px rgba(154, 255, 114, 0.3); }
    28%, 32% { filter: brightness(1.2); box-shadow: 0 0 20px rgba(154, 255, 114, 0.8); }
    35% { transform: scale(0.92); filter: brightness(0.9); box-shadow: 0 2px 6px rgba(154, 255, 114, 0.2); }
    38%, 100% { transform: scale(1); opacity: 1; filter: brightness(1); box-shadow: 0 4px 12px rgba(154, 255, 114, 0.3); }
}

.step-bg:nth-child(3).active .step-browser-frame {
    animation: browserSequence3 8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes browserSequence3 {
    0%, 5% { opacity: 0; transform: scale(0.95) translateX(0); }
    15%, 82% { opacity: 1; transform: scale(1) translateX(0); }
    95% { opacity: 1; transform: scale(1) translateX(-120vw); }
    96%, 98% { opacity: 0; transform: scale(1) translateX(-120vw); }
    99%, 100% { opacity: 0; transform: scale(0.95) translateX(0); }
}

.browser-img-publish {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transform: scale(0.85);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transform-origin: center center;
}

.step-bg:nth-child(3).active .browser-img-publish {
    animation: publishImageZoom 8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes publishImageZoom {
    0%, 35% { transform: scale(0.85); border-radius: 12px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
    40%, 100% { transform: scale(1); border-radius: 0; box-shadow: none; }
}

.browser-live-indicator {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, calc(-50% + 5px));
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #10B981;
    font-weight: 500;
    opacity: 0;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.8); }
}

.step-bg:nth-child(3).active .browser-live-indicator {
    animation: liveIndicatorFade 8s ease infinite;
}

@keyframes liveIndicatorFade {
    0%, 38% { opacity: 0; transform: translate(-50%, calc(-50% + 5px)); }
    42%, 100% { opacity: 1; transform: translate(-50%, -50%); }
}

/* Live Preview Modal Constraints */
.preview-modal-dialog {
    max-width: 90vw;
    width: 1024px;
    height: 85vh;
}

@media (max-width: 640px) {
    .preview-modal-dialog {
        max-width: 95vw;
        height: 90vh;
    }
}

.preview-modal-content {
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.preview-modal-body {
    padding: 0;
    flex: 1;
    min-height: 0;
    background: #f9fafb;
    overflow: hidden;
}
