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

@font-face {
    font-family: 'Manrope';
    src: url('Manrope-VariableFont_wght.ttf') format('truetype');
    font-weight: 200 800;
    font-style: normal;
}

body {
    font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #000000;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    color: #ffffff;
}

/* Metallic animated background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(110, 114, 97, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(110, 114, 97, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 40%, rgba(110, 114, 97, 0.06) 0%, transparent 60%);
    background-size: 300% 300%, 400% 400%, 500% 500%;
    animation: metallicShine 12s ease-in-out infinite;
    z-index: -2;
}

/* Metallic overlay with tech movement */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, 
            transparent 0%,
            rgba(110, 114, 97, 0.05) 25%,
            rgba(110, 114, 97, 0.1) 50%,
            rgba(110, 114, 97, 0.08) 75%,
            transparent 100%
        ),
        radial-gradient(ellipse at 25% 75%, rgba(110, 114, 97, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 75% 25%, rgba(110, 114, 97, 0.12) 0%, transparent 60%);
    background-size: 200% 200%, 300% 300%, 350% 350%;
    animation: metallicMotion 15s ease-in-out infinite;
    z-index: -1;
}

@keyframes metallicShine {
    0%, 100% {
        background-position: 0% 0%, 0% 0%, 0% 0%;
        transform: scale(1) rotate(0deg);
        opacity: 0.8;
    }
    25% {
        background-position: 25% 25%, 15% 15%, 20% 20%;
        transform: scale(1.02) rotate(0.5deg);
        opacity: 1;
    }
    50% {
        background-position: 50% 50%, 30% 30%, 40% 40%;
        transform: scale(1.05) rotate(0deg);
        opacity: 0.9;
    }
    75% {
        background-position: 75% 75%, 45% 45%, 60% 60%;
        transform: scale(1.02) rotate(-0.5deg);
        opacity: 1;
    }
}

@keyframes metallicMotion {
    0%, 100% {
        background-position: 0% 0%, 0% 0%, 0% 0%;
        transform: translateX(0px) translateY(0px) rotate(0deg);
    }
    25% {
        background-position: 25% 25%, 20% 20%, 15% 15%;
        transform: translateX(3px) translateY(-2px) rotate(0.3deg);
    }
    50% {
        background-position: 50% 50%, 40% 40%, 30% 30%;
        transform: translateX(-1px) translateY(1px) rotate(0deg);
    }
    75% {
        background-position: 75% 75%, 60% 60%, 45% 45%;
        transform: translateX(2px) translateY(-1px) rotate(-0.3deg);
    }
}

.landing-container {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.mobile-logo-section {
    display: none;
}

.mockup-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    position: relative;
}

.mockup-image {
    width: 100%;
    max-width: 380px;
    height: auto;
    filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.5));
    animation: floatMockup 6s ease-in-out infinite;
}

@keyframes floatMockup {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.form-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    max-width: 550px;
    margin: 0;
    width: 100%;
}

.logo-container {
    margin-bottom: 40px;
}

