/* General Styling */
:root {
    --bg-color: #121212;
    --text-color: #e0e0e0;
    --primary-color: #bb86fc;
    --secondary-color: #03dac6;
    --surface-color: #1e1e1e;
    --border-color: #333;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 2rem 1rem;
    line-height: 1.6;
    font-weight: 300;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

/* Typography */
h1, h2, h3 {
    font-weight: 400;
    color: #ffffff;
}

h1 {
    font-size: 4rem;
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
}

p {
    margin-bottom: 1rem;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 0;
}

.hero h2 {
    font-size: 1.5rem;
    font-weight: 300;
    border: none;
    color: var(--text-color);
}

/* Principles Section */
.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.principle-item {
    background-color: var(--surface-color);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

/* Live System Section */
.cards-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.card {
    background-color: var(--surface-color);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card p {
    flex-grow: 1; /* Makes the text content grow to fill space */
}

/* Buttons */
.button {
    display: inline-block;
    background-color: var(--primary-color);
    color: #000000;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.button-disabled {
    display: inline-block;
    background-color: #333;
    color: #888;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-align: center;
    font-weight: 700;
    cursor: not-allowed;
}

/* Onboarding & Footer */
#onboarding {
    text-align: center;
    padding: 2rem 0;
}

footer {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: #888;
}

footer strong {
    color: #aaa;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
    }
    .cards-container {
        flex-direction: column;
    }
}
