/* Color Palette */
:root {
    --navy: #0B1B2B;
    --steel-grey: #AEB6BF;
    --off-white: #E8EDF2;
    --amber: #FFB44C;
}

/* Loading Screen */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--navy);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out;
}

.loader-container.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.loader-logo {
    width: 200px;
    height: auto;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(0.95);
    }
}

/* Radar Animation */
.radar-container {
    position: relative;
    width: 200px;
    height: 200px;
}

.radar-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid var(--amber);
    border-radius: 50%;
    opacity: 0.3;
}

.ring-1 {
    width: 60px;
    height: 60px;
    animation: radarPulse 3s ease-out infinite;
}

.ring-2 {
    width: 120px;
    height: 120px;
    animation: radarPulse 3s ease-out infinite 0.5s;
}

.ring-3 {
    width: 180px;
    height: 180px;
    animation: radarPulse 3s ease-out infinite 1s;
}

@keyframes radarPulse {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.5);
    }
}

.radar-sweep {
    position: absolute;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--amber), transparent);
    top: 50%;
    left: 50%;
    transform-origin: 0 50%;
    animation: radarSweep 2s linear infinite;
    box-shadow: 0 0 20px var(--amber);
}

@keyframes radarSweep {
    0% {
        transform: translateY(-50%) rotate(0deg);
    }
    100% {
        transform: translateY(-50%) rotate(360deg);
    }
}

/* Loading Text */
.loader-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.loading-text {
    color: var(--steel-grey);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.loading-dots {
    display: flex;
    gap: 0.25rem;
}

.loading-dots span {
    width: 6px;
    height: 6px;
    background-color: var(--amber);
    border-radius: 50%;
    animation: loadingDot 1.4s ease-in-out infinite;
}

.loading-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes loadingDot {
    0%, 60%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    30% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    color: var(--off-white);
    background-color: var(--navy);
    line-height: 1.6;
    overflow-x: hidden;
    animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Hero Logo */
.hero-logo {
    width: 150px;
    height: auto;
    margin-bottom: 2rem;
    animation: fadeIn 1s ease-in;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(11, 27, 43, 0.7), rgba(11, 27, 43, 0.7)), url('images/hero.jpg') center/cover no-repeat;
    background-attachment: fixed;
    padding: 2rem;
    position: relative;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}


h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--off-white);
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.subhead {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--steel-grey);
    max-width: 650px;
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Form Container - Glassy Card */
.form-container {
    width: 100%;
    max-width: 600px;
    padding: 2.5rem 2rem;
    background: rgba(11, 27, 43, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    border: 1px solid rgba(174, 182, 191, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

input[type="email"] {
    padding: 1rem 1.25rem;
    font-size: 1rem;
    background: rgba(232, 237, 242, 0.1);
    border: 2px solid rgba(174, 182, 191, 0.3);
    border-radius: 6px;
    color: var(--off-white);
    font-family: inherit;
    transition: all 0.3s ease;
    width: 100%;
}

input[type="email"]::placeholder {
    color: var(--steel-grey);
    opacity: 0.7;
}

input[type="email"]:focus {
    outline: none;
    border-color: var(--amber);
    background: rgba(232, 237, 242, 0.15);
    box-shadow: 0 0 0 3px rgba(255, 180, 76, 0.1);
}

input[type="email"]:focus-visible {
    outline: 2px solid var(--amber);
    outline-offset: 2px;
}

.cta-button {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    background: var(--amber);
    color: var(--navy);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
    width: 100%;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 180, 76, 0.4);
}

.cta-button:active {
    transform: translateY(0);
}

.cta-button:focus-visible {
    outline: 3px solid var(--off-white);
    outline-offset: 3px;
}

.form-note {
    font-size: 0.875rem;
    color: var(--steel-grey);
    text-align: center;
    margin-top: 0.5rem;
}

.success-message {
    padding: 1rem;
    background: rgba(76, 175, 80, 0.15);
    border: 1px solid rgba(76, 175, 80, 0.5);
    border-radius: 6px;
    color: #90EE90;
    font-size: 0.95rem;
    text-align: center;
    display: none;
    animation: slideIn 0.4s ease-out;
}

.success-message.show {
    display: block;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Trust Cues */
.trust-cues {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--steel-grey);
    opacity: 0.8;
    margin-top: 1rem;
}

.separator {
    color: var(--amber);
}

/* Placeholder Sections */
.placeholder-section {
    height: 1px;
    visibility: hidden;
}

/* Footer */
footer {
    padding: 3rem 2rem 2rem;
    text-align: center;
    background: var(--navy);
    color: var(--steel-grey);
    font-size: 0.9rem;
}

footer p {
    margin: 0.5rem 0;
}

footer a {
    color: var(--amber);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover,
footer a:focus {
    color: var(--off-white);
}

footer a:focus-visible {
    outline: 2px solid var(--amber);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Responsive Design */
@media (min-width: 640px) {
    .hero-logo {
        width: 200px;
    }

    .form-group {
        flex-direction: row;
        align-items: stretch;
    }

    input[type="email"] {
        flex: 1;
    }

    .cta-button {
        width: auto;
        white-space: nowrap;
    }
}

@media (min-width: 1024px) {
    .hero-logo {
        width: 250px;
    }

    .hero {
        padding: 4rem;
    }

    .form-container {
        padding: 3rem 2.5rem;
    }
}

@media (min-width: 2560px) {
    .hero-logo {
        width: 300px;
    }

    .form-container {
        max-width: 800px;
        padding: 4rem 3rem;
    }

    input[type="email"],
    .cta-button {
        font-size: 1.125rem;
        padding: 1.25rem 1.5rem;
    }

    .trust-cues {
        font-size: 1rem;
    }

    footer {
        font-size: 1rem;
    }
}
