:root {
    --primary: #007bff;
    --primary-dark: #0056b3;
    --accent: #ffc107;
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass: rgba(30, 41, 59, 0.7);
    --border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography & Utilities */
h1 { font-size: 3.5rem; line-height: 1.2; font-weight: 700; margin-bottom: 1.5rem; }
h2 { font-size: 2.5rem; margin-bottom: 1rem; }
p { font-size: 1.125rem; color: var(--text-muted); margin-bottom: 2rem; }

.text-gradient {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-lg { padding: 1rem 2rem; font-size: 1.125rem; }
.btn-primary { background-color: var(--primary); color: white; }
.btn-primary:hover { background-color: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 10px 15px -3px rgba(0, 123, 255, 0.4); }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text-main); }
.btn-outline:hover { background: var(--border); }
.btn-link { color: var(--accent); font-weight: 600; margin-left: 1.5rem; }

/* Header */
.main-header {
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo img {
    height: 40px;
    border-radius: 8px;
}

.logo span {
    font-size: 1.5rem;
    font-weight: 700;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.main-nav a:not(.btn) {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.main-nav a:not(.btn):hover { color: var(--text-main); }

/* Hero */
.hero {
    padding: 10rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.15) 0%, transparent 70%);
    z-index: -1;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-text { flex: 1; }
.hero-image { flex: 1; }

.dashboard-preview {
    background: var(--bg-card);
    border-radius: 1rem;
    padding: 1rem;
    border: 1px solid var(--border);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
}

.dashboard-preview img {
    width: 100%;
    border-radius: 0.5rem;
}

/* Features */
.features { padding: 8rem 0; background-color: rgba(15, 23, 42, 0.5); }

.section-header { text-align: center; max-width: 700px; margin: 0 auto 4rem; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    transition: transform 0.3s;
}

.feature-card:hover { transform: translateY(-10px); }

.feature-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

/* Final CTA */
.final-cta { padding: 8rem 0; }

.cta-card {
    background: linear-gradient(135deg, var(--primary) 0%, #4338ca 100%);
    padding: 5rem 2rem;
    border-radius: 2rem;
    text-align: center;
}

.cta-card h2 { color: white; margin-bottom: 1rem; }
.cta-card p { color: rgba(255, 255, 255, 0.8); margin-bottom: 2.5rem; }
.cta-card .btn-primary { background: white; color: var(--primary); }

/* Footer */
.main-footer { padding: 3rem 0; border-top: 1px solid var(--border); }
.footer-bottom { text-align: center; color: var(--text-muted); }

/* Responsive */
@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    .hero-content { flex-direction: column; text-align: center; }
    .main-nav { display: none; }
}
