/* Tamyolla site.css — public marketing + minor utilities for admin/company shells */

/* === PUBLIC LAYOUT === */
.public-body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    color: #1a1a1a;
    background: #ffffff;
    line-height: 1.6;
}
.public-body * { box-sizing: border-box; }
.public-body .container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* Header */
.public-header {
    background: white;
    border-bottom: 1px solid #f0f0f0;
    padding: 16px 0;
    position: sticky; top: 0; z-index: 50;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.public-header .container { display: flex; align-items: center; justify-content: space-between; }
.brand {
    font-weight: 700;
    color: #0d47a1;
    text-decoration: none;
    font-size: 22px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.brand-icon { font-size: 26px; }
.public-nav { display: flex; align-items: center; gap: 28px; }
.public-nav a { color: #444; text-decoration: none; font-weight: 500; font-size: 15px; }
.public-nav a:hover { color: #0d47a1; }
.public-nav .btn-login {
    background: #f57c00;
    color: white !important;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
}
.public-nav .btn-login:hover { background: #d86d00; color: white !important; }

/* Hero */
.hero {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding: 80px 0;
}
.hero h1 {
    font-size: 56px;
    line-height: 1.1;
    margin: 0 0 16px;
    color: #0d47a1;
    font-weight: 700;
}
.hero .lead { font-size: 20px; color: #555; max-width: 640px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
    display: inline-block;
    padding: 14px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
}
.btn-primary { background: #f57c00; color: white; }
.btn-primary:hover { background: #d86d00; }
.btn-outline { border: 2px solid #0d47a1; color: #0d47a1; padding: 12px 22px; background: transparent; }
.btn-outline:hover { background: #0d47a1; color: white; }

/* Sections */
.section { padding: 60px 0; }
.section-title { font-size: 36px; margin: 0 0 12px; color: #1a1a1a; font-weight: 700; }
.section-subtitle { font-size: 18px; color: #666; margin: 0 0 40px; }

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.feature-card {
    background: #f6f7fb;
    padding: 28px;
    border-radius: 12px;
    transition: transform .2s;
}
.feature-card:hover { transform: translateY(-4px); }
.feature-card h3 { margin: 0 0 12px; color: #f57c00; font-size: 22px; }
.feature-card p { color: #555; margin: 0; }
.feature-icon { font-size: 48px; margin-bottom: 12px; }

/* Steps */
.steps { display: flex; flex-direction: column; gap: 20px; max-width: 720px; margin: 0 auto; }
.step { display: flex; gap: 20px; align-items: flex-start; }
.step-num {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f57c00;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}
.step h3 { margin: 4px 0 4px; font-size: 18px; }
.step p { margin: 0; color: #666; }

/* CTA section */
.cta-band {
    background: #0d47a1;
    color: white;
    padding: 60px 0;
    text-align: center;
}
.cta-band h2 { font-size: 32px; margin: 0 0 16px; }
.cta-band p { font-size: 18px; opacity: .9; margin: 0 0 24px; }
.cta-band .btn-primary { background: #f57c00; }

/* Content (legal pages) */
.content-page { padding: 60px 0; max-width: 860px; margin: 0 auto; }
.content-page h1 { font-size: 36px; color: #0d47a1; margin: 0 0 24px; }
.content-page h2 { font-size: 22px; margin: 32px 0 12px; }
.content-page p, .content-page li { color: #444; line-height: 1.8; }

/* Footer */
.public-footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 60px 0 20px;
    margin-top: 80px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-grid strong { color: white; display: block; margin-bottom: 12px; }
.footer-grid .muted { color: #aaa; font-size: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: #ccc; text-decoration: none; font-size: 14px; }
.footer-grid a:hover { color: white; }
.copyright { padding-top: 20px; border-top: 1px solid #333; text-align: center; color: #888; }

/* === ADMIN/COMPANY SHARED === */
.kpi-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.kpi-label { color: #999; font-size: 13px; text-transform: uppercase; }
.kpi-value { font-size: 32px; font-weight: 700; color: #0d47a1; margin: 4px 0; }
.kpi-delta { font-size: 12px; color: #2e7d32; }

@media (max-width: 768px) {
    .hero h1 { font-size: 36px; }
    .hero .lead { font-size: 16px; }
    .section-title { font-size: 26px; }
    .public-nav { gap: 12px; }
    .public-nav a:not(.btn-login) { display: none; }
}
