:root {
    /* Color Palette */
    --bg-dark: #0f111a;
    --bg-card: #1a1d2d;
    --primary: #6c5ce7;
    --primary-hover: #5a4ad1;
    --accent: #a29bfe;
    --text-main: #ffffff;
    --text-muted: #b2bec3;
    --success: #00b894;
    --gradient-1: #6c5ce7;
    --gradient-2: #81ecec;

    /* Spacing */
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 32px;
    --spacing-xl: 64px;

    /* Effects */
    --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    --glow: 0 0 20px rgba(108, 92, 231, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Glow Effects */
.glow-effect {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    z-index: -1;
}

.top-left {
    top: -200px;
    left: -200px;
}

.bottom-right {
    bottom: -200px;
    right: -200px;
    background: radial-gradient(circle, rgba(129, 236, 236, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
}

/* Layout */
.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-md);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    margin-bottom: var(--spacing-xl);
}

/* Typography */
.main-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
}

.gradient-text {
    background: linear-gradient(135deg, var(--text-main), var(--accent));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-lg);
    max-width: 90%;
}

/* Waitlist Card */
.waitlist-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-lg);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.waitlist-card h2 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.input-group input {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.2);
    color: var(--text-main);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.2);
    background: rgba(0, 0, 0, 0.4);
}

.cta-button {
    padding: 16px;
    border-radius: 12px;
    border: none;
    background: var(--primary);
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--glow);
}

/* Visuals */
.inventory-card-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.app-mockup {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.6));
    border-radius: 24px;
    /* Adjust based on image provided */
}

/* Animation */
.floating {
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Features */
.features-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.feature-card {
    background: var(--bg-card);
    /* Fallback */
    background: rgba(255, 255, 255, 0.05);
    /* Glassy */
    padding: var(--spacing-lg);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.icon-box {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-main);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Footer */
.simple-footer {
    text-align: center;
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Utility */
.hidden {
    display: none;
}

.success-message {
    color: var(--success);
    margin-top: var(--spacing-sm);
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-container {
        padding: var(--spacing-lg) var(--spacing-md);
        justify-content: flex-start;
        /* Prevent centering vertically on small screens if content overflows */
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-lg);
        margin-bottom: var(--spacing-lg);
    }

    .main-title {
        font-size: 2.5rem;
    }

    .features-preview {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        margin-top: var(--spacing-lg);
    }

    .waitlist-card {
        padding: var(--spacing-md);
    }

    .subtitle {
        margin: 0 auto var(--spacing-lg) auto;
        font-size: 1.1rem;
    }

    .image-content {
        order: -1;
        margin-bottom: var(--spacing-md);
    }

    .glow-effect {
        width: 300px;
        height: 300px;
        /* Reduce glow size to avoid overwhelming mobile */
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2rem;
        /* Smaller title for very small screens */
    }

    .waitlist-card h2 {
        font-size: 1.25rem;
    }
}