/* About page — page-specific styles */

/* ==========================================================================
   Gradient icon badges + reveal utility — brand green/teal accent since
   this page represents eSignClub as a whole rather than one signing method.
   ========================================================================== */
.about-icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--nf-green-500), #0d9488);
    box-shadow: 0 6px 16px rgba(13, 148, 136, 0.22);
    flex-shrink: 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-icon-badge svg { display: block; color: #fff; }

.about-icon-badge:hover {
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 10px 26px rgba(13, 148, 136, 0.32);
}

.about-eyebrow-icon {
    position: relative;
    width: 20px;
    height: 20px;
}

.about-eyebrow-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1.5px solid var(--nf-green-500);
    opacity: 0.6;
    animation: aboutPulseRing 2.4s ease-out infinite;
}

@keyframes aboutPulseRing {
    0% { transform: scale(0.75); opacity: 0.55; }
    100% { transform: scale(1.7); opacity: 0; }
}

.about-reveal {
    opacity: 0;
    transform: translateY(18px) scale(0.94);
    transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-reveal.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.about-section-head {
    max-width: 640px;
    margin: 0 auto 44px;
    text-align: center;
}

.about-section-head .nf-eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.about-section-head .nf-title { margin-top: 4px; }

/* ==========================================================================
   Hero — decorative glow + orbiting trust visual
   ========================================================================== */
.about-hero { padding-bottom: 76px; }

.about-hero-glow {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at 8% 20%, rgba(34, 165, 94, 0.22), transparent 55%),
        radial-gradient(circle at 92% 80%, rgba(13, 148, 136, 0.22), transparent 55%);
    pointer-events: none;
}

.about-hero .nf-hero__inner { position: relative; z-index: 1; }
.about-hero .nf-eyebrow--light { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; }

.about-hero__art { width: 300px; }

.about-orbit {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-orbit__ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px dashed rgba(255, 255, 255, 0.16);
}

.about-orbit__ring--1 {
    inset: 0;
    animation: aboutOrbitSpin 34s linear infinite;
}

.about-orbit__ring--2 {
    inset: 34px;
    border-color: rgba(255, 255, 255, 0.22);
    animation: aboutOrbitSpin 24s linear infinite reverse;
}

@keyframes aboutOrbitSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.about-orbit__core {
    position: relative;
    z-index: 2;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--nf-green-500), #0d9488);
    box-shadow: 0 0 0 8px rgba(34, 165, 94, 0.14), 0 16px 40px rgba(13, 148, 136, 0.4);
    animation: aboutCoreGlow 2.8s ease-in-out infinite;
}

.about-orbit__core svg { width: 32px; height: 32px; }

@keyframes aboutCoreGlow {
    0%, 100% { box-shadow: 0 0 0 8px rgba(34, 165, 94, 0.14), 0 16px 40px rgba(13, 148, 136, 0.4); }
    50% { box-shadow: 0 0 0 14px rgba(34, 165, 94, 0.08), 0 16px 40px rgba(13, 148, 136, 0.4); }
}

.about-orbit__pill {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #fff;
    border-radius: var(--nf-radius-pill);
    box-shadow: var(--nf-shadow-lg);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--nf-navy-900);
    white-space: nowrap;
}

.about-orbit__pill--1 { top: 6px; left: -6px; animation: aboutPillFloat 4s ease-in-out infinite; }
.about-orbit__pill--2 { top: 40px; right: -30px; animation: aboutPillFloat 4s 1s ease-in-out infinite; }
.about-orbit__pill--3 { bottom: 46px; left: -34px; animation: aboutPillFloat 4s 2s ease-in-out infinite; }
.about-orbit__pill--4 { bottom: 6px; right: -4px; animation: aboutPillFloat 4s 3s ease-in-out infinite; }

@keyframes aboutPillFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@media (max-width: 991px) {
    .about-hero__art { width: 260px; }
    .about-orbit { width: 260px; height: 260px; }
    .about-orbit__pill--1 { left: 10px; }
    .about-orbit__pill--2 { right: 4px; }
    .about-orbit__pill--3 { left: 4px; }
    .about-orbit__pill--4 { right: 10px; }
}

@media (max-width: 575px) {
    .about-hero__art { width: 220px; }
    .about-orbit { width: 220px; height: 220px; }
    .about-orbit__pill { font-size: 11px; padding: 6px 10px; }
}

