/* About page – mirrors pricing page chrome, visual body layout */

/* ================================
   Section accent dots
   ================================ */
.about-hero .section-accent,
.about-story .section-accent,
.about-now .section-accent,
.about-why .section-accent,
.cta-section .section-accent {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.about-hero .section-accent span,
.about-story .section-accent span,
.about-now .section-accent span,
.about-why .section-accent span,
.cta-section .section-accent span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.about-hero .section-accent span:nth-child(1),
.about-story .section-accent span:nth-child(1),
.about-now .section-accent span:nth-child(1),
.about-why .section-accent span:nth-child(1),
.cta-section .section-accent span:nth-child(1) { background: var(--primary-blue); }
.about-hero .section-accent span:nth-child(2),
.about-story .section-accent span:nth-child(2),
.about-now .section-accent span:nth-child(2),
.about-why .section-accent span:nth-child(2),
.cta-section .section-accent span:nth-child(2) { background: linear-gradient(135deg, var(--primary-blue), var(--gold-accent)); }
.about-hero .section-accent span:nth-child(3),
.about-story .section-accent span:nth-child(3),
.about-now .section-accent span:nth-child(3),
.about-why .section-accent span:nth-child(3),
.cta-section .section-accent span:nth-child(3) { background: var(--gold-accent); }

/* Scroll-in animation */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Admin banner */
.admin-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(37, 99, 235, 0.08);
    backdrop-filter: blur(8px);
    color: var(--primary-blue);
    z-index: 1001;
    padding: 5px 0;
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
    height: 28px;
}

.admin-banner-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.admin-banner-text {
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0.8;
}

.admin-banner-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: opacity 0.2s ease;
    opacity: 0.8;
}

.admin-banner-link:hover { opacity: 1; }

body.admin-banner-visible .navbar { top: 28px; }

/* ================================
   Hero (matches pricing)
   ================================ */
.about-hero {
    position: relative;
    min-height: 70vh;
    margin-top: calc(-1 * env(safe-area-inset-top, 0px));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 140px 20px 100px;
    padding-top: calc(140px + env(safe-area-inset-top, 0px));
    isolation: isolate;
}

.about-hero-background {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -2;
}

.about-hero-image {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
}

.about-hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background:
        radial-gradient(ellipse 400px 400px at 85% 15%, rgba(37, 99, 235, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse 350px 350px at 15% 85%, rgba(251, 191, 36, 0.15) 0%, transparent 60%),
        linear-gradient(180deg, rgba(15,23,42,0.85) 0%, rgba(30,41,59,0.88) 50%, rgba(15,23,42,0.92) 100%);
}

.about-hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.about-hero-title {
    font-size: 64px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateY(30px);
    animation: aboutFadeInUp 0.8s ease forwards 0.3s;
}

.about-hero-subtitle {
    font-size: 22px;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(30px);
    animation: aboutFadeInUp 0.8s ease forwards 0.5s;
}

@keyframes aboutFadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

.navbar.scrolled.navbar-over-light:not(.navbar-standard) .nav-container {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.8);
}

.navbar.navbar-over-light .nav-toggle span {
    background: var(--dark-base);
}

/* Shared section header */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--dark-base);
    margin-bottom: 16px;
}

/* ================================
   Intro — two-column with accent card
   ================================ */
.about-intro {
    padding: 48px 0;
}

.about-lead-centered {
    font-size: 22px;
    line-height: 1.7;
    color: var(--secondary-text);
    font-weight: 500;
    font-style: italic;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

/* ================================
   Credibility stats bar
   ================================ */
.about-stats {
    padding: 0;
    position: relative;
    z-index: 2;
}

.about-stats-bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    background: var(--dark-base);
    border-radius: 16px;
    padding: 32px 48px;
    position: relative;
    top: -48px;
    margin-bottom: -48px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

.about-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
}

.about-stat-value {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-blue), var(--gold-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.about-stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}

.about-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.12);
    justify-self: center;
}

/* Inline links */
.about-inline-link {
    color: var(--primary-blue);
    text-decoration: none;
    border-bottom: 1px solid rgba(37,99,235,0.3);
    transition: border-color 0.2s ease, color 0.2s ease;
}

.about-inline-link:hover {
    color: var(--hover-blue);
    border-bottom-color: var(--hover-blue);
}

/* ================================
   How I Got Here — timeline
   ================================ */
.about-story {
    padding: 72px 0;
    background: var(--light-bg);
}

.about-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 48px;
}

.about-timeline::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-blue), var(--gold-accent));
    border-radius: 2px;
}

.about-timeline-item {
    position: relative;
    margin-bottom: 24px;
}

.about-timeline-item:last-child {
    margin-bottom: 0;
}

.about-timeline-marker {
    position: absolute;
    left: -48px;
    top: 2px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(37,99,235,0.12);
}

.about-timeline-marker i {
    font-size: 14px;
    color: var(--primary-blue);
}

.about-timeline-content {
    background: var(--white);
    border: 1px solid var(--borders);
    border-radius: 12px;
    padding: 22px 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: box-shadow 0.3s ease;
}

.about-timeline-content:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.about-timeline-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--secondary-text);
}

/* Pull quote */
.about-pullquote {
    max-width: 800px;
    margin: 40px auto 0;
    text-align: center;
    position: relative;
    padding: 32px 40px;
    background: var(--dark-base);
    border-radius: 16px;
}

.about-pullquote::before {
    content: '\201C';
    position: absolute;
    top: -8px;
    left: 32px;
    font-size: 80px;
    line-height: 1;
    color: var(--gold-accent);
    opacity: 0.4;
    font-family: Georgia, serif;
}

.about-pullquote blockquote {
    font-size: 19px;
    line-height: 1.7;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    font-style: italic;
    position: relative;
    z-index: 1;
}

