:root {
    --primary-color: #6366F1;
    /* indigo-500 */
    --secondary-color: #8B5CF6;
    /* violet-500 */
    --accent-color: #06B6D4;
    /* cyan-500 */
    --surface-0: #0B1020;
    --surface-1: #0F1529;
    --surface-2: #151C32;
    --text-0: #F8FAFC;
    --text-1: #CBD5E1;
    --muted: #94A3B8;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--text-0);
    background: radial-gradient(1200px 600px at 10% 10%, rgba(99, 102, 241, 0.25), transparent 40%),
        radial-gradient(1000px 500px at 90% 20%, rgba(139, 92, 246, 0.20), transparent 45%),
        radial-gradient(900px 600px at 50% 100%, rgba(6, 182, 212, 0.15), transparent 50%),
        linear-gradient(180deg, var(--surface-0), var(--surface-1));
}

/* Navbar Styles */
.navbar {
    background: rgba(21, 28, 50, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
    padding: 1rem 2rem;
}

.navbar-brand {
    color: var(--text-0) !important;
    font-weight: bold;
    font-size: 1.5rem;
}

.nav-link {
    color: var(--text-1) !important;
    margin: 0 1rem;
    border-radius: 10px;
    padding: 0.4rem 0.8rem;
    transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--text-0) !important;
    background: rgba(99, 102, 241, 0.12);
}

.navbar-toggler {
    border-color: rgba(148, 163, 184, 0.35);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.35);
}

.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.main-content {
    flex: 1;
}

/* Footer Styles */
footer {
    background: rgba(21, 28, 50, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: var(--text-1);
    padding: 2rem 0;
    margin-top: auto;
    border-top: 1px solid rgba(148, 163, 184, 0.15);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links a {
    color: var(--text-0);
    margin: 0 10px;
    font-size: 1.5rem;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-links a:hover {
    opacity: 0.9;
    transform: translateY(-2px) scale(1.05);
}

/* Hero Section Styles */
.hero-section {
    padding: 6rem 0 5rem 0;
    text-align: center;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-1);
}

.cta-button {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.9rem 1.6rem;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-block;
    box-shadow: 0 10px 24px rgba(99, 102, 241, 0.25);
}

.cta-button:hover {
    transform: translateY(-2px);
    color: white;
    box-shadow: 0 14px 30px rgba(99, 102, 241, 0.35);
}

/* Features Section Styles */
.features-section {
    padding: 5rem 0;
}

/* Improve contrast for feature descriptions on dark background */
.features-section .feature-card p,
.features-section .text-muted {
    color: var(--text-1) !important;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 10px 30px rgba(2, 8, 20, 0.45);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.35);
}

.feature-icon {
    font-size: 2.25rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* Showcase Section Styles */
.showcase-section {
    padding: 5rem 0;
}

.showcase-title {
    text-align: center;
    margin-bottom: 3rem;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    padding: 0 1rem;
}

.showcase-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 14px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.showcase-image:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 24px rgba(2, 8, 20, 0.45);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }
}

* {
    font-family: 'Inter', sans-serif;
}

.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    padding: 2rem 0;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 2rem;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 4rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-1);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 16px 40px;
    border-radius: 12px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cta-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.cta-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.6);
}

.cta-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-0);
    border: 2px solid rgba(148, 163, 184, 0.3);
}

.cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-3px);
}

.features-section {
    padding: 5rem 0;
    background: rgba(255, 255, 255, 0.98);
}

.section-title {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2d3748;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.feature-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 16px;
    border: 2px solid rgba(102, 126, 234, 0.3);
    transition: all 0.3s;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(102, 126, 234, 0.7);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.3);
    background: #fafbff;
}

.feature-icon {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.feature-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #1a202c;
    letter-spacing: -0.02em;
}

.feature-desc {
    color: #2d3748;
    font-size: 1.05rem;
    line-height: 1.7;
    font-weight: 500;
}

.demo-section {
    padding: 5rem 0;
}

.demo-video {
    max-width: 600px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.demo-video video {
    width: 100%;
    height: auto;
    display: block;
}

.stats-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.stat-card {
    text-align: center;
}

.stat-number {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 3.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-1);
    font-size: 1.1rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}