/* Reset and base styles */
html {
    background-color: #13131b;
    scroll-behavior: smooth;
    height: -webkit-fill-available;
}

* {
    box-sizing: border-box;
}

body {
    background-color: #13131b;
    min-height: -webkit-fill-available;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

html .video-home {
    transition: opacity 0.3s ease;
    opacity: 0;
}

html.js-loaded .video-home {
    opacity: 1;
}
@font-face {
    font-family: 'Manrope';
    src: url('fonts/Manrope.ttf') format('truetype');
    font-weight-range: 200 800; 
    font-style: normal;
    font-display: swap;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Manrope', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Manrope', sans-serif;
}

/* Video header styles */
.video-home {
    position: fixed;
    width: 100vw;
    height: 100vh;
    height: -webkit-fill-available;
    min-height: -webkit-fill-available;
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    z-index: 50;
    display: flex;
    background-color: rgba(0, 0, 0, 0.15);
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(5px);
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.main-nav .logo {
    display: inline-block;
    padding: 4px;
    margin: -4px;
}

.main-nav .logo img {
    height: 32px;
    filter: invert(1);
    width: auto;

}

.main-nav .contact-link {
    color: white;
    text-decoration: none;
    font-size: 16px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.main-nav .contact-link:hover {
    opacity: 1;
}

/* Dark overlay */
.video-home::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.0) 0%,
            rgba(0, 0, 0, 0.1) 90%,
            rgba(0, 0, 0, 0.95) 100%);

    z-index: 1;
    pointer-events: none;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #010307;
}

.video-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.nav-button {
    z-index: 2;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.0);
    border: 0px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.4);
}

.nav-button.prev {
    left: 20px;
}

.nav-button.next {
    right: 20px;
}

.video-home .bottom-home-content {
    position: absolute;
    bottom: env(safe-area-inset-bottom, 0);
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 2rem;
    padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0));
}

@media (max-width: 768px) {
    .video-home .bottom-home-content {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        text-align: left;
        gap: 1rem;
        padding: 1rem;
        padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0));
    }
}

/* Typography */
.bottom-home-content h1 {
    font-weight: normal;
    color: white;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.bottom-home-content h1 span {
    display: block;
    font-size: 64px;
    letter-spacing: -3px;
    line-height: 1;
}

@media (max-width: 768px) {
    .bottom-home-content h1 span {
        font-size: 46px;
        letter-spacing: -1px;
    }
}

.bottom-home-content h1 .subtitle {
    font-size: 32px;
    letter-spacing: normal;
    margin-top: 0.5rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .bottom-home-content h1 .subtitle {
        font-size: 18px;
    }
}

/* Button styles */
.bottom-home-content .button-container {
    display: flex;
    justify-content: flex-end;
    align-items: stretch;
    gap: 1rem;
    margin: 0;
}

@media (max-width: 768px) {
    .bottom-home-content .button-container {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
}

.button {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    color: white;
    text-decoration: none;
    font-size: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.signup-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 18px 10px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: #222222;
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.8);
    border: 0;
    box-shadow: rgba(45, 35, 66, 0.4) 0 2px 4px, 
                rgba(45, 35, 66, 0.3) 0 7px 13px -3px, 
                rgba(0, 0, 0, 0.8) 0 -3px 0 inset;
    will-change: transform, box-shadow;
    cursor: pointer;
}

.signup-button>span {
    position: relative;
    z-index: 2;
}

.signup-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 300%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0) 20%,
            rgba(255, 255, 255, 0.9) 50%,
            rgba(255, 255, 255, 0) 80%,
            transparent 100%);
    animation: shine 6s infinite;
    animation-timing-function: cubic-bezier(0.4, 0.0, 0.2, 1);
    z-index: 1;
}

.signup-button:hover {
    transform: translateY(-0.5px);
    box-shadow: rgba(45, 35, 66, 0.4) 0 4px 8px,
                rgba(45, 35, 66, 0.3) 0 7px 13px -3px,
                rgba(0, 0, 0, 0.8) 0 -3px 0 inset;
    background: rgba(255, 255, 255, 0.9);
}

