:root {
    --bg-color: #0d0d0d;
    --text-color: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --font-main: 'TeXGyreHeros', sans-serif;
    --font-condensed: 'TeXGyreHerosCn', sans-serif;
}

@font-face {
    font-family: 'TeXGyreHeros';
    src: url('TeX-Gyre-Heros/texgyreheros-regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'TeXGyreHerosCn';
    src: url('TeX-Gyre-Heros/texgyreheroscn-regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'TeXGyreHerosCn', sans-serif;
    /* Global strict font */
    overflow-x: hidden;
    min-height: 100vh;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px 60px;
    /* Wider padding for "technical" look */
    z-index: 1000;
    display: flex;
    justify-content: center;
    /* Center the content */
    align-items: center;
    /* Align vertical center */
    background: transparent;
}

.site-header nav {
    width: 100%;
    display: flex;
    justify-content: center;
    /* Center links */
    align-items: center;
    position: relative;
    /* For absolute positioning of logo */
}

.logo {
    position: absolute;
    left: 0;
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    /* Increased size (was 28px) */
    width: auto;
    filter: brightness(0) invert(1);
    /* Force pure white */
}

.nav-links {
    display: flex;
    gap: 60px;
    /* Wide technical spacing */
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-family: 'TeXGyreHerosCn', sans-serif;
    font-weight: normal;
    font-size: 14px;
    /* Smaller, technical size */
    text-transform: uppercase;
    letter-spacing: 0.1em;
    /* Wide tracking */
    opacity: 1;
}

.nav-links a:hover {
    opacity: 0.7;
}

/* Main Layout */
main {
    padding-top: 80px;
    /* Reduced from 100px */
    padding-bottom: 100px;
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Hero & Video Section */
.hero-video-section {
    padding: 30px 60px 40px;
    /* Reduced from 60px */
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

/* ... (Mobile Media Query omitted, assuming it's fine or will be updated if needed) ... */
/* NOTE: The replace tool needs contiguous block. I'll include the media query block start if I need to specific lines. 
   Actually, I can just update the specific blocks if they are contiguous or distinct.
   The tool call below targets the hero-earth-logo specifically and the main/hero padding separately if possible, or I need to do a larger block. 
   Let's do the Logo fix first.
*/

/* Hero Earth Logo */
.hero-earth-logo img {
    width: 115px;
    /* Increased from 80px (+40%) */
    height: auto;
    filter: brightness(0) invert(1);
    /* Force pure white */
    display: block;
    margin-bottom: 24px;
}

/* Mobile Responsiveness for Hero */
@media (max-width: 900px) {
    .site-header {
        padding: 20px;
    }

    .nav-links {
        gap: 20px;
        display: flex;
    }

    .nav-links a {
        font-size: 12px;
        letter-spacing: 0.05em;
    }

    .main-title {
        font-size: 15vw;
        /* Adjust for mobile */
    }

    .hero-video-section {
        padding: 80px 20px 20px;
        /* Adjusted for mobile */
    }

    .hero-content-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .hero-right-col {
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
        align-items: center;
        padding-top: 20px;
    }

    .hero-meta-text p {
        text-align: right;
        font-size: 18px;
    }
}

.hero-title-container {
    margin-bottom: 40px;
    width: 100%;
    text-align: center;
}

/* Hero Steps List */
.hero-steps {
    width: 100%;
}

.hero-steps ol {
    list-style: none;
    /* Custom numbering if needed, or just plain */
    counter-reset: step-counter;
    /* If we want custom 01 02.. */
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero-steps li {
    font-family: 'TeXGyreHerosCn', sans-serif;
    font-size: 20px;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--text-color);
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-steps li::before {
    counter-increment: step-counter;
    content: counter(step-counter) ". ";
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9em;
}

.main-title {
    font-family: 'TeXGyreHerosCn', sans-serif;
    font-size: clamp(3rem, 10vw, 12rem);
    /* Very large impact */
    font-weight: bold;
    text-transform: uppercase;
    line-height: 0.8;
    letter-spacing: -0.04em;
    color: var(--text-color);
    margin: 0;
    word-break: break-word;
    /* Prevent overflow */
}

/* Side-by-Side Content Wrapper */
.hero-content-wrapper {
    display: flex;
    width: 100%;
    max-width: 1400px;
    gap: 40px;
    align-items: flex-start;
    justify-content: center;
}

.video-placeholder {
    flex: 2;
    /* Takes up ~66% */
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: white;
}

.hero-right-col {
    flex: 1;
    /* Takes up remaining space */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding-top: 20px;
    /* Align with video top visually */
}

/* Masonry Grid */
.gallery-section {
    padding: 20px;
    max-width: 1800px;
    margin: 0 auto;
}

.masonry-grid {
    column-count: 4;
    column-gap: 20px;
}

@media (max-width: 1400px) {
    .masonry-grid {
        column-count: 3;
    }
}

@media (max-width: 1000px) {
    .masonry-grid {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .masonry-grid {
        column-count: 1;
    }
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 20px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    /* Optional: subtle fade in */
    animation: fadeIn 0.6s ease-out backwards;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.02);
}

/* Hero Earth Logo */
.hero-earth-logo img {
    width: 80px;
    /* Adjust size as needed */
    height: auto;
    filter: brightness(0) invert(1);
    /* Force pure white */
    display: block;
    margin-bottom: 24px;
}

/* Hero Description Text */
.hero-description {
    margin-bottom: 32px;
}

.hero-description p {
    font-family: 'TeXGyreHerosCn', sans-serif;
    font-size: 21px;
    line-height: 1.5;
    text-transform: none;
    /* Sentence case for paragraph */
    color: rgba(255, 255, 255, 0.8);
    text-align: left;
    max-width: 400px;
    /* Ensure readability */
}

/* Gallery Item Remix Button */
.item-remix-btn {
    position: absolute;
    bottom: 16px;
    /* Slightly more offset */
    right: 16px;
    width: 64px;
    /* Bigger */
    height: 64px;
    /* Bigger */
    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.1);
    /* More transparent (was 0.15) */
    backdrop-filter: blur(12px);
    /* Blurrier (was 8px) */
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    /* Larger radius for larger button */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    /* Softer, deeper shadow */

    opacity: 0;
    transform: translateY(12px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 20;
    cursor: pointer;
}

.item-remix-btn img {
    width: 32px;
    /* Bigger icon */
    height: auto;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.gallery-item:hover .item-remix-btn {
    opacity: 1;
    transform: translateY(0);
}

.item-remix-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05) !important;
}

/* Glassmorphism Remix Button */
.remix-floating-container {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 900;
}

.remix-glass-card {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s;
    cursor: pointer;
    text-decoration: none;
}

.remix-glass-card:hover {
    transform: translateY(-5px) scale(1.05);
    background: rgba(255, 255, 255, 0.12);
}

.remix-icon img {
    width: 40px;
    height: auto;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer Section */
/* Footer Section */
/* Footer Section */
.site-footer {
    width: 100%;
    max-width: 1400px;
    /* Constrain width to keep it neat */
    margin: 0 auto;
    padding: 80px 60px 150px;
    display: flex;
    flex-direction: column;
    gap: 60px;
    /* Space between links and main content */
    background: transparent;
    position: relative;
    z-index: 10;
    margin-top: 100px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-nav-links {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
    /* Keep links centered or maybe left? Left is simpler for alignment with logo? Let's keep center for now as it's top menu repetition. */
    width: 100%;
}

.footer-nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-family: 'TeXGyreHerosCn', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.footer-nav-links a:hover {
    opacity: 1;
}

.footer-main-row {
    display: flex;
    align-items: flex-start;
    /* Align top */
    gap: 60px;
    /* Space between logo and text */
    width: 100%;
    justify-content: center;
    /* Center the whole block visually */
}

.footer-logo-col {
    flex: 0 0 auto;
    padding-top: 8px;
    /* Optical alignment with text cap-height */
}

.newos-badge img {
    height: 100px;
    /* Even bigger as per "make the logo a bit closer" might imply importance, or user just wants it visible. */
    width: auto;
    transition: transform 0.3s ease;
}

.newos-badge:hover img {
    transform: scale(1.05);
}

.footer-legal-content {
    flex: 0 1 800px;
    /* Max width for text but flexible */
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: justify;
    text-justify: inter-word;
}

.footer-legal-content p {
    font-family: 'TeXGyreHerosCn', sans-serif;
    font-size: 11px;
    line-height: 1.6;
    color: #ffffff;
    /* WHITE text as requested */
    opacity: 0.9;
    /* Very slight softness but essentially white */
}

.copyright-line {
    margin-top: 20px;
    text-align: left !important;
    /* Align with text block */
    color: rgba(255, 255, 255, 0.6) !important;
    /* Slightly dimmer for copyright line? Or Keep white? "make the text white". Let's match. */
    opacity: 0.9 !important;
}

@media (max-width: 900px) {
    .footer-main-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }

    .footer-legal-content {
        text-align: center !important;
        /* On mobile center looks better often */
    }

    .copyright-line {
        text-align: center !important;
    }
}

/* Vision Page Styles */
.vision-container {
    width: 100%;
    max-width: 1600px;
    /* Wider container */
    margin: 0 auto;
    padding: 20px 60px 200px;
    /* Reduced top padding (120px -> 20px) to bring text closer to Header */
    display: flex;
    justify-content: flex-start;
    /* Left align for brutalist feel */
}

.vision-text-block {
    width: 100%;
    max-width: 1400px;
    /* Wider text block */
}

.vision-text-block p {
    font-family: 'TeXGyreHerosCn', sans-serif;
    font-size: clamp(17px, 3vw, 36px);
    /* Reduced by approx 30% */
    line-height: 1.4;
    /* Slightly more line height (was 1.1) */
    color: #dedede;
    /* Requested base color */
    margin-bottom: 60px;
    /* Large spacing between blocks */
    text-transform: none;
    /* Explicitly normal case as per input text */
    letter-spacing: -0.02em;
    word-spacing: 0.1em;
}

.vision-text-block .highlight {
    color: #ffffff;
    /* White for important words */
    font-weight: normal;
    /* Keep same weight as requested "all same font size" implies weight might be same too, color is the differentiator */
}

.hero-tiny-text {
    font-family: 'TeXGyreHerosCn', sans-serif;
    font-size: 11px !important;
    line-height: 1.6 !important;
    color: #ffffff !important;
    opacity: 1 !important;
    max-width: 600px;
    margin: 20px auto 0 !important;
    /* Center block, add top margin */
    text-align: center;
    /* Center text */
    text-transform: none;
    /* or uppercase? Footer is uppercase, vision text was mixed. Input text has lowercase. Keeping natural case. */
    letter-spacing: 0.05em;
}

/* Legacy support or just remove vision-tiny-text if replaced in HTML */

/* Contact Page Styles */
.contact-section {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 20px 120px;
    /* Reduced top padding to 20px to match vision page flow */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

.contact-form-container {
    width: 100%;
    max-width: 500px;
    /* Constrained width */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

#contactForm {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.brutalist-input {
    width: 100%;
    background: transparent;
    border: 1px solid #dedede;
    /* Visible border */
    color: #dedede;
    font-family: 'TeXGyreHerosCn', sans-serif;
    font-size: 16px;
    padding: 15px;
    border-radius: 0;
    /* No rounding */
    outline: none;
    min-height: 150px;
    /* TextArea height */
    resize: none;
    transition: border-color 0.3s;
}

.brutalist-input:focus {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.brutalist-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
}

.brutalist-btn {
    width: 100%;
    padding: 15px 0;
    background: #dedede;
    color: #000000;
    border: none;
    border-radius: 0;
    font-family: 'TeXGyreHerosCn', sans-serif;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
}

.brutalist-btn:hover {
    background: #ffffff;
    transform: translateY(-2px);
}

/* Recaptcha Centering */
.g-recaptcha {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

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

    .vision-text-block p {
        font-size: 24px;
        /* Maintain readability on mobile but still relatively "big" */
    }
}