/* =====================================================
   TranslateXYZ — About Page (/about/)
   Contains: SHARE+AI BAR + about hero/story/mission/cp-family/founders-preview
   ===================================================== */

/* ===========================================
   SHARE + AI BAR
   Layout: share group on left · AI group pushed right via margin-left:auto
   =========================================== */
.share-ai {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-5);
    align-items: center;
    justify-content: space-between;
    padding: var(--sp-4) var(--sp-5);
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-sm);
}
.share-ai__group {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    flex-wrap: wrap;
}
.share-ai__group--ai { margin-left: auto; }
.share-ai__label {
    font-size: 11px;
    font-weight: var(--fw-bold);
    color: var(--text-on-light-muted);
    text-transform: uppercase;
    letter-spacing: var(--ls-wider);
}
.share-ai__buttons {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

/* Default pill-style button (used by AI buttons) */
.share-ai__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: var(--r-md);
    border: 1px solid var(--border-light);
    background: var(--bg-light);
    color: var(--text-on-light);
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    text-decoration: none;
    cursor: pointer;
    transition: all var(--t-fast);
}
.share-ai__btn svg { width: 14px; height: 14px; flex-shrink: 0; }
.share-ai__btn:hover {
    border-color: var(--green-500);
    color: var(--green-700);
    background: var(--green-50);
    transform: translateY(-1px);
}

/* Icon-only circular buttons (share group) */
.share-ai__btn--icon {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
}
.share-ai__btn--icon svg { width: 14px; height: 14px; }
.share-ai__btn--copy.is-copied {
    background: var(--green-500);
    border-color: var(--green-500);
    color: #fff;
}

/* AI button — slightly larger icons + colored hover per provider */
.share-ai__btn--ai { padding: 7px 14px 7px 10px; }
.share-ai__ai-icon { width: 16px !important; height: 16px !important; }

/* Per-brand accent on hover (subtle) */
.share-ai__btn--x:hover         { border-color: #000; color: #000; background: var(--bg-light-subtle); }
.share-ai__btn--linkedin:hover  { border-color: #0A66C2; color: #0A66C2; background: rgba(10,102,194,0.06); }
.share-ai__btn--facebook:hover  { border-color: #1877F2; color: #1877F2; background: rgba(24,119,242,0.06); }

/* ===========================================
   ABOUT — HERO (dark gradient)
   =========================================== */
.about-hero {
    background:
        radial-gradient(900px 500px at 85% -10%, rgba(48,178,48,0.20), transparent 60%),
        radial-gradient(700px 400px at 5% 110%, rgba(48,178,48,0.10), transparent 65%),
        linear-gradient(160deg, #0A1A0A 0%, #051005 100%);
    color: var(--text-on-dark);
    padding: var(--sp-9) 0 var(--sp-11);
    position: relative;
    overflow: hidden;
}
.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(48,178,48,0.06) 1px, transparent 1.5px);
    background-size: 36px 36px;
    pointer-events: none;
    opacity: 0.5;
    mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
}
.about-hero__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--sp-9);
    align-items: center;
    position: relative;
    z-index: 1;
}
.about-hero__content { max-width: 620px; }
.about-hero h1 {
    font-size: clamp(36px, 4.4vw, 56px);
    font-weight: var(--fw-extra);
    color: var(--text-on-dark-strong);
    letter-spacing: -0.025em;
    line-height: 1.05;
    margin: var(--sp-3) 0 var(--sp-4);
}
.about-hero__lead {
    font-size: var(--fs-md);
    color: var(--text-on-dark-muted);
    line-height: var(--lh-relaxed);
    margin-bottom: 0;
}
.about-hero__visual {
    position: relative;
    perspective: 1000px;
}
.about-hero__visual-inner {
    position: relative;
    display: inline-block;
    width: 100%;
}
.about-hero__img {
    width: 100%;
    border-radius: var(--r-xl);
    box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.06);
    display: block;
    position: relative;
    z-index: 1;
}

