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

/* Final CTA Section */
#get-started-cta {
    min-height: 400px !important;
    padding: 0 !important;
    background-color: #1F2937;
    align-items: center !important;
    position: relative;
}

#cta-particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Below text and overlay, above background */
    pointer-events: none; /* Let pointer events pass to container */
}

#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;
}

@media (max-width: 768px) {
    #get-started-cta {
        min-height: 300px !important;
        padding: 0 !important;
    }
}

.cta-banner-link {
    font-family: 'Instrument Serif', serif;
    text-decoration: none;
    margin-top: calc(-0.06em + 3px); /* Maintained percentage bleed but pushed 3px away from edge */
    margin-bottom: 0;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    z-index: 2;
    font-size: 24vw; /* Massive editorial scale */
    padding: 0;
    letter-spacing: -0.04em;
    width: 100%;
    display: block;
    white-space: nowrap;
    line-height: 0.72; /* Extremely tight for editorial impact */
    color: #ffffff;
}

@media (max-width: 768px) {
    .cta-banner-link {
        font-size: 22vw;
        line-height: 0.85;
        margin-top: calc(-0.06em + 1px);
    }
}


/* Footer Section Styles */
.footer-section {
    background-color: transparent;
    color: #ffffff;
    padding: 0;
    position: relative;
    z-index: 10;
    border-top: none;
    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;
}

/* Starborn Footer Logo Neon Sparkle */
.starborn-footer-logo {
    opacity: 0.8;
    transition: all 0.3s ease;
    animation: neon-sparkle 8s infinite;
}

.starborn-footer-logo:hover {
    opacity: 1;
    /* Soft pastel blue and orange aura */
    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% {
        /* Pastel colors appear softly at once */
        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-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ffffff;
    margin-bottom: 20px;
}

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

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #9CA3AF;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-newsletter {
    padding: 0;
    margin-bottom: 0;
    border: none;
}

.footer-newsletter h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffffff;
}

.footer-newsletter p {
    color: #9CA3AF;
    margin-bottom: 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.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;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    color: #9CA3AF;
    font-size: 20px;
    transition: color 0.2s ease;
}

.footer-social a:hover {
    color: #ffffff;
}

/* Mobile styles for footer */
@media (max-width: 768px) {
    .footer-main {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        gap: 20px;
    }
    
    .footer-made-with img {
        height: 60px !important;
        width: auto;
    }
}

/* Invitation Sidebar Carousel */
.invitation-sidebar {
    position: absolute;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    width: 130px;
    height: 140px; /* Further reduced height for a more compact, subtle look */
    background: rgba(255, 255, 255, 0.02); /* Extremely subtle indie background */
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border: none; /* Removed border for a cleaner blend */
    border-radius: 16px;
    z-index: 2000;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    /* Mask for fade out at top and bottom - text stays solid until it hits these gradients */
    mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
}

.invitation-sidebar-track {
    display: flex;
    flex-direction: column;
    animation: scroll-up 28s linear infinite; /* Even slower for a more peaceful vibe */
}

.invitation-sidebar-item {
    height: 32px; /* Tighter vertical spacing */
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-size: 13px;
    font-weight: 400;
    color: #1F2937;
    text-align: right;
    padding: 0 16px;
    text-transform: none;
    letter-spacing: -0.01em;
    opacity: 1; /* Removed item opacity - fading is handled by the mask now */
}

@keyframes scroll-up {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); } /* Scrolls half the height (the original items) */
}

@media (max-width: 768px) {
    .invitation-sidebar {
        display: none; /* Hide on smaller screens to avoid cluttering */
    }
}

/* Mobile styles for footer */
@media (max-width: 768px) {
    .footer-section {
        padding: 0;
    }


    .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;
    }

    .footer-social {
        justify-content: center;
    }
}

.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 {
  transition: all 0.3s ease;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
}

.navbar-scrolled .navbar-nav {
  padding: 0;
  background: transparent;
}

.navbar-nav .nav-link {
  color: #1F2937;
  font-weight: 400;
  text-shadow: 0 0 10px rgba(255,255,255,0.7);
  margin: 0;
  padding: 0.5rem 1.5rem;
  transition: all 0.3s ease;
  font-size: 14px;
}

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

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

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

#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 1.5rem; /* 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;
}

/* Event Menu Dropdown Styles */
.nav-item.dropdown-custom {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 576px) {
    .event-menu-btn.multi-btn {
        min-width: 100px;
        padding: 4px 4px;
    }
    .menu-pill-link, .menu-toggle-inner {
        padding: 4px 8px;
        font-size: 13px;
    }
}

/* Button Styling */
.event-menu-btn {
    position: relative;
    z-index: 1002; /* Above the menu */
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(31, 41, 55, 0.1);
    border-radius: 100px;
    color: #1F2937;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    width: auto;
    min-width: 120px;
    justify-content: center;
}

.event-menu-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Icon Animation */
.menu-icon-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 16px;
    height: 16px;
    gap: 4px;
    position: relative;
}

.icon-bar {
    width: 14px;
    height: 1.5px;
    background-color: currentColor;
    border-radius: 1px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
    transform-origin: center;
}

/* Open State for Button */
.event-menu-btn.open {
    background: #111827; /* Dark background */
    color: #ffffff;
    border-color: #111827;
}

.event-menu-btn.open .icon-bar:first-child {
    transform: translateY(2.75px) rotate(45deg);
}

.event-menu-btn.open .icon-bar:last-child {
    transform: translateY(-2.75px) rotate(-45deg);
}

/* Multi-button pill styles */
.event-menu-btn.multi-btn {
    padding: 4px 6px;
    gap: 0;
    cursor: default;
}

.event-menu-btn.multi-btn:hover {
    /* Prevent the container itself from showing hover effect, let children handle it */
    background: rgba(255, 255, 255, 0.5);
    box-shadow: none; 
}

.menu-pill-link {
    text-decoration: none;
    color: inherit;
    font-weight: 500;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 20px;
    transition: background 0.2s;
}

.menu-pill-link:hover {
    background: rgba(0,0,0,0.05);
    color: #1F2937;
}

.menu-pill-divider {
    color: rgba(31, 41, 55, 0.2);
    margin: 0 2px;
    font-weight: 300;
    user-select: none;
}

.menu-toggle-inner {
    background: none;
    border: none;
    padding: 6px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.menu-toggle-inner:hover {
    background: rgba(0,0,0,0.05);
}

.menu-toggle-inner.open,
.nav-item.dropdown-custom:has(.menu-toggle-inner:hover) .menu-toggle-inner,
.nav-item.dropdown-custom:has(.dropdown-menu-custom:hover) .menu-toggle-inner {
    background: #111827;
    color: #ffffff;
}

/* Dropdown Menu (The Card) */
.dropdown-menu-custom {
    position: absolute;
    top: -12px; /* Pull up to sit behind button */
    left: 50%;
    transform: translateX(-50%) scale(0.95);
    width: 300px;
    max-width: 90vw;
    background: #ffffff; /* Fallback */
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    padding: 70px 24px 24px 24px; /* Top padding clears the button */
    box-shadow: 0 20px 60px rgba(0,0,0,0.1), 0 4px 10px rgba(0,0,0,0.02);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
    transform-origin: top center;
}

/* Open State for Menu */
.dropdown-menu-custom.show,
.nav-item.dropdown-custom:has(.menu-toggle-inner:hover) .dropdown-menu-custom,
.nav-item.dropdown-custom:has(.dropdown-menu-custom:hover) .dropdown-menu-custom {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
    pointer-events: auto;
}

/* Caret Animation */
.caret-icon {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 12px;
    margin-left: 2px;
}

.menu-toggle-inner.open .caret-icon,
.nav-item.dropdown-custom:has(.menu-toggle-inner:hover) .caret-icon,
.nav-item.dropdown-custom:has(.dropdown-menu-custom:hover) .caret-icon {
    transform: rotate(180deg);
}

/* Menu Content Styling */
.menu-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.menu-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9CA3AF;
    font-weight: 600;
    margin-bottom: 4px;
}

.dropdown-item-custom {
    display: block;
    color: #1F2937;
    text-decoration: none;
    transition: color 0.2s;
    line-height: 1.2;
    font-size: 18px;
    font-weight: 400; /* Not bold */
    letter-spacing: -0.02em;
    padding: 4px 0;
}

