:root {
    --primary-purple: #8b5cf6;
    --primary-blue: #3b82f6;
    --accent-green: #00ff9d; /* Neon Green from reference */
    --bg-dark: #13192b; /* Slightly Lighter Navy/Black */
    --card-bg: rgba(35, 45, 70, 0.8); /* Lighter Transparent Dark Panel */
    --input-bg: rgba(255, 255, 255, 0.05);
    --text-light: #f8fafc;
    --text-gray: #94a3b8;
    --card-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    
    /* Subtle network background effect */
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(0, 255, 157, 0.03) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(59, 130, 246, 0.03) 0%, transparent 20%);
    background-attachment: fixed;
}

/* Card Header (Integrated Top Bar) */
.hero-header {
    background: transparent;
    padding: 0 1rem;
    color: var(--text-light);
    position: relative;
    overflow: visible;
    height: auto;
    display: flex;
    justify-content: space-between; /* Changed from center to space-between */
    align-items: center;
    width: 100%;
    border-bottom: var(--glass-border);
    max-width: 1200px; /* Limit width to match container */
    margin: 0 auto; /* Center the header */
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align logo to left */
    gap: 1rem;
    position: relative;
    z-index: 101; /* Ensure logo is above nav overlay */
    margin-top: 0;
    width: auto; /* Allow width to shrink */
}

.logo-image {
    height: 120px; /* Reduced from 240px back to reasonable header size */
    width: auto;
    max-width: 100%;
    filter: brightness(0) invert(1);
}

/* Hamburger Menu */
.hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative; /* Added to make z-index work */
    z-index: 101; /* Above overlay */
    box-shadow: none; /* Remove default button shadow */
}

.hamburger-menu span {
    width: 100%;
    height: 3px;
    background-color: var(--text-light);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

.hamburger-menu:hover {
    transform: none;
    box-shadow: none;
}

/* Hamburger Animation */
.hamburger-menu.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(19, 25, 43, 0.95); /* Dark background */
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    z-index: 100;
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav ul {
    list-style: none;
    text-align: center;
    padding: 0;
}

.mobile-nav li {
    margin: 2rem 0;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.mobile-nav.active li {
    transform: translateY(0);
    opacity: 1;
}

/* Stagger animation for list items */
.mobile-nav.active li:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav.active li:nth-child(2) { transition-delay: 0.2s; }
.mobile-nav.active li:nth-child(3) { transition-delay: 0.3s; }

.mobile-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    transition: color 0.2s;
}

.mobile-nav a:hover {
    color: var(--accent-green);
}

/* Main Container */
.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Changed from center to flex-start to move content up */
    padding: 3rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    z-index: 10;
    position: relative;
    padding-top: 1rem; /* Reduced top padding */
}

/* Main Card */
.card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    width: 100%;
    margin-bottom: 2rem;
    position: relative;
    border: var(--glass-border);
}

.content-wrapper {
    display: flex;
    flex-direction: row;
    padding: 3rem;
    gap: 3rem;
    align-items: center;
}

