/* ===== ROOT VARIABLES ===== */
:root {
    /* Primary Colors - Deep Red Theme */
    --primary: #dc2626;          /* Deep red */
    --primary-color: #dc2626;    /* Primary color alias */
    --primary-dark: #991b1b;     /* Darker red */
    --primary-light: #fef2f2;    /* Light red background */
    --primary-accent: #ef4444;   /* Accent red */
    
    /* Secondary Colors */
    --secondary: #64748b;
    --success: #10b981;
    --warning: #f59e0b;
    --info: #3b82f6;
    --danger: #ef4444;
    
    /* Neutral Colors */
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;
    
    /* Spacing */
    --spacing-1: 0.25rem;
    --spacing-2: 0.5rem;
    --spacing-3: 0.75rem;
    --spacing-4: 1rem;
    --spacing-5: 1.25rem;
    --spacing-6: 1.5rem;
    --spacing-8: 2rem;
    --spacing-10: 2.5rem;
    --spacing-12: 3rem;
    --spacing-16: 4rem;
    --spacing-20: 5rem;
    --spacing-24: 6rem;
    
    /* Border */
    --border-radius: 0.5rem;
    --border-radius-lg: 0.75rem;
    --border-radius-xl: 1rem;
    --border-radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
    --transition-slow: all 0.5s ease;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
    padding-top: 80px; /* Fixed navbar offset */
}

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-6);
}

.text-primary { color: var(--primary) !important; }
.text-success { color: var(--success) !important; }
.text-warning { color: var(--warning) !important; }
.text-info { color: var(--info) !important; }

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    padding: var(--spacing-4) 0;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.navbar-brand .logo {
    height: 40px;
    width: auto;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-8);
}

.nav-link {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    font-size: var(--font-size-2xl);
    color: var(--gray-700);
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid #333;
    padding: 1.5rem;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-2);
    padding: var(--spacing-3) var(--spacing-6);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: var(--font-size-base);
    line-height: 1.5;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--gray-700);
    border: 2px solid var(--gray-300);
}

.btn-outline:hover {
    background: var(--gray-50);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
}

.btn-lg {
    padding: var(--spacing-4) var(--spacing-8);
    font-size: var(--font-size-lg);
}

/* ===== HERO SECTION ===== */
.hero {
    padding: var(--spacing-24) 0 var(--spacing-20);
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light) 0%, transparent 70%);
    opacity: 0.3;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-16);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 700;
    line-height: 1.1;
    color: var(--gray-900);
    margin-bottom: var(--spacing-6);
}

.hero-description {
    font-size: var(--font-size-xl);
    color: var(--gray-600);
    margin-bottom: var(--spacing-8);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-4);
    margin-bottom: var(--spacing-12);
}

.hero-stats {
    display: flex;
    gap: var(--spacing-8);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: var(--font-size-sm);
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Hero Visual Card */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
    width: 100%;
    max-width: 400px;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition-slow);
}

.hero-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.card-header {
    padding: var(--spacing-4);
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-dots {
    display: flex;
    gap: var(--spacing-2);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.card-title {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--gray-700);
}

.card-content {
    padding: var(--spacing-6);
}

.dashboard-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    padding: var(--spacing-3) 0;
    border-bottom: 1px solid var(--gray-100);
}

.dashboard-item:last-child {
    border-bottom: none;
}

.dashboard-item i {
    font-size: var(--font-size-lg);
}

/* ===== SECTIONS ===== */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-12);
}

.section-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-4);
}

.section-description {
    font-size: var(--font-size-lg);
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: var(--spacing-20) 0;
    background: #0f0f0f;
}

.features .section-title {
    color: white;
}

.features .section-description {
    color: #ccc;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-8);
}

.feature-card {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-8);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-accent) 100%);
    transform: translateX(-100%);
    transition: var(--transition);
}

.feature-card:hover::before {
    transform: translateX(0);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: #dc2626;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-accent) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-6);
    transition: var(--transition);
}

.feature-icon i {
    font-size: var(--font-size-3xl);
    color: var(--white);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: white;
    margin-bottom: var(--spacing-4);
}

.feature-card p {
    color: #ccc;
    line-height: 1.6;
}

/* ===== TECH STACK SECTION ===== */
.tech-stack {
    padding: 5rem 0;
    background: #0a0a0a;
}

.tech-stack .section-title {
    color: white;
}

.tech-stack .section-description {
    color: #ccc;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tech-item {
    text-align: center;
    padding: 1.5rem;
    background: #1a1a1a;
    border-radius: 10px;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.tech-item:hover {
    border-color: #dc2626;
    transform: translateY(-5px);
    background: #222;
}

.tech-icon {
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 0.5rem;
}

.tech-item span {
    display: block;
    color: #ccc;
    font-size: 0.9rem;
}

/* ===== DEVELOPERS SECTION ===== */
.developers {
    padding: var(--spacing-20) 0;
    background: #0a0a0a;
}

.developers .section-title {
    color: white;
}

.developers .section-description {
    color: #ccc;
}

.dev-feature {
    color: #ccc;
}

.developers-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-16);
    align-items: center;
}

