/* ============================================================
   ABOUT PAGE — HostBillingPro Custom About Page Styles
   ============================================================ */

/* ----------------------------------------
   Page Wrapper Container Overrides
   ---------------------------------------- */
body.page-template-template-about #page,
body.page-template-template-about #content,
body.page-template-template-about .site-content,
body.page-template-template-about .inside-article,
body.page-template-template-about .entry-content {
    max-width: none !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.hbp-about-main {
    max-width: none;
    width: 100%;
    flex: 1 1 100%;
    min-width: 0;
    padding: 0;
    margin: 0;
}

/* ----------------------------------------
   Hero Section
   ---------------------------------------- */
.hbp-about-hero {
    position: relative;
    background: linear-gradient(160deg, var(--hbp-primary) 0%, var(--hbp-bg-dark) 50%, #162033 100%);
    padding: 112px 0 96px;
    overflow: hidden;
    text-align: center;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hbp-about-hero__pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.8;
}

.hbp-about-hero__glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.hbp-about-hero__content {
    max-width: 840px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hbp-about-hero__title {
    font-family: var(--hbp-font-heading);
    font-weight: 700;
    font-size: clamp(2rem, 4.5vw, 3rem);
    color: #fff;
    margin: var(--hbp-space-2) 0 var(--hbp-space-4);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hbp-about-hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.1875rem);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: var(--hbp-space-6);
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.hbp-about-hero__actions {
    display: flex;
    gap: var(--hbp-space-3);
    justify-content: center;
    flex-wrap: wrap;
}

/* ----------------------------------------
   Section Base
   ---------------------------------------- */
.hbp-about-section {
    padding: 80px 0;
    border-bottom: 1px solid var(--hbp-border);
}

.hbp-about-section--alt {
    background: var(--hbp-bg-alt);
}

.hbp-about-section__title {
    font-family: var(--hbp-font-heading);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--hbp-primary);
    margin: var(--hbp-space-2) 0 var(--hbp-space-4);
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.hbp-about-section__title--center {
    text-align: center;
}

.hbp-about-section__header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--hbp-space-8);
}

.hbp-about-section__text {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--hbp-text-light);
    margin-bottom: var(--hbp-space-4);
}

.hbp-about-section__text:last-child {
    margin-bottom: 0;
}

/* ----------------------------------------
   Our Mission
   ---------------------------------------- */
.hbp-about-mission__inner {
    display: flex;
    flex-direction: column;
    gap: var(--hbp-space-6);
    align-items: center;
}

.hbp-about-mission__content {
    flex: 1;
}

.hbp-about-mission__graphic {
    flex-shrink: 0;
    width: 100%;
    max-width: 440px;
    aspect-ratio: 1.6 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ----------------------------------------
   Meet The Founder
   ---------------------------------------- */
.hbp-about-founder__inner {
    display: flex;
    flex-direction: column;
    gap: var(--hbp-space-6);
    align-items: center;
}

.hbp-about-founder__visual {
    flex-shrink: 0;
    width: 100%;
    max-width: 320px;
}

.hbp-about-founder__card {
    background: var(--hbp-bg);
    border: 1px solid var(--hbp-border);
    border-radius: 20px;
    padding: var(--hbp-space-5);
    box-shadow: var(--hbp-shadow-lg);
    text-align: center;
}

.hbp-about-founder__image-wrap {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    margin-bottom: var(--hbp-space-4);
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.hbp-about-founder__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hbp-about-founder__badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--hbp-bg-alt);
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid var(--hbp-border);
    margin-bottom: var(--hbp-space-4);
}

.hbp-about-founder__badge-role {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--hbp-text-light);
}

.hbp-linkedin-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #0077B5;
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--hbp-radius-full);
    text-decoration: none;
    transition: transform var(--hbp-transition-base), box-shadow var(--hbp-transition-base);
    box-shadow: 0 4px 12px rgba(0, 119, 181, 0.2);
}

.hbp-linkedin-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 119, 181, 0.3);
    color: #fff;
    text-decoration: none;
}

.hbp-about-founder__content {
    flex: 1;
    width: 100%;
}

.hbp-about-founder__role {
    font-family: var(--hbp-font-heading);
    font-size: 1.25rem;
    color: var(--hbp-secondary);
    font-weight: 600;
    margin: 0 0 var(--hbp-space-4);
}