.dropdown-item-custom:hover {
    color: #9AFF72; /* Neon green accent */
}

.menu-divider {
    height: 1px;
    background: rgba(0,0,0,0.06);
    margin: 16px 0;
    width: 100%;
}

.mobile-account-section {
    display: none !important;
}

@media (max-width: 768px) {
    .mobile-account-section {
        display: flex !important;
    }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .nav-item.dropdown-custom {
        position: relative;
        z-index: 1001;
    }

    #nav-actions-mobile {
        flex: 0 0 auto !important;
        margin-left: auto;
    }

    .navbar-brand {
        flex: 0 0 auto !important;
    }

    /* Override previous mobile styles to keep the card look */
    .event-menu-btn {
        width: auto;
        min-width: 120px;
        margin: 0;
    }

    .dropdown-menu-custom {
        position: absolute;
        width: 300px; /* Keep fixed width card */
        left: auto;
        right: 0;
        transform: scale(0.95);
        transform-origin: top right;
    }

    .dropdown-menu-custom.show,
    .nav-item.dropdown-custom:has(.menu-toggle-inner:hover) .dropdown-menu-custom,
    .nav-item.dropdown-custom:has(.dropdown-menu-custom:hover) .dropdown-menu-custom {
        transform: scale(1);
    }
}

.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-45 {
    width: auto;
    height: auto;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    padding: 6px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background-color: #1F2937;
    color: #ffffff;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
}

#auto-id-28-45:hover {
    background-color: #374151;
    color: #ffffff;
}

.navbar-scrolled #auto-id-28-45 {
    font-size: 13px;
    padding: 5px 16px;
}

/* Hero sign-up button with liquid glass effect */
#auto-id-30 {
    background: #9AFF72;
    border: 1px solid #9AFF72;
    color: #000000;
    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: 8px;
    text-shadow: none;
    padding: 0.6rem 1.8rem;
    font-size: 1rem;
    margin-top: -1.5rem;
}

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

#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: #9AFF72;
    border: 1px solid #9AFF72;
    color: #000000;
    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: 8px;
    text-shadow: none;
    padding: 0.6rem 1.8rem;
    font-size: 1rem;
    text-decoration: none;
}

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

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

.navbar-logo, .navbar-logo-mobile {
  height: 30px;
  width: auto;
  object-fit: contain;
  transition: all 0.3s ease;
}

.navbar-logo {
  transform: translateY(3px); /* Shift down to balance the secondary "Event" text */
}

@media (max-width: 576px) {
  .navbar-logo {
    height: 20px;
  }
  .navbar-logo-mobile {
    height: 24px;
  }
}

.navbar-scrolled .navbar-logo {
  height: 24px;
  transform: translateY(2px);
}

.navbar-scrolled .navbar-logo-mobile {
  height: 20px;
}

@media (max-width: 576px) {
  .navbar-scrolled .navbar-logo {
    height: 18px;
  }
}

.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: block !important;
    border: none;
    background: transparent;
    padding: 0;
    color: #1F2937;
  }

  .navbar-toggler:focus {
    box-shadow: none;
  }

  .navbar-collapse {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 10px 10px 0 10px;
    z-index: 1000;
  }

  .navbar-collapse.show {
    display: block !important;
  }

  #navbarNav {
    display: none !important;
  }

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

  /* Scoped to collapse to avoid affecting the visible tablet nav */
  .navbar-collapse .navbar-nav {
    text-align: center;
    margin-bottom: 24px;
    align-items: center;
  }

  .navbar-collapse .navbar-nav .nav-link {
    padding: 12px 0;
    font-size: 18px;
    font-weight: 500;
    color: #1F2937;
    display: block;
    width: 100%;
  }

  #auto-id-20-28 {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
  }

  .btn-login {
    font-size: 16px;
    padding: 8px;
    margin-right: 0;
    width: 100%;
    text-align: center;
  }

  #auto-id-28 {
    font-size: 16px !important;
    padding: 12px 24px !important;
    width: 100%;
    max-width: 100%;
    margin: 0 !important;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .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: auto !important;
    min-height: 60dvh !important;
    padding-top: 140px !important;
    padding-bottom: 40px !important;
  }

  .hero-title {
    font-size: 2.8rem !important;
    line-height: 1.1 !important;
    margin-top: 2rem !important;
    margin-bottom: 0.5rem !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;
  }

  #auto-id-53 {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 0 !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    color: #6B7280 !important;
    line-height: 1.2 !important;
    max-width: 100% !important;
  }

  .tab-pane > h3, .tab-pane > p {
    text-align: center !important;
  }
  
  .tab-pane .elegant-overlay-content h3, 
  .tab-pane .elegant-overlay-content p {
    text-align: left !important;
  }

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

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

.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-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.hero-title {
  font-size: 3.5rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-top: -1rem;
  margin-bottom: 0.5rem;
  color: #1F2937;
  text-shadow: 0 0 15px rgba(255,255,255,0.5);
  width: 100%;
  position: relative;
  display: block;
  text-align: center;
  /* Prevent layout jumps during text scrambling */
  min-height: 2.2em; 
}

.hero-title-accent {
  color: #6B7280;
}

@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: 0;
  margin-right: auto;
  height: auto;
  min-height: 40px;
  perspective: 1000px;
  overflow: visible;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.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: #1F2937; /* Charcoal */
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-top: 590px; /* Increased space to accommodate the higher overlap */
    position: relative;
    z-index: 10;
    pointer-events: none; /* Let clicks pass through the extended background to the hero */
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 300px);
    mask-image: linear-gradient(to bottom, transparent 0%, black 300px);
}

.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.15"/%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; /* Re-enable clicks for the text */
        letter-spacing: -0.02em;
        text-transform: uppercase;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .cta-banner-link:hover {
    color: #ffffff;
    opacity: 1;
}

@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'; /* Long arrow pointing right */
        left: -3vw;
        transform: rotate(-45deg); /* Pointing up-right towards G */
    }
    .desktop-get-starborn-wrapper::after {
        content: '\f177'; /* Long arrow pointing left */
        right: -3vw;
        transform: rotate(45deg); /* Pointing up-left towards N */
    }
}

@media (max-width: 768px) {
    .cta-banner-link .d-md-none {
        font-size: 21vw; /* Adjusted to prevent viewport cropping */
    }
    .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'; /* Long arrow pointing right */
        right: 100%;
        margin-right: 4vw;
    }
    .get-wrapper::after {
        content: '\f177'; /* Long arrow pointing left */
        left: 100%;
        margin-left: 4vw;
    }
}

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

.editorial-line-2 {
    line-height: 0.76; /* Adjusted for slightly more breathing room at the baseline */
    margin-bottom: -0.05em; /* Proportional bleed consistent across screen sizes */
}

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

/* Bottom section with tabs */
.tabs-section {
  background: #ffffff;
  padding: 120px 0 90px 0; /* Reduced top padding since banner provides separation */
  position: relative;
  z-index: 10;
  overflow-x: hidden;
}

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

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

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

.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: 16px;
  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: 1.5rem;
  pointer-events: auto;
}

@media (max-width: 768px) {
  .hero-buttons {
    margin-top: 3rem !important;
  }
  
  .hero-free-text {
    margin-top: 1.5rem !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%);
  }
}

.dg {
  opacity: 0.7;
  z-index: 20;
  pointer-events: auto !important;
}

.dg .property-name {
  overflow: visible;
}

/* Hide the fluid simulation developer controls completely on mobile */
@media (max-width: 768px) {
  .dg.ac {
    display: none !important;
  }
}

.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;
}

@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;
  }

  .footer-section .col-md-2,
  .footer-section .col-md-4 {
    margin-bottom: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer-bottom-links {
    justify-content: center;
  }

  /* 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 */
}

/* Tab button styles */
.tab-button {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: hsla(215, 14%, 34%, 1);
    background: transparent;
    border: none;
    border-radius: 100px;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    position: relative;
}

.tab-button:hover {
    color: #1F2937;
    background: rgba(31, 41, 55, 0.05);
}

.tab-button.active {
    font-weight: 600;
    color: #111827;
    background: #E5E7EB;
}

