/* ============================================================
   BlackVolta — Public Marketing Site Styles
   (Home / About / Portfolio / Contact)

   Reuses the design tokens from app.css (--ep-primary, --ep-secondary,
   --ep-accent) rather than inventing a new palette, so the marketing
   site and the authenticated app read as the same product.
   ============================================================ */

:root {
    --mkt-primary: var(--ep-primary, #0369a1);
    --mkt-secondary: var(--ep-secondary, #0c4a6e);
    --mkt-accent: var(--ep-accent, #0d9488);
    --mkt-dark: #082f49;
}

body.marketing-page {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ---------- Navbar ---------- */
.mkt-navbar {
    background: rgba(15, 52, 96, 0.98);
}

.mkt-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: #fff;
    text-decoration: none;
}

.mkt-brand span {
    color: var(--mkt-accent);
}

.mkt-navbar .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.mkt-navbar .nav-link:hover,
.mkt-navbar .nav-link.active {
    color: #fff;
}

@media (max-width: 991.98px) {
    .mkt-navbar .navbar-collapse {
        background: rgba(15, 52, 96, 0.98);
        border-radius: 12px;
        margin-top: 0.75rem;
        padding: 0.75rem 1rem;
    }

    .mkt-navbar .nav-item .btn {
        width: 100%;
        margin-left: 0 !important;
        margin-top: 0.4rem;
    }
}

/* ---------- Hero ---------- */
.mkt-hero {
    background: linear-gradient(135deg, var(--mkt-dark) 0%, var(--mkt-primary) 50%, var(--mkt-secondary) 100%);
    color: #fff;
    padding: 7.5rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.mkt-hero::after {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.18), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.mkt-hero h1 {
    font-weight: 800;
    font-size: 3rem;
    line-height: 1.15;
}

.mkt-hero .lead {
    font-size: 1.2rem;
    opacity: 0.85;
}

.mkt-page-hero {
    background: linear-gradient(135deg, var(--mkt-dark) 0%, var(--mkt-primary) 60%, var(--mkt-secondary) 100%);
    color: #fff;
    padding: 6.5rem 0 3.5rem;
}

.mkt-page-hero h1 {
    font-weight: 800;
}

/* ---------- Sections ---------- */
.mkt-section-title {
    font-weight: 700;
}

.mkt-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--mkt-accent);
}

/* ---------- Cards ---------- */
.mkt-card {
    border: none;
    border-radius: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

.mkt-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.mkt-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Category / portfolio cards */
.mkt-category-card {
    border-radius: 16px;
    border: 1px solid #e9ecef;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    height: 100%;
}

.mkt-category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(15, 52, 96, 0.12);
    border-color: var(--mkt-primary);
}

.mkt-category-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    background: rgba(15, 52, 96, 0.08);
    color: var(--mkt-primary);
}

/* ---------- Stats strip ---------- */
.mkt-stats {
    background: var(--mkt-dark);
    color: #fff;
}

.mkt-stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--mkt-accent);
}

/* ---------- Team / avatar placeholders ---------- */
.mkt-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: rgba(15, 52, 96, 0.08);
    color: var(--mkt-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    margin: 0 auto;
}

/* ---------- CTA ---------- */
.mkt-cta {
    background: linear-gradient(135deg, var(--mkt-dark), var(--mkt-primary));
    color: #fff;
}

/* ---------- Contact page ---------- */
.mkt-contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(15, 52, 96, 0.08);
    color: var(--mkt-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mkt-contact-form {
    border-radius: 16px;
}

/* ---------- Footer ---------- */
.mkt-footer {
    background: var(--mkt-dark);
    color: rgba(255, 255, 255, 0.7);
}

.mkt-footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.mkt-footer a:hover {
    color: #fff;
}

.mkt-footer h6 {
    color: #fff;
    font-weight: 700;
}

.mkt-social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.mkt-social-icon:hover {
    background: var(--mkt-accent);
}

@media (max-width: 768px) {
    .mkt-hero h1 {
        font-size: 2.1rem;
    }

    .mkt-hero {
        padding: 6.5rem 0 3.5rem;
    }
}