.hbp-about-founder__skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: var(--hbp-space-4) 0;
}

.hbp-skill-tag {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--hbp-secondary);
    background: rgba(37, 99, 235, 0.05);
    padding: 6px 12px;
    border-radius: 50px;
    border: 1px solid rgba(37, 99, 235, 0.08);
    transition: all var(--hbp-transition-fast);
}

.hbp-skill-tag:hover {
    background: var(--hbp-secondary);
    color: #fff;
    border-color: var(--hbp-secondary);
}

/* ----------------------------------------
   My Journey (Timeline)
   ---------------------------------------- */
.hbp-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: var(--hbp-space-4) 0;
}

.hbp-timeline__line {
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--hbp-border);
}

.hbp-timeline__item {
    position: relative;
    padding-left: 56px;
    margin-bottom: var(--hbp-space-6);
}

.hbp-timeline__item:last-child {
    margin-bottom: 0;
}

.hbp-timeline__marker {
    position: absolute;
    left: 14px;
    top: 6px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--hbp-secondary);
    border: 3px solid var(--hbp-bg);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    z-index: 2;
    transition: transform 0.3s ease;
}

.hbp-timeline__item:hover .hbp-timeline__marker {
    transform: scale(1.3);
    background: var(--hbp-accent);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.hbp-timeline__year {
    font-family: var(--hbp-font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--hbp-primary);
    margin-bottom: 4px;
    line-height: 1.1;
}

.hbp-timeline__content {
    background: var(--hbp-bg);
    border: 1px solid var(--hbp-border);
    border-radius: 12px;
    padding: var(--hbp-space-4);
    box-shadow: var(--hbp-shadow-sm);
    transition: transform var(--hbp-transition-base), box-shadow var(--hbp-transition-base);
}

.hbp-timeline__content:hover {
    transform: translateY(-2px);
    box-shadow: var(--hbp-shadow-md);
    border-color: rgba(37, 99, 235, 0.1);
}

.hbp-timeline__content p {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--hbp-text-light);
}

/* ----------------------------------------
   Review Methodology
   ---------------------------------------- */
.hbp-about-methodology__inner {
    display: flex;
    flex-direction: column;
    gap: var(--hbp-space-6);
}

.hbp-about-methodology__content {
    flex: 1;
}

.hbp-about-methodology__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--hbp-space-3);
    flex: 1;
}

.hbp-methodology-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--hbp-bg);
    border: 1px solid var(--hbp-border);
    border-radius: 12px;
    padding: var(--hbp-space-4);
    box-shadow: var(--hbp-shadow-sm);
}

.hbp-methodology-card__check {
    font-weight: 700;
    color: var(--hbp-accent);
    font-size: 1.125rem;
}

.hbp-methodology-card__text {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--hbp-text);
}

/* ----------------------------------------
   Why Trust HostBillingPro
   ---------------------------------------- */
.hbp-about-trust-card {
    padding: var(--hbp-space-5);
    text-align: center;
    transition: transform var(--hbp-transition-base), box-shadow var(--hbp-transition-base);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.hbp-about-trust-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--hbp-shadow-lg);
    border-color: rgba(37, 99, 235, 0.15);
}

.hbp-about-trust-card__num {
    display: block;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--hbp-secondary);
    font-family: var(--hbp-font-heading);
    margin-bottom: var(--hbp-space-2);
}

.hbp-about-trust-card__icon {
    display: block;
    font-size: 2.25rem;
    margin-bottom: var(--hbp-space-2);
}

.hbp-about-trust-card__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--hbp-primary);
    margin-bottom: 8px;
}

.hbp-about-trust-card__text {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--hbp-text-light);
    margin: 0;
}

/* ----------------------------------------
   Affiliate Disclosure
   ---------------------------------------- */
.hbp-about-disclosure__inner {
    display: flex;
    flex-direction: column;
    gap: var(--hbp-space-6);
    align-items: center;
}

.hbp-about-disclosure__content {
    flex: 1.2;
}