/* Tab Content Entrance Animations */
.tabs-section .container > * {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.8s cubic-bezier(0.16, 1, 0.3, 1), transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.tabs-section .container.reveal-active > * {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger the children - slower, more editorial pacing */
.tabs-section .container.reveal-active > h2 { transition-delay: 0.2s; }
.tabs-section .container.reveal-active > p { transition-delay: 0.4s; }
.tabs-section .container.reveal-active > .tabbed-control { transition-delay: 0.7s; }

/* Tab progress indicator styles */
.tab-progress-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
    pointer-events: auto;
}

.progress-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #D1D5DB;
    cursor: pointer;
    transition: all 0.3s ease;
}

.progress-dot:hover {
    background-color: #9CA3AF;
}

.progress-dot.active {
    width: 24px;
    border-radius: 4px;
    background-color: #111827;
}

/* Tab pane content styles */
.tab-pane h3 {
    color: hsla(215, 28%, 17%, 1);
    font-size: 1.25rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    margin-top: 0;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.tab-pane p {
    color: #4B5563;
    font-size: 1rem;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    margin-bottom: 16px;
    line-height: 1.6;
}

.tab-pane video {
    width: 100%;
    max-width: 748px;
    border-radius: 20px;
}

/* Video Preview Hover Styles */
.video-preview-container .video-play-overlay {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: rgba(154, 255, 114, 0.95);
    color: #1F2937;
    height: 24px;
    padding: 0 16px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
}

.video-preview-container:hover .video-play-overlay {
    opacity: 1;
    transform: translateY(-4px);
}

.video-preview-container:hover video {
    filter: brightness(0.8);
    transition: filter 0.3s ease;
}

/* Tab content animations */
.tab-content {
    position: relative;
    min-height: 500px;
    padding: 0 20px;
    margin-top: 24px;
    text-align: center;
}

.tab-pane {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.tab-pane.active {
    z-index: 2;
}

@media (max-width: 768px) {
    .tab-content {
        min-height: auto;
        padding: 0;
    }
}

.tab-pane.slide-out-left {
    animation: coverOutLeft 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    z-index: 1;
}

.tab-pane.slide-out-right {
    animation: coverOutRight 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    z-index: 1;
}

.tab-pane.slide-in-left {
    animation: coverInLeft 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    z-index: 2;
}

.tab-pane.slide-in-right {
    animation: coverInRight 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    z-index: 2;
}

/* Replaced slide transitions with simple fades to allow WebGL canvas to shine through */
@keyframes coverOutLeft {
    from { opacity: 1; transform: translateX(-50%); }
    to { opacity: 0; transform: translateX(-50%); }
}

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

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

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

/* Liquid Slideshow Container (Global Background for Tabs) */
#liquid-canvas-container canvas {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: inherit;
}

#liquid-canvas-container {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 760px;
    aspect-ratio: 16/9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border: 1px solid rgba(0,0,0,0.05);
    z-index: 0;
    pointer-events: none;
}

@media (max-width: 768px) {
    #liquid-canvas-container {
        aspect-ratio: 9 / 16;
        height: auto;
        width: 100vw;
        max-width: 100vw;
        border-radius: 0;
        border: none;
    }
}

/* Elegant Preview Container (Tabs Section) */
.elegant-preview-container {
    position: relative;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    cursor: pointer;
    background: transparent;
}

@media (max-width: 768px) {
    .elegant-preview-container {
        aspect-ratio: 9 / 16;
        height: auto;
        width: 100vw;
        max-width: 100vw;
        border-radius: 0;
        left: 50%;
        transform: translateX(-50%);
    }
}

.elegant-preview-container img:not(.invite-floating-img) {
    opacity: 0 !important;
    visibility: hidden;
}

.elegant-preview-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 16px;
    z-index: 2;
}

@media (max-width: 768px) {
    .elegant-preview-overlay {
        padding: 12px;
        background: transparent;
    }
}

.elegant-overlay-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.elegant-overlay-content {
    max-width: 65%;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.tab-pane .elegant-overlay-content h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
    margin-top: 0;
    color: #ffffff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
}

.tab-pane .elegant-overlay-content p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #ffffff;
    line-height: 1.3;
    margin: 0;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
    font-weight: 300;
    max-width: 100%;
    opacity: 1;
}

#auto-id-elegant-desc-1 {
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(65, 45, 35, 0.5), 0 1px 2px rgba(45, 30, 20, 0.4);
}

#auto-id-elegant-desc-2 {
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(55, 30, 15, 0.5), 0 1px 2px rgba(40, 20, 10, 0.4);
}

#auto-id-elegant-desc-3 {
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(35, 45, 55, 0.6), 0 1px 2px rgba(20, 25, 30, 0.5);
}

@media (max-width: 768px) {
    .elegant-overlay-content {
        max-width: 85%;
    }
    #auto-id-elegant-desc-1 {
        text-shadow: 0 4px 24px rgba(65, 45, 35, 0.5), 0 2px 10px rgba(45, 30, 20, 0.4);
    }
    #auto-id-elegant-desc-2 {
        text-shadow: 0 4px 24px rgba(55, 30, 15, 0.5), 0 2px 10px rgba(40, 20, 10, 0.4);
    }
    #auto-id-elegant-desc-3 {
        text-shadow: 0 4px 24px rgba(35, 45, 55, 0.5), 0 2px 10px rgba(20, 25, 30, 0.4);
    }
    .tab-pane .elegant-overlay-content h3 {
        font-size: 1.75rem;
        font-weight: 800;
        margin-bottom: 8px;
    }
    .tab-pane .elegant-overlay-content p {
        font-size: 1.15rem;
        line-height: 1.25;
    }
    .elegant-overlay-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
        margin-bottom: 16px;
    }
}

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

.scrambling {
    color: #9AFF72 !important;
}

.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;
    }
}

.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);
}

/* Card Bridge Section */
.card-bridge-section {
    position: relative;
    padding: 0;
    margin-top: -240px; /* Bridge between hero and next section */
    margin-bottom: -500px;
    z-index: 50;
    pointer-events: none;
    overflow: hidden;
}

.bridge-marquee {
    display: flex;
    gap: 40px;
    width: 100%;
    padding: 60px 0;
    overflow-x: auto;
    /* Remove native scroll-snap as we are handling it with custom logic for smoother transitions */
    scroll-snap-type: none;
    scroll-behavior: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    perspective: 1400px;
    perspective-origin: center;
    -webkit-overflow-scrolling: touch;
    pointer-events: auto;
}

.bridge-marquee::-webkit-scrollbar {
    display: none;
}

.bridge-card {
    flex: 0 0 700px;
    aspect-ratio: 16/10;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1), 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.1);
    pointer-events: auto;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    opacity: 0.4;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    will-change: transform, opacity;
}

.bridge-card.active {
    opacity: 1;
}

.bridge-card img,
.bridge-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Bridge Nav Buttons - Cursor Following */
.bridge-nav {
    position: fixed; /* Use fixed for global cursor following relative to viewport */
    z-index: 200;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: #1F2937;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none; /* Let clicks pass through to the marquee overlay */
    border: 1px solid rgba(0, 0, 0, 0.05);
    transform: translate(-50%, -50%) scale(0.8);
    transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), scale 0.3s ease;
    white-space: nowrap;
}

.bridge-nav.visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.bridge-nav i {
    font-size: 12px;
}

@media (max-width: 768px) {
    .bridge-nav {
        display: none; /* Hide nav arrows on mobile for cleaner look */
    }
    .bridge-marquee {
            padding-top: 20px;
            padding-bottom: 40px;
            padding-left: calc(50% - 140px);
            padding-right: calc(50% - 140px);
            gap: 16px;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none; /* Firefox */
            -ms-overflow-style: none; /* IE */
        }
        .bridge-marquee::-webkit-scrollbar {
            display: none;
        }
        .bridge-card {
            flex: 0 0 280px;
            border-radius: 8px;
            scroll-snap-align: center;
            scroll-snap-stop: always;
        }
    .card-bridge-section {
        margin-top: 0 !important;
        margin-bottom: -260px !important;
        height: auto !important;
        display: block !important;
        padding: 20px 0 !important;
    }
}

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

