/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00d9ff;
    --secondary-color: #0099cc;
    --accent-color: #00f0ff;
    --dark-bg: #0a0e27;
    --light-bg: #0f1629;
    --card-bg: #1a1f3a;
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
    --success-color: #10b981;
    --danger-color: #ff4757;
    --border-color: #2a3050;
    --gradient-1: linear-gradient(135deg, #00d9ff 0%, #0099cc 100%);
    --gradient-2: linear-gradient(135deg, #ff006e 0%, #00d9ff 100%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--dark-bg);
    background-image: radial-gradient(circle at 20% 50%, rgba(0, 217, 255, 0.1) 0%, transparent 50%),
                      radial-gradient(circle at 80% 80%, rgba(255, 0, 110, 0.1) 0%, transparent 50%);
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0a1628 0%, #1a2850 50%, #0d1b2a 100%);
    color: white;
    padding: 20px 0 80px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><path d="M0 0L100 100M100 0L0 100" stroke="rgba(0,217,255,0.08)" stroke-width="2"/></svg>');
    opacity: 0.5;
}

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

.logo {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: -0.5px;
}

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

.nav-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
    font-weight: 500;
}

.nav-links a:hover {
    opacity: 0.8;
}

.hero-content {
    text-align: center;
    padding: 80px 0;
    position: relative;
    z-index: 10;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 24px;
    margin-bottom: 15px;
    opacity: 0.95;
    font-weight: 500;
}

.description {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    padding: 14px 32px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--gradient-1);
    color: #000;
    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #000;
    border-color: var(--primary-color);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.divider {
    width: 80px;
    height: 4px;
    background: var(--gradient-1);
    margin: 0 auto;
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.5);
}

/* Problem Section */
.problem-section {
    padding: 80px 0;
    background-color: var(--card-bg);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.problem-icon {
    color: var(--danger-color);
    margin-bottom: 30px;
}

.problem-content h3 {
    font-size: 28px;
    margin-bottom: 20px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.problem-content p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Overview Section */
.overview-section {
    padding: 80px 0;
    background-color: var(--dark-bg);
}

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

.overview-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.overview-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.2);
}

.card-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

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

.overview-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background-color: var(--card-bg);
    border-top: 1px solid var(--border-color);
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.feature-number {
    font-size: 48px;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 1;
    min-width: 80px;
}

.feature-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-weight: 600;
}

.feature-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 16px;
}

/* Tech Stack Section */
.tech-stack-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.05) 0%, rgba(255, 0, 110, 0.05) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.tech-category {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.tech-category h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--accent-color);
    font-weight: 600;
}

.tech-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background-color: rgba(0, 217, 255, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    transition: all 0.3s;
}

.tech-item:hover {
    background-color: rgba(0, 217, 255, 0.15);
    border-left-color: var(--accent-color);
    transform: translateX(5px);
}

.tech-icon {
    font-size: 24px;
}

/* Demo Section */
.demo-section {
    padding: 80px 0;
    background-color: var(--dark-bg);
    border-bottom: 1px solid var(--border-color);
}

.dashboard-demo {
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(26, 31, 58, 0.8) 100%);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 217, 255, 0.15);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.dashboard-header h3 {
    font-size: 28px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.date-range select {
    padding: 10px 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--card-bg);
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.date-range select:hover {
    border-color: var(--primary-color);
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.kpi-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 217, 255, 0.1);
    backdrop-filter: blur(10px);
}

.kpi-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.kpi-value {
    font-size: 32px;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.kpi-change {
    font-size: 14px;
    font-weight: 600;
}

.kpi-change.positive {
    color: var(--success-color);
}

.kpi-change.negative {
    color: var(--danger-color);
}

.charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.chart-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 217, 255, 0.1);
    backdrop-filter: blur(10px);
}

.chart-card h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 600;
}

.forecast-section {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 217, 255, 0.1);
    backdrop-filter: blur(10px);
}

.forecast-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 600;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a1628 0%, #1a2850 50%, #0d1b2a 100%);
    color: white;
    border-top: 1px solid var(--border-color);
}

.contact-content {
    text-align: center;
}

.contact-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.contact-link:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: #050a15;
    border-top: 1px solid var(--border-color);
    color: white;
    padding: 30px 0;
    text-align: center;
}

.footer p {
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 32px;
    }

    .subtitle {
        font-size: 18px;
    }

    .nav-links {
        flex-direction: column;
        gap: 15px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .feature-item {
        flex-direction: column;
    }

    .feature-number {
        font-size: 36px;
    }

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

    .dashboard-header {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.overview-card,
.feature-item,
.tech-category {
    animation: fadeInUp 0.6s ease-out;
}