/* Base styles */
:root {
    --blue-900: #1e3a8a;
    --blue-700: #1d4ed8;
    --blue-500: #3b82f6;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-600: #4b5563;
    --green-500: #22c55e;
    --red-500: #ef4444;
    --yellow-500: #eab308;
}

* {
    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(--gray-600);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Hero section */
.hero {
    position: relative;
    background: linear-gradient(to bottom, var(--blue-900), var(--blue-700));
    color: white;
    padding: 2rem 0 6rem;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: bold;
    font-size: 1.25rem;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.25rem;
    opacity: 0.9;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    border-radius: 0.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Cards and grids */
.card {
    background: white;
    border-radius: 0.5rem;
    padding: 2rem;
    margin: 4rem 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

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

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

/* Feature cards */
.feature-card {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.feature-card i {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
}

.icon-green { color: var(--green-500); }
.icon-red { color: var(--red-500); }
.icon-yellow { color: var(--yellow-500); }
.icon-blue { color: var(--blue-500); }

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

.component-item {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.component-item:hover {
    transform: translateY(-2px);
}

.component-item i {
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 1rem;
}

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

.benefit-item {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-100);
    transition: transform 0.2s ease;
}

.benefit-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.benefit-item i {
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 1.5rem;
}

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

.scenario-item {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-100);
    transition: all 0.3s ease;
}

.scenario-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--blue-500);
}

.scenario-item i {
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 1.5rem;
}

/* List Management section */
.management-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.management-item {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-100);
    transition: transform 0.3s ease;
}

.management-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.management-item i {
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 1.5rem;
}

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

.challenge-item {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-100);
    transition: all 0.3s ease;
}

.challenge-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.challenge-item i {
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 1.5rem;
}

.challenge-item p {
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.solution {
    background: var(--gray-50);
    padding: 1rem;
    border-radius: 0.5rem;
    font-size: 0.95rem;
}

.solution span {
    color: var(--blue-500);
    font-weight: 600;
    margin-right: 0.5rem;
}

/* Example section */
.examples-section {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: 0.5rem;
    margin: 4rem 0;
}

.example-card {
    background: white;
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid;
}

.example-card.valid {
    border-color: #86efac;
}

.example-card.invalid {
    border-color: #fecaca;
}

.example-header {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.valid .example-header {
    color: var(--green-500);
}

.invalid .example-header {
    color: var(--red-500);
}

code {
    display: block;
    background: var(--gray-50);
    padding: 0.5rem;
    border-radius: 0.25rem;
    font-family: monospace;
}

/* Typography */
h2 {
    font-size: 2rem;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.25rem;
    color: #1f2937;
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

/* Footer */
footer {
    background: var(--gray-50);
    padding: 2rem 0;
    margin-top: 4rem;
    text-align: center;
}

/* Responsive design */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }
}