.logo {
    max-width: 350px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.title {
    font-family: 'Manrope', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.subtitle {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 300;
    letter-spacing: 0.01em;
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group input {
    width: 100%;
    padding: 20px 24px;
    border: 1px solid rgba(110, 114, 97, 0.3);
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(110, 114, 97, 0.1) 0%, rgba(0, 0, 0, 0.7) 50%, rgba(110, 114, 97, 0.05) 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    font-family: 'Source Sans Pro', sans-serif;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

.form-group input:focus {
    outline: none;
    border-color: rgba(110, 114, 97, 0.6);
    background: linear-gradient(135deg, rgba(110, 114, 97, 0.15) 0%, rgba(0, 0, 0, 0.9) 50%, rgba(110, 114, 97, 0.08) 100%);
    transform: translateY(-4px);
    box-shadow: 
        0 20px 40px rgba(110, 114, 97, 0.2),
        0 0 0 1px rgba(110, 114, 97, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.join-button {
    background: linear-gradient(135deg, rgba(110, 114, 97, 0.3) 0%, rgba(0, 0, 0, 0.8) 100%);
    border: 1px solid rgba(110, 114, 97, 0.4);
    border-radius: 32px;
    padding: 20px 40px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    margin-top: 20px;
    box-shadow: 
        0 8px 32px rgba(110, 114, 97, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    font-family: 'Source Sans Pro', sans-serif;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.join-button:hover {
    transform: translateY(-6px);
    box-shadow: 
        0 20px 60px rgba(110, 114, 97, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(110, 114, 97, 0.6);
    background: linear-gradient(135deg, rgba(110, 114, 97, 0.4) 0%, rgba(0, 0, 0, 0.9) 100%);
}

.join-button:active {
    transform: translateY(-2px);
}

.join-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Social Proof */
.social-proof {
    margin-top: 30px;
    text-align: center;
}

.proof-text {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    margin: 0;
}

.button-text {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.success-message, .error-message {
    margin-top: 15px;
    padding: 12px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: slideIn 0.3s ease;
    font-size: 0.9rem;
}

.success-message {
    background: rgba(46, 204, 113, 0.15);
    border: 1px solid rgba(46, 204, 113, 0.2);
    color: #2ecc71;
}

.error-message {
    background: rgba(231, 76, 60, 0.15);
    border: 1px solid rgba(231, 76, 60, 0.2);
    color: #e74c3c;
}

.success-icon, .error-icon {
    font-size: 16px;
    font-weight: bold;
}

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


/* Mobile-First Responsive Design */
@media (max-width: 968px) {
    .landing-container {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0 20px;
    }
    
    .mobile-logo-section {
        display: block;
        order: 1;
        text-align: center;
        padding: 20px 0 5px 0;
    }
    
    .mockup-section {
        padding: 5px 0 20px 0;
        order: 2;
    }
    
    .mockup-image {
        max-width: 280px;
        height: auto;
    }
    
    .form-section {
        padding: 40px 20px 60px 20px;
        order: 3;
        text-align: center;
    }
    
    .form-section .logo-container {
        display: none;
    }
}

@media (max-width: 768px) {
    .landing-container {
        padding: 0 16px;
    }
    
    .form-section {
        padding: 30px 16px 50px 16px;
    }
    
    .title {
        font-size: 2.4rem;
        line-height: 1.1;
        margin-bottom: 16px;
    }
    
    .subtitle {
        font-size: 1.1rem;
        margin-bottom: 32px;
        line-height: 1.5;
    }
    
    .logo {
        max-width: 200px;
        margin-bottom: 32px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-group input {
        padding: 18px 20px;
        font-size: 16px;
        border-radius: 8px;
        min-height: 56px;
    }
    
    .join-button {
        padding: 20px 32px;
        font-size: 16px;
        min-height: 56px;
        border-radius: 8px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .mockup-image {
        max-width: 240px;
    }
}

@media (max-width: 480px) {
    .landing-container {
        padding: 0 12px;
    }
    
    .form-section {
        padding: 24px 12px 40px 12px;
    }
    
    .title {
        font-size: 2rem;
        margin-bottom: 12px;
    }
    
    .subtitle {
        font-size: 1rem;
        margin-bottom: 28px;
    }
    
    .logo {
        max-width: 180px;
        margin-bottom: 28px;
    }
    
    .form-group input {
        padding: 16px 18px;
        font-size: 16px;
        min-height: 52px;
    }
    
    .join-button {
        padding: 18px 28px;
        font-size: 16px;
        min-height: 52px;
    }
    
    .mockup-image {
        max-width: 200px;
    }
    
    .social-proof {
        margin-top: 24px;
    }
    
    .proof-text {
        font-size: 0.9rem;
    }
}

/* Touch-friendly improvements */
@media (max-width: 768px) {
    .form-group input:focus {
        transform: none;
        box-shadow: 
            0 0 0 3px rgba(110, 114, 97, 0.3),
            0 4px 12px rgba(110, 114, 97, 0.2);
    }
    
    .join-button:active {
        transform: translateY(0px);
    }
}
