/* =========================================
   OptiPath Marketing — Proposal for Mike Newmann
   Premium Agency Proposal Redesign
   ========================================= */

:root {
    --navy: #0f2744;
    --navy-deep: #0a1929;
    --navy-light: #1a365d;
    --charcoal: #1e293b;
    --slate: #475569;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --silver: #e2e8f0;
    --off-white: #f8fafc;
    --warm-white: #f1f5f9;
    --white: #ffffff;
    --accent: #3b82f6;
    --accent-light: #60a5fa;
    --accent-soft: rgba(59, 130, 246, 0.07);
    --accent-border: rgba(59, 130, 246, 0.2);
    --accent-glow: rgba(59, 130, 246, 0.12);
    --alert: #ef4444;
    --alert-soft: rgba(239, 68, 68, 0.06);
    --alert-border: rgba(239, 68, 68, 0.18);
    --success: #10b981;
    --success-soft: rgba(16, 185, 129, 0.08);
    --warn: #f59e0b;
    --warn-soft: rgba(245, 158, 11, 0.08);
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--charcoal);
    background-color: var(--white);
    line-height: 1.7;
}

/* ---- Layout ---- */

.container-wide {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
}

/* ---- Logo ---- */

.logo {
    height: auto;
    display: block;
    background: var(--white);
    object-fit: contain;
}

.logo-cover {
    width: 170px;
    padding: 8px 14px;
    border-radius: 8px;
}

.logo-footer {
    width: 130px;
    padding: 6px 10px;
    border-radius: 6px;
}

/* ======================
   COVER
   ====================== */

.cover {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(150deg, #050d1a 0%, #0f2744 40%, #1a365d 70%, #2d4a7c 100%);
    color: var(--white);
    position: relative;
    padding: 2.5rem 3rem;
    overflow: hidden;
}

.cover::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59,130,246,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cover::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59,130,246,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.cover-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    position: relative;
    z-index: 1;
}

.cover-meta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.meta-date {
    font-size: 0.85rem;
    color: var(--gray-light);
    font-weight: 400;
}

.meta-badge {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-light);
    border: 1px solid var(--accent-border);
    padding: 0.3em 1em;
    border-radius: 3px;
    font-weight: 500;
}

.cover-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 0;
    text-align: left;
    position: relative;
    z-index: 1;
}

.cover-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--gray-light);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.cover-client {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 0.3rem;
    letter-spacing: -0.02em;
}

.cover-role {
    font-size: 1rem;
    color: var(--gray-light);
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 2.5rem;
}

.cover-divider {
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    margin-bottom: 2.5rem;
}

.cover-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.cover-title .amp {
    color: var(--accent-light);
}

.cover-bottom {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.cover-bottom-line {
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.08);
}

.cover-scroll {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gray-light);
    font-weight: 400;
}

.cover-arrow {
    color: var(--gray-light);
    opacity: 0.6;
    animation: bob 2s ease-in-out infinite;
}

@keyframes bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

/* ======================
   SECTIONS — General
   ====================== */

.section {
    padding: 6rem 0;
}

.section-label {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.section-label-center {
    justify-content: center;
}

.section-label-light {
    color: var(--accent-light);
}

.label-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border: 1.5px solid var(--accent);
    border-radius: 50%;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0;
}

.section-label-light .label-num {
    border-color: var(--accent-light);
}

.headline {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: var(--navy);
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.headline-center {
    text-align: center;
}

.headline-light {
    color: var(--white);
}

.subhead {
    text-align: center;
    color: var(--gray);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 3.5rem;
    line-height: 1.7;
}

.section-header-center {
    margin-bottom: 3rem;
}

/* ---- Split Layout ---- */

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.split-left {
    position: sticky;
    top: 4rem;
}

.split-right p {
    color: var(--slate);
    font-size: 1.02rem;
    margin-bottom: 1.2rem;
    line-height: 1.75;
}

.split-right p:last-child {
    margin-bottom: 0;
}

.body-lg {
    font-size: 1.12rem !important;
    color: var(--charcoal) !important;
    line-height: 1.8 !important;
    font-weight: 400;
}

/* ======================
   STATS BANNER
   ====================== */

.stats-banner {
    background: var(--navy);
    padding: 3.5rem 0;
}

.stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.stat-block {
    flex: 1;
    text-align: center;
}

.stat-big {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.stat-desc {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-light);
    margin-top: 0.4rem;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.1);
}

