/* CSS Variables for Light and Dark Mode */
:root {
    /* Primary Colors */
    --primary-gradient-start: #667eea;
    --primary-gradient-end: #764ba2;
    --primary-dark: #764ba2;
    --primary-light: #667eea;
    
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-body: #ffffff;
    
    /* Text Colors */
    --text-primary: #333333;
    --text-secondary: #555555;
    --text-tertiary: #666666;
    --text-muted: #999999;
    
    /* Border Colors */
    --border-color: #e9ecef;
    --border-light: #f0f0f0;
    
    /* Shadow Colors */
    --shadow-sm: rgba(0, 0, 0, 0.1);
    --shadow-md: rgba(0, 0, 0, 0.15);
    --shadow-dark: rgba(0, 0, 0, 0.2);
    
    /* Component Colors */
    --card-bg: #ffffff;
    --card-shadow: rgba(0, 0, 0, 0.1);
}

/* Dark Mode Styles */
[data-theme="dark"] {
    --primary-gradient-start: #667eea;
    --primary-gradient-end: #764ba2;
    
    --bg-primary: #1a1a2e;
    --bg-secondary: #16213e;
    --bg-body: #0f3460;
    
    --text-primary: #e4e4e7;
    --text-secondary: #a1a1a6;
    --text-tertiary: #888888;
    --text-muted: #666666;
    
    --border-color: #2d2d3d;
    --border-light: #2a2a3a;
    
    --shadow-sm: rgba(0, 0, 0, 0.3);
    --shadow-md: rgba(0, 0, 0, 0.4);
    --shadow-dark: rgba(0, 0, 0, 0.5);
    
    --card-bg: #16213e;
    --card-shadow: rgba(0, 0, 0, 0.3);
}

/* Global Styles for Theme */
body[data-theme="dark"] {
    background-color: var(--bg-body);
    color: var(--text-primary);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-gradient-start) 0%, var(--primary-gradient-end) 100%);
    color: white;
    padding: 4rem 0;
    margin-bottom: 3rem;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 0;
    opacity: 0.95;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-graphic {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
    transition: filter 0.3s ease;
}

[data-theme="dark"] .hero-graphic {
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
}

/* Features Section */
.features-section {
    padding: 4rem 0;
    background-color: var(--bg-secondary);
    margin-bottom: 3rem;
    transition: background-color 0.3s ease;
}

.features-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
    color: var(--text-primary);
}

.features-section .lead {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-tertiary);
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px var(--shadow-md);
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-light);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Security Section */
.security-section {
    padding: 3rem 0;
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 3rem;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.security-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.security-section p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 800px;
}

.security-section strong {
    color: var(--primary-dark);
    font-weight: 600;
}

/* Deployment Section */
.deployment-section {
    padding: 3rem 0;
    background-color: var(--bg-secondary);
    margin-bottom: 3rem;
    transition: background-color 0.3s ease;
}

.deployment-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.deployment-section > .container > p {
    font-size: 1rem;
    color: var(--text-tertiary);
    margin-bottom: 2rem;
}

.deployment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.option {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--card-shadow);
    border-left: 4px solid var(--primary-light);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.option:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px var(--shadow-md);
}

.option h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.option p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Pricing Section */
.pricing-section {
    padding: 3rem 0;
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 3rem;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.pricing-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.pricing-section p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

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

.pricing-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Call to Action Section */
.cta-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--primary-gradient-start) 0%, var(--primary-gradient-end) 100%);
    margin-bottom: 2rem;
    text-align: center;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

.btn {
    padding: 0.75rem 2rem;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: white;
    color: var(--primary-light);
}

.btn-primary:hover {
    background-color: var(--border-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px var(--shadow-dark);
}

[data-theme="dark"] .btn-primary {
    background-color: var(--bg-secondary);
    color: var(--primary-light);
}

[data-theme="dark"] .btn-primary:hover {
    background-color: var(--bg-primary);
}

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

.btn-secondary:hover {
    background-color: white;
    color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px var(--shadow-dark);
}

/* Footer Text */
.footer-text {
    padding: 2rem 0;
    text-align: center;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.footer-text p {
    margin: 0;
    color: var(--text-tertiary);
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        gap: 2rem;
        padding: 0 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .deployment-options {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
    }

    .security-section h2,
    .features-section h2,
    .pricing-section h2,
    .deployment-section h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 2rem 0;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .features-section,
    .security-section,
    .deployment-section,
    .pricing-section {
        padding: 2rem 0;
    }

    .feature-card,
    .option {
        padding: 1.5rem;
    }
}
