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

:root {
    --bg-dark: #050505;
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-highlight: rgba(255, 255, 255, 0.1);
    --primary-glow: conic-gradient(from 180deg at 50% 50%, #16abff33 0deg, #0885ff33 55deg, #54d6ff33 120deg, #0071ff33 160deg, transparent 360deg);
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
}

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Background Effects */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.04;
    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");
}

/* Layout Utilities */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.section-spacing {
    padding: 120px 0;
}

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

/* Header */
header {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: min(90%, 1200px);
    z-index: 100;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.75rem 1.5rem;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 32px;
}

/* Animated Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

/* Dynamic Background Blobs */
.blob {
    position: absolute;
    filter: blur(80px);
    opacity: 0.6;
    z-index: 0;
    animation: float 20s ease-in-out infinite;
    border-radius: 50%;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
    top: -200px;
    left: -100px;
    animation-delay: 0s;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, transparent 70%);
    bottom: -100px;
    right: -100px;
    animation-delay: -5s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    top: 40%;
    left: 60%;
    animation-delay: -10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

.hero-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--accent-blue);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    animation: fadeInDown 0.8s ease-out;
}

.hero-badge span {
    width: 8px;
    height: 8px;
    background: var(--accent-blue);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-blue);
}

/* Hero Title */
.hero-title {
    font-size: clamp(3.5rem, 7vw, 6.5rem);
    font-weight: 800;
    line-height: 1.05;
    background: radial-gradient(circle at center, #ffffff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    position: relative;
    letter-spacing: -2px;
    animation: scaleIn 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 3rem;
    line-height: 1.6;
    animation: fadeIn 1s ease-out 0.3s backwards;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.cta-group {
    display: flex;
    gap: 1rem;
    animation: fadeIn 1s ease-out 0.6s backwards;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 100px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: white;
    color: black;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

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

/* 3D Floating Dashboards (CSS only) */
.floating-ui {
    position: absolute;
    z-index: 1;
    perspective: 1000px;
    pointer-events: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.ui-card {
    position: absolute;
    background: linear-gradient(180deg, rgba(20, 20, 25, 0.8) 0%, rgba(10, 10, 12, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
    backdrop-filter: blur(5px);
}

/* Left Card */
.ui-card-1 {
    width: 200px;
    height: 140px;
    top: 25%;
    left: 10%;
    transform: rotateY(15deg) rotateX(10deg) rotateZ(-5deg);
    animation: floatCard1 8s ease-in-out infinite;
}

/* Right Card */
.ui-card-2 {
    width: 220px;
    height: 160px;
    bottom: 20%;
    right: 8%;
    transform: rotateY(-15deg) rotateX(5deg) rotateZ(5deg);
    animation: floatCard2 9s ease-in-out infinite reverse;
}

@keyframes floatCard1 {

    0%,
    100% {
        transform: rotateY(15deg) rotateX(10deg) rotateZ(-5deg) translateY(0);
    }

    50% {
        transform: rotateY(15deg) rotateX(10deg) rotateZ(-5deg) translateY(-20px);
    }
}

@keyframes floatCard2 {

    0%,
    100% {
        transform: rotateY(-15deg) rotateX(5deg) rotateZ(5deg) translateY(0);
    }

    50% {
        transform: rotateY(-15deg) rotateX(5deg) rotateZ(5deg) translateY(-25px);
    }
}

/* Skeleton UI lines for effect */
.skeleton {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    height: 8px;
    width: 100%;
}

.skeleton.short {
    width: 60%;
}

.skeleton.circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

/* Grid Section Enhancements */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.glass-card {
    background: rgba(15, 15, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    background: rgba(20, 20, 30, 0.8);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 0 50px rgba(59, 130, 246, 0.1);
}

.card-wide {
    grid-column: span 1;
}

@media(min-width: 900px) {
    .card-wide {
        grid-column: span 2;
    }
}

@media(max-width: 768px) {
    .floating-ui {
        display: none;
    }

    .hero-title {
        font-size: 3rem;
    }
}

/* Footer */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem;
    text-align: center;
    color: var(--text-secondary);
    margin-top: 4rem;
}