/* ================================
   Command Legacy - Premium Dark
   ================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

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

:root {
    --navy: #000115;
    --navy-light: #0a0a1f;
    --surface: #151529;
    --border: #1a1a2e;
    --gold: #D4AF37;
    --gold-glow: rgba(212, 175, 55, 0.3);
    --white: #ffffff;
    --gray: #999999;
    --gray-light: #cccccc;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    background-color: var(--navy);
    color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10vh 5vw 5vh;
    position: relative;
    background: radial-gradient(ellipse at top, #0a0a2f, #000115);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 20%, rgba(0,0,0,0.6), transparent 60%);
  pointer-events: none;
}

.hero-content {
    max-width: 1000px;
    width: 100%;
    text-align: center;
    animation: fadeInUp 1s ease-out;
     position: relative;
  z-index: 1;
}

.logo {
    max-width: 500px;
    width: 100%;
    height: auto;
    margin-bottom: 4rem;
    filter: drop-shadow(0 0 40px rgba(212, 175, 55, 0.15));
}

.hero-title {
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 300;
    line-height: 1.4;
    color: var(--gray-light);
    letter-spacing: -0.02em;
    max-width: 900px;
    margin: 0 auto;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--gold);
  letter-spacing: 0.02em;
  max-width: 900px;
  margin: 1.5rem auto 0;
}

.scroll-indicator {
    position: absolute;
  bottom: 5rem;    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
    0%, 100% { transform: translateY(0); opacity: 0.3; }
    50% { transform: translateY(10px); opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   FEATURES SECTION
   ======================================== */

.features {
    padding: 15vh 5vw;
    background: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
        var(--navy);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 2px 2px, rgba(212, 175, 55, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.feature {
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    background: rgba(21, 21, 41, 0.6);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(212, 175, 55, 0.05);
}

.feature:hover {
    border-color: var(--gold);
    transform: translateY(-8px);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(212, 175, 55, 0.3),
        0 0 40px rgba(212, 175, 55, 0.1);
}

.feature-accent {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
    margin: 0 auto 2rem;
    opacity: 0.6;
    transition: all 0.4s ease;
}

.feature:hover .feature-accent {
    opacity: 1;
    width: 60px;
}

.feature h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--white);
}

.feature p {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.7;
    font-weight: 300;
}

/* ========================================
   HOW IT WORKS SECTION
   ======================================== */

.how-it-works {
    padding: 15vh 5vw;
    background: var(--surface);
}

.how-it-works-content {
    max-width: 800px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    text-align: center;
    margin-bottom: 6rem;
    letter-spacing: -0.02em;
}

.timeline {
    position: relative;
    padding-left: 4rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(
        to bottom,
        var(--gold) 0%,
        var(--gold) 50%,
        transparent 100%
    );
    animation: lineFlow 3s ease-in-out infinite;
}

@keyframes lineFlow {
    0% {
        background: linear-gradient(
            to bottom,
            var(--gold) 0%,
            var(--gold) 30%,
            rgba(212, 175, 55, 0.3) 60%,
            transparent 100%
        );
    }
    50% {
        background: linear-gradient(
            to bottom,
            var(--gold) 0%,
            var(--gold) 50%,
            rgba(212, 175, 55, 0.3) 80%,
            transparent 100%
        );
    }
    100% {
        background: linear-gradient(
            to bottom,
            var(--gold) 0%,
            var(--gold) 30%,
            rgba(212, 175, 55, 0.3) 60%,
            transparent 100%
        );
    }
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    padding-bottom: 4rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

.timeline-number {
    position: absolute;
    left: -3rem;
    top: 0;
    width: 2rem;
    height: 2rem;
    background: var(--gold);
    color: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    z-index: 1;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.timeline-item h3 {
    font-size: 1.375rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.timeline-item p {
    font-size: 1rem;
    color: var(--gray);
    font-weight: 300;
    line-height: 1.7;
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta {
    padding: 15vh 5vw;
    background: radial-gradient(ellipse at center, #0a0a2f, #000115);
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.cta p {
    font-size: 1.125rem;
    color: var(--gray);
    margin-bottom: 3rem;
    font-weight: 300;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn-primary {
    display: inline-block;
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--navy);
    background: var(--gold);
    border: none;
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px var(--gold-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px var(--gold-glow);
    background: #E5C158;
}

.btn-secondary {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: var(--gold);
    background: var(--navy-light);
}

/* ========================================
   EMAIL CAPTURE
   ======================================== */

.email-capture {
    margin-top: 6rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border);
}

.email-label {
    font-size: 0.875rem;
    color: var(--gray);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.inline-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.inline-form input[type="email"] {
    flex: 1;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--white);
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    transition: all 0.3s ease;
}

.inline-form input[type="email"]:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.inline-form input[type="email"]::placeholder {
    color: var(--gray);
}

/* ========================================
   BETA SIGNUP PAGE
   ======================================== */

.beta-header {
    padding: 4rem 5vw;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.beta-header .logo {
    max-width: 350px;
    margin-bottom: 0;
}

.beta-main {
    padding: 8vh 5vw 15vh;
    min-height: 80vh;
}

.beta-container {
    max-width: 600px;
    margin: 0 auto;
}

.beta-container h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.eligibility {
    text-align: center;
    padding: 2rem;
    margin-bottom: 4rem;
    background: var(--surface);
    border: 1px solid var(--gold);
    border-radius: 12px;
}

.eligibility p {
    font-size: 1.125rem;
    color: var(--gray-light);
    font-weight: 300;
}

/* ========================================
   FORMS
   ======================================== */

.beta-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input {
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--white);
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group input::placeholder {
    color: var(--gray);
}

.form-note {
    font-size: 0.875rem;
    color: var(--gray);
    margin-top: 0.5rem;
    font-style: italic;
}

.beta-form .btn-primary {
    margin-top: 1rem;
    width: 100%;
}

/* ========================================
   MESSAGES
   ======================================== */

.confirmation {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.5);
    border-radius: 10px;
    color: #4CAF50;
    text-align: center;
    font-weight: 500;
}

.error-message {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.5);
    border-radius: 10px;
    color: #f44336;
    text-align: center;
    font-weight: 500;
}

.hidden {
    display: none;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    padding: 5rem 5vw 3rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-info {
    color: var(--gray);
    font-size: 0.875rem;
}

.footer-info p {
    margin-bottom: 0.5rem;
}

.launching {
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
}
.footer-tagline {
  font-weight: 700;
  color: #d4af37;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .hero {
        min-height: 85vh;
        padding: 5vh 5vw;
    }
    
    .logo {
        max-width: 320px;
        margin-bottom: 3rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature {
        padding: 2rem 1.5rem;
    }
    
    .timeline {
        padding-left: 3rem;
    }
    
    .timeline-number {
        left: -2.5rem;
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.875rem;
    }
    
    .inline-form {
        flex-direction: column;
    }
    
    .form-row-split {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3vh 4vw;
    }
    
    .logo {
        max-width: 280px;
        margin-bottom: 2rem;
    }
    
    .features,
    .cta,
    .how-it-works {
        padding: 10vh 4vw;
    }
    
    .email-capture {
        margin-top: 4rem;
    }
}
.footer-tagline {
  color: var(--gold);
  font-weight: 700;
}

