:root {
    /* --- PALETTE & VARIABLES --- */
    --bg-body: #f8f9fe;
    --text-main: #1e293b;
    --text-muted: #64748b;

    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --secondary-gradient: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);

    --glass-surface: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-highlight: rgba(255, 255, 255, 0.9);

    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 20px 40px -5px rgba(99, 102, 241, 0.15);
    --shadow-glow: 0 0 50px rgba(99, 102, 241, 0.25);

    --accent-green: #10b981;
    --accent-orange: #f59e0b;

    /* Blobs colors */
    --blob-1: #e0e7ff;
    --blob-2: #f3e8ff;
    --blob-3: #dbeafe;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Plus Jakarta Sans', sans-serif; }

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

/* --- BACKGROUND ANIMÉ --- */
.ambient-bg {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -1; overflow: hidden; pointer-events: none;
}
.blob {
    position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.8;
    animation: float 10s infinite ease-in-out;
}
.blob-1 { top: -10%; left: -10%; width: 50vw; height: 50vw; background: var(--blob-1); animation-delay: 0s; }
.blob-2 { bottom: -10%; right: -10%; width: 60vw; height: 60vw; background: var(--blob-2); animation-delay: -2s; }
.blob-3 { top: 40%; left: 30%; width: 40vw; height: 40vw; background: var(--blob-3); animation-delay: -4s; }

@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.9); }
}

