/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Syncopate:wght@700&family=IBM+Plex+Mono&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'IBM Plex Mono', sans-serif;
    background-color: #333;
    color: #fff;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
}

#content-wrapper {
    height: 100vh;
    overflow-y: scroll;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    width: 100%;
    border-bottom: none;
}

#logo {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 100;
    height: 100px;
}

#logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

#carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.carousel-slide h1 {
    position: absolute;
    z-index: 2;
    width: 100%;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-family: 'Syncopate', sans-serif;
    font-size: 48px;
    text-shadow: 0 0 30px rgba(0, 0, 0, 0.5),
                 0 4px 8px rgba(0, 0, 0, 0.3);
}

#grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 101; /* Ensure it's above the carousel slides */
    opacity: 0.3;
    mix-blend-mode: overlay;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 100;
    text-align: center;
}

#newsletter {
    text-align: center;
    width: 100%;
    max-width: 600px;
}

#newsletter h2 {
    font-family: 'Syncopate', sans-serif;
    font-size: 48px;
    margin-bottom: 30px;
}

#newsletter form {
    display: flex;
    justify-content: center;
    align-items: center;
}

#newsletter input[type="email"] {
    padding: 15px;
    font-family: 'IBM Plex Mono', sans-serif;
    font-size: 1rem;
    border: none;
    outline: none;
    flex-grow: 1;
    max-width: 400px;
}

#newsletter button {
    padding: 15px 30px;
    background-color: #444;
    color: #fff;
    border: none;
    cursor: pointer;
    font-family: 'IBM Plex Mono', sans-serif;
    font-size: 1rem;
}

footer p {
    font-size: 0.8rem;
}

#grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 100; /* Ensure it's above the grain overlay */
}

#social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

#social-icons img {
    width: 30px;
    height: 30px;
}

#demo-button, #early-access-button {
    position: relative;
    top: auto;
    right: auto;
    margin-left: 0;
    padding: 10px 20px;
    background-color: #444;
    color: #fff;
    border: none;
    cursor: pointer;
    font-family: 'IBM Plex Mono', sans-serif;
    font-size: 1rem;
    z-index: 101;
}

#newsletter p {
    font-size: 1rem;
    margin-top: 10px;
    color: #ccc;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 125px;
    z-index: 1000;
    padding: 10px 0;
}

.header-content {
    display: flex;
    padding: 20px 40px;
    align-items: center;
    justify-content: space-between;
}

.button-group {
    display: flex;
    gap: 20px;
    margin-left: auto;
}

.cta-button {
    display: inline-flex;
    gap: 20px;
    margin-left: auto;
    align-items: center;
    height: 44px;
    position: relative;
    z-index: 1;
    font-family: 'Syncopate', sans-serif;
    font-size: 16px;
    padding: 12px 24px;
    border-radius: 9999px;
    border: none;
    background-color: #000;
    color: #fff;
    line-height: 20px;
    justify-content: center;
    margin-left: 20px;
}

#video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.video-container {
    width: 80%;
    max-width: 1000px;
}

#close-video {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

.hidden {
    display: none !important;
}

.social-icons {
    margin-bottom: 20px;
}

.social-icons a {
    color: #fff;
    font-size: 24px;
    margin: 0 10px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #ddd;
}

