:root {
    /* Color Palette */
    --bg-dark: #050507;
    --bg-card: #0f1016;
    --bg-card-hover: #161821;

    --primary: #6366f1;
    --primary-glow: rgba(99, 102, 241, 0.4);
    --secondary: #a855f7;
    --accent: #ec4899;

    --text-main: #ffffff;
    --text-muted: #94a3b8;

    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.03);

    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

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

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1.1;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    color: var(--text-muted);
    font-size: 1.125rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.text-gradient-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 99px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

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

.btn-primary:hover {
    background: #5558e6;
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--primary-glow);
}

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

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
}

.navbar.scrolled {
    background: rgba(5, 5, 7, 0.8);
    border-bottom-color: var(--glass-border);
    padding: 15px 0;
}

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

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    color: var(--primary);
}

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

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

/* Hero Section */
.hero {
    padding-top: 160px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
}

/* Background Glows */
.glow-bg {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
}

.glow-1 {
    top: -100px;
    left: -100px;
    background: var(--primary);
}

.glow-2 {
    bottom: 0;
    right: -100px;
    background: var(--secondary);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 99px;
    color: var(--primary);
    font-size: 0.875rem;
    margin-bottom: 24px;
    font-weight: 500;
}

.hero h1 {
    margin-bottom: 24px;
}

.hero p {
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 80px;
}

/* 3D Dashboard Preview */
.hero-visual {
    perspective: 1000px;
    margin-top: 40px;
}

.dashboard-preview {
    background: #0f1016;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.05),
        0 20px 50px -10px rgba(0, 0, 0, 0.5);
    transform: rotateX(20deg) scale(0.9);
    transition: transform 0.5s ease;
    overflow: hidden;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.dashboard-preview:hover {
    transform: rotateX(0deg) scale(1);
}

.dashboard-preview img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.8;
}

/* Features Grid (Bento) */
.features {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

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

.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s ease;
    cursor: default;
    position: relative;
    overflow: hidden;
}

.bento-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.bento-card.wide {
    grid-column: span 2;
}

.card-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 20px;
}

.bento-card h3 {
    margin-bottom: 12px;
}

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

/* Steps Section */
.steps {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.02) 100%);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.step-card {
    position: relative;
    padding-left: 20px;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: -20px;
    left: 0;
    z-index: -1;
}

/* Pricing */
.pricing {
    padding: 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    transition: 0.3s;
}

.pricing-card:hover {
    border-color: var(--primary-glow);
}

.pricing-card.feature {
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.1), transparent);
    border-color: rgba(99, 102, 241, 0.3);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 20px 0;
    color: var(--text-main);
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    margin: 30px 0;
    text-align: left;
}

.pricing-features li {
    padding: 8px 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.pricing-features i {
    color: var(--primary);
    margin-right: 8px;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-logo {
    margin-bottom: 20px;
    opacity: 0.8;
}

.footer-col h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--text-main);
}

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

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: var(--text-main);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }

    .bento-grid,
    .pricing-grid,
    .steps-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .bento-card.wide {
        grid-column: auto;
    }

    .hero {
        padding-top: 120px;
    }
}