:root {
  --brand-color: #20A4F3;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #000010;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    width: 100%;
    overscroll-behavior: none;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #000010;
    z-index: 1000;
    border-bottom: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    width: 100vw;
    box-sizing: border-box;
    height: 80px;
}

.invisible-header {
    border: none;
     align-items: center;
}

.logo {
    flex: 0 0 auto;
    text-decoration: none;
}

nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.request-access {
    flex: 0 0 auto;
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.close-menu {
    display: none;
}

.logo {
    color: var(--brand-color);
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600; /* or 700 for extra impact */
    letter-spacing: -0.01em;
    cursor: pointer;
    user-select: none;
}

.hero-section {
    height: 100dvh;
    max-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #000020;
    border-bottom: 1px solid #333;
}

.hero-content-title {
    color: var(--brand-color);
    font-size: 5rem;
    font-family: 'Space Grotesk', sans-serif;
    text-align: center;
    line-height: 1.0;
}

.hero-content-subtitle {
    font-size: 2rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 300;
    text-align: center;
    line-height: 1.2;
    padding-top: 32px;
    max-width: 80%;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 2rem;
    background-color: #000010;
}

nav a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    transition: color 0.3s;
    user-select: none;
}

nav a:hover {
    color: var(--brand-color);
    text-shadow: 0 0 8px rgba(0, 123, 255, 0.5);
}

.request-access {
    color: #000010;
    background-color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    transition: color 0.3s;
    margin-left: 1rem;
    padding: 0.5rem 1rem;
    border: 1px solid #333;
    border-radius: 4px;
    flex: 0 0 auto;
}

.request-access:hover {
    color: #fff;
    background-color: var(--brand-color);
    text-shadow: 0 0 8px rgba(0, 123, 255, 0.5);
}

.hero-section .request-access-mobile {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color :#000010;
    background-color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
    border: 1px solid #333;
    border-radius: 4px;
    z-index: 10;
}

.hero-section .request-access-mobile:hover {
    background-color: var(--brand-color);
    color: #fff;
    text-shadow: 0 0 8px rgba(0, 123, 255, 0.5);
}

main {
    padding-top: 6rem; /* Adjust for fixed header */
}

.pane {
    display: grid;
    height: 100dvh;
    max-height: 100dvh;
    position: relative;
    background: #000020;
    border-bottom: 1px solid #333;
}

.pane:nth-child(odd) {
    grid-template-columns: 50vw 1fr;
}

.pane:nth-child(even) {
    grid-template-columns: 1fr 50vw;
}

.square {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    justify-self: center;
    align-self: center;
    border-radius: 4px;
    box-shadow: 0 8px 16px rgba(255, 255, 255, 0.1);
    animation: pulse 3s ease-in-out infinite;
}

.pane img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    justify-self: stretch;
    align-self: stretch;
    opacity: 0;
    transition: opacity 0.3s ease;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.content {
    justify-self: center;
    align-self: center;
    padding: 4rem;
}

.hero-content {
    justify-items: center;
    align-items: center;
    padding: 4rem;
    max-width: 80%;
}

h1, h2 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--brand-color);
    text-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
    line-height: 1.1;
}

h2 {
    font-size: 2rem;
    letter-spacing: 0.05em;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    font-weight: 600;
    line-height: 1.3;
}

p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1.5rem;
}

pre {
    background-color: #000010;
    padding: 1rem;
    border: 1px solid #333;
    overflow-x: auto;
}

form {
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 0.5rem;
    font-weight: bold;
}

input, textarea {
    background-color: #000010;
    color: #fff;
    border: 1px solid #333;
    padding: 0.5rem;
    font-family: inherit;
}

button {
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    color: #333;
    border: none;
    padding: 1rem 2rem;
    cursor: pointer;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

button:hover {
    background: var(--brand-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 123, 255, 0.4);
}

#contact {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-container {
    width: 100%;
    max-width: 700px;
    min-width: 300px;
    border: 1px solid rgb(60, 60, 60);
    border-radius: 12px;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 100px;
    padding: 2rem;
}