/* ======================
   AUDIT SECTION
   ====================== */

.sec-audit {
    background: var(--off-white);
    padding: 6rem 0;
}

.audit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.audit-card {
    background: var(--white);
    border: 1px solid var(--silver);
    border-radius: 12px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.audit-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.07), 0 0 0 1px var(--accent-glow);
    transform: translateY(-2px);
}

.audit-card-top {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

.audit-icon-wrap {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    border-radius: 10px;
    color: var(--accent);
    flex-shrink: 0;
}

.audit-card-top h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.1rem;
}

.audit-handle {
    font-size: 0.78rem;
    color: var(--gray);
    display: block;
}

.audit-metrics {
    display: flex;
    gap: 1.25rem;
    padding: 0.85rem 0;
    border-top: 1px solid var(--silver);
    border-bottom: 1px solid var(--silver);
    margin-bottom: 1rem;
}

.metric {
    display: flex;
    flex-direction: column;
}

.metric-val {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
}

.metric-key {
    font-size: 0.68rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 0.15rem;
}

.audit-assessment {
    font-size: 0.88rem;
    color: var(--slate);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1rem;
}

.audit-status {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.35em 0.85em;
    border-radius: 20px;
    width: fit-content;
}

.status-warn {
    background: var(--warn-soft);
    color: #b45309;
}

.status-ok {
    background: var(--success-soft);
    color: #047857;
}

/* ---- Critical Cards ---- */

.critical-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.critical-card {
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.critical-linkedin {
    background: var(--accent-soft);
    border: 1px solid var(--accent-border);
}

.critical-ai {
    background: var(--alert-soft);
    border: 1px solid var(--alert-border);
}

.critical-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    flex-shrink: 0;
}

.critical-linkedin .critical-icon {
    background: rgba(59, 130, 246, 0.12);
    color: var(--accent);
}

.critical-ai .critical-icon {
    background: rgba(239, 68, 68, 0.1);
    color: var(--alert);
}

.critical-tag {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0.3em 0.75em;
    border-radius: 3px;
    width: fit-content;
    margin-bottom: 0.5rem;
}

.tag-accent {
    background: rgba(59, 130, 246, 0.15);
    color: var(--accent);
}

.tag-alert {
    background: rgba(239, 68, 68, 0.12);
    color: var(--alert);
}

.critical-body h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.critical-body p {
    font-size: 0.9rem;
    color: var(--slate);
    line-height: 1.65;
}

.critical-stats {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-left: auto;
    flex-shrink: 0;
}

.crit-stat {
    display: flex;
    flex-direction: column;
    text-align: center;
    background: rgba(255,255,255,0.6);
    border-radius: 8px;
    padding: 0.6rem 1rem;
}

.crit-val {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--navy);
}

.crit-key {
    font-size: 0.62rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ======================
   DELIVERABLES
   ====================== */

.sec-deliverables {
    padding: 6rem 0;
    background: var(--white);
}

.deliverable-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
}

.del-card {
    background: var(--off-white);
    border: 1px solid var(--silver);
    border-radius: 14px;
    padding: 2.25rem;
    position: relative;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.del-card:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
    transform: translateY(-3px);
}

.del-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy-light);
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.85;
}

.del-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.75rem;
}

.del-line {
    width: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    margin-bottom: 1rem;
}

.del-card p {
    font-size: 0.92rem;
    color: var(--slate);
    line-height: 1.7;
}

.del-tag {
    display: inline-block;
    margin-top: 1.25rem;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    background: var(--accent-soft);
    padding: 0.35em 0.85em;
    border-radius: 3px;
}

.del-callout {
    margin-top: 1rem;
    background: rgba(59, 130, 246, 0.06);
    border-left: 3px solid var(--accent);
    padding: 0.85rem 1rem;
    border-radius: 0 6px 6px 0;
    font-weight: 600;
    color: var(--navy);
    font-size: 0.88rem;
    line-height: 1.5;
}

/* ======================
   PODCAST SECTION
   ====================== */

