/* styles.css */
:root {
    --primary: #1a237e;
    --secondary: #2962ff;
    --accent: #00b8d4;
    --dark: #0d1526;
    --light: #f5f7fa;
    --text: #2d3748;
    --text-light: #718096;
    --border: #e2e8f0;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: var(--text);
    line-height: 1.6;
    background: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: white;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
}

.logo span {
    color: var(--secondary);
}

.logo i {
    margin-right: 10px;
    font-size: 32px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s;
}

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

.nav-cta {
    background: var(--secondary);
    color: white !important;
    padding: 12px 28px;
    border-radius: 6px;
    margin-left: 20px;
}

.nav-cta:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

/* Common Section Styles */
.section {
    padding: 100px 0;
}

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

.section-title h2 {
    font-size: 42px;
    color: var(--primary);
    margin-bottom: 20px;
}

.section-title p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 16px 36px;
    background: var(--secondary);
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(41, 98, 255, 0.3);
}

/* Stats */
.stats {
    background: var(--light);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
    color: var(--text-light);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    border: 1px solid var(--border);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(41, 98, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.feature-icon i {
    font-size: 32px;
    color: var(--secondary);
}

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

/* Demo Section */
.demo-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0;
}

.demo-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

.demo-header {
    background: var(--dark);
    color: white;
    padding: 25px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.demo-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    min-height: 500px;
}

.demo-main {
    padding: 40px;
    background: #f8fafc;
}

.demo-sidebar {
    padding: 40px;
    background: white;
    border-left: 1px solid var(--border);
}

.metric {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--border);
}

.metric-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 5px;
}

.metric-label {
    color: var(--text-light);
    font-size: 14px;
}

.alert {
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border-left: 4px solid var(--warning);
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border-left: 4px solid var(--success);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--dark));
    color: white;
    text-align: center;
    padding: 100px 0;
    border-radius: 20px;
    margin: 60px auto;
}

.cta-section h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    text-align: center;
}

.team-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--secondary), var(--accent));
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    font-weight: bold;
}

.team-card h3 {
    margin-bottom: 5px;
}

.team-card p {
    color: var(--text-light);
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    margin-bottom: 60px;
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 25px;
    color: white;
}

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

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

.footer-column ul li a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #a0aec0;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 992px) {
    .features-grid, .team-grid, .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .demo-content {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .features-grid, .team-grid, .footer-grid, .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .demo-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