/* Floating tags — drift on cursor movement via JS-driven CSS variables */
.about-hero__tag {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: rgba(10,26,10,0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(48,178,48,0.4);
    border-radius: var(--r-pill);
    font-size: 12px;
    font-weight: var(--fw-bold);
    color: #fff;
    letter-spacing: -0.01em;
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
    transform: translate3d(var(--tag-x, 0px), var(--tag-y, 0px), 0);
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform;
    pointer-events: none;
}
.about-hero__tag svg { flex-shrink: 0; }
.about-hero__tag--green { color: var(--green-300); border-color: rgba(48,178,48,0.5); }
.about-hero__tag--cyan  { color: var(--cyan-300);  border-color: rgba(1,181,236,0.5); }
.about-hero__tag--amber { color: var(--amber-300); border-color: rgba(233,197,19,0.5); }

@media (prefers-reduced-motion: reduce) {
    .about-hero__tag { transition: none; transform: none; }
}

/* Share/AI bar overlap onto hero */
.about-share-wrap {
    margin-top: calc(-1 * var(--sp-7));
    margin-bottom: var(--sp-4);
    position: relative;
    z-index: 2;
}

/* ===========================================
   STORY (MISSION) SECTION — text left, 2x2 stat grid right
   =========================================== */
.about-story {
    display: grid;
    grid-template-columns: 1.4fr 1fr;   /* wider reading column + narrower stats column */
    gap: var(--sp-9);
    align-items: start;   /* let the right column stick instead of vertically centering */
}
/* Right column stays in view while user reads the long left column */
.about-story > .stats-block {
    position: sticky;
    top: calc(var(--header-h-shrunk, 64px) + var(--sp-5));
}
.about-story__text h2 {
    font-size: var(--fs-3xl);
    font-weight: var(--fw-extra);
    letter-spacing: var(--ls-tighter);
    line-height: 1.15;
    margin-bottom: var(--sp-5);
}
.about-story__text p {
    font-size: var(--fs-md);
    color: var(--text-on-light);
    line-height: var(--lh-relaxed);
    margin-bottom: var(--sp-4);
}
.about-story__text p:last-child { margin-bottom: 0; }

/* Wrapper around either stat grid — gives it a title block */
.stats-block { width: 100%; }
.stats-block__head { margin-bottom: var(--sp-4); }
.stats-block__eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: var(--fw-bold);
    color: var(--green-700);
    text-transform: uppercase;
    letter-spacing: var(--ls-wider);
    margin-bottom: 6px;
}
.stats-block__title {
    font-size: var(--fs-xl);
    font-weight: var(--fw-extra);
    color: var(--text-on-light-strong);
    letter-spacing: -0.015em;
    line-height: 1.25;
    margin: 0;
}

.about-story__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-3);
}

/* ===========================================
   REUSABLE STAT CARD (used in mission + cool plugins sections)
   =========================================== */
.stat-card {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--r-lg);
    padding: var(--sp-5);
    transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
    position: relative;
}
.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--sh-md);
    border-color: var(--green-300);
}
.stat-card__icon {
    width: 44px; height: 44px;
    background: var(--green-100);
    color: var(--green-700);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--r-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--sp-4);
    box-shadow: inset 0 -1px 0 rgba(0,0,0,0.04);
}
.stat-card__icon svg { width: 22px; height: 22px; }
.stat-card__value {
    font-size: clamp(24px, 2.6vw, 32px);
    font-weight: var(--fw-extra);
    color: var(--neutral-900);
    line-height: 1;
    letter-spacing: -0.035em;
    margin-bottom: 4px;
}
.stat-card__label {
    font-size: var(--fs-sm);
    color: var(--text-on-light-muted);
    font-weight: var(--fw-medium);
    line-height: 1.4;
}

/* Color variants — stronger icon backgrounds + visible card borders */
.stat-card--cyan  .stat-card__icon  { background: var(--cyan-100);    color: var(--cyan-700);    border-color: rgba(1,181,236,0.25); }
.stat-card--amber .stat-card__icon  { background: var(--amber-100);   color: var(--amber-700);   border-color: rgba(233,197,19,0.30); }
.stat-card--green .stat-card__icon  { background: var(--green-100);   color: var(--green-700);   border-color: rgba(48,178,48,0.25); }
.stat-card--neutral .stat-card__icon { background: var(--neutral-200); color: var(--neutral-700); border-color: var(--neutral-300); }