.signup-button:active {
    transform: translateY(1px);
    box-shadow: rgba(255, 255, 255, 0.6) 0 3px 7px inset;
    background: rgba(255, 255, 255, 1);
}

.signup-button:focus {
    box-shadow: rgba(255, 255, 255, 0.8) 0 0 0 1.5px inset,
                rgba(45, 35, 66, 0.4) 0 2px 4px,
                rgba(45, 35, 66, 0.3) 0 7px 13px -3px,
                rgba(255, 255, 255, 0.8) 0 -3px 0 inset;
    outline: none;
}

@media (max-width: 768px) {
    .signup-button span {
        display: block;
    }
}

.menu-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.menu-link {
    color: white;
    text-decoration: none;
    font-size: 16px;
    opacity: 0.9;
    position: relative;
}


.menu-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.7);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-out;
}

.menu-link:hover {
    opacity: 1;
}

.menu-link:hover::after {
    transform: scaleX(1);
}

.menu-link.active {
    opacity: 1;
    position: relative;
}

.menu-link.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 2px;
    background-color: white;
    transform: scaleX(0);
    transform-origin: left;
    animation: underlineExpand 0.3s ease-out forwards;
}

@keyframes underlineExpand {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}
.menu-link.accent {
    background-color: #010101;
    border: 1px solid #464646;
    padding: 7px 18px;
    border-radius: 4px;
}

.menu-link.accent::after {
    background-color: #464646;
    border-radius: 4px;
}

.button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    backdrop-filter: blur(10px);
}

.bottom-home-content .button .arrow {
    margin-left: 8px;
    font-size: 18px;
    display: flex;
}



/* Intro page styles */

