* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

body, html {
    width: 100%;
    height: 100%;
    background-color: transparent; 
    color: #111111; 
    overflow-x: hidden;
}

#binary-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0; 
}

.connect-btn {
    position: fixed; 
    top: 40px;
    right: 50px;
    background-color: #a3a3a3; 
    color: #ffffff;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 500;
    padding: 12px 35px;
    border-radius: 50px; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25); 
    z-index: 100; 
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.connect-btn:hover {
    background-color: #8f8f8f; 
    transform: translateY(-2px); 
}

.content-wrapper {
    position: relative; 
    z-index: 1;         
    max-width: 950px; 
    margin: 0 auto;
    padding: 50px 20px 100px 20px; 
    display: flex;
    flex-direction: column;
}

main {
    display: flex;
    flex-direction: column;
}

.logo {
    width: 100%;
    max-width: 700px; 
    height: auto;
    display: block;
    margin-left: 0; 
}

.glass-panel {
    background: rgba(247, 248, 250, 0.65); 
    backdrop-filter: blur(16px); 
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4); 
    border-radius: 16px; 
    padding: 45px; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04); 
    transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.8s ease; 
}

.glass-panel:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.07);
}

.description {
    margin-top: 12vh; 
    margin-bottom: 25vh; 
}

.description p {
    font-size: 1.3rem;
    font-weight: 300; 
    line-height: 1.7;
    color: #2c2c2c;
    text-align: left; 
}

.objectives h2 {
    font-size: 0.95rem; 
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px; 
    color: #777777; 
    margin-bottom: 25px;
}

.objectives ol {
    padding-left: 20px;
}

.objectives li {
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: 12px;
    color: #1a1a1a;
    padding-left: 10px; 
}

.objectives li::marker {
    color: #111111; 
    font-weight: 600;
}

.contact-section {
    margin-top: 15vh; 
}

.contact-header {
    text-align: center;
    font-size: 2.5rem;
    letter-spacing: 2px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 40px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr; 
    gap: 40px;
}

.contact-info h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #1a1a1a;
    font-weight: 600;
}

.contact-info p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #444;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 8px;
    font-weight: 500;
}

.input-group input, 
.input-group select, 
.input-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    font-size: 1rem;
    color: #1a1a1a;
    font-family: inherit;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.input-group input:focus, 
.input-group select:focus, 
.input-group textarea:focus {
    outline: none;
    border-color: #a3a3a3;
    background: rgba(255, 255, 255, 0.8);
}

.submit-btn {
    background-color: #ffffff;
    color: #1a1a1a;
    border: 1px solid #ccc;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: #f7f8fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px); 
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- MOBILE RESPONSIVENESS (PHONES & TABLETS) --- */
@media (max-width: 768px) {
    /* Shrink and tuck the connect button */
    .connect-btn {
        top: 20px;
        right: 20px;
        padding: 8px 22px;
        font-size: 1rem;
    }
    
    /* Reduce page margins */
    .content-wrapper {
        padding: 30px 15px 80px 15px; 
    }

    /* Keep the logo contained on small screens */
    .logo {
        max-width: 85%;
        margin-top: 10px;
    }
    
    /* Shrink the padding inside the glass panels so text has room */
    .glass-panel {
        padding: 25px; 
        border-radius: 12px;
    }

    /* Tighten the scrolling gaps for mobile */
    .description {
        margin-top: 8vh;
        margin-bottom: 18vh; 
    }
    
    /* Shrink text sizing */
    .description p {
        font-size: 1.1rem; 
        line-height: 1.6;
    }

    .objectives h2 {
        font-size: 0.85rem;
    }

    .objectives li {
        font-size: 1rem;
        line-height: 1.6;
    }

    .contact-section {
        margin-top: 15vh; 
    }

    .contact-header {
        font-size: 2rem;
        margin-bottom: 25px;
    }
    
    /* Force the contact form to stack vertically instead of side-by-side */
    .contact-grid {
        grid-template-columns: 1fr; 
        gap: 30px;
    }

    .contact-info h3 {
        font-size: 1.15rem;
    }

    .contact-info p {
        font-size: 0.95rem;
    }
}