/* ================================================================
   EGOTALLY — Inner pages (about, contact, privacy, terms)
   ================================================================ */

/* ── Page Hero ───────────────────────────────────────────────── */
.page-hero {
    padding: 80px 0 68px;
    background: var(--bg);
    border-bottom: 1px solid var(--border-xs);
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -160px;
    width: 560px;
    height: 560px;
    background: radial-gradient(
        circle,
        rgba(255, 116, 108, 0.065) 0%,
        transparent 65%
    );
    pointer-events: none;
}
.page-hero > .container {
    position: relative;
    z-index: 1;
}
.page-hero-kicker {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    display: block;
    margin-bottom: 12px;
}
.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 14px;
}
.page-hero p {
    font-size: 1.05rem;
    max-width: 540px;
    line-height: 1.8;
}

/* ================================================================
   ABOUT
   ================================================================ */

.about-mission-text {
    font-size: 1rem;
    color: var(--ink-2);
    line-height: 1.85;
}

.about-stat {
    text-align: center;
    padding: 28px 16px;
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    background: var(--bg);
    transition: box-shadow 0.22s;
}
.about-stat:hover {
    box-shadow: var(--shadow-md);
}
.about-stat-val {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 6px;
}
.about-stat-lbl {
    font-size: 0.82rem;
    color: var(--ink-3);
}

.value-card {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 24px;
    height: 100%;
    transition:
        background 0.22s,
        box-shadow 0.22s,
        transform 0.22s;
}
.value-card:hover {
    background: var(--bg);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.value-icon {
    font-size: 1.75rem;
    margin-bottom: 14px;
    display: block;
}

.about-cta-band {
    background: var(--bg-2);
    border-radius: var(--r-2xl);
    padding: 56px 48px;
    text-align: center;
    border: 1px solid var(--border);
}
@media (max-width: 575px) {
    .about-cta-band {
        padding: 36px 22px;
    }
}

/* ================================================================
   CONTACT
   ================================================================ */

.contact-form-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r-2xl);
    padding: 40px;
    box-shadow: var(--shadow-md);
}
@media (max-width: 575px) {
    .contact-form-card {
        padding: 28px 18px;
    }
}

.contact-info-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
}
.contact-info-row:last-child {
    border-bottom: none;
}
.ci-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: var(--primary-xs);
    border: 1px solid rgba(255, 116, 108, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.ci-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-4);
    margin-bottom: 2px;
}
.ci-value {
    font-size: 0.9375rem;
    color: var(--ink);
    font-weight: 500;
}

/* ================================================================
   PRIVACY / TERMS — Prose layout
   ================================================================ */

.prose-layout {
    background: var(--bg);
}

.prose-sidebar {
    position: sticky;
    top: calc(var(--nav-h) + 24px);
}
.prose-sidebar-title {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-4);
    margin-bottom: 12px;
    display: block;
}
.prose-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.prose-nav a {
    display: block;
    padding: 7px 12px;
    border-radius: var(--r-sm);
    font-size: 0.875rem;
    color: var(--ink-2);
    transition: all 0.16s;
    border-left: 2px solid transparent;
    text-decoration: none;
}
.prose-nav a:hover,
.prose-nav a.is-active {
    color: var(--primary);
    background: var(--primary-xs);
    border-left-color: var(--primary);
}

.prose-body h2 {
    font-size: 1.35rem;
    margin-top: 48px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-xs);
    scroll-margin-top: calc(var(--nav-h) + 24px);
}
.prose-body h2:first-child {
    margin-top: 0;
}

.prose-body p {
    font-size: 0.9375rem;
    color: var(--ink-2);
    line-height: 1.85;
    margin-bottom: 14px;
}
.prose-body ul {
    padding-left: 20px;
    margin-bottom: 14px;
}
.prose-body li {
    font-size: 0.9375rem;
    color: var(--ink-2);
    line-height: 1.8;
    margin-bottom: 6px;
}
.prose-body strong {
    color: var(--ink);
    font-weight: 600;
}
.prose-body a {
    color: var(--primary);
    font-weight: 500;
}

.prose-updated {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: var(--ink-3);
    background: var(--bg-2);
    border: 1px solid var(--border);
    padding: 5px 12px;
    border-radius: var(--r-pill);
    margin-bottom: 32px;
}
.prose-updated::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
}

@media (max-width: 991px) {
    .prose-sidebar {
        display: none;
    }
}

/* ================================================================
   ABOUT — Values grid (6 cards, icon above title)
   ================================================================ */

.value-card-new {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 32px 24px;
    height: 100%;
    text-align: center;
    transition:
        box-shadow 0.22s var(--ease),
        transform 0.22s var(--ease),
        border-color 0.22s;
}
.value-card-new:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: rgba(255, 116, 108, 0.25);
}
.value-icon-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--primary-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 20px;
    transition: background 0.22s;
}
.value-card-new:hover .value-icon-circle {
    background: rgba(255, 116, 108, 0.14);
}
.value-card-new h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 10px;
}
.value-card-new p {
    font-size: 0.875rem;
    color: var(--ink-2);
    line-height: 1.75;
    margin: 0;
}

