:root {
    --primary: #007bff;
    --primary-dark: #0056b3;
    --bg-color: #f8f9fa;
    --text-main: #212529;
    --text-muted: #6c757d;
    --white: #ffffff;
    --border: #dee2e6;
    --font-main: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.5;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.nav-menu a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 25px;
    font-weight: 500;
    font-size: 0.95rem;
}

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

.btn-login {
    background: var(--primary);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 6px;
    transition: background 0.2s;
}

.btn-login:hover {
    background: var(--primary-dark);
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 80px 0 60px;
    background: var(--white);
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #111;
}

.hero-text {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
}

.search-box {
    display: flex;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
    gap: 10px;
}

.search-box input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
}

.search-box input:focus {
    border-color: var(--primary);
}

.btn-analyze {
    padding: 15px 30px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-analyze:hover {
    background: var(--primary-dark);
}

/* Dashboard Preview */
.dashboard-preview {
    padding: 40px 0;
    margin-bottom: 60px;
}

.dashboard-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #111;
}

.stat-change {
    font-size: 0.9rem;
    font-weight: 600;
}

.stat-change.positive {
    color: #28a745;
}

.stat-change.neutral {
    color: var(--text-muted);
}

.chart-placeholder {
    height: 200px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0 20px;
    gap: 10px;
}

.chart-bar {
    flex: 1;
    background: #e9ecef;
    border-radius: 4px 4px 0 0;
    transition: height 1s ease;
}

.chart-bar:hover {
    background: var(--primary);
}

.chart-caption {
    text-align: center;
    margin-top: 15px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Features */
.features {
    padding: 60px 0;
    background: var(--white);
}

.features h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
}

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

.feature-card {
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: transform 0.2s;
}

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

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

.feature-card p {
    color: var(--text-muted);
}

/* Footer */
footer {
    padding: 40px 0;
    text-align: center;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    margin-top: 60px;
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .search-box {
        flex-direction: column;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}