/* Text Section */
.text-section {
    flex: 1;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.highlight-text {
    background: linear-gradient(90deg, #00ff9d 0%, #00d2b4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 0;
    /* Removed box decoration styles */
    -webkit-box-decoration-break: unset;
    box-decoration-break: unset;
    border-radius: 0;
}

.description {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 100%;
    line-height: 1.7;
}

.features-list {
    text-align: left;
    margin-bottom: 2.5rem;
    padding-left: 0;
    list-style: none;
}

.features-list li {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--text-gray);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.features-list li::before {
    content: '✓';
    color: var(--accent-green);
    font-weight: bold;
}

.launch-info {
    margin-bottom: 3rem; /* Increased margin for icons */
    font-weight: 500;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    background: rgba(19, 25, 43, 0.6);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
}

.launch-label {
    color: var(--text-gray);
    margin-right: 0.5rem;
}

.launch-date {
    color: var(--accent-green);
    font-weight: 700;
    margin-left: 0;
}

/* Progress Bar Container */
.progress-container {
    width: 100%;
    height: 60px; /* Taller to fit content inside */
    background: rgba(19, 25, 43, 0.4); /* Dark semi-transparent background */
    border-radius: 30px; /* Pill shape */
    position: relative;
    margin-top: 3rem;
    /* overflow: hidden; Removed to allow glow to spill out */
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Circuit Board Background Pattern */
.progress-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 30px; /* Ensure pattern respects shape */
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 80% 50%, rgba(0, 255, 157, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
    z-index: 0;
    overflow: hidden; /* Clip the pattern inside the border radius */
}

/* The Actual Progress Fill */
.progress-bar {
    height: 100%;
    width: 0%; /* Start at 0 for animation */
    background: linear-gradient(90deg, #00ff9d 0%, #00d2b4 100%);
    border-radius: 30px; /* Match container */
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    /* Reduced spread radius (10px -> 5px) but kept color intense */
    box-shadow: 0 0 5px rgba(0, 255, 157, 0.8); 
    /* Removed loadProgress animation - controlled by JS now */
    animation: pulseGlow 2s infinite alternate;
    transition: width 2.1s ease-out; /* Slowed down by 40% (1.5s * 1.4 = 2.1s) */
}

/* 
@keyframes loadProgress {
    from { width: 0%; }
    to { width: 25%; }
} 
*/

@keyframes pulseGlow {
    /* Tighter glow radius, higher opacity */
    from { box-shadow: 0 0 5px rgba(0, 255, 157, 0.6); }
    to { box-shadow: 0 0 10px rgba(0, 255, 157, 1); }
}

/* Steps / Milestones Container */
.progress-steps {
    display: flex;
    justify-content: space-around;
    width: 100%;
    position: relative;
    z-index: 2;
    padding: 0 2rem;
    height: 100%; /* Fill container height */
    align-items: center; /* Center icons vertically */
}

/* Individual Step Item */
.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    flex: 1;
    text-align: center;
}

/* Icons inside the bar */
.step-icon {
    width: 32px; /* Slightly smaller to fit nicely */
    height: 32px;
    margin-bottom: 0; /* Remove margin since no text below */
    opacity: 0.5; /* Dimmed by default */
    transition: all 0.3s ease;
    filter: brightness(0) invert(1); /* Make white/gray by default */
}

/* Active/Completed Step Styling */
.step-item.active .step-icon {
    opacity: 1;
    filter: none; /* Restore original color */
    transform: scale(1.2);
    /* High contrast drop shadow to separate from green background */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

/* Hide text labels */
.step-label {
    display: none;
}

/* Hide old decorative elements */
.progress-icon-wrench,
.progress-icon-char,
.progress-dots {
    display: none;
}

/* Image Section */
.image-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.illustration {
    width: 100%;
    max-width: 450px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(0, 255, 157, 0.1));
}

/* Newsletter & Contact Cards (Widgets) */
.newsletter-card,
.contact-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    width: 100%;
    box-shadow: none;
    border: var(--glass-border);
    margin-bottom: 1rem;
}

.contact-card {
    margin-top: 1rem;
    padding: 2rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

.newsletter-form .input-row {
    display: flex;
    gap: 0.75rem;
    width: 100%;
}

/* Form Inputs */
input[type="email"],
input[type="text"],
textarea {
    padding: 1rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    width: 100%;
    transition: all 0.2s;
    background-color: var(--input-bg);
    color: var(--text-light);
    font-family: inherit;
}

input::placeholder,
textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

input:focus,
textarea:focus {
    border-color: var(--accent-green);
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 1px var(--accent-green);
}

.newsletter-form input[type="email"] {
    max-width: 100%;
    flex: 1;
    border-radius: 8px;
}

.newsletter-card h2,
.contact-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    text-align: center;
}

.contact-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
}

.form-group {
    flex: 1 1 calc(50% - 0.5rem);
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    flex: 1 1 100%;
}

.contact-form textarea {
    resize: vertical;
}

/* Buttons */
button {
    background: linear-gradient(90deg, #00ff9d 0%, #00d2b4 100%);
    color: #0b0f19;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 8px; /* Slightly squarer corners like UI */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.2);
    font-size: 1rem;
    letter-spacing: 0.5px;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 255, 157, 0.4);
}

button:active {
    transform: translateY(0);
}

button:disabled {
    opacity: 0.7;
    cursor: wait;
    transform: none !important;
    box-shadow: none !important;
    background: linear-gradient(90deg, #00d2b4 0%, #00ff9d 100%); /* Maintain gradient but dimmed via opacity */
    filter: grayscale(30%);
}

.contact-btn {
    width: 100%;
    margin-top: 0.5rem;
}

.form-message {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--accent-green);
    text-align: right;
    height: 1.25rem;
}

/* Checkbox Styles */
.checkbox-group {
    width: 100%;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-gray);
    cursor: pointer;
    line-height: 1.4;
    text-align: left;
}

.checkbox-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    min-width: 18px;
    width: 18px;
    height: 18px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    position: relative;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked {
    background-color: var(--accent-green);
    border-color: var(--accent-green);
}

.checkbox-label input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    color: #0b0f19;
    font-size: 14px;
    font-weight: bold;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.checkbox-label a {
    color: var(--accent-green);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.checkbox-label a:hover {
    border-bottom-color: var(--accent-green);
}

/* Privacy Note */
.privacy-note a:hover {
    text-decoration: underline;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(19, 25, 43, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.cookie-banner a {
    color: var(--accent-green);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.cookie-banner a:hover {
    border-bottom-color: var(--accent-green);
}

.cookie-banner button {
    background: transparent;
    border: 1px solid var(--accent-green);
    color: var(--accent-green);
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.2s;
    box-shadow: none;
}

.cookie-banner button:hover {
    background: var(--accent-green);
    color: #0b0f19;
    transform: translateY(-1px);
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.2);
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1.5rem;
    }
}

/* Responsive adjustments for checkboxes */
@media (max-width: 768px) {
    .checkbox-group {
        align-items: center; /* Center align checkboxes on mobile if needed, or keep left */
    }
    .checkbox-label {
        justify-content: flex-start; /* Ensure text aligns left even if container is centered */
        text-align: left;
    }
}
@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column-reverse;
        padding: 2rem 1.5rem;
        text-align: center;
    }

    .text-section {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    h1 {
        font-size: 2rem;
    }

    .features-list {
        padding-left: 0;
    }
    
    .features-list li {
        text-align: left;
    }

    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        width: 100%;
        flex-direction: column;
    }

    .newsletter-form input[type="email"] {
        max-width: 100%;
    }

    .form-group {
        flex: 1 1 100%;
    }

    button {
        width: 100%;
    }
    
    .form-message {
        text-align: center;
    }
}