/* Reset and base styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-primary: #2563eb;
    --color-primary-dark: #1d4ed8;
    --color-secondary: #64748b;
    --color-text: #1e293b;
    --color-text-muted: #64748b;
    --color-bg: #ffffff;
    --color-bg-alt: #f8fafc;
    --color-border: #e2e8f0;
    --color-aws: #ff9900;
    --color-gcp: #4285f4;
}

html {
    font-size: 16px;
    line-height: 1.6;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--color-text);
    background-color: var(--color-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    border-bottom: 1px solid var(--color-border);
    background: var(--color-bg);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--color-text);
    font-weight: 600;
    font-size: 1.25rem;
}

.logo img {
    width: 32px;
    height: 32px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text-muted);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--color-primary);
}

/* Main content */
main {
    flex: 1;
}

/* Hero section */
.hero {
    text-align: center;
    padding: 6rem 2rem;
    background: linear-gradient(to bottom, var(--color-bg-alt), var(--color-bg));
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

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

.btn-primary:hover {
    background: var(--color-primary-dark);
}

.btn-secondary {
    background: white;
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* Problem section */
.problem {
    padding: 4rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.problem h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

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

.problem-item {
    text-align: center;
    padding: 1.5rem;
}

.problem-icon {
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.problem-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.problem-item p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* Solution/Features section */
.solution {
    padding: 4rem 2rem;
    background: var(--color-bg-alt);
}

.solution h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

/* Features section */
.features {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.solution .feature-grid {
    max-width: 1200px;
    margin: 0 auto;
}

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

.feature {
    padding: 2rem;
    border-radius: 12px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    transition: box-shadow 0.2s;
}

.feature:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.feature p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* Providers section */
.providers {
    padding: 4rem 2rem;
    background: var(--color-bg-alt);
}

.providers h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.provider-list {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.provider {
    background: var(--color-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    text-align: center;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
}

.provider-logo {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.provider-logo.aws {
    background: var(--color-aws);
    color: white;
}

.provider-logo.gcp {
    background: var(--color-gcp);
    color: white;
}

.provider p {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.provider ul {
    list-style: none;
    text-align: left;
}

.provider li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.9rem;
}

.provider li:last-child {
    border-bottom: none;
}

.provider li::before {
    content: "\2713";
    color: var(--color-primary);
    margin-right: 0.5rem;
    font-weight: bold;
}

/* CTA Section */
.cta-section {
    padding: 4rem 2rem;
    text-align: center;
    background: linear-gradient(to bottom, var(--color-bg), var(--color-bg-alt));
}

.cta-section h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.cta-section p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* Footer */
footer {
    padding: 2rem;
    text-align: center;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    nav {
        padding: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .provider-list {
        flex-direction: column;
        align-items: center;
    }
}