/* Modules Section Styles */
/* Modern Invitation Section (Editorial Marquee & Snappy Images) */
.modern-invitation-section {
    padding: 100px 0 80px 0;
    background-color: #ffffff;
    position: relative;
    z-index: 10;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

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

/* Modern Section Animated Background */
.modern-animated-bg-container {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background-color: #ffffff;
}

.modern-gradient-bg {
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: linear-gradient(120deg, 
        rgba(255, 230, 240, 0.8) 0%,
        rgba(230, 240, 255, 0.8) 33%,
        rgba(240, 255, 230, 0.8) 66%,
        rgba(255, 240, 220, 0.8) 100%);
    background-size: 200% 200%;
    filter: blur(80px);
    animation: panModernGradient 20s ease-in-out infinite alternate;
}

@keyframes panModernGradient {
    0% { background-position: 0% 50%; transform: rotate(0deg); }
    100% { background-position: 100% 50%; transform: rotate(5deg); }
}

.modern-wood-bg {
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background-image: repeating-radial-gradient(
        circle at 50% 50%,
        transparent 0,
        transparent 14px,
        rgba(0, 0, 0, 0.06) 15px,
        rgba(0, 0, 0, 0.12) 15.5px,
        transparent 16px
    );
    filter: url(#wood-wobble);
    opacity: 0.6;
    mix-blend-mode: multiply;
    animation: panWoodRings 60s linear infinite alternate;
}

@keyframes panWoodRings {
    0% { transform: scale(1) translate(0, 0) rotate(0deg); }
    100% { transform: scale(1.05) translate(-2%, -2%) rotate(3deg); }
}

.modern-top-text {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 3;
}

.modern-top-text h2 {
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: -0.03em;
    color: #111827;
    margin: 0;
    line-height: 1.2;
}

.modern-middle-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0;
}

.modern-marquee {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    white-space: nowrap;
    z-index: 1;
    pointer-events: none;
}

.modern-marquee-track {
    display: inline-flex;
    animation: modern-marquee-scroll 35s linear infinite;
}

.modern-marquee-track span {
    font-size: 5.5rem;
    font-weight: 500;
    letter-spacing: -0.04em;
    color: #111827;
    line-height: 1;
}

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

.modern-center-image-container {
    position: relative;
    z-index: 2;
    width: 640px;
    height: 360px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    background: #000;
    /* GSAP takes over scaling/border-radius on scroll */
    transform-origin: center center;
    will-change: transform, border-radius;
}

.modern-cycle-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    /* A very fast fade creates that snappy, stop-motion editorial feel */
    transition: opacity 0.05s ease;
}

.modern-cycle-img.active {
    opacity: 1;
}

.modern-bottom-text {
    text-align: center;
    max-width: 540px;
    margin: 20px auto 0;
    position: relative;
    z-index: 3;
    padding: 0 20px;
}

.modern-bottom-text p {
    font-size: 1.1rem;
    line-height: 1.5;
    color: #6B7280;
    margin: 0;
}

.modern-bottom-text strong {
    color: #111827;
    font-weight: 600;
    line-height: inherit;
    display: inline;
}

.marquee-bottom {
    display: none;
}

@media (max-width: 768px) {
    .modern-invitation-section { padding: 60px 0 40px 0; }
    .modern-top-text h2 { font-size: 2rem; }
    .modern-middle-wrapper { height: 320px; margin: 20px 0; }
    .modern-marquee-track span { font-size: 1.8rem; }
    
    .modern-marquee.marquee-top {
        top: 0;
        transform: translate(-50%, 0);
    }
    
    .modern-marquee.marquee-bottom {
        display: block;
        top: auto;
        bottom: 0;
        transform: translate(-50%, 0);
    }
    
    .modern-center-image-container { width: 340px; height: 210px; }
    .modern-bottom-text p { font-size: 1rem; }
}

.modules-section {
    padding: 160px 0;
    background-color: #F2EFE9;
    position: relative;
    z-index: 10;
    transition: background-color 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.modules-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(to top, #F3EEE7 0%, rgba(243, 238, 231, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

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

/* Animation Upsell Section */
.animation-upsell-section {
    background-color: #ffffff;
    padding: 120px 0 60px;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.animation-upsell-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;
}

.animation-upsell-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;
}

.animation-upsell-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.animation-visual-col {
    flex: 1 1 50%;
    position: relative;
    height: 700px;
    overflow: hidden;
    display: flex;
    gap: 24px;
    justify-content: center;
    mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}

.animation-video-column {
    display: flex;
    flex-direction: column;
    width: 288px; /* Ensures exact integer heights to prevent sub-pixel animation jumps */
    will-change: transform;
}

.upsell-video-set {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-bottom: 24px;
}

.animation-video-column.down {
    animation: scroll-videos-down 35s linear infinite;
}

.animation-video-column.up {
    animation: scroll-videos-up 40s linear infinite;
}

.upsell-video-card {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    background: #ffffff;
    aspect-ratio: 16/9;
}

.upsell-video-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.animation-text-col {
    flex: 1 1 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.wedding-animated-bg-container {
    position: absolute;
    top: 40%;
    left: 20%;
    width: 600px;
    height: 750px;
    transform: translate(-50%, -50%) rotate(-15deg);
    z-index: 0;
    pointer-events: none;
    background-image: linear-gradient(135deg, rgba(255, 192, 203, 0.4) 0%, rgba(255, 255, 153, 0.4) 100%), url('/events/assets/Screenshot 2026-03-29 at 6.27.22 PM.22c867be870d.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    mix-blend-mode: multiply;
    opacity: 0.85;
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 65%);
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 65%);
}

.wedding-animated-bg-container .banner-animated-bg {
    display: none;
}

@media (max-width: 991px) {
    .wedding-animated-bg-container {
        width: 450px;
        height: 550px;
        top: 20%;
        left: 50%;
    }
}

.upsell-eyebrow {
    color: #10B981;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
    display: inline-block;
}

.animation-text-sticky h2 {
    font-family: 'Inter', sans-serif;
    font-size: 2.5rem;
    line-height: 1.1;
    font-weight: 400;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
    color: #111827;
}

.animation-text-sticky p {
    font-size: 1.1rem;
    line-height: 1.45;
    color: #6B7280;
    margin-bottom: 32px;
    max-width: 400px;
}

#auto-id-41 {
    color: #1F2937;
    font-weight: 500;
    text-shadow: 0 2px 12px rgba(230, 200, 180, 0.4), 0 1px 3px rgba(230, 200, 180, 0.2);
}

.btn-upsell {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #111827;
    color: #ffffff;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 15px;
    width: fit-content;
}

