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

body,
h1, h2, h3, h4, h5, h6,
p,
button,
input,
textarea {
    font-family: "Inter Variable", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Oxygen", "Ubuntu", sans-serif;
}

h1 {
    font-weight: 700;
    line-height: 1.2;   
    font-size: 48px;
}

h2 {
    font-weight: 600;
    line-height: 1.2;
    font-size: 36px;
}

.feature h3 {
    font-weight: 600;
}

.submit-button, .subscribe-button {
    font-weight: 500;
}

p {
    font-weight: 500;
}


body {
    line-height: 1.6;
    background-color: #000;
    color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    padding: 20px 0;
    background-color: transparent;
}

.header-content {
    font-family: 'Inter';
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
}

.logo-image {
    margin-top: 12px;
    width: 28px;
    height: 28px;
    border-radius: 4px;
}

.contact-button {
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.contact-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.hero {
    padding: 20px 0;
    text-align: center;
    position: relative;
}

.hero h1 {
    font-weight: 700;
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.input-form-container {
    display: block;
    max-width: 400px;
    margin: 0 auto;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    backdrop-filter: blur(8px);
}

.input-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.email-icon {
    position: absolute;
    left: 12px;
    color: rgba(255, 255, 255, 0.5);
}

#subscribeEmail {
    width: 100%;
    padding: 12px;
    padding-left: 44px;
    background: #181818;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    color: white;             
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Also add these to handle the placeholder text color */
#subscribeEmail::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.subscribe-button {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.subscribe-button:hover {
    background: #1a1a1a;
}

.arc-container {
    position: relative;
    height: 400px;
    margin: 20px 0;
    overflow: hidden;
}

.arc-image {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.mission {
    padding: 40px 0;
}

.mission-label {
    font-size: 18px;
    display: inline-block;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
    padding: 8px 24px;
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 255, 255, 0.15) 100%
    );
    border-radius: 9999px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.mission h2 {
    font-weight: 600;
    line-height: 1.2;
    font-size: 36px;
    margin-bottom: 24px;
    max-width: 900px;
}

.text-4xl h2 {
    font-weight: 600;
    line-height: 1.2;
    font-size: 36px;
    margin-bottom: 24px;
    max-width: 800px;
}

.mission p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 900px;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 80px;
}

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

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature h3 {
    font-size: 20px;
    color: #fff;
}

.feature p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    margin-top: -10px;
}

.perspective-1000 {
    perspective: 1000px;
    }
    
    .backface-hidden {
    backface-visibility: hidden;
    }
    
    .rotate-y-180 {
    transform: rotateY(180deg);
    }
    
    .rotate-y-0 {
    transform: rotateY(0deg);
    }

.cta {
    text-align: center;
    padding: 60px 0;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.03));
    position: relative;
}

.cta-image-container {
    /*padding: 120px 0;*/
    width: 100%;
    margin-bottom: -20px;  /* Spacing between image and heading */
}

.cta-image {
    width: 100%;
    height: auto;
    display: block;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent
    );
}

.primary-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #fff;
    color: #000;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: transform 0.3s, box-shadow 0.3s;
}

.primary-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.cta-button {
    display: inline-block;
    margin-top: -20px;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
}


@media (max-width: 768px) {
    .features {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 36px;
    }

    .arc-container {
        height: 120px;
    }

    /*.cta-image-container {
        height: 120px;
    }*/

    .cta-image {
        height: 120px;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    overflow-y: auto;
}

.modal-content {
    background-color: #181818; /* Lighter than pure black */
    margin: 50px auto;
    padding: 40px;
    max-width: 500px;
    border-radius: 12px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    box-sizing: border-box; /* Add this to ensure padding is included in width */
}

.modal h2 {
    font-size: 36px;
    margin-top: -20px;
    margin-bottom: 10px;
    color: #fff;
}

.modal p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
    width: 100%; /* Ensure form group takes full width */
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    box-sizing: border-box; /* Important: include padding in width calculation */
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.submit-button {
    width: 100%;
    padding: 12px;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s;
    box-sizing: border-box;
}

.submit-button:hover {
    transform: translateY(-1px);
}

.email-section {
    width: 100%;
    box-sizing: border-box;
    margin-top: 30px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.05); /* Lighter than modal background */
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.email-section h3 {
    font-size: 20px;
    color: #fff;
    margin-top: -6px;
    margin-bottom: 8px;
}

.email-section p {
    margin-top: 0px;
    margin-bottom: 12px;
}

.email-link {
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.email-link:before {
    content: '@';
    display: inline-block;
    width: 24px;
    height: 24px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
}

.footer {
    text-align: center;
    padding: 20px 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
