/* ===== Persona Pages — Shared Styles ===== */

/* DM Sans for flow illustrations */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
    --flow-navy: #1B4F8A;
    --flow-orange: #E85D26;
    --flow-navy-light: rgba(27, 79, 138, 0.1);
    --flow-orange-light: rgba(232, 93, 38, 0.1);
}

/* ===== Index Page — Persona Grid ===== */
.persona-index-hero {
    background: linear-gradient(160deg, #1C1415 0%, #2D1F21 35%, #3D2020 70%, #4A2520 100%);
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.persona-index-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245,158,11,0.1) 0%, rgba(239,68,68,0.05) 40%, transparent 70%);
    border-radius: 50%;
}
.persona-index-hero h1 {
    color: #fff;
    font-size: 2.8rem;
    max-width: 800px;
    margin: 0 auto 16px;
    line-height: 1.15;
}
.persona-index-hero p {
    color: rgba(255,255,255,0.65);
    font-size: 1.15rem;
    max-width: 560px;
    margin: 0 auto;
}

.persona-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
@media (max-width: 1024px) {
    .persona-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .persona-grid { grid-template-columns: repeat(2, 1fr); }
    .persona-index-hero h1 { font-size: 2rem; }
}
@media (max-width: 480px) {
    .persona-grid { grid-template-columns: 1fr; }
}

.persona-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.persona-card:hover {
    border-color: rgba(245,158,11,0.4);
    box-shadow: 0 8px 24px rgba(28,20,21,0.10), 0 2px 8px rgba(28,20,21,0.06);
    transform: translateY(-4px);
    color: inherit;
    text-decoration: none;
}
.persona-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 16px;
}
.persona-card-icon.indigo { background: linear-gradient(135deg, rgba(245,158,11,0.15) 0%, rgba(249,115,22,0.1) 100%); color: var(--color-primary); }
.persona-card-icon.sky { background: rgba(14,165,233,0.1); color: #0EA5E9; }
.persona-card-icon.amber { background: rgba(245,158,11,0.15); color: var(--color-accent); }
.persona-card-icon.emerald { background: rgba(16,185,129,0.1); color: var(--color-success); }
.persona-card-icon.rose { background: rgba(239,68,68,0.1); color: var(--color-secondary); }

.persona-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--color-dark);
    line-height: 1.3;
}
.persona-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 0;
    flex: 1;
}
.persona-card-link {
    display: inline-block;
    margin-top: 14px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    transition: color var(--transition);
}
.persona-card:hover .persona-card-link { color: var(--color-primary-dark); }


/* ===== Detail Page — Hero ===== */
.persona-hero {
    background: linear-gradient(160deg, #1C1415 0%, #2D1F21 35%, #3D2020 70%, #4A2520 100%);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}
.persona-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(245,158,11,0.12) 0%, rgba(239,68,68,0.06) 40%, transparent 70%);
    border-radius: 50%;
    animation: emberPulse 8s ease-in-out infinite;
}
.persona-hero .container { position: relative; z-index: 1; max-width: 800px; }
.persona-hero .badge-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    border-radius: 100px;
    background: linear-gradient(135deg, rgba(245,158,11,0.2) 0%, rgba(239,68,68,0.15) 100%);
    color: #FCD34D;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(245,158,11,0.3);
    margin-bottom: 20px;
}
.persona-hero h1 {
    color: #fff;
    font-size: 3rem;
    line-height: 1.15;
    max-width: 740px;
    margin-bottom: 16px;
}
.persona-hero .hero-sub {
    color: rgba(255,255,255,0.7);
    font-size: 1.15rem;
    max-width: 600px;
    line-height: 1.7;
    margin-bottom: 0;
}
.persona-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}
@media (max-width: 768px) {
    .persona-hero { padding: 70px 0 50px; }
    .persona-hero h1 { font-size: 2.1rem; }
}


/* ===== Animated Flow Illustration ===== */
.persona-flow-section {
    background: var(--color-bg-subtle);
    padding: 80px 0;
}
.persona-flow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    font-family: 'DM Sans', 'Inter', sans-serif;
    position: relative;
}
@media (max-width: 768px) {
    .persona-flow-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .persona-flow-grid {
        grid-template-columns: 1fr;
    }
}