.btn-upsell:hover {
    background-color: #374151;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

@keyframes scroll-videos-up {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}
@keyframes scroll-videos-down {
    0% { transform: translateY(-50%); }
    100% { transform: translateY(0); }
}
@keyframes scroll-videos-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes scroll-videos-right {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* Wedding Upsell Section */
.wedding-upsell-section {
    background-color: #FAF9F6;
    padding: 120px 0 60px;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

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

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

.wedding-visual-col {
    flex: 1 1 50%;
    position: relative;
    height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent !important;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.wedding-wipe-container {
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    background-color: transparent !important;
}

.wedding-wipe-row {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: none;
    position: relative;
    background-color: transparent !important;
}

.wedding-row-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    will-change: clip-path, transform;
}

@media (max-width: 991px) {
    .wedding-container {
        flex-direction: column !important; /* Text on top for mobile */
    }
    .wedding-upsell-section {
        padding: 60px 0;
    }
    .wedding-visual-col {
        width: 100%;
        height: 450px;
    }
    .animation-upsell-container {
        flex-direction: column-reverse;
        padding: 0;
        gap: 40px;
    }
    .animation-text-col {
        padding: 20px 20px 0 20px;
        width: 100%;
    }
    .animation-visual-col {
        height: auto;
        width: 100%;
        flex-direction: column;
        gap: 16px;
        mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
        -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    }
    .animation-video-column {
        width: max-content;
        flex-direction: row;
    }
    .animation-video-column.up {
        animation: scroll-videos-left 40s linear infinite;
    }
    .animation-video-column.down {
        animation: scroll-videos-right 35s linear infinite;
    }
    .upsell-video-set {
        flex-direction: row;
        gap: 16px;
        padding-bottom: 0;
        padding-right: 16px;
        height: 162px; /* Ensures exact integer widths to prevent sub-pixel animation jumps */
    }
    .upsell-video-card {
        width: auto;
        height: 100%;
        aspect-ratio: 16/9;
    }
    .animation-text-sticky h2 {
        font-size: 2rem;
    }
    .animation-upsell-section {
        padding: 60px 0;
    }
}

/* How It Works Section (New Redesign) */
.how-it-works-section {
    padding: clamp(80px, 12vw, 160px) 0 0 0;
    background-color: #F3EEE7; /* Original warm beige background */
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.hiw-new-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    height: auto;
    min-height: auto;
    max-height: none;
    max-width: 1200px;
    margin: 0 auto;
    overflow: visible;
    position: relative;
    padding: 0 20px;
    gap: 60px;
}

.hiw-side-col {
    flex: 0 0 180px;
    position: sticky;
    top: 120px;
    height: calc(100vh - 240px);
    perspective: 1200px;
    display: flex;
    justify-content: center;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 30%, black 70%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 30%, black 70%, transparent 100%);
}

.hiw-rotator {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.hiw-rotator-left {
    transform: rotateY(-25deg);
}

.hiw-rotator-right {
    transform: rotateY(25deg);
}

.hiw-scroll-track {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 20px;
    width: 100%;
    will-change: transform;
}

.hiw-scroll-down {
    animation: hiw-scroll-down 40s linear infinite;
}

.hiw-scroll-up {
    animation: hiw-scroll-up 40s linear infinite;
}

@keyframes hiw-scroll-down {
    0% { transform: translateY(-50%); }
    100% { transform: translateY(0%); }
}

@keyframes hiw-scroll-up {
    0% { transform: translateY(0%); }
    100% { transform: translateY(-50%); }
}

.hiw-carousel-img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.hiw-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0;
    overflow: visible;
    pointer-events: auto;
    z-index: 2;
}

.hiw-header-centered {
    margin-bottom: 40px;
    z-index: 10;
}

.hiw-title {
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: -0.03em;
    color: #111827;
    margin: 0;
    line-height: 1.2;
}

.hiw-slides-container {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    height: auto;
    border-radius: 0;
    overflow: visible;
    background-color: transparent;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.hiw-slide {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-color: transparent !important;
    clip-path: none !important;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: none;
}

.hiw-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    will-change: clip-path;
}

.hiw-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.75) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.hiw-slide-1 { z-index: 1; }
.hiw-slide-2 { z-index: 2; }
.hiw-slide-3 { z-index: 3; }

.hiw-slide-1 .hiw-bg { 
    background-color: #F5F0E6; 
    background-image: url('/events/assets/image-gen/hiw-warm-geometric-bg-4-3-2K.b4bcd15e931b.webp');
    background-size: cover;
    background-position: center;
}
.hiw-slide-2 .hiw-bg { 
    background-color: #E5E7EB; 
    background-image: url('/events/assets/image-gen/hiw-deep-neutral-bg-4-3-2K.0479245d4215.webp');
    background-size: cover;
    background-position: center;
}
.hiw-slide-3 .hiw-bg { 
    background-color: #F0FDF4; 
    background-image: url('/events/assets/image-gen/hiw-green-geometric-bg-4-3-2K.0e783fade9e1.webp');
    background-size: cover;
    background-position: center;
}

.hiw-slide-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    height: 100%;
    width: 100%;
    padding: 24px;
    pointer-events: auto;
    position: relative;
    z-index: 1;
    gap: 30px;
    margin: 0;
}

.hiw-slide-2 .hiw-slide-content {
    flex-direction: column;
}

.hiw-images {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: calc(100% + 48px);
    margin-left: -24px;
    margin-right: -24px;
    flex: none;
    margin-top: auto;
    margin-bottom: 0;
}

.hiw-images img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: cover;
    object-position: top center;
}

.hiw-slide-1 .hiw-images img,
.hiw-slide-2 .hiw-images img,
.hiw-slide-3 .hiw-images img {
    width: 100%;
    max-width: 100%;
    max-height: 320px;
    margin: 0;
    box-shadow: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
    object-position: top center !important;
    transform: none;
}

.hiw-text {
    text-align: left;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hiw-text span {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

.hiw-text h3 {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hiw-text p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 16px 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hiw-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #111827;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    z-index: 10;
    padding: 8px 0 0 0;
    align-self: flex-end;
    margin-top: 16px;
}

.hiw-link:hover {
    gap: 12px;
    color: #111827;
}

.hiw-link i {
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .how-it-works-section {
        padding: 60px 0 0 0;
    }

    .hiw-header-centered {
        position: relative !important;
        top: 0 !important;
        margin-bottom: 40px !important;
        padding: 0 24px;
    }

    .hiw-new-container {
        display: block;
        height: auto;
        min-height: auto;
        max-height: none;
        overflow: visible;
        padding: 0;
    }
    
    .hiw-slides-container {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        height: auto;
        overflow: visible;
        gap: 0;
        display: flex;
        flex-direction: column;
    }
    
    .hiw-slide {
        position: relative;
        height: auto;
        min-height: auto;
        border-radius: 0;
        margin-bottom: 0;
        overflow: hidden;
        display: block;
        box-shadow: none;
    }
    
    .hiw-slide-content {
        padding: 0;
        height: auto;
        position: relative;
        z-index: 1;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 0;
    }

    .hiw-slide-2 .hiw-slide-content {
        flex-direction: column;
    }
    
    .hiw-bg {
        clip-path: none !important;
        border-radius: 0;
    }
    
    .hiw-images {
        margin-top: auto;
        margin-bottom: 0;
        margin-left: 0;
        margin-right: 0;
        padding-top: 24px;
        width: 100%;
        display: block;
        flex: none;
    }

    .hiw-images img,
    .hiw-slide-1 .hiw-images img,
    .hiw-slide-2 .hiw-images img,
    .hiw-slide-3 .hiw-images img {
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: auto !important;
        object-fit: cover !important;
        object-position: top center !important;
        max-height: none !important;
        transform: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        display: block;
        margin: 0 !important;
    }
    
    .hiw-side-col {
        display: none;
    }
    
    .hiw-center {
        display: flex;
    }
    
    .hiw-title {
        font-size: 2rem;
    }

    .hiw-text {
        padding: 24px 20px 0 20px;
        text-align: left;
        width: 100%;
        flex: none;
    }

    .hiw-text span {
        text-align: left;
        margin-bottom: 16px;
    }
    
    .hiw-text h3 {
        font-size: 1.15rem;
        margin-bottom: 6px;
        text-align: left;
    }
    
    .hiw-text p {
        font-size: 0.95rem;
        text-align: left;
    }

    .hiw-link {
        margin-right: 20px;
        margin-bottom: 24px;
    }
}

/* Banner Pill Section */
.banner-pill-section {
    background-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0 0 80px 0;
    position: relative;
    z-index: 15;
}

.banner-pill {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    display: flex;
    align-items: center;
    padding: 16px 24px;
    gap: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.banner-pill-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, #F3EEE7 0%, rgba(243, 238, 231, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

.bp-col-1 {
    flex: 1;
}

.bp-col-1 h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0;
    color: #111827;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.bp-col-2 {
    flex: 0 0 auto;
    padding: 12px 40px;
}

.bp-col-2 p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #4B5563;
    margin: 0 auto;
    line-height: 1.5;
    max-width: 360px;
}

.bp-col-2 strong {
    color: #111827;
    font-weight: 600;
    font-size: 1rem;
    display: inline;
}

.bp-col-3 {
    flex: 0 0 auto;
}

.bp-divider {
    width: 1px;
    height: 60px;
    background: #E5E7EB;
    flex-shrink: 0;
}

.btn-pill-dark {
    background-color: #1F2937;
    color: #ffffff;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
}

.btn-pill-dark:hover {
    background-color: #374151;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .banner-pill-section {
        display: none !important;
    }
}

/* 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;
}

.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;
    top: auto;
    left: auto;
    width: 100%;
    max-width: 100%;
    margin: 0 0 40px 0;
    text-align: center;
    z-index: 5;
    pointer-events: auto; /* Changed to auto to allow button interaction */
}

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

.gallery-description {
    font-size: 2rem;
    line-height: 1.3;
    color: #1F2937;
    max-width: 1000px;
    margin: 0;
    font-weight: 500;
}

.gallery-headline-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.subtle-gallery-cta {
    font-size: 16px;
    font-weight: 600;
    color: #1F2937;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.2s ease, opacity 0.2s ease;
    border-bottom: 1.5px solid #1F2937;
    padding-bottom: 2px;
}

.subtle-gallery-cta:hover {
    gap: 12px;
    opacity: 0.7;
    color: #1F2937;
}

/* State B: The Final Grid Layout */
.gallery-carousel-wrapper {
    position: relative;
    width: 100%;
    padding: 0; /* Remove padding to let grid bleed */
    box-sizing: border-box;
}