.developers-text .section-title {
    text-align: left;
    margin-bottom: var(--spacing-6);
}

.developers-text .section-description {
    text-align: left;
    margin-bottom: var(--spacing-8);
}

.dev-features {
    margin-bottom: var(--spacing-8);
}

.dev-feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    margin-bottom: var(--spacing-4);
}

.dev-feature i {
    color: var(--primary);
    font-size: var(--font-size-lg);
}

.code-example {
    background: var(--gray-900);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.code-header {
    padding: var(--spacing-4) var(--spacing-6);
    background: var(--gray-800);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--gray-700);
}

.code-title {
    color: var(--gray-300);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.code-lang {
    color: var(--primary);
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    font-weight: 600;
}

.code-content {
    padding: var(--spacing-6);
}

.code-content pre {
    margin: 0;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: var(--font-size-sm);
    line-height: 1.6;
    color: var(--gray-300);
    overflow-x: auto;
}

.code-content code {
    color: var(--gray-300);
}

/* ===== CTA SECTION ===== */
.cta {
    padding: var(--spacing-20) 0;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: var(--spacing-6);
    color: white;
}

.cta-description {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-10);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
    color: white;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-4);
    justify-content: center;
}

.cta .btn-primary {
    background: var(--white);
    color: var(--primary);
}

.cta .btn-primary:hover {
    background: var(--gray-100);
    color: var(--primary-dark);
}

.cta .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.cta .btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

/* ===== FOOTER ===== */
.footer {
    padding: var(--spacing-16) 0 var(--spacing-8);
    background: var(--gray-900);
    color: var(--gray-300);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-12);
    margin-bottom: var(--spacing-8);
}

.footer-brand {
    display: inline;
    flex-direction: column;
    gap: var(--spacing-4);
}

.footer-logo {
    height: 40px;
    width: auto;
}

.footer-brand p {
    color: var(--gray-400);
    font-size: var(--font-size-sm);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-8);
}

.footer-group h4 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: var(--spacing-4);
}

.footer-group a {
    display: block;
    color: var(--gray-400);
    text-decoration: none;
    margin-bottom: var(--spacing-2);
    transition: var(--transition);
}

.footer-group a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-8);
    border-top: 1px solid var(--gray-800);
    color: var(--gray-500);
    font-size: var(--font-size-sm);
}

/* ===== OPEN SOURCE BADGE ===== */
.open-source-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-2);
    background: var(--success);
    color: var(--white);
    padding: var(--spacing-2) var(--spacing-4);
    border-radius: var(--border-radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: var(--spacing-4);
}

.open-source-badge i {
    font-size: var(--font-size-base);
}

/* ===== GITHUB STARS ===== */
.github-stars {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-2);
    background: var(--gray-900);
    color: var(--white);
    padding: var(--spacing-2) var(--spacing-4);
    border-radius: var(--border-radius);
    text-decoration: none;
    font-size: var(--font-size-sm);
    font-weight: 500;
    transition: var(--transition);
}

.github-stars:hover {
    background: var(--gray-800);
    color: var(--white);
    transform: translateY(-1px);
}