.persona-flow-step {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    position: relative;
    opacity: 0;
    transform: translateY(24px);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.persona-flow-step:hover {
    border-color: var(--flow-navy);
    box-shadow: 0 4px 16px rgba(27, 79, 138, 0.1);
}

.persona-flow-grid.animate .persona-flow-step {
    animation: flowReveal 0.5s ease forwards;
    animation-delay: calc(var(--i, 0) * 0.18s);
}
@keyframes flowReveal {
    to { opacity: 1; transform: translateY(0); }
}

.persona-flow-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    margin: 0 auto 14px;
    font-family: 'DM Sans', sans-serif;
}
.persona-flow-step:nth-child(odd) .persona-flow-num {
    background: var(--flow-navy);
}
.persona-flow-step:nth-child(even) .persona-flow-num {
    background: var(--flow-orange);
}

.persona-flow-icon {
    font-size: 1.5rem;
    margin-bottom: 12px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.persona-flow-step:nth-child(odd) .persona-flow-icon { color: var(--flow-navy); }
.persona-flow-step:nth-child(even) .persona-flow-icon { color: var(--flow-orange); }

.persona-flow-step h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--color-dark);
    font-family: 'DM Sans', 'Inter', sans-serif;
}
.persona-flow-step p {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.5;
}

/* Flow connector arrows (horizontal, between grid items) */
.persona-flow-step:not(:nth-child(3n))::after {
    content: '';
    position: absolute;
    right: -14px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--flow-navy);
    border-bottom: 2px solid var(--flow-navy);
    transform: translateY(-50%) rotate(-45deg);
    opacity: 0.3;
    z-index: 2;
}
@media (max-width: 768px) {
    .persona-flow-step::after { display: none; }
}


/* ===== How It Works — 3 Steps ===== */
.persona-step-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-ember));
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}


/* ===== Pixel Flexibility ===== */
.persona-pixel-examples {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.persona-pixel-example {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    transition: all var(--transition);
}
.persona-pixel-example:hover {
    border-color: var(--flow-navy);
    box-shadow: 0 2px 8px rgba(27, 79, 138, 0.08);
}
.persona-pixel-example i {
    color: var(--flow-orange);
    font-size: 1rem;
    margin-top: 3px;
    flex-shrink: 0;
}
.persona-pixel-example span {
    font-size: 0.92rem;
    color: var(--color-text);
    line-height: 1.6;
}
.persona-pixel-tagline {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--flow-navy);
    margin-top: 24px;
    padding: 16px 20px;
    background: var(--flow-navy-light);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--flow-navy);
}


/* ===== Known Customer Suppression ===== */
.persona-suppression {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 48px;
    position: relative;
    overflow: hidden;
}
.persona-suppression::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-success), var(--flow-navy));
}
.persona-suppression-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: rgba(5, 150, 105, 0.1);
    color: var(--color-success);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.persona-suppression h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}
.persona-suppression > .row p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}
.persona-suppression-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.persona-suppression-list li {
    padding: 10px 0 10px 32px;
    position: relative;
    font-size: 0.95rem;
    color: var(--color-text);
    line-height: 1.6;
}
.persona-suppression-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 18px;
    height: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23059669'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E") no-repeat center/contain;
}
@media (max-width: 768px) {
    .persona-suppression { padding: 32px 24px; }
}


/* ===== Urgency Block ===== */
.persona-urgency {
    background: linear-gradient(135deg, #1C1415 0%, #2D1F21 40%, #3D2020 100%);
    border-radius: var(--radius-xl);
    padding: 56px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.persona-urgency::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(245,158,11,0.08) 0%, rgba(239,68,68,0.04) 40%, transparent 70%);
    pointer-events: none;
}
.persona-urgency > * { position: relative; z-index: 1; }
.persona-urgency h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 16px;
}
.persona-urgency > p {
    color: rgba(255,255,255,0.7);
    font-size: 1.05rem;
    max-width: 640px;
    margin: 0 auto 28px;
    line-height: 1.7;
}
.persona-urgency-highlight {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: var(--radius-lg);
    padding: 24px 32px;
    max-width: 640px;
    margin: 0 auto;
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    line-height: 1.7;
    font-style: italic;
}
@media (max-width: 768px) {
    .persona-urgency { padding: 40px 24px; }
    .persona-urgency h2 { font-size: 1.6rem; }
    .persona-urgency-highlight { padding: 20px; }
}


/* ===== Breadcrumb ===== */
.persona-breadcrumb {
    padding: 12px 0;
    background: var(--color-dark-warm);
}
.persona-breadcrumb a {
    color: rgba(255,255,255,0.5);
    font-size: 0.82rem;
    text-decoration: none;
    transition: color var(--transition);
}
.persona-breadcrumb a:hover { color: rgba(255,255,255,0.85); }
.persona-breadcrumb span {
    color: rgba(255,255,255,0.35);
    font-size: 0.82rem;
    margin: 0 8px;
}
.persona-breadcrumb .current {
    color: rgba(255,255,255,0.7);
    font-size: 0.82rem;
}