.gallery-grid {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    grid-auto-flow: column;
    /* Reduced to ~30% to show peeking next/prev cards nicely */
    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; /* Firefox */
    -ms-overflow-style: none; /* IE */
    scroll-behavior: smooth;
    /* Soft fade mask for the peek effect */
    -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;
}

/* 
Row layout
*/
.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; /* Centered snapping helps balance the peeking edges */
}

.gallery-nav-btn {
    position: absolute;
    top: calc(50% - 30px); /* Adjusting for the 60px bottom padding of the grid */
    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; /* Pull arrows in over the faded edge */
}

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

.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-family: 'Inter', sans-serif;
    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);
}

/* Beyond Events Section */
.beyond-events-section {
    padding: 180px 20px 80px 20px;
    background-color: #ffffff;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.beyond-events-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 100px;
    background: linear-gradient(to bottom, #F3EEE7 0%, rgba(243, 238, 231, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

.beyond-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

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

.beyond-title {
    font-family: 'Inter', sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: -0.03em;
    color: #111827;
    margin-bottom: 16px;
    line-height: 1.2;
}

.rolling-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;
}

.statement-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(6rem, 12vw, 12rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    color: #111827;
    margin-bottom: 16px;
    line-height: 0.95;
}

.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%; }
}

.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;
}

.beyond-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn-outline-dark-custom {
    background-color: transparent;
    color: #111827;
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: 9999px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid rgba(0,0,0,0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline-dark-custom:hover {
    background-color: rgba(0,0,0,0.03);
    color: #111827;
    border-color: rgba(0,0,0,0.2);
}

.beyond-actions .btn-waitlist,
.beyond-actions .btn-outline-dark-custom {
    padding: 0.6rem 1.5rem;
    font-size: 0.95rem;
}

.b-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 150px;
    gap: 1px;
    background: #111827;
    border: 1px solid #111827;
    border-radius: 16px;
    overflow: hidden;
}

.b-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #f3f4f6;
    box-shadow: none;
    border: none;
    transition: transform 0.5s ease;
    cursor: default;
}

.b-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    filter: grayscale(15%) contrast(1.02);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
    will-change: transform, filter;
}

.b-card:hover {
    box-shadow: none;
    border-color: transparent;
}

.b-card:hover img {
    transform: scale(1.04);
    filter: grayscale(0%) contrast(1.05);
}

.b-card-label {
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    background: #ffffff;
    border: none;
    border-top: 1px solid #111827;
    border-right: 1px solid #111827;
    padding: 12px 20px;
    border-radius: 0 16px 0 0;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 600;
    color: #111827;
    box-shadow: none;
    pointer-events: none;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    z-index: 2;
}

.b-card:hover .b-card-label {
    background: #111827;
    color: #ffffff;
}

/* Layout */
.b-card-1 { grid-column: span 6; grid-row: span 2; }
.b-card-2 { grid-column: span 3; grid-row: span 2; }
.b-card-3 { grid-column: span 3; grid-row: span 2; }
.b-card-4 { grid-column: span 7; grid-row: span 2; }
.b-card-5 { grid-column: span 4; grid-row: span 2; }
.b-card-6 { grid-column: span 1; grid-row: span 2; }

@media (max-width: 991px) {
    .b-card-1 { grid-column: span 12; grid-row: span 2; }
    .b-card-2 { grid-column: span 6; grid-row: span 2; }
    .b-card-3 { grid-column: span 6; grid-row: span 2; }
    .b-card-4 { grid-column: span 12; grid-row: span 2; }
    .b-card-5 { grid-column: span 9; grid-row: span 2; }
    .b-card-6 { grid-column: span 3; grid-row: span 2; }
}

@media (max-width: 768px) {
    .beyond-events-section { padding: 120px 20px 60px 20px; }
    .beyond-title { font-size: 2rem; }
    .statement-title { font-size: 5rem; line-height: 0.95; }
    .beyond-actions { flex-direction: column; width: 100%; }
    .beyond-actions .btn { width: 100%; }
    .b-grid { display: flex; flex-direction: column; gap: 1px; }
    .b-card { height: 180px; border-radius: 16px; }
    .b-card-label { padding: 8px 16px; font-size: 10px; }
}

/* 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;
    }
}

.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;
}

.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-image-card {
    flex: 0 0 280px;
    height: 160px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    pointer-events: none; /* Prevents clicking */
}

.banner-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(10%) contrast(1.05);
}

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

.banner-card-front {
    transform: rotateX(0deg);
}

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

/* Live Preview Modal */
.preview-modal-dialog {
    max-width: 90vw;
    width: 1200px;
    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;
}

/* Default front state: All cards start with a clean white background */
.banner-card-front { 
    background-color: #ffffff; 
    color: #000000; 
    transition: background-color 0.3s;
}
.banner-card:hover .banner-card-front {
    background-color: #f9fafb;
}

/* Sleek Confetti Back Face */
.banner-card-back {
    background-color: #111827 !important;
    color: #ffffff !important;
    position: relative;
    overflow: hidden;
}

.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"),
        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, 18px 18px, 16px 16px, 10px 10px, 22px 22px;
    background-position: 48% 45%, 52% 48%, 45% 52%, 55% 55%, 42% 42%, 58% 42%, 40% 58%, 55% 40%;
}

.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"),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 45 45' 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='%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='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"),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 45 45' 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='%23FFFFFF'/%3E%3C/svg%3E");
    background-size: 18px 18px, 26px 26px, 14px 14px, 16px 16px, 22px 22px, 12px 12px, 20px 20px, 15px 15px;
    background-position: 50% 40%, 60% 50%, 50% 60%, 40% 50%, 45% 40%, 55% 60%, 35% 45%, 65% 55%;
}

.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% { 
        background-position: 48% 45%, 52% 48%, 45% 52%, 55% 55%, 42% 42%, 58% 42%, 40% 58%, 55% 40%;
        transform: scale(0.5) rotate(0deg); 
        opacity: 0; 
    }
    20% { 
        opacity: 1; 
    }
    100% { 
        background-position: -10% -20%, 110% -15%, -20% 120%, 120% 115%, 20% -30%, 80% -25%, -15% 70%, 110% 40%;
        transform: scale(1.3) rotate(15deg); 
        opacity: 0; 
    }
}

@keyframes star-explode-2 {
    0% { 
        background-position: 50% 40%, 60% 50%, 50% 60%, 40% 50%, 45% 40%, 55% 60%, 35% 45%, 65% 55%;
        transform: scale(0.5) rotate(0deg); 
        opacity: 0; 
    }
    20% { 
        opacity: 1; 
    }
    100% { 
        background-position: 50% -40%, 140% 50%, 50% 140%, -40% 50%, 10% -20%, 90% 120%, -30% 20%, 130% 80%;
        transform: scale(1.4) rotate(-15deg); 
        opacity: 0; 
    }
}

@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); }
}

@media (max-width: 768px) {
    .banner-card {
        flex: 0 0 160px;
        height: 42px;
    }
    .banner-image-card {
        flex: 0 0 160px;
        height: 90px;
    }
    .banner-card-front, .banner-card-back {
        font-size: 15px;
        border-radius: 6px;
        padding: 0 10px;
    }
}

/* Instant Feature Section */
.instant-feature-section {
    padding: 100px 20px;
    background-color: #ffffff; /* Sleek, high-end white */
    position: relative;
    z-index: 10;
    overflow: hidden;
}

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

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

.instant-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.instant-text-wrapper {
    margin-bottom: 0;
    padding: 0;
    position: relative;
    z-index: 2;
    flex: 1;
}

.instant-title {
    font-family: 'Inter', sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: -0.03em;
    color: #111827;
    line-height: 1.1;
    margin-bottom: 12px;
}

.instant-title .serif-italic {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-weight: 400;
    color: #4B5563;
}

.instant-description {
    font-size: 1.1rem;
    line-height: 1.45;
    color: #6B7280;
    max-width: 650px;
}

@media (max-width: 991px) {
    .instant-title {
        font-size: 2rem;
    }
}

.instant-visual-composition {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    height: auto;
    display: flex;
    justify-content: center;
    padding: 0;
    z-index: 2;
    flex: 1;
}

/* Feature Animated Background (Creative Freedom) */
.feature-animated-bg-container {
    position: absolute;
    top: 50%; left: 50%; width: 110%; height: 110%;
    transform: translate(-50%, -50%);
    z-index: 0;
    overflow: visible;
    pointer-events: none;
}

