:root {
    --bg-dark: #121212;
    --text-primary: #ffffff;
    --text-secondary: #A1A1AA;
    --accent-green: #ccff00;
    --accent-green-dark: #99cc00;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
}

.page-wrapper {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2;
    pointer-events: none;
}

/* Background Glowing Orbs */
.background-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.4;
    animation: drift 20s infinite alternate ease-in-out;
}

.top-glow {
    top: -200px;
    left: -100px;
    background: radial-gradient(circle, var(--accent-green) 0%, transparent 70%);
}

.bottom-glow {
    bottom: -300px;
    right: -100px;
    background: radial-gradient(circle, #0284c7 0%, transparent 70%);
}

@keyframes drift {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(50px) scale(1.1); }
}

/* Navbar */
.navbar {
    width: 100%;
    padding: 2rem 5%;
    display: flex;
    justify-content: center; /* Centered for coming soon aesthetic */
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Hero Section */
.hero-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4rem 5% 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.content-container {
    max-width: 800px;
    margin: 0 auto 4rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 1rem;
}

.gradient-text {
    background: linear-gradient(135deg, #ccff00 0%, #99cc00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 3rem;
    font-weight: 300;
}

.waitlist-cta-text {
    display: block;
    margin-top: 1.5rem;
    color: var(--text-primary);
    font-weight: 500;
    letter-spacing: -0.2px;
}

/* Logo Img */
.logo-img {
    height: 112px; /* Increased by 100% from 56px */
    width: auto;
    filter: drop-shadow(0 0 15px rgba(204,255,0,0.4));
    transition: transform 0.3s ease;
}
.logo-img:hover {
    transform: scale(1.05);
}

/* Waitlist Form */
.waitlist-form {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 500px;
    margin: 0 auto;
}

.waitlist-input {
    flex: 1;
    min-width: 250px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.waitlist-input::placeholder {
    color: var(--text-secondary);
}

.waitlist-input:focus {
    border-color: var(--accent-green);
    box-shadow: 0 0 15px rgba(204, 255, 0, 0.2);
}

.waitlist-btn {
    background: var(--accent-green);
    color: #121212;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.waitlist-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 20px rgba(204, 255, 0, 0.4);
}

/* Share Button */
.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.share-btn:hover {
    color: var(--text-primary);
}

/* Abstract Phone Mockup */
.phone-mockup-wrapper {
    position: relative;
    margin-top: 2rem;
    margin-bottom: 4rem; /* Buffer space below phone */
    perspective: 1000px;
}

.phone-mockup {
    width: clamp(280px, 80vw, 320px); /* Responsive width */
    height: auto; /* Let the screenshot define height to prevent cropping */
    background: #0a0a0a;
    border: 8px solid #1f1f1f;
    border-radius: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5),
                inset 0 0 0 2px rgba(255,255,255,0.05);
    position: relative;
    overflow: hidden;
    transform: rotateX(10deg) rotateY(-5deg);
    transition: transform 0.5s ease;
    display: block; /* Ensure it doesn't stretch children via flex */
}

.phone-mockup:hover {
    transform: rotateX(0deg) rotateY(0deg) translateY(-10px);
}

/* Island/Notch */
.phone-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #1f1f1f;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    z-index: 10;
}

/* Actual Screenshot Image */
.app-screenshot {
    display: block;
    width: 100%;
    height: auto; /* Ensures aspect ratio remains perfect */
    border-radius: 32px; /* Curves matching the outer frame */
}

.glow-under-phone {
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 200px;
    background: radial-gradient(ellipse at center, rgba(204,255,0,0.3) 0%, transparent 70%);
    filter: blur(40px);
    z-index: -1;
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries */
@media (max-width: 768px) {
    .logo-img {
        height: 80px; /* Shrunk logo for mobile */
    }

    .waitlist-form {
        flex-direction: column;
        align-items: stretch; /* Make children fill width */
    }

    .waitlist-btn {
        width: 100%;
    }

    .phone-mockup {
        width: 280px;
        height: auto;
    }
}