.copyright {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    padding: 1rem;
    font-size: 0.5;
    font-family: 'Roboto', sans-serif;
    color: #ffffff;
}

/* Additional form spacing */
.space-y-6 > * + * {
    margin-top: 1.5rem;
}

.space-y-2 > * + * {
    margin-top: 0.5rem;
}

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

.mb-8 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.pt-4 {
    padding-top: 1rem;
}

.pt-6 {
    padding-top: 1.5rem;
}

.mt-8 {
    margin-top: 2rem;
}

.font-bold {
    font-weight: 700;
}

.text-white {
    color: #fff;
}

.text-white\/90 {
    color: rgba(255, 255, 255, 0.9);
}

.text-white\/80 {
    color: rgba(255, 255, 255, 0.8);
}

.text-white\/60 {
    color: rgba(255, 255, 255, 0.6);
}

.text-black {
    color: #000;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.block {
    display: block;
}

.w-full {
    width: 100%;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.bg-gray-200 {
    background-color: rgb(229, 231, 235);
}

.hover\:bg-gray-300:hover {
    background-color: rgb(209, 213, 219);
}

.focus\:outline-none:focus {
    outline: none;
}

.focus\:ring-2:focus {
    box-shadow: 0 0 0 2px;
}

.focus\:ring-white\/50:focus {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.focus\:ring-offset-2:focus {
    box-shadow: 0 0 0 2px, 0 0 0 0 2px;
}

.focus\:ring-offset-black:focus {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5), 0 0 0 0 2px #000;
}

.active\:transform:active {
    transform: scale(0.98);
}

.active\:scale-\[0\.98\]:active {
    transform: scale(0.98);
}

.disabled\:opacity-50:disabled {
    opacity: 0.5;
}

.disabled\:cursor-not-allowed:disabled {
    cursor: not-allowed;
}

.disabled\:transform-none:disabled {
    transform: none;
}

.border-t {
    border-top: 1px solid;
}

.border-white\/10 {
    border-color: rgba(255, 255, 255, 0.1);
}

.hover\:text-white:hover {
    color: #fff;
}

/* Contact page styles */
.contact-page-main {
    background: #000020;
    font-family: 'Roboto', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100dvh;
    padding: 1rem;
    position: relative;
}

.contact-form-container {
    width: 90%;
    max-width: 700px;
    min-width: 300px;
    border: 1px solid #333;
    border-radius: 12px;
    background-color: #000010;
    backdrop-filter: blur(10px);
    padding: 16px;
    z-index: 10;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-submit-btn {
    width: 100%;
    padding: 0.75rem 1.5rem;
    background-color: #fff;
    color: #000;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 0 35px var(--brand-color);
}

.contact-submit-btn:hover {
    background-color: rgb(209, 213, 219);
    box-shadow: 0 0 35px rgba(32, 164, 243, 0.8);
    transform: scale(0.98);
}

.contact-submit-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5), 0 0 35px rgba(32, 164, 243, 0.6);
}

.contact-submit-btn:active {
    transform: scale(0.96);
}

.contact-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.contact-form-input {
    width: 100%;
    border: 1px solid #333;
    border-radius: 8px;
    background-color: #000010 !important;
    color: #fff;
    font-family: inherit;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    min-height: 50px;
}

.contact-form-input:focus {
    border-color: rgba(255, 255, 255, 0.6);
    background-color: rgb(35, 35, 35) !important;
    outline: none;
    box-shadow: 0 0 0 2px rgba(35,35,35,0.2);
}

input[type="text"].contact-form-input:-webkit-autofill,
input[type="email"].contact-form-input:-webkit-autofill,
textarea.contact-form-textarea:-webkit-autofill,
input[type="text"].contact-form-input:-internal-autofill-selected,
input[type="email"].contact-form-input:-internal-autofill-selected,
textarea.contact-form-textarea:-internal-autofill-selected {
    border-color: rgba(255, 255, 255, 0.6) !important;
    background-color: #000010 !important;
    background-image: none !important;
    outline: none !important;
    box-shadow:
        0 0 0 2px rgba(0,0,16,0.2),
        0 0 0 1000px #000010 inset !important;
    -webkit-text-fill-color: #fff !important;
    -webkit-box-shadow:
        0 0 0 2px rgba(0,0,16,0.2),
        0 0 0 1000px #000010 inset !important;
    color: #fff !important;
    transition: none !important;
}

