/**
 * Base CSS - Shared styles for all layouts
 * Used by: landing.css, style.css
 */

/* Reset & Box Model */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Typography */
html {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
}

/* Links */
a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    text-decoration: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    font-size: 0.875rem;
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
}

.btn-primary {
    background: linear-gradient(135deg, #FF9900 0%, #E68A00 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #E68A00 0%, #CC7A00 100%);
    text-decoration: none;
}

.btn-secondary {
    background: #f1f5f9;
    color: #374151;
}

.btn-secondary:hover {
    background: #e2e8f0;
}

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

/* Footer - Visual styles only (position defined in layout-specific CSS) */
.public-footer {
    background: rgba(30, 41, 59, 0.9);
    backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.7);
    padding: 1rem 2rem;
    /* Position is set by style.css (fixed) or landing.css (absolute) */
}

.public-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.public-footer-links {
    display: flex;
    gap: 1.5rem;
}

.public-footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.public-footer-links a:hover {
    color: white;
    text-decoration: none;
}

/* Social Links in Footer */
.public-footer .social-links {
    display: flex;
    gap: 0.75rem;
    margin-right: 1rem;
}

.public-footer .social-link {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s;
    display: flex;
    align-items: center;
}

.public-footer .social-link:hover {
    color: #FF9900;
}

.public-footer .social-link svg {
    width: 18px;
    height: 18px;
}

/* Footer Responsive */
@media (max-width: 768px) {
    .public-footer {
        padding: 1rem;
    }

    .public-footer-inner {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .public-footer-links {
        flex-direction: column;
        gap: 0.75rem;
    }

    .social-links {
        margin-right: 0;
        justify-content: center;
    }
}