/* Subtle accent tint on card itself — a faint top-down gradient + stronger frame */
.stat-card--cyan    { background: linear-gradient(180deg, rgba(220,246,254,0.45), var(--bg-light) 70%); border-color: rgba(1,181,236,0.25); }
.stat-card--amber   { background: linear-gradient(180deg, rgba(255,244,210,0.45), var(--bg-light) 70%); border-color: rgba(233,197,19,0.30); }
.stat-card--green   { background: linear-gradient(180deg, rgba(220,251,220,0.45), var(--bg-light) 70%); border-color: rgba(48,178,48,0.22); }
.stat-card--neutral { background: linear-gradient(180deg, var(--bg-light-subtle),  var(--bg-light) 70%); border-color: var(--neutral-300); }

/* ===========================================
   COOL PLUGINS FAMILY — text left, stats + B&W press grid right
   =========================================== */
.about-cp {
    display: grid;
    grid-template-columns: 1.4fr 1fr;   /* match mission section ratio for visual consistency */
    gap: var(--sp-9);
    align-items: start;
}
.about-cp__text h2 {
    font-size: var(--fs-3xl);
    font-weight: var(--fw-extra);
    letter-spacing: var(--ls-tighter);
    margin-bottom: var(--sp-4);
    line-height: 1.15;
}
.about-cp__text p {
    font-size: var(--fs-md);
    color: var(--text-on-light);
    line-height: var(--lh-relaxed);
    margin-bottom: var(--sp-5);
}

/* Right side — stacks: stat grid then press grid */
.about-cp__side {
    display: flex;
    flex-direction: column;
    gap: var(--sp-6);
}

/* Cool Plugins stats — 2-col grid with one wide card */
.about-cp__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-3);
}
.about-cp__stats-wide { grid-column: 1 / -1; }

/* Press / brand mentions block */
.about-cp__press {
    background: var(--bg-light-subtle);
    border: 1px solid var(--border-light);
    border-radius: var(--r-lg);
    padding: var(--sp-5);
}
.about-cp__press-label {
    font-size: 11px;
    font-weight: var(--fw-bold);
    color: var(--text-on-light-muted);
    text-transform: uppercase;
    letter-spacing: var(--ls-wider);
    margin-bottom: var(--sp-4);
    text-align: center;
}
.about-cp__brands-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-3) var(--sp-4);
    align-items: center;
}
.about-cp__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    opacity: 0.5;
    filter: grayscale(100%) brightness(0.6) contrast(1.2);
    transition: opacity var(--t-base), filter var(--t-base);
    border: 1px solid var(--border-light);
    border-radius: var(--r-sm);
    padding: var(--sp-3);
}
.about-cp__brand:hover {
    opacity: 1;
    filter: grayscale(0%) brightness(1) contrast(1);
}
.about-cp__brand img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

/* Make CP right column sticky so it stays in view as the left content scrolls */
.about-cp__side {
    position: sticky;
    top: calc(var(--header-h-shrunk, 64px) + var(--sp-5));
}

/* ===========================================
   MISSION GRID — Problem vs Solution cards
   =========================================== */
.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-4);
    margin: var(--sp-6) 0;
}
.mission-card {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--r-lg);
    padding: var(--sp-5);
    box-shadow: var(--sh-sm);
}
.mission-card h3 {
    font-size: var(--fs-md);
    font-weight: var(--fw-extra);
    letter-spacing: -0.01em;
    margin: 0 0 var(--sp-4);
    display: flex;
    align-items: center;
    gap: 8px;
}
.mission-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
}
.mission-card ul li {
    position: relative;
    padding-left: 28px;
    font-size: 14px;
    color: var(--text-on-light);
    line-height: 1.5;
}
.mission-card ul li::before {
    position: absolute;
    left: 0;
    top: 1px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: var(--fw-bold);
    line-height: 1;
}

