/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --text-color: #1f2937;
    --light-bg: #f3f4f6;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --planned-color: #6b7280;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: #ffffff;
}

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

/* Header */
.site-header {
    background: white;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

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

/* Hero Section */
.home-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.home-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.home-hero .tagline {
    font-size: 1.25rem;
    opacity: 0.95;
}

/* Content */
.content {
    padding: 3rem 0;
}

.content h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.content h2 {
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.content h3 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.content p {
    margin-bottom: 1rem;
}

.content img {
    max-width: 100%;
    height: auto;
}

.content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.content li {
    margin-bottom: 0.5rem;
}

.content strong {
    color: var(--secondary-color);
}

/* Feature Matrix */
.feature-matrix {
    margin: 2rem 0;
    overflow-x: auto;
}

.feature-matrix table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.feature-matrix th,
.feature-matrix td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.feature-matrix th {
    background: var(--light-bg);
    font-weight: 600;
    color: var(--secondary-color);
}

.feature-matrix tr:hover {
    background: var(--light-bg);
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

.status-released {
    background: #d1fae5;
    color: #065f46;
}

.status-wip {
    background: #fef3c7;
    color: #92400e;
}

.status-requirements {
    background: #dbeafe;
    color: #1e40af;
}

.status-planned {
    background: #e5e7eb;
    color: #374151;
}

/* YAML Generator */
#yaml-generator-root {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.gatearwayman-content #yaml-generator-root {
    margin: 3rem 0;
}

.yaml-generator {
    max-width: 100%;
}

.yaml-generator h3 {
    margin-top: 0;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group small {
    display: block;
    margin-top: 0.25rem;
    color: #6b7280;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

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

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

.waiting-list-cta {
    display: inline-block;
    text-decoration: none;
}

.btn-secondary {
    background: #6b7280;
    color: white;
    margin-left: 1rem;
}

.btn-secondary:hover {
    background: #4b5563;
}

.yaml-output {
    margin-top: 2rem;
}

.yaml-output h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.yaml-output pre {
    background: #1f2937;
    color: #f3f4f6;
    padding: 1.5rem;
    border-radius: 4px;
    overflow-x: auto;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
}

.yaml-output .copy-button {
    margin-top: 1rem;
}

.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h4 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-size: 1.25rem;
}

.form-actions {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
}

/* Footer */
.site-footer {
    background: var(--light-bg);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    margin-top: 4rem;
    text-align: center;
}

.site-footer p {
    margin: 0.5rem 0;
    color: #6b7280;
}

/* Responsive */
@media (max-width: 768px) {
    .home-hero h1 {
        font-size: 2rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .content h1 {
        font-size: 2rem;
    }
    
    .feature-matrix {
        font-size: 0.9rem;
    }
}
