/* ============================================================
   Rizer Premium Design System (Light Theme)
   ============================================================ */

:root {
    --primary: #6366f1;
    --primary-glow: rgba(99, 102, 241, 0.4);
    --accent-blue: #38bdf8;
    --accent-violet: #a855f7;
    --accent-cyan: #22d3ee;

    --bg-main: #fcfdfe;
    --bg-section: #ffffff;
    --bg-blob-1: rgba(99, 102, 241, 0.05);
    --bg-blob-2: rgba(34, 211, 238, 0.05);

    --text-main: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;

    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.8);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);

    --border-light: rgba(226, 232, 240, 0.8);
    --radius-xl: 24px;
    --radius-lg: 16px;
    --radius-md: 12px;

    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
    font-family: var(--font-sans);
    background: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes blobMove {
    0% {
        transform: translate(0, 0) scale(1);
    }

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

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

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

.animate-fade {
    animation: fadeIn 0.8s ease forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

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

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: blobMove 15s infinite ease-in-out;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: var(--bg-blob-1);
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 40vw;
    height: 40vw;
    background: var(--bg-blob-2);
    animation-delay: -5s;
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s ease;
}

#navbar.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 15px 5%;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--glass-shadow);
}

.logo-premium {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(to right, var(--primary), var(--accent-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

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

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

/* Buttons */
.btn-premium {
    padding: 12px 28px;
    border-radius: 100px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 20px -5px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px var(--primary-glow);
    background: #4f46e5;
}

.btn-glass {
    background: var(--glass-bg);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(5px);
    color: var(--text-main);
}

.btn-glass:hover {
    background: #ffffff;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 140px 5% 100px;
    position: relative;
}

.badge {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.hero h1 {
    font-size: clamp(40px, 8vw, 84px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -3px;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, #1e293b 0%, var(--primary) 50%, #38bdf8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 40px;
}

.video-container {
    width: 100%;
    max-width: 1000px;
    margin-top: 60px;
    aspect-ratio: 16/9;
    background: white;
    border-radius: var(--radius-xl);
    border: 4px solid white;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Floating Elements */
.floating-card {
    position: absolute;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 15px;
    box-shadow: var(--glass-shadow);
    animation: float 6s infinite ease-in-out;
    z-index: -1;
}

/* Transitions */
#landing-sections {
    transition: opacity 0.5s ease;
}

#app {
    transition: opacity 0.5s ease;
}

/* Sidebar Fixes for Premium */
.sidebar {
    background: var(--bg-main) !important;
    border-right: 1px solid var(--border-light) !important;
}

.nav-item {
    border-radius: 12px !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.nav-item:hover {
    background: rgba(99, 102, 241, 0.05) !important;
    color: var(--primary) !important;
    transform: translateX(4px);
}

.nav-item.active {
    background: rgba(99, 102, 241, 0.1) !important;
    color: var(--primary) !important;
    border: none !important;
    font-weight: 600;
}

/* Features Section */
#features {
    padding: 120px 5%;
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 60px;
    line-height: 1.2;
    color: var(--text-main);
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px -12px rgba(99, 102, 241, 0.15);
    border-color: var(--primary);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--accent-blue));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    margin-bottom: 8px;
    box-shadow: 0 10px 20px -5px var(--primary-glow);
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-main);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    #features {
        padding: 80px 5%;
    }

    .feature-card {
        padding: 30px;
    }
}