@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@600;700;800&display=swap');

:root {
    --bg-color: #050505;
    --accent-mint: #00ffa3;
    --accent-blue: #00e0ff;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-bg: rgba(20, 20, 23, 0.6);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

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

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

/* Background Gradients & Texture */
.bg-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(circle at 0% 0%, rgba(0, 255, 163, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 100% 100%, rgba(0, 224, 255, 0.03) 0%, transparent 40%),
        var(--bg-color);
}

.bg-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
    mask-image: radial-gradient(ellipse at center, black, transparent 80%);
}

/* Floating Blobs */
.floating-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    animation: float 20s infinite alternate cubic-bezier(0.45, 0, 0.55, 1);
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: var(--accent-mint);
    top: -200px;
    left: -100px;
    animation-duration: 25s;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-blue);
    bottom: -100px;
    right: -100px;
    animation-duration: 30s;
    animation-delay: -5s;
}

.blob-3 {
    width: 400px;
    height: 400px;
    background: #8b5cf6;
    top: 40%;
    left: 50%;
    opacity: 0.08;
    animation-duration: 22s;
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 50px) scale(1.1); }
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.logo-container img {
    height: 32px;
    border-radius: 6px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-mint);
}

.github-link {
    background: var(--text-primary);
    color: var(--bg-color) !important;
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    font-weight: 600 !important;
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 20px 60px;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background: linear-gradient(to top, var(--bg-color), transparent);
    pointer-events: none;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 5.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to bottom right, #fff 50%, #999);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    z-index: 1;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin-bottom: 3rem;
    z-index: 1;
}

/* Install Command */
.install-container {
    background: #0a0a0c;
    border: 1px solid var(--glass-border);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: 'Courier New', Courier, monospace;
    position: relative;
    z-index: 1;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 4rem;
}

.hero-preview {
    margin-top: 4rem;
    width: 95%;
    max-width: 1100px;
    z-index: 1;
    border-radius: 24px;
    padding: 2rem;
    background: rgba(20, 20, 23, 0.4);
    border: 1px solid rgba(139, 92, 246, 0.4);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
    animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
}

.hero-preview img {
    width: 100%;
    display: block;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.preview-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-mint);
    color: #000;
    padding: 0.4rem 1.2rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(0, 255, 163, 0.3);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.install-container:hover {
    border-color: var(--accent-mint);
    box-shadow: 0 0 30px rgba(0, 255, 163, 0.15);
}

.install-container span {
    color: var(--accent-mint);
}

.install-container code {
    color: #fff;
    font-size: 1.1rem;
}

.copy-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s;
}

.copy-btn:hover {
    color: #fff;
}

/* Features Section */
.features {
    padding: 100px 10%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

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

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-mint);
}

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

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

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

/* Desktop Showcase */
.desktop-showcase {
    padding: 100px 10%;
    z-index: 1;
    position: relative;
}

.showcase-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 20px rgba(0, 255, 163, 0.4));
}

.showcase-header h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.showcase-header p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.showcase-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
}

.showcase-images {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    width: 100%;
}

.image-wrapper {
    flex: 1;
    max-width: 450px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 0.75rem;
    border-radius: 20px;
    position: relative;
    backdrop-filter: blur(10px);
    transition: transform 0.4s ease;
}

.image-wrapper:hover {
    transform: translateY(-10px);
    border-color: var(--accent-mint);
}

.image-wrapper img {
    width: 100%;
    display: block;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.image-wrapper span {
    display: block;
    text-align: center;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.showcase-text-combined {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    width: 100%;
    max-width: 900px;
    margin-top: 2rem;
}

.text-block {
    text-align: left;
}

.text-block h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--accent-mint);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.text-block p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Downloads Section */
.downloads {
    padding: 100px 10% 60px;
    display: flex;
    justify-content: center;
    z-index: 5;
    position: relative;
}

.download-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    border: 1px solid var(--glass-border);
    padding: 3.5rem;
    border-radius: 32px;
    max-width: 800px;
    text-align: center;
    backdrop-filter: blur(15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.download-container h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.download-container p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.download-container b {
    color: var(--text-primary);
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--accent-mint);
    color: #000;
    text-decoration: none;
    padding: 1.25rem 2.5rem;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 255, 163, 0.3);
    cursor: pointer;
    position: relative;
    z-index: 11;
}

.download-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 255, 163, 0.5);
    background: #fff;
}

.download-btn i {
    font-size: 1.4rem;
}

.download-card h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.download-card h4 i {
    color: var(--accent-blue);
}

.download-card pre {
    background: #000;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--accent-mint);
    margin-top: 1rem;
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.download-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
}
