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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #000000;
    color: white;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Background with subtle gradient effect */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: #000000;
}

.background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(var(--gradient-shape, 600px 600px) ellipse at var(--mouse-x, 50%) var(--mouse-y, 50%), 
        rgba(59, 130, 246, 0.25) 0%, 
        rgba(30, 58, 138, 0.15) 30%, 
        transparent 60%);
    pointer-events: none;
    animation: flame-flicker 3s ease-in-out infinite;
}

@keyframes flame-flicker {
    0% {
        opacity: 0.8;
        transform: scale(1);
        --gradient-shape: 580px 620px;
    }
    25% {
        opacity: 0.9;
        transform: scale(1.02);
        --gradient-shape: 620px 580px;
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
        --gradient-shape: 590px 610px;
    }
    75% {
        opacity: 0.95;
        transform: scale(1.01);
        --gradient-shape: 610px 590px;
    }
    100% {
        opacity: 0.85;
        transform: scale(0.98);
        --gradient-shape: 600px 600px;
    }
}

.wave {
    position: absolute;
    width: 800px;
    height: 400px;
    background: 
        radial-gradient(ellipse 100% 50% at center, 
            rgba(100, 150, 255, 0.06) 0%,
            rgba(150, 200, 255, 0.04) 30%,
            transparent 60%);
    border-radius: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    pointer-events: none;
    animation: flowing-wave 8s ease-out forwards;
    filter: blur(1px);
}

.wave::before {
    content: '';
    position: absolute;
    top: -25%;
    left: -25%;
    right: -25%;
    bottom: -25%;
    background: 
        radial-gradient(ellipse 80% 40% at center, 
            rgba(100, 150, 255, 0.03) 0%,
            rgba(150, 200, 255, 0.02) 40%,
            transparent 70%);
    border-radius: 50%;
    animation: outer-flow 8s ease-out forwards;
    filter: blur(3px);
}

.wave::after {
    content: '';
    position: absolute;
    top: 35%;
    left: 35%;
    right: 35%;
    bottom: 35%;
    background: 
        radial-gradient(ellipse 60% 30% at center, 
            rgba(255, 255, 255, 0.08) 0%,
            rgba(100, 150, 255, 0.05) 50%,
            transparent 80%);
    border-radius: 50%;
    animation: inner-glow 8s ease-out forwards;
    filter: blur(0.5px);
}

@keyframes flowing-wave {
    0% {
        transform: translate(-50%, -50%) rotate(-15deg) scale(0.3);
        opacity: 0.4;
        filter: blur(0px);
    }
    30% {
        transform: translate(-50%, -50%) rotate(-10deg) scale(0.8);
        opacity: 0.2;
        filter: blur(1px);
    }
    70% {
        transform: translate(-50%, -50%) rotate(-5deg) scale(1.4);
        opacity: 0.1;
        filter: blur(2px);
    }
    100% {
        transform: translate(-50%, -50%) rotate(0deg) scale(2);
        opacity: 0;
        filter: blur(3px);
    }
}

