/* ApiaryLabs Landing Page - Professional Styling */

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #10b981;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 900px;
    width: 100%;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

/* Header */
header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 4rem 3rem;
    text-align: center;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.subtitle {
    font-size: 1.375rem;
    opacity: 0.95;
    font-weight: 400;
}

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

h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.content > p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    line-height: 1.75;
}

/* Documentation Grid */
.doc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.doc-card {
    background: #f9fafb;
    border-radius: 8px;
    padding: 2rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    border: 2px solid #e5e7eb;
    display: block;
}

.doc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.15);
    border-color: var(--primary-color);
    background: white;
}

.doc-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.015em;
}

.doc-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* API Cards */
.api-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.api-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.api-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.15);
}

.api-card h3 {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
}

.api-description {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.api-features {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    padding: 0.75rem 1rem;
    background: #f9fafb;
    border-radius: 6px;
    border-left: 3px solid var(--secondary-color);
}

.api-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.doc-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.doc-link:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.api-cta {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.api-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.3);
}

/* CTA Section */
.cta-section {
    background: #f9fafb;
    padding: 2.5rem;
    text-align: center;
    margin-top: 3rem;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
}

.cta-section h3 {
    color: var(--text-primary);
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.cta-section p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.3);
}

/* Footer */
footer {
    text-align: center;
    padding: 2.5rem 3rem;
    color: var(--text-secondary);
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
    font-size: 0.875rem;
}

footer p {
    margin: 0.5rem 0;
}

footer strong {
    color: var(--text-primary);
    font-weight: 600;
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .container {
        border-radius: 8px;
    }
    
    header {
        padding: 3rem 2rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.125rem;
    }
    
    .content {
        padding: 2rem 1.5rem;
    }
    
    h2 {
        font-size: 1.875rem;
    }
    
    .doc-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .doc-card {
        padding: 1.5rem;
    }
    
    .api-card {
        padding: 1.75rem;
    }
    
    .api-card h3 {
        font-size: 1.75rem;
    }
    
    .api-links {
        flex-direction: column;
    }
    
    .doc-link {
        text-align: center;
    }
    
    .cta-section {
        padding: 2rem 1.5rem;
        margin-top: 2rem;
    }
    
    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    footer {
        padding: 2rem 1.5rem;
    }
}