.github-stars i {
    color: #f59e0b;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .navbar-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }

    .mobile-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #1a1a1a;
        border-top: 1px solid #333;
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        z-index: 1000;
    }

    .mobile-menu.active {
        display: flex;
    }

    .mobile-menu .nav-link {
        padding: 0.75rem 1rem;
        border-radius: 8px;
        transition: all 0.3s ease;
        color: white;
        text-decoration: none;
    }

    .mobile-menu .nav-link:hover {
        background: #333;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-8);
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 2rem;
    }
    
    .hero-visual {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .code-example {
        max-width: 100%;
        overflow-x: auto;
    }
    
    .code-content pre {
        font-size: 0.75rem;
        line-height: 1.4;
        overflow-x: auto;
        white-space: pre;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .tech-item {
        padding: 1rem;
    }
    
    .use-cases-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .use-case-card {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .future-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .future-card {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .api-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .api-endpoints {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .endpoint-group {
        padding: 1rem;
    }
    
    .endpoint {
        font-size: 0.75rem;
        padding: 0.4rem 0.6rem;
    }
    
    .faq-question {
        padding: 1rem;
    }
    
    .faq-answer {
        padding: 0 1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 1rem 1rem;
    }
    
    .developers-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-8);
    }
    
    .developers-text .section-title,
    .developers-text .section-description {
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-6);
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: var(--spacing-4);
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .section-title {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .section-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero {
        padding: 4rem 0 3rem;
    }
    
    .features,
    .tech-stack,
    .use-cases,
    .future-features,
    .api-overview,
    .faq,
    .developers,
    .cta {
        padding: 3rem 0;
    }
    
    .roadmap-note {
        padding: 1rem;
        font-size: 0.9rem;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .section-description {
        font-size: 0.95rem;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .tech-item {
        padding: 0.75rem;
    }
    
    .tech-icon {
        font-size: 1.5rem;
    }
    
    .feature-card,
    .use-case-card,
    .future-card {
        padding: 1.25rem;
        margin: 0 0.25rem;
    }
    
    .feature-icon,
    .use-case-icon,
    .future-icon {
        width: 50px;
        height: 50px;
    }
    
    .feature-icon i,
    .use-case-icon i,
    .future-icon i {
        font-size: 1.2rem;
    }
    
    .feature-card h3,
    .use-case-card h3,
    .future-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .api-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .api-stat {
        padding: 1rem;
    }
    
    .api-stat-number {
        font-size: 2rem;
    }
    
    .endpoint {
        font-size: 0.7rem;
        padding: 0.3rem 0.5rem;
    }
    
    .faq-question h4 {
        font-size: 1rem;
    }
    
    .hero,
    .features,
    .tech-stack,
    .use-cases,
    .future-features,
    .api-overview,
    .faq,
    .developers,
    .cta {
        padding: 2.5rem 0;
    }
    
    .hero {
        padding: 2.5rem 0;
    }
    
    .code-content pre {
        font-size: 0.7rem;
        padding: 0.75rem;
    }
    
    .status-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    .roadmap-note {
        padding: 0.75rem;
        font-size: 0.85rem;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* ===== SCROLL EFFECTS ===== */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

/* ===== HOVER EFFECTS ===== */
.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-5px);
}

/* ===== FOCUS STATES ===== */
.btn:focus,
.nav-link:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .navbar,
    .footer,
    .cta {
        display: none;
    }
    
    .hero,
    .features,
    .tech-stack,
    .developers {
        page-break-inside: avoid;
    }
}

/* Use Cases Section */
.use-cases {
    padding: 5rem 0;
    background: #0f0f0f;
}

.use-cases .section-title {
    color: white;
}

.use-cases .section-description {
    color: #ccc;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.use-case-card {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.use-case-card:hover {
    border-color: #dc2626;
    transform: translateY(-5px);
}

.use-case-icon {
    width: 60px;
    height: 60px;
    background: #dc2626;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.use-case-icon i {
    font-size: 1.5rem;
    color: white;
}

.use-case-card h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.use-case-card p {
    color: #ccc;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.use-case-features {
    list-style: none;
    padding: 0;
}

.use-case-features li {
    color: #ccc;
    padding: 0.3rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.use-case-features li::before {
    content: "✓";
    color: #dc2626;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* API Overview Section */
.api-overview {
    padding: 5rem 0;
    background: #0a0a0a;
}

.api-overview .section-title {
    color: white;
}

.api-overview .section-description {
    color: #ccc;
}

.api-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.api-stat {
    text-align: center;
    padding: 2rem;
    background: #1a1a1a;
    border-radius: 12px;
    border: 1px solid #333;
}

.api-stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #dc2626;
    margin-bottom: 0.5rem;
}

.api-stat-label {
    color: #ccc;
    font-size: 1.1rem;
}

.api-endpoints {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.endpoint-group {
    background: #1a1a1a;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #333;
}

.endpoint-group h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.endpoint-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.endpoint {
    background: #0a0a0a;
    color: #dc2626;
    padding: 0.5rem 0.8rem;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    border: 1px solid #333;
}

/* Future Features Section */
.future-features {
    padding: 5rem 0;
    background: #0f0f0f;
}

.future-features .section-title {
    color: white;
}

.future-features .section-description {
    color: #ccc;
}

.future-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.future-card {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #333;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
}

.future-card:hover {
    border-color: #dc2626;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.2);
}

.future-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.future-icon i {
    font-size: 1.8rem;
    color: white;
}

.future-card:hover .future-icon {
    transform: scale(1.1);
}

.future-card h3 {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.future-card p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.future-status {
    margin-top: auto;
}

.status-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.planning {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    border: 1px solid #3b82f6;
}

.status-badge.development {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid #22c55e;
}

.status-badge.research {
    background: rgba(168, 85, 247, 0.2);
    color: #a855f7;
    border: 1px solid #a855f7;
}

.roadmap-note {
    margin-top: 3rem;
    padding: 1.5rem;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.5;
}

.roadmap-note i {
    color: #dc2626;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* FAQ Section */
.faq {
    padding: 5rem 0;
    background: #0f0f0f;
}

.faq .section-title {
    color: white;
}

.faq .section-description {
    color: #ccc;
}

.faq-list {
    margin-top: 3rem;
}

.faq-item {
    border: 1px solid #333;
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    background: #1a1a1a;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #222;
}

.faq-question h4 {
    color: white;
    margin: 0;
    font-size: 1.1rem;
}

.faq-question i {
    color: #dc2626;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    color: #ccc;
    line-height: 1.6;
    margin: 0;
} 