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

:root {
    --bg-base: #000000;
    --bg-surface: #050505;
    --bg-card: rgba(15, 15, 18, 0.8);
    --text-main: #f8fafc;
    --text-dim: #94a3b8;
    --accent-glow: #00f5ff;
    /* Cyber Cyan */
    --accent-edge: #a3ff00;
    /* Neon Lime */
    --gradient-primary: linear-gradient(135deg, #00f5ff 0%, #a3ff00 100%);
    --gradient-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    --border-soft: rgba(255, 255, 255, 0.08);
    --border-hard: rgba(255, 255, 255, 0.15);

    --font-h: 'Syne', sans-serif;
    --font-b: 'Outfit', sans-serif;

    --rd-xl: 40px;
    --rd-lg: 24px;
    --rd-md: 12px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-b);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.5s ease;
}

.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.03;
    background: url('https://grainy-gradients.vercel.app/noise.svg');
}

.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    filter: blur(120px);
}

.blob-1 {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 50%;
    height: 50%;
    background: var(--accent-glow);
    opacity: 0.15;
    animation: floating 20s infinite alternate;
}

.blob-2 {
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 50%;
    height: 50%;
    background: var(--accent-edge);
    opacity: 0.1;
    animation: floating 25s infinite alternate-reverse;
}

@keyframes floating {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(10%, 10%) scale(1.1);
    }
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Nav */
header {
    position: fixed;
    top: 1.5rem;
    left: 0;
    right: 0;
    z-index: 1000;
}

nav {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--bg-card);
    backdrop-filter: blur(24px);
    border: 1px solid var(--border-soft);
    border-radius: 100px;
    padding: 0.6rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.brand {
    font-family: var(--font-h);
    font-weight: 800;
    font-size: 1.4rem;
    text-decoration: none;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    border-radius: 8px;
    transform: rotate(15deg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 1rem;
}

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

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

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

.btn-action {
    background: var(--gradient-primary);
    color: #000;
    padding: 0.7rem 1.8rem;
    border-radius: 100px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.85rem;
    transition: 0.4s;
    border: none;
    cursor: pointer;
}

.btn-action:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 245, 255, 0.4);
}

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

.btn-hero {
    padding: 1.25rem 3.5rem;
    font-size: 1rem;
}

.btn-hero.secondary {
    background: transparent;
    border: 1px solid var(--border-hard);
    color: var(--text-main);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8rem 0;
}

.badge {
    padding: 0.5rem 1.2rem;
    border: 1px solid var(--accent-glow);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-glow);
    margin-bottom: 2rem;
    background: rgba(0, 245, 255, 0.05);
}

.hero h1 {
    font-family: var(--font-h);
    font-size: clamp(3rem, 8vw, 6.5rem);
    line-height: 0.95;
    margin-bottom: 2rem;
    font-weight: 800;
    letter-spacing: -2px;
}

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

.hero p {
    font-size: 1.2rem;
    color: var(--text-dim);
    max-width: 700px;
    margin-bottom: 3.5rem;
}

/* Grid Sections */
.section-title {
    font-family: var(--font-h);
    font-size: 3rem;
    margin-bottom: 4rem;
    text-align: center;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: var(--rd-lg);
    padding: 2.5rem;
    transition: 0.5s;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-surface);
    opacity: 0.5;
    pointer-events: none;
}

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

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

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

.span-2 {
    grid-column: span 2;
}

/* Showcase Overlay */
.showcase {
    margin: 8rem 0;
    position: relative;
    border-radius: var(--rd-xl);
    overflow: hidden;
    height: 600px;
}

.showcase img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.showcase-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5rem;
}

/* Footer */
footer {
    padding: 8rem 0 3rem;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-soft);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5rem;
}

.footer-brand p {
    margin-top: 1.5rem;
    color: var(--text-dim);
    max-width: 350px;
}

.footer-links {
    display: flex;
    gap: 5rem;
}

.footer-col h4 {
    font-family: var(--font-h);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-col a {
    display: block;
    color: var(--text-dim);
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: 0.3s;
}

.footer-col a:hover {
    color: var(--accent-glow);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-soft);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* Hamburger Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2000;
}

.menu-toggle span {
    width: 28px;
    height: 2px;
    background: var(--text-main);
    transition: 0.3s;
    border-radius: 2px;
}

@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: 1fr 1fr;
    }

    .span-2 {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    header {
        top: 0;
    }

    nav {
        border-radius: 0;
        max-width: 100%;
        padding: 0.8rem 1rem;
        border-top: none;
        border-left: none;
        border-right: none;
    }

    .container {
        padding: 0 1rem;
    }

    .brand {
        font-size: 1.1rem;
        gap: 8px;
    }

    .brand-icon {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }

    .btn-action {
        padding: 0.6rem 1.2rem;
        font-size: 0.75rem;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-surface);
        backdrop-filter: blur(25px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.8rem;
    }

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

    .span-2 {
        grid-column: span 1;
    }

    .footer-top {
        flex-direction: column;
        gap: 3rem;
    }

    .footer-links {
        gap: 2rem;
        flex-wrap: wrap;
    }

    .hero {
        padding: 10rem 1rem 5rem;
        min-height: auto;
    }

    .hero h1 {
        font-size: clamp(2.5rem, 12vw, 2rem);
        margin-bottom: 1.5rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 2.5rem;
        padding: 0 0.5rem;
    }

    .hero .badge {
        margin-bottom: 1.5rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .btn-hero {
        width: 100%;
        text-align: center;
        padding: 1rem 2rem !important;
    }

    .showcase {
        height: auto;
        min-height: 400px;
        margin: 4rem 0;
    }

    .showcase-content {
        padding: 2rem;
    }

    .showcase-content h2 {
        font-size: 2rem !important;
    }
}

/* Hamburger Animation */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}