/* Problem card — soft red */
.problem-card {
    background: linear-gradient(180deg, rgba(254,226,226,0.40), var(--bg-light) 70%);
    border-color: rgba(220,38,38,0.20);
}
.problem-card h3 { color: #B91C1C; }
.problem-card h3::before {
    content: '✕';
    display: inline-flex;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: #FEE2E2;
    color: #B91C1C;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}
.problem-card ul li::before {
    content: '✕';
    background: #FEE2E2;
    color: #B91C1C;
    border: 1px solid rgba(220,38,38,0.18);
}

/* Solution card — soft green */
.solution-card {
    background: linear-gradient(180deg, rgba(220,251,220,0.40), var(--bg-light) 70%);
    border-color: rgba(48,178,48,0.22);
}
.solution-card h3 { color: var(--green-700); }
.solution-card h3::before {
    content: '✓';
    display: inline-flex;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--green-100);
    color: var(--green-700);
    align-items: center;
    justify-content: center;
    font-size: 13px;
}
.solution-card ul li::before {
    content: '✓';
    background: var(--green-100);
    color: var(--green-700);
    border: 1px solid rgba(48,178,48,0.18);
}

/* ===========================================
   COOL PLUGINS — pretty bullet list for the
   "Other Popular Products" block (and any
   plain <ul> inside the left text column)
   =========================================== */
.about-cp__text ul {
    list-style: none;
    padding: 0;
    margin: var(--sp-3) 0 var(--sp-5);
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
}
.about-cp__text ul li {
    position: relative;
    padding-left: 28px;
    font-size: var(--fs-base);
    color: var(--text-on-light);
    line-height: 1.5;
}
.about-cp__text ul li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green-500);
    box-shadow: 0 0 0 4px rgba(48,178,48,0.12);
}
.about-cp__text ul li a {
    color: var(--green-700);
    text-decoration: none;
    font-weight: var(--fw-semibold);
}
.about-cp__text ul li a:hover {
    color: var(--green-600);
    text-decoration: underline;
}

/* ===========================================
   FOUNDERS PREVIEW (on About page)
   =========================================== */
.about-founders {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-6);
}
.founder-card {
    display: block;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--r-xl);
    padding: var(--sp-7);
    text-decoration: none;
    color: inherit;
    transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.founder-card:hover {
    transform: translateY(-4px);
    border-color: var(--green-300);
    box-shadow: 0 16px 40px rgba(15,30,15,0.1);
}
.founder-card__head {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    margin-bottom: var(--sp-5);
}
.founder-card__photo {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid var(--green-100);
}
.founder-card__name {
    font-size: var(--fs-xl);
    font-weight: var(--fw-extra);
    color: var(--text-on-light-strong);
    letter-spacing: -0.015em;
    margin-bottom: 4px;
}
.founder-card__role {
    font-size: var(--fs-sm);
    color: var(--green-700);
    font-weight: var(--fw-semibold);
}
.founder-card__bio {
    font-size: var(--fs-sm);
    color: var(--text-on-light);
    line-height: var(--lh-relaxed);
    margin-bottom: var(--sp-4);
}
.founder-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--fs-sm);
    font-weight: var(--fw-bold);
    color: var(--green-700);
}
.founder-card:hover .founder-card__cta { color: var(--green-600); }
.founder-card__cta svg {
    width: 14px; height: 14px;
    transition: transform var(--t-fast);
}
.founder-card:hover .founder-card__cta svg { transform: translateX(3px); }


/* ===========================================
   RESPONSIVE — /about/
   =========================================== */
@media (max-width: 1024px) {
    .about-hero__grid,
    .about-story,
    .about-cp { grid-template-columns: 1fr; gap: var(--sp-7); }
    .about-founders { grid-template-columns: 1fr; }
    .about-hero__tag { font-size: 11px; padding: 6px 12px; }
    .about-cp__brands-grid { grid-template-columns: repeat(4, 1fr); }

    /* Disable sticky right column when stacked */
    .about-story > .stats-block,
    .about-cp__side { position: static; top: auto; }
}

@media (max-width: 768px) {
    .about-hero { padding: var(--sp-8) 0 var(--sp-9); }
    .share-ai { flex-direction: column; align-items: stretch; gap: var(--sp-4); padding: var(--sp-4); }
    .share-ai__group { justify-content: flex-start; }
    .share-ai__group--ai { margin-left: 0; }
    .about-cp__brands-grid { grid-template-columns: repeat(3, 1fr); }
    .about-hero__tag { display: none; }
}

@media (max-width: 640px) {
    .about-cp__brands-grid { grid-template-columns: repeat(2, 1fr); }
    .about-story__stats { grid-template-columns: 1fr; }
    .about-cp__stats { grid-template-columns: 1fr; }
    .mission-grid { grid-template-columns: 1fr; }
    .founder-card { padding: var(--sp-5); }
    .founder-card__photo { width: 72px; height: 72px; }
}
