:root {
    --primary: #6366f1;
    --secondary: #a855f7;
    --accent: #ec4899;
    --dark: #0f172a;
    --slate: #64748b;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--dark);
    color: white;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 0.5;
    }
}

.mesh-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 10% 10%, rgba(99, 102, 241, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 10%, rgba(168, 85, 247, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 50% 90%, rgba(236, 72, 153, 0.1) 0%, transparent 50%),
        #020617;
    z-index: -1;
}

.mesh-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.05;
    pointer-events: none;
}

/* Navigation */
nav {
    padding: 2rem 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    z-index: 100;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(15, 23, 42, 0.8);
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--slate);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: white;
}

.btn-cta {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 1rem 2.5rem;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-cta:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
    position: relative;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-tag {
    background: var(--glass);
    padding: 0.5rem 1rem;
    border: 1px border var(--glass-border);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--primary);
    width: fit-content;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -3px;
    margin-bottom: 2rem;
}

.hero h1 span {
    display: block;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.1rem;
    color: var(--slate);
    margin-bottom: 3rem;
    max-width: 500px;
}

.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image {
    width: 120%;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 0 50px rgba(99, 102, 241, 0.2));
}

/* Ad Showcase */
.ads-section {
    padding: 10rem 10%;
}

.section-head {
    text-align: center;
    margin-bottom: 6rem;
}

.section-head h2 {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -2px;
}

.ad-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.ad-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    overflow: hidden;
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.ad-card:hover {
    transform: translateY(-20px) scale(1.02);
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

.ad-thumb {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.ad-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}

.ad-card:hover .ad-overlay {
    opacity: 1;
}

.ad-body {
    padding: 2.5rem;
}

.ad-body h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.ad-body p {
    color: var(--slate);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.btn-secondary {
    color: var(--primary);
    text-decoration: none;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Documentation */
.docs-section {
    padding: 10rem 10%;
    background: rgba(255, 255, 255, 0.02);
}

.doc-item {
    display: flex;
    gap: 4rem;
    align-items: center;
    margin-bottom: 8rem;
}

.doc-item:nth-child(even) {
    flex-direction: row-reverse;
}

.doc-image {
    flex: 1;
    background: var(--glass);
    border-radius: 50px;
    padding: 3rem;
    display: flex;
    justify-content: center;
}

.doc-image img {
    width: 100%;
    max-width: 400px;
}

.doc-text {
    flex: 1;
}

.doc-text h3 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.doc-text p {
    font-size: 1.1rem;
    color: var(--slate);
    margin-bottom: 2rem;
}

.step-list {
    list-style: none;
}

.step-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.step-num {
    width: 30px;
    height: 30px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.8rem;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 10rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-visual {
        width: 100%;
        margin-top: 5rem;
    }

    .doc-item {
        flex-direction: column !important;
    }
}