/* ================================
   What I Do Now — icon cards
   ================================ */
.about-now {
    padding: 72px 0;
}

.about-now-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.about-now-card {
    background: var(--white);
    border: 1px solid var(--borders);
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-now-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.about-now-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(251,191,36,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.about-now-card-icon i {
    font-size: 22px;
    background: linear-gradient(135deg, var(--primary-blue), var(--gold-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-now-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-base);
    margin-bottom: 12px;
}

.about-now-card p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--secondary-text);
}

/* ================================
   Why CRTV DEI — name breakdown + two-col body
   ================================ */
.about-why {
    padding: 72px 0;
    background: var(--light-bg);
}

.about-why-logo {
    text-align: center;
    margin-bottom: 16px;
}

.about-why-logo-img {
    height: 48px;
    width: auto;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.about-why-logo-img:hover {
    opacity: 1;
}

.about-why-meaning {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.about-why-word {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.about-why-abbr {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, var(--primary-blue), var(--gold-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-why-full {
    font-size: 14px;
    color: var(--muted-text);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.about-why-latin {
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    font-style: italic;
}

.about-why-plus,
.about-why-equals {
    font-size: 28px;
    font-weight: 300;
    color: var(--muted-text);
}

.about-why-result {
    font-size: 36px;
    font-weight: 800;
    color: var(--dark-base);
    letter-spacing: -0.01em;
}

.about-why-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    max-width: 1000px;
    margin: 0 auto;
}

.about-why-col p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--secondary-text);
    margin-bottom: 20px;
}

.about-why-col p:last-child {
    margin-bottom: 0;
}

.about-why-body-single {
    grid-template-columns: 1fr;
    max-width: 1000px;
}

.about-why-body-single p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--secondary-text);
    margin: 0;
}

.about-why-body-single p + p {
    margin-top: 16px;
}

/* ================================
   CTA (matches pricing)
   ================================ */
.cta-section {
    padding: 72px 20px;
    background: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37,99,235,0.2), transparent);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-description {
    font-size: 18px;
    color: var(--secondary-text);
    margin-bottom: 32px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 9999px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--hover-blue) 100%);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(37,99,235,0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37,99,235,0.5);
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 48px;
    font-size: 18px;
}

/* ================================
   Footer (matches pricing)
   ================================ */
.about-page .footer {
    background: var(--dark-base);
    color: var(--white);
    padding: 60px 0 30px;
    padding-bottom: max(30px, env(safe-area-inset-bottom, 0px));
}

.about-page .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 36px;
    margin-bottom: 32px;
}

.about-page .footer-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--gold-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-page .footer-description { color: rgba(255,255,255,0.7); font-size: 15px; }
.about-page .footer-heading { font-size: 18px; font-weight: 600; margin-bottom: 16px; color: var(--white); }
.about-page .footer-links { list-style: none; }
.about-page .footer-links li { margin-bottom: 12px; }
.about-page .footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.2s ease; font-size: 15px; }
.about-page .footer-links a:hover { color: var(--white); }
.about-page .footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.6); font-size: 14px; }

/* ================================
   Responsive
   ================================ */
@media (max-width: 992px) {
    .about-hero-title { font-size: 52px; }
    .about-now-grid { grid-template-columns: 1fr; max-width: 560px; }
}

@media (max-width: 768px) {
    .about-hero {
        min-height: 60vh;
        padding: 120px 20px 80px;
        padding-top: calc(120px + env(safe-area-inset-top, 0px));
    }

    .about-hero-title { font-size: 42px; }
    .about-hero-subtitle { font-size: 18px; }

    .about-stats-bar {
        grid-template-columns: 1fr 1fr;
        gap: 24px 16px;
        padding: 24px 20px;
        border-radius: 12px;
    }

    .about-stat-divider {
        display: none;
    }

    .about-stat-value { font-size: 26px; }
    .about-stat-label { font-size: 11px; }

    .about-why-logo-img { height: 56px; }

    .about-intro { padding: 32px 0; }
    .about-lead-centered { font-size: 18px; }

    .about-story,
    .about-now,
    .about-why,
    .cta-section { padding: 48px 0; }

    .section-header { margin-bottom: 28px; }
    .section-title { font-size: 32px; }

    .about-timeline { padding-left: 40px; }
    .about-timeline::before { left: 15px; }
    .about-timeline-marker { left: -40px; width: 32px; height: 32px; }
    .about-timeline-marker i { font-size: 12px; }
    .about-timeline-content { padding: 16px 20px; }
    .about-timeline-content p { font-size: 15px; }
    .about-timeline-item { margin-bottom: 16px; }

    .about-pullquote { padding: 24px 24px; margin-top: 28px; }
    .about-pullquote blockquote { font-size: 16px; }
    .about-pullquote::before { font-size: 60px; left: 20px; }

    .about-now-grid { max-width: 100%; }
    .about-now-card { padding: 24px 20px; }

    .about-why-meaning { gap: 16px; }
    .about-why-abbr { font-size: 28px; }
    .about-why-result { font-size: 28px; }
    .about-why-plus, .about-why-equals { font-size: 22px; }
    .about-why-body { grid-template-columns: 1fr; gap: 0; }

    .btn-large { padding: 16px 36px; font-size: 16px; }

    .about-page .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 32px 24px;
    }

    .about-page .footer-section:first-child { grid-column: 1 / -1; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .about-hero-title,
    .about-hero-subtitle { opacity: 1; transform: none; animation: none; }
    .scroll-animate { opacity: 1; transform: none; transition: none; }
    .btn:hover, .btn-outline:hover, .btn-primary:hover, .about-now-card:hover { transform: none; }
}

/* Focus outlines */
.btn:focus-visible, .nav-link:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}