.hbp-about-disclosure__card {
    flex: 0.8;
    background: rgba(37, 99, 235, 0.03);
    border-left: 4px solid var(--hbp-secondary);
    border-radius: 0 12px 12px 0;
    padding: var(--hbp-space-5);
    box-shadow: var(--hbp-shadow-sm);
}

.hbp-about-disclosure__card-icon {
    font-size: 1.75rem;
    margin-bottom: var(--hbp-space-2);
}

.hbp-about-disclosure__card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--hbp-primary);
    margin-bottom: 8px;
}

.hbp-about-disclosure__card-text {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--hbp-text-light);
    margin: 0;
}

/* ----------------------------------------
   Categories
   ---------------------------------------- */
.hbp-about-cat-card {
    padding: var(--hbp-space-5);
    text-align: center;
    text-decoration: none;
    transition: transform var(--hbp-transition-base), box-shadow var(--hbp-transition-base);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.hbp-about-cat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--hbp-shadow-lg);
    border-color: rgba(37, 99, 235, 0.2);
    text-decoration: none;
}

.hbp-about-cat-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--hbp-space-3);
    font-size: 1.5rem;
}

.hbp-about-cat-card__icon--blue {
    background: rgba(37, 99, 235, 0.08);
}

.hbp-about-cat-card__icon--purple {
    background: rgba(139, 92, 246, 0.08);
}

.hbp-about-cat-card__icon--green {
    background: rgba(16, 185, 129, 0.08);
}

.hbp-about-cat-card__icon--amber {
    background: rgba(245, 158, 11, 0.08);
}

.hbp-about-cat-card__title {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--hbp-primary);
    margin-bottom: 8px;
    transition: color var(--hbp-transition-fast);
}

.hbp-about-cat-card:hover .hbp-about-cat-card__title {
    color: var(--hbp-secondary);
}

.hbp-about-cat-card__text {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--hbp-text-light);
    margin: 0;
}

/* ----------------------------------------
   Final CTA
   ---------------------------------------- */
.hbp-about-cta {
    position: relative;
    background: linear-gradient(160deg, var(--hbp-primary) 0%, var(--hbp-bg-dark) 100%);
    padding: 96px 0;
    overflow: hidden;
    text-align: center;
}

.hbp-about-cta__pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.6;
}

.hbp-about-cta__inner {
    max-width: 680px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hbp-about-cta__title {
    font-family: var(--hbp-font-heading);
    font-weight: 700;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    color: #fff;
    margin: 0 0 var(--hbp-space-2);
    line-height: 1.2;
}

.hbp-about-cta__subtitle {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--hbp-space-5);
    line-height: 1.6;
}

.hbp-about-cta__actions {
    display: flex;
    gap: var(--hbp-space-3);
    justify-content: center;
    flex-wrap: wrap;
}

/* ----------------------------------------
   Responsive Media Queries
   ---------------------------------------- */
@media (min-width: 768px) {
    .hbp-about-methodology__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .hbp-timeline__line {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .hbp-timeline__item {
        padding-left: 0;
        width: 50%;
        margin-bottom: var(--hbp-space-4);
    }
    
    .hbp-timeline__item:nth-child(even) {
        margin-left: 50%;
        padding-left: 36px;
    }
    
    .hbp-timeline__item:nth-child(odd) {
        text-align: right;
        padding-right: 36px;
    }
    
    .hbp-timeline__marker {
        left: 50%;
        transform: translateX(-50%);
        top: 6px;
    }
    
    .hbp-timeline__item:hover .hbp-timeline__marker {
        transform: translateX(-50%) scale(1.3);
    }
    
    .hbp-timeline__year {
        font-size: 1.35rem;
    }
}

@media (min-width: 1024px) {
    .hbp-about-mission__inner {
        flex-direction: row;
        gap: var(--hbp-space-8);
        align-items: center;
    }
    
    .hbp-about-founder__inner {
        flex-direction: row;
        gap: var(--hbp-space-8);
        align-items: flex-start;
    }
    
    .hbp-about-founder__visual {
        max-width: 280px;
    }
    
    .hbp-about-methodology__inner {
        flex-direction: row;
        gap: var(--hbp-space-8);
        align-items: center;
    }
    
    .hbp-about-methodology__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hbp-about-disclosure__inner {
        flex-direction: row;
        gap: var(--hbp-space-8);
        align-items: center;
    }
}
