:root {
    --bg-color: #05060b;
    --card-bg: rgba(13, 17, 28, 0.7);
    --accent-blue: #00f2ff;
    --accent-purple: #7000ff;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --danger: #ef4444;
    --success: #10b981;
    --glass-border: rgba(255, 255, 255, 0.08);
    --glow-blue: 0 0 20px rgba(0, 242, 255, 0.3);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Gradients */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    animation: move 20s infinite alternate;
}

.blob-1 {
    background: var(--accent-blue);
    top: -100px;
    right: -100px;
}

.blob-2 {
    background: var(--accent-purple);
    bottom: -150px;
    left: -150px;
    animation-delay: -5s;
}

@keyframes move {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(100px, 100px);
    }
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(90deg, var(--accent-blue), #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
#hero-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: #05060b;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    background: #2563eb;
    padding: 0.5rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
}

.logo-text span {
    color: #3b82f6;
}

header {
    /* Removed min-height to prevent viewport vertical alignment issues */
    display: block;
    text-align: center;
    background: transparent;
    padding: 250px 2rem 4rem 2rem;
    position: relative;
    z-index: 10;
}

.hero-tag {
    background: rgba(0, 242, 255, 0.1);
    border: 1px solid rgba(0, 242, 255, 0.2);
    color: var(--accent-blue);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 50px;
    /* Extra push */
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 3rem;
}

/* Buttons */
.btn {
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--accent-blue);
    color: #000;
    box-shadow: var(--glow-blue);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid var(--glass-border);
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-blue);
}

/* Features Section */
.section {
    padding: 8rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 24px;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.card:hover {
    border-color: rgba(0, 242, 255, 0.3);
    transform: translateY(-5px);
    background: rgba(13, 17, 28, 0.9);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 242, 255, 0.1);
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card p {
    color: var(--text-secondary);
}

/* AI Highlight */
.ai-section {
    background: radial-gradient(circle at center, rgba(112, 0, 255, 0.05) 0%, transparent 70%);
}

.ai-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.ai-terminal {
    background: #000;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    position: relative;
}

.terminal-header {
    display: flex;
    gap: 6px;
    margin-bottom: 1rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-r {
    background: #ff5f56;
}

.dot-y {
    background: #ffbd2e;
}

.dot-g {
    background: #27c93f;
}

.typing {
    color: var(--accent-blue);
    border-right: 2px solid var(--accent-blue);
    white-space: nowrap;
    overflow: hidden;
    width: 0;
    animation: typing 3s steps(30, end) forwards, blink 0.8s infinite;
}

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Preview Section */
.preview-container {
    margin-top: 4rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    backdrop-filter: blur(20px);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.preview-img {
    width: 100%;
    border-radius: 20px;
    display: block;
}

/* Tech Badges */
.tech-stack {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.tech-badge {
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    nav {
        padding: 1rem;
    }

    .logo-text {
        font-size: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-top: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .ai-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section {
        padding: 4rem 0;
    }

    .container {
        padding: 0 1.5rem;
    }

    .preview-container {
        margin-top: 2rem;
        border-radius: 20px;
    }

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .logo-text {
        font-size: 0.9rem;
    }

    .btn-secondary {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }
}