.ga-container {
    position: relative;
    font-family: 'Manrope', sans-serif;
    text-align: justify;
    line-height: 1.6;
    font-weight: 400;
    color: #e0e0e0;
    margin: 0 auto;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.ace-container {
    padding-top: 45px;
    padding-bottom: 0;
}

@media (max-width: 768px) {
    .ga-container {
        width: 100%;
        max-width: 100vw;
    }
    .ace-container {
        padding: 50px 20px;
    }
}





.ga-container a.back-button {
    position: sticky;
    top: 30px;
    left: 30px;
    font-size: 30px;
    text-decoration: none;
    color: #f3e2e2;
    transition: transform 0.3s ease;
}

.ga-container a.back-button:hover {
    transform: translateX(-3px);
}

.ga-container h1 {
    font-family: 'Manrope', sans-serif;
    font-size: 36px;
    display: block;
    margin-bottom: 10px;
    line-height: 1.2;
    font-weight: 500;
}

@media (max-width: 768px) {
    .ga-container h1 {
        text-align: left;
        margin-top: 0;
    }
}


.ga-container h2 {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 500;
    margin-top: 24px;
    margin-bottom: 24px;
}

.ga-container h2.subtitle {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 500;
    margin-top: 0;
    margin-bottom: 12px;
    opacity: 0.5;
}

.date-ace {
    font-size: 14px;
    color: #444457;
    text-transform: uppercase;
    margin-top: 8px;
}

.ga-container p {
    margin-bottom: 16px;
    font-size: 1rem;
}

.ga-container a {
    color: #f3e2e2;
    text-decoration: underline;
}

.ga-container a:hover {
    text-decoration: underline;
}

.caption-box {
    text-align: center;
    font-style: italic;
    padding: 12px 12px 12px;
    font-size: 14px;
    color: rgba(243, 226, 226, 0.7);
    margin: 0 auto 55px;
    line-height: 1.4;
    background-color: rgba(0, 0, 0, 0.7);
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .caption-box {
        max-width: 100%;
        padding: 12px 8px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.fade-in-section {
    opacity: 0;
    transition: opacity 0.6s ease-out;
    will-change: opacity;
}

.fade-in-section.is-visible {
    opacity: 1;
}

/* Removed carousel-specific styles that are now in video-carousel.js */

/* Footer styles */
.site-footer {
    padding: 1rem 2rem;
    border-top: 1px solid;
    background-color: rgba(19, 19, 27, 0.5);
    border-color: rgba(243, 226, 226, 0.1);
}

.footer-container {
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-logo-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo {
    height: 1rem;
    width: auto;
    opacity: 0.5;
}

.footer-copyright {
    font-size: 10px;
    color: rgba(243, 226, 226, 0.5);
}

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

.footer-social-link {
    color: rgba(243, 226, 226, 0.5);
    transition: opacity 0.2s;
}

.footer-social-link:hover {
    opacity: 0.8;
}

.footer-legal-link {
    font-size: 10px;
    color: rgba(243, 226, 226, 0.5);
    transition: color 0.2s;
}

.footer-legal-link:hover {
    text-decoration: underline;
}

.footer-tagline {
    font-size: 10px;
    color: rgba(243, 226, 226, 0.5);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

.footer-heart {
    width: 10px;
    height: 10px;
    color: rgba(243, 226, 226, 0.7);
}

.footer-heart svg {
    width: 10px;
    height: 10px;
}

/* Mobile menu styles */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    z-index: 200;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    padding: 80px 24px 24px;
    z-index: 49;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu .menu-link,
.mobile-menu .signup-button {
    display: block;
    width: 100%;
    text-align: center;
    margin: 16px 0;
    font-size: 18px;
}
.mobile-menu .menu-link:hover::after {
    opacity: 0;
}
.mobile-menu .menu-link.active::after {
    opacity: 0;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .menu-links {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .main-nav {
        padding: 18px 16px 12px;
    }

    /* Footer mobile styles */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }

    .footer-logo-section {
        justify-content: center;
    }

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

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

    .cta-section {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
}


.about-container {
    max-width: 580px;
    padding: 120px 0;
}

@media (max-width: 768px) {
    .about-container {
        padding: 100px 20px;
    }
}




.cta-main-section {
    display: block;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
    background-color: #0c0c0f;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

a.signup-secondary-button {
    display: block;
    width: 280px;
    margin: 0 auto;
    text-align: center;
    align-items: center;
    padding: 6px 12px;
    border-radius: 3px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.3px;
    color: white;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    background: rgba(24, 24, 34, 0.5);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(80, 80, 80, 0.4);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

a.signup-secondary-button:hover {
    background: rgba(24, 24, 34, 0.9);
    border: 1px solid rgba(80, 80, 80, 0.8);
    text-decoration: none;
}

.signup-secondary-button>span {
    position: relative;
    z-index: 2;
}

.signup-secondary-button:hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 300%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0) 20%,
            rgba(255, 255, 255, 0.05) 50%,
            rgba(255, 255, 255, 0) 80%,
            transparent 100%);
    animation: shine 2s infinite;
    animation-timing-function: cubic-bezier(0.4, 0.0, 0.2, 1);
    z-index: 1;
}


@media (max-width: 768px) {
    .signup-secondary-button span {
        display: block;
    }
}

/* Premium metallic reflection effect */
.metallic-text {
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 1) 0%,
      rgba(240, 240, 240, 0.95) 10%,
      rgba(220, 220, 220, 0.9) 20%,
      rgba(200, 200, 200, 0.8) 30%,
      rgba(180, 180, 180, 0.7) 40%,
      rgba(180, 180, 180, 0.7) 50%,
      rgba(200, 200, 200, 0.8) 60%,
      rgba(220, 220, 220, 0.9) 70%,
      rgba(240, 240, 240, 0.95) 80%,
      rgba(255, 255, 255, 1) 100%
    );
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: light-reflection 3.5s ease-in-out infinite;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.1);
    filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.3));
  }
  
  @keyframes light-reflection {
    0% {
      background-position: -100% center;
    }
    100% {
      background-position: 100% center;
    }
  }

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

    100% {
        transform: translateX(100%);
    }
}