/* ================================================================
   ABOUT — Team / Founder section  (split-panel design)
   ================================================================ */

.team-section {
    background: var(--bg);
    position: relative;
    overflow: hidden;
}
.team-section::before {
    content: "";
    position: absolute;
    top: -200px;
    right: -200px;
    width: 700px;
    height: 700px;
    background: radial-gradient(
        circle,
        rgba(255, 116, 108, 0.055) 0%,
        transparent 65%
    );
    pointer-events: none;
}

/* Outer wrapper — max width centred */
.founder-wrap {
    max-width: 980px;
    margin: 0 auto;
    border-radius: var(--r-2xl);
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(11, 11, 26, 0.13);
    display: flex;
}

/* ── Left panel: gradient identity ── */
.founder-left {
    width: 320px;
    flex-shrink: 0;
    background: linear-gradient(
        160deg,
        var(--secondary) 0%,
        #2d1f6e 55%,
        #1a0d3d 100%
    );
    padding: 52px 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}
/* Decorative circles on left panel */
.founder-left::before {
    content: "";
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(255, 116, 108, 0.1);
    pointer-events: none;
}
.founder-left::after {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.founder-photo-wrap {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 4px solid rgba(255, 116, 108, 0.5);
    overflow: hidden;
    margin-bottom: 22px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 8px rgba(255, 116, 108, 0.1);
}
.founder-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}
.founder-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.founder-name {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
}
.founder-role {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--primary-light);
    background: rgba(255, 116, 108, 0.15);
    border: 1px solid rgba(255, 116, 108, 0.28);
    border-radius: var(--r-pill);
    padding: 4px 14px;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

/* Founder stats on left */
.founder-stats {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    position: relative;
    z-index: 1;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.founder-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
}
.founder-stat-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: rgba(255, 116, 108, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.founder-stat-val {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}
.founder-stat-lbl {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 2px;
}

/* ── Right panel: quote + highlights + socials ── */
.founder-right {
    flex: 1;
    background: var(--bg);
    padding: 52px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
}

.founder-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
}
.founder-eyebrow::before {
    content: "";
    width: 18px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.founder-quote-block {
    border-left: 3px solid var(--primary);
    padding-left: 22px;
    margin: 0;
}
.founder-quote-mark {
    font-family: Georgia, serif;
    font-size: 3.5rem;
    line-height: 0.6;
    color: var(--primary);
    opacity: 0.25;
    display: block;
    margin-bottom: 8px;
    user-select: none;
}
.founder-quote {
    font-size: 1.075rem;
    color: var(--ink);
    line-height: 1.8;
    font-style: italic;
    font-weight: 500;
    margin: 0;
}

/* Highlights row */
.founder-highlights {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.founder-hl {
    flex: 1;
    min-width: 110px;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 16px 18px;
    transition:
        box-shadow 0.2s,
        border-color 0.2s;
}
.founder-hl:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 116, 108, 0.22);
}
.founder-hl-val {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--ink);
    line-height: 1;
    margin-bottom: 4px;
}
.founder-hl-lbl {
    font-size: 0.78rem;
    color: var(--ink-3);
}

/* Social buttons */
.founder-socials {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.founder-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border: 1.5px solid var(--border);
    border-radius: var(--r-pill);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    background: var(--bg);
    transition:
        border-color 0.18s,
        color 0.18s,
        background 0.18s,
        box-shadow 0.18s;
}
.founder-social-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-xs);
    box-shadow: 0 4px 14px rgba(255, 116, 108, 0.12);
}
.founder-social-btn i {
    font-size: 1rem;
}

/* ── Responsive ── */
@media (max-width: 860px) {
    .founder-wrap {
        flex-direction: column;
    }
    .founder-left {
        width: 100%;
        padding: 44px 32px 36px;
    }
    .founder-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    .founder-stat {
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 80px;
    }
    .founder-right {
        padding: 36px 32px;
    }
}
@media (max-width: 575px) {
    .founder-right {
        padding: 28px 22px;
    }
    .founder-highlights {
        flex-direction: column;
    }
}

/* ── Contact social buttons ── */
.contact-socials {
    margin-top: 28px;
}
.contact-socials-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--ink-4);
    margin-bottom: 12px;
}
.contact-socials-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.contact-social-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border: 1.5px solid var(--border);
    border-radius: var(--r-lg);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    background: var(--bg);
    transition:
        border-color 0.18s,
        color 0.18s,
        background 0.18s,
        box-shadow 0.18s;
}
.contact-social-btn i {
    font-size: 1.1rem;
    color: var(--ink-2);
    transition: color 0.18s;
}
.contact-social-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-xs);
    box-shadow: 0 4px 14px rgba(255, 116, 108, 0.1);
}
.contact-social-btn:hover i {
    color: var(--primary);
}