.feature-animated-bg {
    position: absolute;
    top: 15%; left: 15%; width: 70%; height: 70%;
    background: linear-gradient(120deg, 
        rgba(154, 255, 114, 0.75) 0%,    /* Pastel Green */
        rgba(135, 206, 250, 0.75) 33%,   /* Pastel Blue */
        rgba(255, 179, 71, 0.75) 66%,    /* Pastel Orange */
        rgba(154, 255, 114, 0.75) 100%); /* Pastel Green */
    background-size: 150% 150%;
    filter: blur(55px);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: panGradient 10s ease-in-out infinite alternate, featureOrganicBlob 15s ease-in-out infinite alternate;
    opacity: 1;
}

@keyframes featureOrganicBlob {
    0% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
        transform: rotate(0deg) scale(1);
    }
    33% {
        border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
        transform: rotate(60deg) scale(1.05);
    }
    66% {
        border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
        transform: rotate(120deg) scale(0.95);
    }
    100% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
        transform: rotate(180deg) scale(1);
    }
}

/* Floating Prompt Bubble */
.floating-bubble-prompt {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 12px 20px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1), 0 5px 15px rgba(0,0,0,0.05);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #9CA3AF;
    z-index: 10;
    display: flex;
    align-items: center;
}

.floating-bubble-prompt .cursor {
    display: inline-block;
    width: 2px;
    height: 1.2em;
    background: #10B981;
    margin-right: 8px;
    animation: blink 1s infinite;
}

.instant-email-mockup {
    position: relative;
    margin-right: 5%;
    width: 60%;
    max-width: 500px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.05);
    overflow: hidden;
    z-index: 1;
    will-change: transform;
}

.email-mockup-header {
    background: #F9FAFB;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #E5E7EB;
}

.email-dots {
    display: flex;
    gap: 6px;
}