.section {
    padding: 40px 0;
    text-align: center;
    color: #fff;
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    width: 100%;
    position: relative;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

p {
    font-family: 'IBM Plex Mono', sans-serif;
    font-size: 22px;
}

.explorers-section {
    padding: 4rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 2rem auto;
    max-width: 800px;
}

.explorers-section .content {
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
}

.explorers-section h1 {
    font-family: 'Syncopate', sans-serif;
    text-align: center;
    margin-bottom: 2rem;
}

.explorers-section .form-group {
    margin-bottom: 1.5rem;
}

.explorers-section input[type="text"],
.explorers-section input[type="email"],
.explorers-section select,
.explorers-section textarea {
    width: 100%;
    padding: 0.8rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.explorers-section .checkbox-group {
    display: inline-block;
    margin-right: 2rem;
}

.explorers-section button {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: 1px solid white;
    color: white;
    font-family: 'Syncopate', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.explorers-section button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.newsletter-form {
    max-width: 100%;
    margin: 0 auto;
}

.input-group {
    display: flex;
    border: 1px solid #fff;
    max-width: 800px;
    margin: 0 auto;
}

.input-group input[type="email"] {
    flex: 1;
    padding: 15px 20px;
    background: transparent;
    border: none;
    color: #fff;
    font-family: 'IBM Plex Mono', monospace;
    outline: none;
}

.input-group input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.input-group button {
    padding: 15px 30px;
    background: transparent;
    border: none;
    border-left: 1px solid #fff;
    color: #fff;
    text-transform: uppercase;
    font-family: 'Syncopate', sans-serif;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.input-group button:hover {
    background-color: #edff55;
}

.modern-input {
    height: 40px !important;
    padding: 0 15px;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.8);
    color: white;
    font-family: 'IBM Plex Mono', monospace;
    width: 100%;
}

.modern-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.modern-button {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.8);
    color: white;
    padding: 15px 40px;
    font-family: 'Syncopate', sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

.modern-button:hover {
    background-color: #edff55;
    color: #000;
}

/* Style for select dropdown */
.modern-input option {
    background-color: #333;
    color: #fff;
}

/* Style for textarea */
textarea.modern-input {
    height: auto;
    min-height: 150px;
    padding: 15px;
}

/* Style for the submit button to match newsletter */
.input-group-button {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.8);
    color: white;
    padding: 15px 30px;
    text-transform: uppercase;
    font-family: 'IBM Plex Mono', monospace;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.input-group-button:hover {
    background: #edff55;
    color: #000;
}

/* Adjust form group spacing */
.form-group {
    width: 100%;
    margin-bottom: 20px;
}

.explorers.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    padding: 60px 20px;
}

.explorers .content.centered {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.explorers h2 {
    font-family: 'Syncopate', sans-serif;
    font-size: 48px;
    margin-bottom: 30px;
}

.explorers .subtitle {
    font-family: 'IBM Plex Mono', sans-serif;
    font-size: 22px;
    margin-bottom: 40px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    width: 100%;
}

.form-group.half {
    flex: 1;
}

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

.input-group-button {
    width: auto;
    min-width: 200px;
    padding: 15px 40px;
}

h1 {
    /* Inherit all styles from h2 */
    font-size: inherit;
    font-family: inherit;
    font-weight: inherit;
    margin: inherit;
    padding: inherit;
    color: inherit;
    text-transform: inherit;
    line-height: inherit;
}

/* Or if you prefer to be explicit */
h1 {
    /* Match these values to your h2 styles */
    font-size: 2rem;  /* adjust to match h2 */
    font-family: 'Syncopate', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}

.carousel-nav {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 1;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    visibility: visible;
    transition: opacity 0.3s ease;
    transition: display 0.3s ease;
}

.carousel-nav.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.carousel-nav[style*="display: none"] {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border: 2px solid white;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background-color: white;
    transform: scale(1.2); /* Makes the active dot slightly larger */
}

/* Updated button styles */
#demo-button,
#explorers,
.input-group-button {
    font-family: 'Syncopate', sans-serif;
    font-size: 16px;
    padding: 12px 24px;
    border-radius: 9999px; /* Fully rounded edges */
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #000; /* Adjust color as needed */
    color: #fff; /* Adjust color as needed */
    height: 44px; /* Set explicit height */
    line-height: 20px; /* Adjust line height for vertical centering */
    display: flex;
    align-items: center;
    justify-content: center;
}

#demo-button:hover,
#explorers:hover,
.input-group-button:hover {
    transform: scale(1.05);
    background-color: #edff55;
    color: #000;
}

.form-group input,
.form-group select {
    height: 50px !important;
    line-height: 50px;
    padding: 0 15px;
}

textarea.modern-input {
    min-height: 150px;
    padding: 15px;
}

.footer-bottom {
    margin-top: auto;
    padding-bottom: 2rem; /* Adjust spacing as needed */
}

footer .content {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.fullscreen-section {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.newsletter-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-container .modern-input {
    height: 40px !important;
    padding: 0 15px;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.8);
    color: white;
    font-family: 'IBM Plex Mono', monospace;
    width: 100%;
    margin-bottom: 20px;
}

.newsletter-container .modern-form {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.newsletter-container .button-container {
    text-align: center;
}

.footer-bottom {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    text-align: center;
}

.subtitle {
    font-size: 1.4rem;  /* Increased from 1.2rem for better visibility */
    line-height: 1.6;
    margin: 1.5em auto;
    max-width: 800px;
    text-align: center;
    color: #fff;
    font-family: 'IBM Plex Mono', monospace;  /* Matching the monospace font seen in the image */
}

/* If needed, you can add specific adjustments for the newsletter section */
.newsletter-container .subtitle {
    font-size: 1.4rem;  /* Ensuring it matches the explorer section */
}

.newsletter-container p {
    font-size: 16px;  /* Explicit size to match regular paragraphs */
    font-family: 'IBM Plex Mono', monospace;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.newsletter-input {
    width: 100%;
    padding: 12px 20px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 16px;
    border-radius: 4px;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* Match the DEMO button style */
.menu-button {
    background: #000;
    color: white;
    font-family: 'Syncopate', sans-serif;
    padding: 12px 30px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    border-radius: 25px;  /* Rounded corners */
    font-size: 14px;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

.menu-button:hover {
    background: #333;
}

.footer-content {
    position: relative;
    width: 100%;
    margin-top: 2rem;
}

.copyright {
    font-size: 0.75rem;
    margin-top: 1rem;
}

.centered-button {
    display: block;
    margin: 0 auto;
}

.subtitle {
    color: #fff; /* or any other color that contrasts with your background */
    margin: 1em 0;
    opacity: 1;
    position: relative;
    z-index: 1;
    /* Add any other styling you need */
}

.carousel-slide .subtitle {
    position: absolute;
    z-index: 2;
    width: 80%;
    max-width: 800px;
    text-align: center;
    left: 50%;
    top: 65%;
    transform: translate(-50%, -50%);
    color: white;
    font-family: 'IBM Plex Mono', sans-serif;
    font-size: 22px;
    line-height: 1.6;
    margin: 0 auto;
    padding: 0 20px;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8),
                 0 2px 6px rgba(0, 0, 0, 0.5);
}

.carousel-slide p.subtitle {
    position: absolute;
    z-index: 2;
    width: 80%;
    max-width: 800px;
    text-align: center;
    left: 50%;
    top: 65%;
    transform: translate(-50%, -50%);
    color: white;
    font-family: 'IBM Plex Mono', sans-serif;
    font-size: 22px;
    line-height: 1.6;
    margin: 0 auto;
    padding: 0 20px;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5),
                 0 2px 6px rgba(0, 0, 0, 0.3);
}

.logo-image {
    width: 150%;
    height: auto;
}

.form-message {
    margin-top: 1rem;
    padding: 0.5rem;
    text-align: center;
}

.form-message.success {
    color: #4CAF50;
}

.form-message.error {
    color: #f44336;
}
