﻿
:root {
    --primary-color: #2c3e50;
    --accent-color: #e74c3c;
    --light-bg: #f8f9fa;
    --text-color: #333;
    --white: #ffffff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--text-color);
}

/* Header / Hero Section */
header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4rem 2rem;
    text-align: center;
}

    header h1 {
        margin: 0;
        font-size: 3rem;
        text-transform: uppercase;
        letter-spacing: 2px;
    }

    header h2 {
        font-weight: 300;
        margin-top: 1rem;
        font-size: 1.5rem;
        color: #B6B6B6 !important;
    }

.hero-statement {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 0 2rem 4rem 2rem;
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
}

/* General Layout */
section {
    padding: 4rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

h3 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
    display: inline-block;
    margin-bottom: 2rem;
}

/* The Problem Section */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.problem-card {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

    .problem-card h4 {
        color: var(--accent-color);
        margin-top: 0;
    }

/* The Solution Section */
.solution-section {
    background-color: var(--light-bg);
    max-width: 100%; /* Full width background */
}

.solution-container {
    max-width: 1000px;
    margin: 0 auto;
}

.layer-box {
    background: var(--white);
    padding: 2rem;
    margin-bottom: 2rem;
    border-left: 5px solid var(--primary-color);
    border-radius: 4px;
}

/* Applications Section */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

th, td {
    text-align: left;
    padding: 1rem;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: var(--primary-color);
    color: var(--white);
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* Footer */
footer {
    background-color: #222;
    color: #aaa;
    text-align: center;
    padding: 3rem 1rem;
}

    footer a {
        color: var(--accent-color);
        text-decoration: none;
    }

        footer a:hover {
            text-decoration: underline;
        }

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 1rem;
    transition: background 0.3s;
}

    .cta-button:hover {
        background-color: #c0392b;
    }

/* Responsive Table */
@media (max-width: 600px) {
    table, thead, tbody, th, td, tr {
        display: block;
    }

        thead tr {
            position: absolute;
            top: -9999px;
            left: -9999px;
        }

    tr {
        border: 1px solid #ccc;
        margin-bottom: 1rem;
    }

    td {
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
    }

        td:before {
            position: absolute;
            top: 1rem;
            left: 1rem;
            width: 45%;
            padding-right: 10px;
            white-space: nowrap;
            font-weight: bold;
        }
}

.lightHeader {
    color: #B6B6B6;
}