:root {
    /* Color Palette */
    --primary-color: #0F172A;
    /* Deep Navy */
    --secondary-color: #3B82F6;
    /* Electric Blue */
    --accent-color: #8B5CF6;
    /* Violet */
    --text-color: #E2E8F0;
    /* Off-white */
    --text-muted: #94A3B8;
    --background-color: #020617;
    /* Very dark blue/black */
    --card-bg: rgba(30, 41, 59, 0.7);
    /* Glassy dark blue */
    --border-color: rgba(148, 163, 184, 0.1);

    /* Gradients */
    --primary-gradient: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    --text-gradient: linear-gradient(to right, #60A5FA, #A78BFA);

    /* Spacing */
    --container-padding: 2rem;
    --section-spacing: 6rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.5rem;
}

p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

.gradient-text {
    background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: 1fr 1fr;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.align-center {
    align-items: center;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav a:not(.btn) {
    font-weight: 500;
    color: var(--text-muted);
}

.nav a:not(.btn):hover {
    color: #fff;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-medium);
}

.btn-primary {
    background: var(--primary-gradient);
    color: #fff;
    box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.39);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.23);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Hero Section */
.hero {
    padding-top: 8rem;
    padding-bottom: var(--section-spacing);
    position: relative;
    overflow: hidden;
}

/* Background glow effect for Hero */
.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(2, 6, 23, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 3rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.visual-placeholder {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Card Styling (Glassmorphism) */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.3);
}

/* Hero Card Animation */
.card-stacked {
    width: 100%;
    max-width: 380px;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

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

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

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

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.badge {
    background: rgba(16, 185, 129, 0.2);
    color: #34D399;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
}

.time {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 0.5rem;
}

.check {
    color: #34D399;
    font-weight: bold;
}

.checklist-item.pending .spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-top-color: #3B82F6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Features/Problem Section */
section {
    padding: var(--section-spacing) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    transition: var(--transition-medium);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.3);
}

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.grid-2 {
    margin-bottom: 6rem;
}

.grid-2:last-child {
    margin-bottom: 0;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
}

.feature-list li::before {
    content: "•";
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* UI Mockups in Features */
.ui-mockup {
    background: #0f172a;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.mockup-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.line {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

.line.short {
    width: 40%;
}

.line.medium {
    width: 70%;
}

.line.long {
    width: 90%;
}

.tag-group {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    background: rgba(59, 130, 246, 0.2);
    color: #60A5FA;
}

/* Audience Section */
.audience-box {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 4rem;
    text-align: center;
}

.audience-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid transparent;
    transition: var(--transition-fast);
}

.audience-card:hover {
    border-color: var(--secondary-color);
    background: rgba(59, 130, 246, 0.05);
}

.audience-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0;
}

/* Why Us */
.value-prop {
    text-align: center;
    padding: 2rem;
}

/* CTA Section */
.cta {
    text-align: center;
}

.waitlist-form {
    max-width: 500px;
    margin: 2rem auto 0;
    display: flex;
    gap: 0.5rem;
}

.waitlist-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: 9999px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    outline: none;
}

.waitlist-form input:focus {
    border-color: var(--secondary-color);
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.copyright {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

/* Mobile Responsive */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #fff;
    transition: 0.3s;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .reverse-mobile {
        display: flex;
        flex-direction: column-reverse;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--primary-color);
        flex-direction: column;
        padding: 2rem;
        transform: translateY(-150%);
        transition: transform 0.3s ease-in-out;
        border-bottom: 1px solid var(--border-color);
    }

    .nav.active {
        transform: translateY(0);
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .waitlist-form {
        flex-direction: column;
    }
}