input[type="text"].contact-form-input:-webkit-autofill:focus,
input[type="email"].contact-form-input:-webkit-autofill:focus,
textarea.contact-form-textarea:-webkit-autofill:focus,
input[type="text"].contact-form-input:-internal-autofill-selected:focus,
input[type="email"].contact-form-input:-internal-autofill-selected:focus,
textarea.contact-form-textarea:-internal-autofill-selected:focus {
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    -webkit-border: 1px solid rgba(255, 255, 255, 0.6) !important;
    box-shadow:
        0 0 0 1000px rgba(35,35,35) inset !important;
    -webkit-box-shadow:
        0 0 0 1000px rgba(35,35,35) inset !important;
}

.contact-form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #333;
    border-radius: 8px;
    background-color: #000010 !important;
    color: #fff;
    font-family: inherit;
    resize: none;
    min-height: 80px;
    transition: all 0.2s ease;
}

.contact-form-textarea:focus {
    border-color: rgba(255, 255, 255, 0.6);
    background-color: rgb(35, 35, 35) !important;
    outline: none;
    box-shadow: 0 0 0 2px rgba(35,35,35,0.2);
}


.contact-form-textarea::placeholder {
    color: #333;
}

.contact-form-textarea:focus, #contact-form input:focus,
#contact-form textarea:focus {
    border-color: #444;
    outline: none;
    box-shadow: 0 0 0 2px rgba(35,35,35,0.2);
}

.contact-form-textarea:hover {
    border-color: #444;
}

.contact-form-label {
    display: block;
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
}

#contact-form {
    display: flex;
    flex-direction: column;
}

.contact-form-h1 {
    font-family: 'Space Grotesk', sans-serif;
}

#contact-form label {
    display: block;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
}

#contact-form input,
#contact-form textarea {
    transition: all 0.2s ease;
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

#contact-form input:hover,
#contact-form textarea:hover {
    border-color: rgb(100, 100, 100);
}

#contact-form textarea {
    resize: none;
    min-height: 80px;
    font-size: 1.1rem;
}

#contact-form button {
    width: 100%;
    padding: 0.75rem 1.5rem;
    background-color: rgb(229, 231, 235);
    color: #000;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 0 35px rgba(32, 164, 243, 0.6);
}

#contact-form button:hover {
    background-color: rgb(209, 213, 219);
    box-shadow: 0 0 35px rgba(32, 164, 243, 0.8);
    transform: scale(0.98);
}

#contact-form button:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5), 0 0 35px rgba(32, 164, 243, 0.6);
}

#contact-form button:active {
    transform: scale(0.96);
}

#contact-form button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

nav ul li.mobile-nav-item {
        display: none;
    }

