/* Shared styles for AI Pipeline static site */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Arial', sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    display: flex;
    font-size: 14px;
}

/* Sidebar */
.sidebar {
    width: 21rem;
    background-color: #f8fafc;
    border-right: 1px solid #e5e7eb;
    padding: 2rem 1.5rem;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    left: 0;
    top: 0;
}

.sidebar h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #111827;
}

.sidebar .tagline {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.sidebar .description {
    font-size: 0.9rem;
    color: #4b5563;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.sidebar h3 {
    font-size: 1.1rem;
    margin: 1.5rem 0 0.75rem;
    color: #111827;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    margin: 0.5rem 0;
}

.sidebar a {
    color: #0ea5e9;
    text-decoration: none;
    font-size: 0.95rem;
}

.sidebar a:hover {
    text-decoration: underline;
    color: #111827;
}

.sidebar hr {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 1.5rem 0;
}

/* Main content */
.main-content {
    margin-left: 21rem;
    flex: 1;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* Hero Section */
.hero {
    text-align: left;
    padding: 2.5rem;
    background: linear-gradient(135deg, #0ea5e9 0%, #1e293b 55%, #020617 100%);
    border-radius: 18px;
    color: white;
    margin-bottom: 2rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.45);
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    max-width: 900px;
    line-height: 1.6;
    opacity: 0.95;
}

/* Section Headers */
h2 {
    font-size: 1.75rem;
    margin: 2rem 0 1rem;
    color: #111827;
}

h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 0.75rem;
    color: #111827;
}

/* CTA Buttons */
.cta-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 2rem 0;
}

.cta-button, .btn {
    display: block;
    padding: 1rem 2rem;
    background: #0ea5e9;
    color: white !important;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s;
    font-size: 1.05rem;
    border: none;
    cursor: pointer;
}

.cta-button:hover, .btn:hover {
    background: #0284c7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

/* Environment/Feature Cards */
.environments, .two-col, .three-col, .four-col {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.environments {
    grid-template-columns: repeat(2, 1fr);
}

.two-col {
    grid-template-columns: repeat(2, 1fr);
}

.three-col {
    grid-template-columns: repeat(3, 1fr);
}

.four-col {
    grid-template-columns: repeat(4, 1fr);
}

.env-card, .col-card, .feature-box {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
    border: 2px solid #e5e7eb;
    transition: all 0.3s;
}

.env-card:hover, .col-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
    border-color: #0ea5e9;
}

.env-card h3, .col-card h4 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
    color: #111827;
}

.env-card h4 {
    font-size: 1.2rem;
    color: #0ea5e9;
}

.env-card p, .col-card p {
    color: #4b5563;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.env-card .icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.env-button {
    display: inline-block;
    padding: 0.7rem 1.6rem;
    background: #0ea5e9;
    color: white !important;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.25s ease;
    margin-top: 1rem;
}

.env-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(14, 165, 233, 0.4);
}

/* Feature box */
.feature-box {
    background-color: #f8fafc;
    border-left: 4px solid #0ea5e9;
}

.feature-box h3 {
    color: #0ea5e9;
    margin-bottom: 1rem;
}

/* Info boxes */
.info-box {
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
    padding: 1.25rem 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #0ea5e9;
    margin: 2rem 0;
}

.info-box strong {
    color: #0ea5e9;
    font-size: 1.05rem;
}

.credentials {
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: white;
    border-radius: 6px;
}

.credentials code {
    background: #f1f5f9;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    color: #334155;
}

/* Quote Box */
.quote {
    background: #f1f5f9;
    border-left: 4px solid #0ea5e9;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    text-align: center;
    color: #6b7280;
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 1px solid #e5e7eb;
}

.footer a {
    color: #0ea5e9;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

hr {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 2rem 0;
}

/* Form elements */
input, select, textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    margin-bottom: 1rem;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #0ea5e9;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}

/* Responsive */
@media (max-width: 1024px) {
    .sidebar {
        width: 18rem;
    }
    .main-content {
        margin-left: 18rem;
    }
    .environments, .four-col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }
    .main-content {
        margin-left: 0;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .environments, .two-col, .three-col, .four-col {
        grid-template-columns: 1fr;
    }
    .cta-buttons {
        grid-template-columns: 1fr;
    }
}