.email-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.email-dots .dot.red { background: #ff5f57; }
.email-dots .dot.yellow { background: #ffbd2e; }
.email-dots .dot.green { background: #28ca42; }

.email-subject {
    flex: 1;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #4B5563;
    margin-left: -40px;
}

.email-mockup-content {
    padding: 20px;
}

.email-to-line {
    font-size: 13px;
    border-bottom: 1px solid #F3F4F6;
    padding-bottom: 8px;
    margin-bottom: 12px;
}

.email-to-line .label { color: #9CA3AF; margin-right: 8px; }
.email-to-line .value { color: #111827; font-weight: 500; }

.email-body-image {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.email-body-image img {
    width: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.email-footer-btn {
    background: #111827;
    color: #ffffff;
    text-align: center;
    padding: 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    width: 100%;
}

.instant-prompt-glass {
    position: absolute;
    bottom: 5%;
    left: 5%;
    width: 50%;
    max-width: 320px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.1), inset 0 0 0 1px rgba(255,255,255,0.2);
    z-index: 2;
    will-change: transform;
}

.tab-prompt-glass {
    bottom: 12%;
    top: auto;
    left: 8%;
    transform: scale(0.92);
    transform-origin: bottom left;
    width: 75%;
    max-width: 260px;
    z-index: 15;
    pointer-events: none;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15), 0 4px 12px rgba(0,0,0,0.08), inset 0 1px 1px rgba(255,255,255,1);
    background: rgba(255, 255, 255, 0.75) 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.9" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)" opacity="0.06"/%3E%3C/svg%3E');
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 18px 24px;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-prompt-glass.scale-in-active {
    opacity: 1;
    transform: scale(1);
}

.invite-floating-img {
    position: absolute;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.2), 0 5px 15px rgba(0,0,0,0.1);
    opacity: 0;
    pointer-events: none;
    z-index: 15;
    clip-path: inset(100% 0 0 0);
    transition: opacity 0.6s ease, clip-path 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.invite-text-img {
    bottom: 6%;
    left: 14%;
    width: 22%;
    max-width: 190px;
    transform: translateY(20px);
    box-shadow: none;
    border-radius: 0;
}

.invite-text-img.fly-in-active {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translateY(0);
}

.invite-email-img {
    bottom: 5%;
    right: 10%;
    width: 28%;
    max-width: 240px;
    box-shadow: none;
    border-radius: 0;
    background: transparent;
    transform: translateY(20px);
}

.invite-email-img.fly-in-active {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translateY(0);
}

.customize-prompt-1, .customize-prompt-2 {
    width: max-content !important;
    max-width: 85% !important;
    padding: 14px 20px;
}

.customize-prompt-1 {
    bottom: 22%;
    left: 8%;
    top: auto;
    right: auto;
    transform-origin: bottom left;
}

.customize-prompt-2 {
    bottom: 8%;
    left: auto;
    right: 8%;
    transform-origin: bottom right;
}

@media (max-width: 768px) {
    .tab-prompt-glass {
        width: 85%;
        max-width: 280px;
    }
}

.glass-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 600;
    color: #4B5563;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.glass-body {
    font-size: 1rem;
    line-height: 1.4;
    color: #111827;
    font-weight: 500;
}

.glass-body .cursor {
    display: inline-block;
    width: 2px;
    height: 1.1em;
    background: #10B981;
    vertical-align: middle;
    margin-left: 4px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .instant-feature-section {
        padding: 50px 20px;
    }
    
    .instant-container {
        flex-direction: column;
        padding: 0;
    }
    
    .instant-text-wrapper {
        padding: 0;
        margin-bottom: 40px;
    }
    
    .instant-visual-composition {
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 0;
        align-items: center;
        padding: 0;
    }
    
    .floating-bubble-prompt {
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        bottom: auto;
        font-size: 13px;
        padding: 10px 16px;
        width: max-content;
    }
    
    .instant-email-mockup {
        position: relative;
        width: 100%;
        left: 0;
        right: 0;
        bottom: 0;
        top: 0;
        margin-right: 0;
        max-width: 100%;
        transform: none !important;
    }
    
    .instant-prompt-glass {
        position: absolute;
        top: 160px;
        right: -10px;
        left: auto;
        bottom: auto;
        width: 60%;
        max-width: 280px;
        margin-top: 0;
        margin-right: 0;
        z-index: 5;
        transform: none !important;
        padding: 12px 16px;
    }
    
    .tab-prompt-glass {
        top: auto !important;
        bottom: 25% !important;
        left: auto !important;
        right: 5% !important;
        transform: scale(0.92) !important;
        transform-origin: bottom right !important;
        width: 85% !important;
        max-width: 220px !important;
    }

    .tab-prompt-glass.scale-in-active {
        transform: scale(1) !important;
    }

    .invite-text-img {
        bottom: 15%;
        left: -5%;
        width: 45%;
        max-width: 220px;
    }
    
    .invite-email-img {
        bottom: 5%;
        right: -5%;
        width: 55%;
        max-width: 280px;
    }

    .customize-prompt-1 {
        bottom: 35% !important;
        left: 5% !important;
        right: auto !important;
        transform-origin: bottom left !important;
    }

    .customize-prompt-2 {
        bottom: 12% !important;
        left: auto !important;
        right: 5% !important;
        transform-origin: bottom right !important;
    }

    .instant-prompt-glass .glass-body {
        font-size: 0.85rem;
    }

    .gallery-pinned-section {
        height: auto;
        min-height: auto;
        padding: 40px 0 40px 0;
        display: block;
        background-color: rgba(255, 255, 255, 0.6);
    }

    .gallery-pinned-section::after {
        background: linear-gradient(to top, #F3EEE7 0%, rgba(243, 238, 231, 0) 100%);
        height: 120px;
    }

    .gallery-pinned-content {
        padding: 20px;
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .gallery-text {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        max-width: 100%;
        margin: 0 0 20px 0;
        text-align: center;
    }

    .gallery-headline {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .gallery-description {
        font-size: 1.25rem;
    }

    .gallery-carousel-wrapper {
        padding: 0;
    }

    .gallery-nav-btn {
        display: flex; /* Show arrow buttons on mobile */
        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 {
        position: relative;
        height: auto;
        display: grid;
        grid-template-rows: 1fr; /* Single row carousel on mobile */
        grid-auto-columns: calc(85% - 16px); /* Generous side peeks */
        gap: 16px;
        padding: 0 0 20px 0;
        margin: 0;
        width: 100%;
        -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%);
    }

    /* Reset grid areas for mobile stack */
    .gallery-card:nth-child(n) {
        grid-area: auto;
        transform: none !important;
        margin-top: 0 !important;
        aspect-ratio: 16/10;
        width: 100%;
        max-width: 100%;
        scroll-snap-align: center;
    }
}

.modules-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 80px;
    gap: 40px;
    position: relative;
}

/* Column A: Visuals */
.modules-visual-col {
    position: relative;
}

.modules-visual-sticky {
    position: sticky;
    top: 150px;
    height: calc(100vh - 240px); /* Adjust based on desired visual size */
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-container {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 4px; /* Minimal border radius */
    overflow: hidden;
    background: #e9ecef; /* Placeholder background */
}

.module-visual {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform: scale(1.03);
}

.module-visual.active {
    opacity: 1;
    transform: scale(1);
}

.module-card-img-mobile {
    display: none; /* Hidden by default, shown on mobile carousel */
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 24px;
}

/* Column B: Content */
.modules-content-col {
    position: relative;
    padding: 0;
    /* Overlay content and track for Desktop */
    display: grid;
    grid-template-areas: "stack";
}

.modules-text-sticky {
    grid-area: stack;
    position: sticky;
    top: 150px; /* Aligned with visual top */
    height: calc(100vh - 240px); /* Match visual height */
    min-height: 500px; /* Match visual min-height */
    display: flex;
    align-items: flex-start;
    justify-content: flex-start; /* Left align text */
    pointer-events: none;
    z-index: 20;
}

.module-text-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 480px;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    display: flex;
    flex-direction: column;
}

.module-text-inner.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

.modules-scroll-track {
    grid-area: stack;
    position: relative;
    width: 100%;
    z-index: 10;
    padding-top: calc(50vh - 150px);
}

.module-step-spacer {
    height: 100vh; /* Adjusted for snappier 1-to-1 scroll feel */
    width: 100%;
}

.module-eyebrow {
    display: inline;
    font-weight: 700;
}

.module-headline {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 500;
    color: #1F2937;
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* Color variations for eyebrows based on module - Vibrant, Saturated */
.module-text-inner[data-id="1"] .module-eyebrow { color: #0A2BFF; } /* Saturated Blue */
.module-text-inner[data-id="2"] .module-eyebrow { color: #E60050; } /* Vibrant Pink/Red */
.module-text-inner[data-id="3"] .module-eyebrow { color: #00B050; } /* Vivid Green */
.module-text-inner[data-id="4"] .module-eyebrow { color: #FF6600; } /* Bright Orange */
.module-text-inner[data-id="5"] .module-eyebrow { color: #9900FF; } /* Electric Purple */
.module-text-inner[data-id="6"] .module-eyebrow { color: #00A6CC; } /* Bright Teal */

.module-description {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: #6B7280;
    margin-bottom: 4px;
    line-height: 1.4;
    margin-top: auto;
    max-width: 100%;
    text-wrap: pretty;
}

.module-sub-line {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #6b7280;
    margin-top: 8px;
    margin-bottom: 32px;
    font-weight: 400;
    line-height: 1.5;
    max-width: 100%;
}

.module-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1f2937;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.module-link:hover {
    gap: 12px;
}

.module-link i {
    font-size: 0.8rem;
    color: #1f2937;
}

.modules-mobile-pagination {
    display: none;
}

.mobile-swipe-indicator {
    display: none;
}

/* Column C: Nav */
.modules-nav-col {
    position: relative;
}

.modules-nav-sticky {
    position: sticky;
    top: 150px;
    height: calc(100vh - 240px);
    min-height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modules-nav-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.module-thumb {
    width: 64px;
    height: 64px;
    border-radius: 2px;
    border: none;
    padding: 0;
    background: #fff;
    cursor: pointer;
    overflow: visible;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    opacity: 0.6;
    transform: scale(0.9);
}

.module-thumb::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 2px;
    height: 32px;
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

.module-thumb.active::before {
    transform: translateY(-50%) scaleY(1);
    opacity: 1;
}

.module-thumb[data-id="1"]::before { background-color: #0A2BFF; }
.module-thumb[data-id="2"]::before { background-color: #E60050; }
.module-thumb[data-id="3"]::before { background-color: #00B050; }
.module-thumb[data-id="4"]::before { background-color: #FF6600; }
.module-thumb[data-id="5"]::before { background-color: #9900FF; }
.module-thumb[data-id="6"]::before { background-color: #00A6CC; }

.module-thumb:hover {
    opacity: 0.8;
    transform: scale(0.95);
}

.module-thumb.active {
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    z-index: 1;
}

/* Specific colored borders/shadows for active thumbs - Vibrant palette */
.module-thumb[data-id="1"].active { box-shadow: 0 10px 20px rgba(10, 43, 255, 0.2); }
.module-thumb[data-id="2"].active { box-shadow: 0 10px 20px rgba(230, 0, 80, 0.2); }
.module-thumb[data-id="3"].active { box-shadow: 0 10px 20px rgba(0, 176, 80, 0.2); }
.module-thumb[data-id="4"].active { box-shadow: 0 10px 20px rgba(255, 102, 0, 0.2); }
.module-thumb[data-id="5"].active { box-shadow: 0 10px 20px rgba(153, 0, 255, 0.2); }
.module-thumb[data-id="6"].active { box-shadow: 0 10px 20px rgba(0, 166, 204, 0.2); }

.module-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

/* Responsive Styles */
@media (max-width: 767px) {
    /* Mobile: Carousel */
    .modules-section {
        padding: 100px 0;
        /* Use 'clip' instead of 'hidden'. 'hidden' breaks position: sticky natively */
        overflow-x: clip; 
    }

    .modules-section .container-fluid {
        padding: 0 !important;
    }

    .modules-section[id="auto-id-54"] {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .modules-grid {
        display: block;
        /* Reduced from 150vh to 115vh for a soft, brief pin that isn't too long */
        height: 115vh;
        height: 115dvh;
        position: relative;
    }
    
    .modules-visual-col {
        display: none; /* Hide the sticky visual column */
    }

    .modules-content-col {
        display: block;
    }

    .modules-text-sticky {
        position: relative;
        top: 0;
        height: auto;
        flex: 1;
        display: flex;
        flex-direction: row;
        overflow-x: hidden;
        touch-action: pan-y;
        gap: 0;
        padding: 0;
        scrollbar-width: none;
        -ms-overflow-style: none;
        pointer-events: auto;
        align-items: flex-start;
    }

    .modules-text-sticky::-webkit-scrollbar {
        display: none;
    }
    
    .modules-content-col {
        height: calc(100vh - 60px);
        height: calc(100dvh - 60px);
        display: flex;
        flex-direction: column;
        position: sticky;
        top: 60px;
        z-index: 10;
    }

    .module-text-inner {
        flex: 0 0 100vw;
        max-width: 100vw;
        height: 100%;
        scroll-snap-align: center;
        opacity: 1;
        position: relative;
        top: auto;
        left: auto;
        pointer-events: auto;
        background: transparent;
        padding: 0;
        border-radius: 0;
        border: none;
        box-shadow: none;
        margin: 0;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
    }
    
    .module-text-inner > .module-headline,
    .module-text-inner > .module-description,
    .module-text-inner > .module-sub-line,
    .module-text-inner > .module-link {
        padding-left: 20px;
        padding-right: 20px;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .modules-mobile-pagination {
        display: flex;
        justify-content: center;
        gap: 8px;
        padding: 16px 0 32px 0;
        margin-top: auto;
        z-index: 10;
    }

    .mod-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(31, 41, 55, 0.2);
        transition: all 0.3s ease;
        cursor: pointer;
    }

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

    .mobile-swipe-indicator {
        display: none !important;
    }

    .module-card-img-mobile {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        max-height: 45vh;
        object-fit: cover;
        border-radius: 0;
        margin-bottom: 24px;
        flex-shrink: 0;
    }
    
    .modules-scroll-track {
        display: none;
    }
    
    .modules-nav-col {
        display: none;
    }
    
    .module-headline { font-size: 1.35rem; margin-bottom: 16px; line-height: 1.3; }
    .module-description { font-size: 0.95rem; margin-bottom: 4px; line-height: 1.5; max-width: 100%; }
    .module-sub-line { font-size: 0.875rem; margin-top: 6px; margin-bottom: 20px; line-height: 1.4; max-width: 100%; }
}