@media (max-width: 768px) {
    .pane {
        display: block;
        padding: 4rem 0;
        max-height: 100dvh;
        background: #00002080;
    }

    .pane img {
        display: block;
        opacity: 0.5;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        height: 100%;
        width: auto;
        object-fit: contain;
        z-index: -1;
    }

    .content {
        width: 80%;
        margin: 0 auto;
        text-align: center;
        padding: 1rem 0;
    }

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

    .hero-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 80%;
        margin: 0 auto;
        padding: 1rem;
    }

    .hero-content-subtitle {
        font-size: 1rem;
        padding-top: 1rem;
        max-width: 100%;
    }

    .hamburger {
        display: flex;
        margin-right: 1rem;
    }

    .close-menu {
        display: none;
        color: #fff;
        font-size: 2rem;
        cursor: pointer;
        padding: 0.5rem 1rem;
        text-align: right;
        justify-content: center;
        align-content: center;
        height: 20px;
        line-height: 20px;
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
    }

    .close-menu:hover {
        color: var(--brand-color);
    }

    .mobile-menu-overlay {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100vw;
        height: calc(100dvh - 80px);
        background-color: #000010;
        z-index: 998;
        opacity: 1;
    }


    nav {
        display: none;
    }

    nav.active {
        display: flex;
        position: fixed;
        top: 80px; /* Adjust to not cover header */
        left: 0;
        width: 100vw;
        height: calc(100dvh - 80px - 120px); /* Account for mobile address bar - adjusted to 120px */
        background-color: #000010;
        z-index: 999;
        flex-direction: column;
        opacity: 1;
    }

    nav.active div {
        background-color: #0a0a10;
        border-bottom: 1px solid #333;
        width: 100%;
    }

    nav.active ~ .close-menu {
        display: block;
    }

    nav.active ~ .hamburger {
        display: none;
    }

    nav.active ~ .mobile-menu-overlay {
        display: block;
    }

    p {
        font-size: 1.2rem;
    }

    nav ul {
        position: static;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 0;
        margin: 0;
        flex: 1;
        list-style: none;
    }

    nav li {
        text-align: center;
        width: 100%;
        padding: 0.5rem 0;
    }

    nav ul li.mobile-nav-item {
        display: block;
    }

    nav a {
        display: block;
        padding: 0.5rem;
        font-size: 1.5rem;
        font-weight: 600;
    }

    .mobile-nav-request {
        color: #000010;
        background-color: #fff;
        text-decoration: none;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        font-size: 1.5rem;
        font-weight: 600;
        padding: 0.5rem 1rem;
        border: 1px solid #333;
        border-radius: 4px;
        margin: 1rem auto;
        width: fit-content;
        transition: color 0.3s;
    }

    .mobile-nav-request:hover {
        color: #fff;
        background-color: var(--brand-color);
        text-shadow: 0 0 8px rgba(0, 123, 255, 0.5);
    }

    .request-access {
        display: none;
    }

    .hero-section .request-access-mobile {
        display: block;
    }

    .contact-page-main {
        padding-top: 80px;
        justify-content: flex-start;
        height: auto;
    }

    .contact-page h1 {
        font-size: 2.5rem;
    }

    .contact-form-label {
        font-size: 1.1rem;
    }

    .contact-form-input,
    .contact-form-textarea {
        font-size: 16px;
        -webkit-text-size-adjust: 100%;
        -webkit-appearance: none;
    }

    input[type="text"],
    input[type="email"],
    textarea {
        font-size: 16px !important;
        -webkit-text-size-adjust: 100%;
    }

    body.menu-open {
        overflow: hidden;
    }


}

/* Toast notification styles */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.6),
        0 4px 16px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    z-index: 10000;
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 320px;
    word-wrap: break-word;
    font-size: 0.95rem;
    line-height: 1.4;
    font-weight: 500;
}

.toast.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.toast.success {
    border-color: rgba(32, 164, 243, 0.3);
}

.toast.success::before {
    content: '✓';
    position: absolute;
    left: 1rem;
    color: var(--brand-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.toast.error {
    border-color: rgba(255, 68, 68, 0.3);
}

.toast.error::before {
    content: '✕';
    position: absolute;
    left: 1rem;
    color: #ff4444;
    font-weight: bold;
    font-size: 1.1rem;
}

.toast.warning {
    border-color: rgba(255, 170, 0, 0.3);
}

.toast.warning::before {
    content: '⚠';
    position: absolute;
    left: 1rem;
    color: #ffaa00;
    font-weight: bold;
    font-size: 1.1rem;
}

.toast.success .toast-content,
.toast.error .toast-content,
.toast.warning .toast-content {
    margin-left: 2rem;
}

@media (max-width: 768px) {
    .toast {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }

    .toast.success .toast-content,
    .toast.error .toast-content,
    .toast.warning .toast-content {
        margin-left: 1.75rem;
    }

    .toast.success::before,
    .toast.error::before,
    .toast.warning::before {
        left: 0.875rem;
        font-size: 1rem;
    }
}