.sec-podcast {
    background: var(--off-white);
    border-top: 1px solid var(--silver);
    border-bottom: 1px solid var(--silver);
}

.sec-podcast .split-right p {
    color: var(--slate);
}

/* ======================
   VISION SECTION
   ====================== */

.sec-vision {
    padding: 0;
}

.vision-inner {
    background: linear-gradient(150deg, #050d1a 0%, #0f2744 40%, #1a365d 80%, #2d4a7c 100%);
    padding: 6rem 0;
}

.vision-content {
    max-width: 720px;
}

.vision-lead {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.95);
    font-weight: 500;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.vision-content p {
    color: var(--gray-light);
    font-size: 1.02rem;
    margin-bottom: 1.2rem;
    line-height: 1.75;
}

.vision-content p:last-child {
    margin-bottom: 0;
}

/* ======================
   INVOLVEMENT SECTION
   ====================== */

.sec-involvement {
    padding: 6rem 0;
    background: var(--white);
}

.involvement-box {
    text-align: center;
}

.involvement-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.inv-col {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--off-white);
    border: 1px solid var(--silver);
    border-radius: 14px;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.inv-col:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}

.inv-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    border-radius: 14px;
    color: var(--accent);
    margin: 0 auto 1.25rem;
}

.inv-col h4 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.6rem;
}

.inv-col p {
    font-size: 0.9rem;
    color: var(--slate);
    line-height: 1.65;
}

/* ======================
   FOOTER
   ====================== */

.footer {
    background: linear-gradient(150deg, #050d1a 0%, #0f2744 60%, #1a365d 100%);
    padding: 2.5rem 0;
}

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

.footer-center {
    text-align: center;
}

.footer-url {
    font-size: 0.85rem;
    color: var(--gray-light);
    font-weight: 400;
}

.footer-right {
    max-width: 280px;
    text-align: right;
}

.footer-conf {
    font-size: 0.72rem;
    color: var(--gray);
    line-height: 1.5;
}

/* ======================
   RESPONSIVE
   ====================== */

@media (max-width: 1024px) {
    .container-wide {
        padding: 0 2rem;
    }

    .audit-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .deliverable-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container-wide {
        padding: 0 1.5rem;
    }

    .cover {
        padding: 2rem 1.5rem;
    }

    .cover-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .cover-center {
        padding: 3rem 0;
    }

    .split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .split-left {
        position: static;
    }

    .stats-row {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .stat-divider {
        display: none;
    }

    .stat-block {
        flex: 0 0 calc(50% - 0.75rem);
    }

    .audit-grid {
        grid-template-columns: 1fr;
    }

    .critical-cards {
        grid-template-columns: 1fr;
    }

    .critical-card {
        flex-direction: column;
    }

    .critical-stats {
        flex-direction: row;
        margin-left: 0;
    }

    .deliverable-grid {
        grid-template-columns: 1fr;
    }

    .involvement-cols {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

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

    .footer-right {
        text-align: center;
        max-width: none;
    }

    .section {
        padding: 4rem 0;
    }

    .vision-inner {
        padding: 4rem 0;
    }

    .stats-banner {
        padding: 2.5rem 0;
    }
}

@media (max-width: 480px) {
    .cover-title {
        font-size: 2rem;
    }

    .cover-client {
        font-size: 1.8rem;
    }

    .stat-block {
        flex: 0 0 100%;
    }

    .audit-metrics {
        flex-wrap: wrap;
        gap: 0.75rem;
    }
}

/* ======================
   SCROLL ANIMATIONS
   ====================== */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delays for grid children */
.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.1s; }
.stagger-3 { transition-delay: 0.15s; }
.stagger-4 { transition-delay: 0.2s; }
.stagger-5 { transition-delay: 0.25s; }
.stagger-6 { transition-delay: 0.3s; }

/* ---- Print ---- */

@media print {
    .cover {
        min-height: auto;
        padding: 2rem;
    }

    .cover-bottom {
        display: none;
    }

    .section {
        padding: 2rem 0;
        break-inside: avoid;
    }

    .audit-card, .del-card, .critical-card {
        break-inside: avoid;
        box-shadow: none !important;
        transform: none !important;
    }
}
