:root {
    --bg-dark: #0a0e17;
    --bg-card: rgba(30, 41, 59, 0.5);
    --border-card: rgba(148, 163, 184, 0.1);
    --primary-purple: #7c3aed;
    --primary-blue: #2563eb;
    --primary-cyan: #0891b2;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --gradient-hero: linear-gradient(135deg, var(--primary-purple), var(--primary-blue), var(--primary-cyan));
}

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

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

/* Glassmorphism Utility */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-card);
    border-radius: 24px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: 0.3s;
}

header.scrolled {
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-card);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

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

nav a:hover {
    color: var(--text-main);
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: 0.3s;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-hero);
    color: white;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.5);
}

.btn-outline {
    border: 1px solid var(--border-card);
    color: var(--text-main);
}

.btn-outline:hover {
    background: var(--bg-card);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.device-laptop {
    position: relative;
    width: 100%;
    max-width: 800px;
    padding: 20px;
    background: #1e293b;
    border-radius: 20px 20px 5px 5px;
    border: 8px solid #334155;
    box-shadow: 0 50px 100px rgba(0,0,0,0.5);
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
}

.device-laptop::after {
    content: '';
    position: absolute;
    bottom: -25px;
    left: -10%;
    width: 120%;
    height: 15px;
    background: #475569;
    border-radius: 5px;
}

.screen-content {
    background: #000;
    border-radius: 5px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.screen-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@keyframes float {
    0%, 100% { transform: perspective(1000px) rotateY(-10deg) rotateX(5deg) translateY(0); }
    50% { transform: perspective(1000px) rotateY(-10deg) rotateX(5deg) translateY(-20px); }
}

/* Sections General */
section {
    padding: 8rem 5%;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Cards */
.card {
    padding: 2.5rem;
    transition: 0.3s;
    height: 100%;
}

.card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-5px);
}

.card-icon {
    width: 50px;
    height: 50px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
    font-size: 1.5rem;
}

.card h3 {
    margin-bottom: 1rem;
}

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

/* Modules */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.module-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
}

.module-content ul {
    list-style: none;
    margin-top: 0.5rem;
}

.module-content li {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.module-content li::before {
    content: '•';
    color: var(--primary-purple);
}

/* AI Section */
.ai-section {
    display: flex;
    align-items: center;
    gap: 4rem;
    background: radial-gradient(circle at 80% 50%, rgba(139, 92, 246, 0.1), transparent 40%);
}

.ai-image {
    flex: 1;
}

.ai-image img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 0 50px rgba(139, 92, 246, 0.2);
}

.ai-content {
    flex: 1;
}

.ai-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary-purple);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Integrations */
.integrations-banner {
    width: 100%;
    text-align: center;
}

.integrations-banner img {
    max-width: 800px;
    width: 100%;
    margin-top: 3rem;
    opacity: 0.8;
}

/* CTA Final */
.cta-final {
    text-align: center;
    background: linear-gradient(rgba(5,5,5,0.7), rgba(5,5,5,0.7)), url('/images/landing/hero-dashboard.png');
    background-size: cover;
    background-position: center;
    border-radius: 40px;
    margin: 0 5%;
    padding: 6rem 2rem;
}

.cta-final h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    padding: 4rem 5%;
    border-top: 1px solid var(--border-card);
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
}

.footer-info p {
    color: var(--text-muted);
    margin-top: 1rem;
    max-width: 300px;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.8rem;
}

.footer-col a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.footer-col a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 8rem;
    }
    .hero-content {
        max-width: 100%;
    }
    .hero-image img {
        width: 100%;
        margin-top: 4rem;
        transform: none;
    }
    .grid-3 {
        grid-template-columns: 1fr;
    }
    .ai-section {
        flex-direction: column;
    }
    footer {
        grid-template-columns: 1fr 1fr;
    }
}