/* --- NAVBAR --- */
nav {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
    padding: 20px 40px;
    display: flex; justify-content: space-between; align-items: center;
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    background: rgba(255,255,255,0.5);
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 1.6rem; font-weight: 800; display: flex; align-items: center; gap: 10px;
    color: #1e293b; letter-spacing: -0.5px;
}
.logo i { background: var(--primary-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.nav-links { display: flex; gap: 30px; }
.nav-links a { text-decoration: none; color: var(--text-muted); font-weight: 600; font-size: 0.95rem; transition: 0.2s; }
.nav-links a:hover { color: #6366f1; }

.btn {
    padding: 10px 20px; border-radius: 12px; font-weight: 700; text-decoration: none;
    transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 8px; font-size: 0.95rem;
    border: none; cursor: pointer;
}
.btn-ghost { color: var(--text-main); background: transparent; }
.btn-ghost:hover { color: #6366f1; }

.btn-primary {
    background: var(--text-main); color: white;
    box-shadow: 0 10px 20px -5px rgba(30, 41, 59, 0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 15px 25px -5px rgba(30, 41, 59, 0.4); }

.btn-gradient {
    background: var(--primary-gradient); color: white;
    box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.4);
}
.btn-gradient:hover { transform: translateY(-2px); box-shadow: 0 15px 35px -5px rgba(99, 102, 241, 0.5); filter: brightness(1.1); }

/* --- HERO SECTION --- */
.hero {
    padding: 160px 20px 100px;
    max-width: 1200px; margin: 0 auto;
    text-align: center; display: flex; flex-direction: column; align-items: center;
}

.hero-badge {
    background: white; padding: 6px 16px; border-radius: 30px;
    border: 1px solid var(--glass-border); font-size: 0.85rem; font-weight: 700;
    color: #6366f1; box-shadow: var(--shadow-sm); margin-bottom: 24px;
    display: inline-block; animation: slideDown 0.8s ease-out;
}

h1 {
    font-size: 4rem; line-height: 1.1; font-weight: 800; letter-spacing: -2px; margin-bottom: 24px;
    background: linear-gradient(180deg, #1e293b 0%, #475569 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    animation: fadeIn 1s ease-out;
}
.highlight { background: var(--primary-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.hero p {
    font-size: 1.25rem; color: var(--text-muted); max-width: 600px; margin-bottom: 40px;
    line-height: 1.6; animation: fadeIn 1.2s ease-out;
}

/* --- 3D FLOATING COMPOSITION --- */
.hero-visual {
    position: relative; width: 100%; max-width: 900px; height: 500px; margin-top: 40px;
    perspective: 1000px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 24px; box-shadow: var(--shadow-card);
    position: absolute; transition: transform 0.5s ease;
}

/* Main Dashboard */
.card-main {
    width: 80%; height: 400px; left: 10%; top: 50px;
    z-index: 2;
    transform: rotateX(10deg);
    background: white;
    display: flex; flex-direction: column; overflow: hidden;
    animation: floatMain 6s ease-in-out infinite;
}

/* Floating Elements */
.card-float-1 {
    width: 220px; padding: 15px; top: 20px; right: 0; z-index: 3;
    border-radius: 16px;
    animation: float 5s ease-in-out infinite 0.5s;
}
.card-float-2 {
    width: 200px; padding: 15px; bottom: 80px; left: 0; z-index: 3;
    border-radius: 16px;
    animation: float 7s ease-in-out infinite 1s;
}

@keyframes floatMain {
    0%, 100% { transform: rotateX(5deg) translateY(0); }
    50% { transform: rotateX(8deg) translateY(-15px); }
}

/* Fake UI Elements */
.ui-nav { height: 50px; border-bottom: 1px solid #f1f5f9; display: flex; align-items: center; padding: 0 20px; gap: 10px; }
.ui-dot { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.ui-grid { display: flex; padding: 20px; gap: 20px; height: 100%; }
.ui-sidebar { width: 60px; height: 80%; background: #f8fafc; border-radius: 12px; }
.ui-content { flex: 1; display: flex; flex-direction: column; gap: 15px; }
.ui-bar { height: 120px; background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%); border-radius: 16px; position: relative; overflow: hidden; }
.ui-graph-line { position: absolute; bottom: 0; left: 0; width: 100%; height: 60%; background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 30" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"><path d="M0,30 L0,20 Q20,5 40,20 T80,15 T100,5 L100,30 Z" fill="%236366f1" fill-opacity="0.1"/></svg>'); background-size: cover; }

/* Stats in floating cards */
.stat-label { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; font-weight: 700; }
.stat-val { font-size: 1.5rem; font-weight: 800; color: #1e293b; margin-top: 5px; }
.tag-pill { display: inline-block; padding: 4px 10px; border-radius: 20px; font-size: 0.7rem; font-weight: 700; margin-top: 5px; }
.tag-success { background: rgba(16, 185, 129, 0.1); color: var(--accent-green); }

/* --- BENTO GRID FEATURES --- */
.features { padding: 100px 20px; max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 15px; }

.bento-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 300px); gap: 24px;
}

.bento-card {
    background: white; border-radius: 24px; padding: 30px;
    border: 1px solid rgba(255,255,255,0.5); box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column; justify-content: space-between;
    transition: all 0.3s ease; overflow: hidden; position: relative;
}
.bento-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }

.card-large { grid-column: span 2; background: radial-gradient(circle at top right, #f5f3ff 0%, #ffffff 60%); }
.card-tall { grid-row: span 2; background: radial-gradient(circle at bottom left, #eff6ff 0%, #ffffff 60%); }

.feature-icon {
    width: 50px; height: 50px; border-radius: 14px; background: white;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; box-shadow: var(--shadow-sm); margin-bottom: 20px; color: #6366f1;
}

.bento-card h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 10px; }
.bento-card p { color: var(--text-muted); font-size: 1rem; }

/* --- PRICING --- */
.pricing { padding: 80px 20px; text-align: center; }
.pricing-grid {
    display: flex; justify-content: center; gap: 30px; margin-top: 50px; flex-wrap: wrap;
}

.pricing-card {
    background: white; border-radius: 24px; padding: 40px 30px; width: 350px;
    border: 1px solid #e2e8f0; box-shadow: var(--shadow-sm); position: relative;
    transition: 0.3s;
}

.pricing-card.premium {
    border: 2px solid #6366f1; transform: scale(1.05);
    box-shadow: var(--shadow-card);
}

.price { font-size: 3rem; font-weight: 800; color: #1e293b; margin: 20px 0; }
.period { font-size: 1rem; color: var(--text-muted); font-weight: 500; }

.features-list { list-style: none; margin: 30px 0; text-align: left; }
.features-list li { margin-bottom: 12px; display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--text-muted); }
.features-list li i { color: var(--accent-green); }

/* --- FOOTER --- */
footer {
    margin-top: 100px; padding: 60px 20px; background: white; border-top: 1px solid var(--glass-border); text-align: center;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    h1 { font-size: 3rem; }
    .bento-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
    .card-large, .card-tall { grid-column: auto; grid-row: auto; height: auto; min-height: 250px; }
    .hero-visual { transform: scale(0.8); height: 400px; }
    .nav-links { display: none; }
}