/* ==========================================================================
   "Who We Are" — mission text + premium stat cards
   ========================================================================== */
.about-who { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-who__text .nf-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.about-who__text h2 { font-size: 28px; color: var(--nf-navy-900); margin-bottom: 18px; }
.about-who__text p { font-size: 15px; color: var(--nf-text-muted); margin-bottom: 16px; }

.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.about-stats__item {
    text-align: center;
    padding: 28px 16px;
    background: #fff;
    border: 1px solid var(--nf-border);
    border-radius: var(--nf-radius-md);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.about-stats__item:hover { box-shadow: var(--nf-shadow-md); transform: translateY(-3px); }

.about-stats__icon { width: 48px; height: 48px; margin: 0 auto 12px; }
.about-stats__icon svg { width: 22px; height: 22px; }
.about-stats__num { font-size: 24px; font-weight: 800; color: var(--nf-navy-900); }
.about-stats__label { font-size: 12px; color: var(--nf-text-muted); margin-top: 4px; }

.about-stats__item.about-reveal:nth-child(1) { transition-delay: 0s; }
.about-stats__item.about-reveal:nth-child(2) { transition-delay: 0.08s; }
.about-stats__item.about-reveal:nth-child(3) { transition-delay: 0.16s; }
.about-stats__item.about-reveal:nth-child(4) { transition-delay: 0.24s; }

/* ==========================================================================
   "Our Journey" — horizontal timeline (desktop) / vertical (mobile)
   ========================================================================== */
.about-journey-section { overflow: hidden; }

.about-journey {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.about-journey__line {
    position: absolute;
    top: 27px;
    left: 5%;
    right: 5%;
    height: 2px;
    background: repeating-linear-gradient(to right, var(--nf-border) 0 8px, transparent 8px 16px);
    z-index: 0;
}

.about-journey__item {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.about-journey__item.about-reveal:nth-child(2) { transition-delay: 0s; }
.about-journey__item.about-reveal:nth-child(3) { transition-delay: 0.1s; }
.about-journey__item.about-reveal:nth-child(4) { transition-delay: 0.2s; }
.about-journey__item.about-reveal:nth-child(5) { transition-delay: 0.3s; }
.about-journey__item.about-reveal:nth-child(6) { transition-delay: 0.4s; }

.about-journey__dot {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--nf-border);
    color: var(--nf-green-600);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.about-journey__dot svg { width: 22px; height: 22px; }

.about-journey__item:hover .about-journey__dot {
    background: linear-gradient(135deg, var(--nf-green-500), #0d9488);
    border-color: transparent;
    color: #fff;
    transform: scale(1.08);
}

.about-journey__card {
    background: #fff;
    border: 1px solid var(--nf-border);
    border-radius: var(--nf-radius-md);
    padding: 18px 16px;
    max-width: 210px;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.about-journey__item:hover .about-journey__card { box-shadow: var(--nf-shadow-md); transform: translateY(-3px); }

.about-journey__card h4 { font-size: 14.5px; color: var(--nf-navy-900); margin-bottom: 6px; }
.about-journey__card p { font-size: 12.5px; line-height: 1.6; color: var(--nf-text-muted); }

@media (max-width: 991px) {
    .about-journey { flex-direction: column; align-items: stretch; gap: 0; }
    .about-journey__line { top: 0; bottom: 0; left: 27px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(to bottom, var(--nf-border) 0 8px, transparent 8px 16px); }
    .about-journey__item { flex-direction: row; text-align: left; align-items: flex-start; gap: 20px; padding: 0 0 28px; }
    .about-journey__item:last-child { padding-bottom: 0; }
    .about-journey__dot { flex-shrink: 0; margin-bottom: 0; }
    .about-journey__card { max-width: none; }
}

/* ==========================================================================
   "Our Values" — bento-style asymmetric grid
   ========================================================================== */
.about-values {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 1fr;
    gap: 20px;
}

.about-value-card {
    background: #fff;
    border: 1px solid var(--nf-border);
    border-radius: var(--nf-radius-md);
    padding: 24px 20px;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.about-value-card:hover { box-shadow: var(--nf-shadow-md); transform: translateY(-3px); }

.about-value-card--featured {
    grid-column: span 2;
    grid-row: span 2;
    background: linear-gradient(150deg, var(--nf-navy-900), var(--nf-teal-700));
    color: #fff;
    display: flex;
    align-items: stretch;
    padding: 0;
    overflow: hidden;
}

.about-value-card--featured__text {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px 24px 32px 28px;
}

.about-value-card.about-value-card--featured h4 { font-size: 20px; color: #fff; margin-bottom: 10px; }
.about-value-card.about-value-card--featured p { font-size: 14px; line-height: 1.7; color: rgba(255, 255, 255, 0.78); }
.about-value-card--featured .about-value-card__icon { width: 56px; height: 56px; margin-bottom: 18px; }
.about-value-card--featured .about-value-card__icon svg { width: 26px; height: 26px; }

.about-value-card--featured__visual {
    flex: 0 0 42%;
    position: relative;
}

.about-value-card--featured__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

@media (max-width: 1199px) {
    .about-value-card--featured__visual { flex-basis: 36%; }
}

@media (max-width: 767px) {
    .about-value-card--featured { flex-direction: column; }
    .about-value-card--featured__visual { flex-basis: auto; height: 200px; }
    .about-value-card--featured__text { padding: 26px 24px 22px; }
}

.about-value-card__icon { width: 48px; height: 48px; margin-bottom: 14px; }
.about-value-card__icon svg { width: 22px; height: 22px; }
.about-value-card h4 { font-size: 15px; color: var(--nf-navy-900); margin-bottom: 8px; }
.about-value-card p { font-size: 12.5px; line-height: 1.6; color: var(--nf-text-muted); }

.about-value-card.about-reveal:nth-child(1) { transition-delay: 0s; }
.about-value-card.about-reveal:nth-child(2) { transition-delay: 0.08s; }
.about-value-card.about-reveal:nth-child(3) { transition-delay: 0.16s; }
.about-value-card.about-reveal:nth-child(4) { transition-delay: 0.24s; }
.about-value-card.about-reveal:nth-child(5) { transition-delay: 0.32s; }

@media (max-width: 991px) {
    .about-values { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
    .about-value-card--featured { grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 575px) {
    .about-values { grid-template-columns: 1fr; }
    .about-value-card--featured { grid-column: span 1; }
}

/* ==========================================================================
   "What Makes Us Different" — alternating icon/text rows
   ========================================================================== */
.about-diff { display: flex; flex-direction: column; gap: 16px; }

.about-diff__row {
    display: flex;
    align-items: center;
    gap: 24px;
    background: #fff;
    border: 1px solid var(--nf-border);
    border-radius: var(--nf-radius-md);
    padding: 24px 28px;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.about-diff__row:hover { box-shadow: var(--nf-shadow-md); transform: translateY(-2px); }
.about-diff__row--rev { flex-direction: row-reverse; text-align: right; }
.about-diff__row--rev > div { display: flex; flex-direction: column; align-items: flex-end; }

.about-diff__icon { width: 56px; height: 56px; }
.about-diff__icon svg { width: 26px; height: 26px; }

.about-diff__row h4 { font-size: 16px; color: var(--nf-navy-900); margin-bottom: 6px; }
.about-diff__row p { font-size: 13.5px; line-height: 1.6; color: var(--nf-text-muted); max-width: 560px; }

.about-diff__row.about-reveal:nth-child(1) { transition-delay: 0s; }
.about-diff__row.about-reveal:nth-child(2) { transition-delay: 0.08s; }
.about-diff__row.about-reveal:nth-child(3) { transition-delay: 0.16s; }
.about-diff__row.about-reveal:nth-child(4) { transition-delay: 0.24s; }

@media (max-width: 575px) {
    .about-diff__row, .about-diff__row--rev {
        flex-direction: column;
        text-align: center;
    }
    .about-diff__row--rev > div { align-items: center; }
}

/* ==========================================================================
   Responsive — base layout collapses
   ========================================================================== */
@media (max-width: 991px) {
  .about-who { grid-template-columns: 1fr; }
}

@media (max-width: 575px) {
  .about-stats { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .about-eyebrow-icon::after,
    .about-orbit__ring--1,
    .about-orbit__ring--2,
    .about-orbit__core,
    .about-orbit__pill--1,
    .about-orbit__pill--2,
    .about-orbit__pill--3,
    .about-orbit__pill--4 {
        animation: none;
    }
}
