/* Lumina Website Styles */

/* === Color Palette === */
:root {
    --primary-blue: #1e3a5f;
    --primary-teal: #2c5f7c;
    --accent-orange: #ff6b35;
    --text-dark: #2d3748;
    --text-light: #718096;
    --bg-white: #ffffff;
    --bg-light-gray: #f7fafc;
    --border-gray: #e2e8f0;
    --success-green: #48bb78;
}

/* === Reset & Base === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--primary-teal);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-orange);
}

/* === Navigation === */
.nav {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-gray);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
}

/* === Buttons === */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent-orange);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: #ff8555;
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-teal);
    border-color: var(--primary-teal);
}

.btn-secondary:hover {
    background-color: var(--primary-teal);
    color: var(--bg-white);
    transform: translateY(-2px);
}

/* Secondary buttons on dark backgrounds */
.hero .btn-secondary,
.cta .btn-secondary {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--bg-white);
    border-color: var(--bg-white);
    backdrop-filter: blur(10px);
}

.hero .btn-secondary:hover,
.cta .btn-secondary:hover {
    background-color: var(--bg-white);
    color: var(--primary-blue);
    border-color: var(--bg-white);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* === Hero Section === */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-teal) 100%);
    color: var(--bg-white);
    padding: 5rem 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.hero-features {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.feature-badge {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.95rem;
    backdrop-filter: blur(10px);
}

/* === Features Grid === */
.features {
    padding: 4rem 0;
    background-color: var(--bg-light-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* === Sections === */
section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 3rem;
    font-weight: 700;
}

/* === Example Output === */
.example {
    background-color: var(--bg-white);
}

.example-content {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.example-box {
    flex: 1;
    min-width: 250px;
    background-color: var(--bg-light-gray);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-gray);
}

.example-box h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.example-arrow {
    font-size: 2rem;
    color: var(--accent-orange);
    font-weight: bold;
}

.code-block {
    background-color: var(--text-dark);
    color: #e2e8f0;
    padding: 1rem;
    border-radius: 4px;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.9rem;
    white-space: pre;
    overflow-x: auto;
}

/* === Quick Start === */
.quick-start {
    background-color: var(--bg-light-gray);
}

.code-container {
    background-color: var(--text-dark);
    color: #e2e8f0;
    padding: 2rem;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.code-container pre {
    margin: 0;
}

.code-container code {
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.95rem;
    line-height: 1.6;
}

.quick-start-note {
    text-align: center;
    color: var(--text-light);
}

.quick-start-note strong {
    color: var(--text-dark);
}

.quick-start-note a {
    font-weight: 600;
}

/* === Use Cases === */
.use-cases {
    background-color: var(--bg-white);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.use-case {
    text-align: center;
    padding: 2rem;
}

.use-case-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.use-case h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.use-case p {
    color: var(--text-light);
    line-height: 1.6;
}

/* === Performance Stats === */
.performance {
    background-color: var(--bg-light-gray);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.stat-card.highlight {
    border-color: var(--accent-orange);
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(255, 107, 53, 0.1) 100%);
}

.stat-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-orange);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.2rem;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stat-detail {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* === Compatibility === */
.compatibility {
    background-color: var(--bg-white);
}

.compat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.compat-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--bg-light-gray);
    border-radius: 8px;
}

.check {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.compat-item strong {
    display: block;
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
}

.compat-item span {
    color: var(--text-light);
    font-size: 0.95rem;
}

.compat-note {
    text-align: center;
    margin-top: 2rem;
}

.compat-note a {
    font-weight: 600;
}

/* === License === */
.license {
    background-color: var(--bg-light-gray);
}

.license-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.license-box {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.license-box h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.license-box ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.license-box li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.license-box li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: bold;
}

.license-note {
    text-align: center;
}

.license-note a {
    font-weight: 600;
}

/* === CTA === */
.cta {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-teal) 100%);
    color: var(--bg-white);
    text-align: center;
    padding: 5rem 0;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* === Footer === */
.footer {
    background-color: var(--text-dark);
    color: var(--bg-light-gray);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--bg-white);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section a {
    display: block;
    color: var(--bg-light-gray);
    padding: 0.25rem 0;
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: var(--accent-orange);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.footer-bottom p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--text-light);
    text-decoration: underline;
}

.footer-bottom a:hover {
    color: var(--accent-orange);
}

/* === Responsive Design === */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section-title {
        font-size: 2rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .example-arrow {
        transform: rotate(90deg);
    }

    .cta h2 {
        font-size: 2rem;
    }

    .cta p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .nav-content {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-features {
        flex-direction: column;
    }

    .stat-value {
        font-size: 2rem;
    }
}