@keyframes outer-flow {
    0% {
        transform: scale(0.2);
        opacity: 0.2;
    }
    40% {
        transform: scale(0.7);
        opacity: 0.1;
    }
    80% {
        transform: scale(1.3);
        opacity: 0.05;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

@keyframes inner-glow {
    0% {
        transform: scale(0.4);
        opacity: 0.3;
        filter: blur(0px);
    }
    50% {
        transform: scale(1);
        opacity: 0.15;
        filter: blur(0.5px);
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
        filter: blur(1px);
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    padding: 12px 20px;
    font-size: 18px;
    font-weight: 600;
    color: white;
}

.contact-btn {
    background: rgb(6, 14, 40);
    border: none;
    padding: 12px 24px;
    border-radius: 24px;
    color: #7fbfff;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-decoration: none;
    display: inline-block;
}

.contact-btn:hover {
    background: rgb(10, 26, 65);
    transform: translateY(-1px);
    color: #dff3ff;
}

/* Main content */
.main-content {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 740px;
    text-align: center;
    background: linear-gradient(135deg, 
        rgba(30, 41, 59, 0.9) 0%, 
        rgba(20, 25, 35, 0.95) 30%,
        rgba(0, 0, 0, 1) 70%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 60px 50px;
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.3),
        0 10px 10px -5px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 0 rgba(148, 163, 184, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 10; /* Ensure form container is in front */
}

.container::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, 
        rgba(148, 163, 184, 0.5) 0%, 
        rgba(71, 85, 105, 0.2) 50%,
        rgba(51, 65, 85, 0.1) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(96, 165, 250, 0.3),
        transparent);
}

.launch-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 50px;
    padding: 8px 20px;
    margin-bottom: 32px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #60a5fa;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.launch-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #60a5fa;
    border-radius: 50%;
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.highlight {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.description {
    font-size: 18px;
    line-height: 1.6;
    color: #94a3b8;
    margin: 0 auto 40px;
    max-width: 560px;
    text-align: center;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.email-input {
    width: 100%;
    max-width: 560px;
    padding: 18px 24px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(71, 85, 105, 0.3);
    border-radius: 9999px;
    font-size: 16px;
    color: #e2e8f0;
    transition: all 0.3s ease;
    outline: none;
}

.email-input::placeholder {
    color: #64748b;
}

.email-input:hover {
    border-color: rgba(96, 165, 250, 0.3);
    background: rgba(15, 23, 42, 0.8);
}

.email-input:focus {
    border-color: #60a5fa;
    background: rgba(15, 23, 42, 0.9);
    box-shadow: 
        0 0 0 3px rgba(96, 165, 250, 0.1),
        0 0 20px rgba(96, 165, 250, 0.1);
}

.submit-btn {
    width: 100%;
    max-width: 560px;
    padding: 18px 24px;
    background: linear-gradient(135deg, rgb(110, 150, 251) 0%, rgb(36, 64, 211) 100%);
    border: none;
    border-radius: 9999px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 10px 20px -5px rgba(36, 64, 211, 0.4),
        0 0 30px rgba(110, 150, 251, 0.2);
    background: linear-gradient(135deg, rgb(129, 185, 234) 0%, rgb(110, 150, 251) 100%);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Error message */
.error-message {
    color: #ef4444;
    font-size: 14px;
    text-align: center;
    margin-top: 12px;
    padding: 8px 16px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 8px;
    animation: fadeInUp 0.3s ease-out;
}

/* Instagram link */
.instagram-link {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}

.instagram-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    border-radius: 50px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.instagram-btn:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    color: #60a5fa;
    transform: translateY(-2px);
    box-shadow: 
        0 8px 16px -4px rgba(59, 130, 246, 0.2),
        0 0 20px rgba(59, 130, 246, 0.1);
}

.instagram-btn:active {
    transform: translateY(0);
}

.instagram-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.instagram-btn:hover svg {
    transform: scale(1.1);
}

/* Footer section */
.footer-section {
    padding: 80px 40px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.questions-card {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    backdrop-filter: blur(10px);
    gap: 40px;
}

.questions-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.questions-content p {
    color: #94a3b8;
    font-size: 1.1rem;
    line-height: 1.6;
}

.email-us-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #1e3a8a;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.email-us-btn::after {
    content: "→";
    font-size: 18px;
    font-weight: bold;
}

.email-us-btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 
        0 8px 16px -4px rgba(30, 58, 138, 0.4),
        0 0 24px rgba(59, 130, 246, 0.2);
}

.email-us-btn:active {
    transform: translateY(0);
}

.copyright {
    text-align: center;
    color: #64748b;
    font-size: 14px;
}

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.scroll-top:hover {
    background: rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

.scroll-top::before {
    content: '↑';
    color: #60a5fa;
    font-size: 18px;
    font-weight: bold;
}

/* Animation on load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container > * {
    animation: fadeInUp 0.8s ease-out backwards;
}

.launch-badge { animation-delay: 0.1s; }
h1 { animation-delay: 0.2s; }
.description { animation-delay: 0.3s; }
.form-group { animation-delay: 0.4s; }
.instagram-link { animation-delay: 0.5s; }

/* Responsive design */
@media (max-width: 768px) {
    .header {
        padding: 15px 20px;
    }

    .container {
        padding: 40px 30px;
        margin: 0 20px;
    }

    h1 {
        font-size: 40px;
    }

    .description {
        font-size: 16px;
    }

    .email-input,
    .submit-btn {
        padding: 16px 20px;
        font-size: 15px;
    }

    .questions-card {
        flex-direction: column;
        text-align: center;
        gap: 24px;
        padding: 30px;
        margin: 0 20px 60px;
    }

    .questions-content h2 {
        font-size: 2rem;
    }

    .footer-section {
        padding: 60px 20px 40px;
    }
}

/* Glass backdrop effect at bottom of screen */
.bottom-glass-backdrop {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to top, 
        rgba(15, 23, 42, 0.4) 0%, 
        rgba(15, 23, 42, 0.3) 20%,
        rgba(15, 23, 42, 0.1) 60%, 
        transparent 100%);
    backdrop-filter: blur(10px);
    mask: linear-gradient(to top, 
        black 0%, 
        black 30%, 
        transparent 100%);
    -webkit-mask: linear-gradient(to top, 
        black 0%, 
        black 30%, 
        transparent 100%);
    z-index: 10;
    pointer-events: none;
}

/* Thank You Page Styles */
.background-text {
    position: fixed;
    top: 15%;
    left: 50%;
    transform: translate(-50%, 0);
    font-size: clamp(120px, 20vw, 300px);
    font-weight: 900;
    color: rgba(255, 255, 255, 0.08);
    white-space: nowrap;
    pointer-events: none;
    z-index: 1;
    letter-spacing: -0.05em;
    user-select: none;
}

.thank-you-content {
    position: relative;
    z-index: 10;
    text-align: center;
    width: 100%;
    max-width: 680px;
    margin: 100px auto 0;
    padding: 60px 20px;
}



.thank-you-heading {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
    z-index: 20;
    position: relative;
}

.stay-tuned {
    font-size: 18px;
    line-height: 1.6;
    color: #94a3b8;
    margin: 0 auto 40px;
    max-width: 560px;
    text-align: center;
    font-weight: 400;
}

.go-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 18px 24px;
    background: linear-gradient(135deg, rgb(110, 150, 251) 0%, rgb(36, 64, 211) 100%);
    border: none;
    border-radius: 9999px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

.go-back-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    transition: left 0.5s ease;
}

.go-back-btn:hover::before {
    left: 100%;
}

.go-back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 10px 20px -5px rgba(36, 64, 211, 0.4),
        0 0 30px rgba(110, 150, 251, 0.2);
    background: linear-gradient(135deg, rgb(129, 185, 234) 0%, rgb(110, 150, 251) 100%);
}

.go-back-btn:active {
    transform: translateY(0);
}

.go-back-btn::after {
    content: "→";
    font-size: 18px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.go-back-btn:hover::after {
    transform: translateX(4px);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(71, 85, 105, 0.3);
    border-radius: 50%;
    color: #94a3b8;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    color: #60a5fa;
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Thank you page animations */
.thank-you-heading { animation-delay: 0.1s; }
.stay-tuned { animation-delay: 0.2s; }
.go-back-btn { animation-delay: 0.3s; }
.social-links { animation-delay: 0.4s; }

/* 404 Page Styles */
.background-text-404 {
    position: fixed;
    top: 15%;
    left: 50%;
    transform: translate(-50%, 0);
    font-size: clamp(150px, 25vw, 400px);
    font-weight: 900;
    color: rgba(255, 255, 255, 0.08);
    white-space: nowrap;
    pointer-events: none;
    z-index: 1;
    letter-spacing: -0.05em;
    user-select: none;
}

.error-content {
    position: relative;
    z-index: 10;
    text-align: center;
    width: 100%;
    max-width: 680px;
    margin: 100px auto 0;
    padding: 60px 20px;
}

.error-heading {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
    z-index: 20;
    position: relative;
}

.error-subtitle {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.error-description {
    font-size: 18px;
    line-height: 1.6;
    color: #94a3b8;
    margin: 0 auto 40px;
    max-width: 560px;
    text-align: center;
    font-weight: 400;
}

/* 404 page animations */
.error-heading { animation-delay: 0.1s; }
.error-subtitle { animation-delay: 0.2s; }
.error-description { animation-delay: 0.3s; }
.error-content .go-back-btn { animation-delay: 0.4s; }

/* Responsive adjustments for thank you page */
@media (max-width: 768px) {
    .background-text {
        font-size: clamp(80px, 25vw, 200px);
    }
    
    .thank-you-heading {
        font-size: 40px;
    }
    
    .stay-tuned {
        font-size: 16px;
    }
    
    .social-links {
        gap: 16px;
    }
    
    .social-link {
        width: 44px;
        height: 44px;
    }
    
    .social-link svg {
        width: 18px;
        height: 18px;
    }
}

/* Responsive adjustments for 404 page */
@media (max-width: 768px) {
    .background-text-404 {
        font-size: clamp(120px, 30vw, 280px);
    }
    
    .error-heading {
        font-size: 40px;
    }
    
    .error-subtitle {
        font-size: 24px;
    }
    
    .error-description {
        font-size: 16px;
    }
}