/* ==========================================================================
   NEXVORK ABOUT PAGE — UNIQUE EDITORIAL / NARRATIVE IDENTITY
   All classes prefixed `ab-` so zero conflict with other page styles
   Reuses color tokens from index.css so theme switching works automatically
   ========================================================================== */

/* ==========================================================================
   1. CONTAINER & TYPOGRAPHY HELPERS
   ========================================================================== */
.ab-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
@media (max-width: 768px) {
    .ab-container { padding: 0 18px; }
}

.ab-mono-tag,
.ab-mono-label {
    font-family: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    text-transform: uppercase;
}
.ab-mono-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.7rem;
    margin-bottom: 28px;
}
.ab-mono-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--brand-purple);
    box-shadow: 0 0 8px var(--brand-purple);
    animation: abPulse 2s ease-in-out infinite;
}
@keyframes abPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.5; transform: scale(1.4); }
}

/* Buttons */
.ab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    line-height: 1;
}
.ab-btn-primary {
    background: linear-gradient(135deg, var(--brand-purple), var(--brand-blue));
    color: #fff;
    box-shadow: 0 8px 24px rgba(130, 62, 157, 0.25);
}
.ab-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(130, 62, 157, 0.4);
}
.ab-btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}
.ab-btn-ghost:hover {
    border-color: var(--text);
    background: var(--bg-elevated);
}
.ab-btn-lg { padding: 13px 24px; font-size: 0.95rem; }

/* ==========================================================================
   2. SCROLL REVEAL
   ========================================================================== */
[data-ab-reveal] {
    opacity: 0;
    will-change: transform, opacity;
    transition:
        opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-ab-reveal="up"]    { transform: translateY(24px); }
[data-ab-reveal="left"]  { transform: translateX(-30px); }
[data-ab-reveal="right"] { transform: translateX(30px); }
[data-ab-reveal="line"]  {
    transform: translateY(20px);
    display: block;
}
[data-ab-reveal].ab-in {
    opacity: 1;
    transform: translate(0, 0);
}
@media (prefers-reduced-motion: reduce) {
    [data-ab-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   3. HERO — narrative editorial style (max-width text, no orbs)
   ========================================================================== */
.ab-hero {
    position: relative;
    padding: 100px 0 70px;
    overflow: hidden;
    border-bottom: 1px solid var(--border-subtle);
}
.ab-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 60% 50% at 20% 10%, rgba(130, 62, 157, 0.08), transparent 70%),
        radial-gradient(ellipse 50% 40% at 80% 30%, rgba(65, 143, 228, 0.08), transparent 70%);
}
.dark .ab-hero-bg {
    background:
        radial-gradient(ellipse 60% 50% at 20% 10%, rgba(130, 62, 157, 0.18), transparent 70%),
        radial-gradient(ellipse 50% 40% at 80% 30%, rgba(65, 143, 228, 0.15), transparent 70%);
}

.ab-hero-title {
    font-family: 'Cabinet Grotesk', system-ui, sans-serif;
    font-size: clamp(2.2rem, 5.5vw, 4.4rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.035em;
    color: var(--text);
    margin: 0 0 28px;
    max-width: 920px;
}
.ab-line {
    display: block;
    overflow: hidden;
}
.ab-line-grad {
    background: linear-gradient(135deg, var(--brand-purple), var(--brand-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.ab-hero-sub {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0 0 40px;
    max-width: 720px;
}

.ab-hero-quick-stats {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    padding: 26px 28px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 14px;
}
.ab-qs { text-align: center; }
.ab-qs-num {
    font-family: 'Cabinet Grotesk', system-ui, sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--brand-purple), var(--brand-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}
.ab-qs-lbl {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 6px;
}
.ab-qs-div {
    width: 1px;
    height: 36px;
    background: var(--border);
}
@media (max-width: 768px) {
    .ab-hero-quick-stats { grid-template-columns: 1fr 1fr; gap: 20px; padding: 20px; }
    .ab-qs-div { display: none; }
}

/* ==========================================================================
   4. SECTION HEAD
   ========================================================================== */
.ab-section-head {
    margin-bottom: 48px;
    max-width: 760px;
}
.ab-section-head.ab-center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.ab-section-title {
    font-family: 'Cabinet Grotesk', system-ui, sans-serif;
    font-size: clamp(1.8rem, 3.6vw, 2.8rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.025em;
    color: var(--text);
    margin: 14px 0 0;
}
.ab-section-sub {
    font-size: 0.98rem;
    line-height: 1.65;
    color: var(--text-muted);
    margin: 14px 0 0;
}

/* ==========================================================================
   5. STORY — split prose (left) + side pillars (right)
   ========================================================================== */
.ab-story {
    padding: 90px 0;
    border-bottom: 1px solid var(--border-subtle);
}
.ab-story-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 60px;
    align-items: start;
}
@media (max-width: 1024px) {
    .ab-story-grid { grid-template-columns: 1fr; gap: 40px; }
}

.ab-story-text { min-width: 0; }
.ab-story-prose {
    margin-top: 24px;
    color: var(--text-muted);
}
.ab-story-prose p {
    font-size: 1rem;
    line-height: 1.75;
    margin: 0 0 18px;
}
.ab-story-prose p:last-child { margin-bottom: 0; }

.ab-story-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 100px;
}
@media (max-width: 1024px) {
    .ab-story-side { position: static; }
}

.ab-pillar {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.ab-pillar:hover {
    border-color: var(--brand-purple);
    transform: translateX(-4px);
    box-shadow: 0 10px 24px rgba(130, 62, 157, 0.08);
}
.ab-pillar-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--brand-purple);
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}
.ab-pillar-title {
    font-family: 'Cabinet Grotesk', system-ui, sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 6px;
    letter-spacing: -0.01em;
}
.ab-pillar p {
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--text-muted);
    margin: 0;
}

/* ==========================================================================
   6. MISSION / VISION / VALUES — 3 column cards
   ========================================================================== */
.ab-mvv {
    padding: 90px 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border-subtle);
}
.ab-mvv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 900px) { .ab-mvv-grid { grid-template-columns: 1fr; } }

.ab-mvv-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px 24px;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}
.ab-mvv-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-purple), var(--brand-blue));
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.ab-mvv-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand-purple);
    box-shadow: 0 14px 32px rgba(130, 62, 157, 0.1);
}
.ab-mvv-card:hover::before { transform: scaleX(1); }

.ab-mvv-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--grad-brand-soft);
    color: var(--brand-purple);
    display: grid;
    place-items: center;
    margin-bottom: 18px;
}
.ab-mvv-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--brand-purple);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.ab-mvv-title {
    font-family: 'Cabinet Grotesk', system-ui, sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 12px;
    letter-spacing: -0.015em;
    line-height: 1.25;
}
.ab-mvv-card p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

/* ==========================================================================
   7. PRINCIPLES — large numbered list
   ========================================================================== */
.ab-principles {
    padding: 90px 0;
    border-bottom: 1px solid var(--border-subtle);
}
.ab-principles-list {
    display: flex;
    flex-direction: column;
}
.ab-principle {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 32px;
    padding: 32px 0;
    border-bottom: 1px solid var(--border-subtle);
    align-items: start;
    transition: padding 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.ab-principle:last-child { border-bottom: none; }
.ab-principle:hover { padding-left: 12px; }

.ab-pp-num {
    font-family: 'Cabinet Grotesk', system-ui, sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--brand-purple), var(--brand-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    letter-spacing: -0.03em;
}
.ab-pp-body { min-width: 0; }
.ab-pp-body h3 {
    font-family: 'Cabinet Grotesk', system-ui, sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text);
    margin: 0 0 10px;
    letter-spacing: -0.02em;
}
.ab-pp-body p {
    font-size: 0.98rem;
    line-height: 1.65;
    color: var(--text-muted);
    margin: 0;
    max-width: 720px;
}

@media (max-width: 768px) {
    .ab-principle { grid-template-columns: 60px 1fr; gap: 20px; padding: 24px 0; }
    .ab-pp-num { font-size: 1.8rem; }
    .ab-pp-body h3 { font-size: 1.15rem; }
}

/* ==========================================================================
   8. OFFICES — Pune + Nagpur cards
   ========================================================================== */
.ab-offices {
    padding: 90px 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border-subtle);
}
.ab-offices-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}
@media (max-width: 768px) { .ab-offices-grid { grid-template-columns: 1fr; } }

.ab-office {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}
.ab-office:hover {
    transform: translateY(-4px);
    border-color: var(--brand-purple);
    box-shadow: 0 16px 40px rgba(130, 62, 157, 0.12);
}

.ab-office-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-subtle);
}
.ab-office-flag {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--brand-purple), var(--brand-blue));
    color: #fff;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(130, 62, 157, 0.25);
}
.ab-office-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-faint);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 2px;
}
.ab-office-city {
    font-family: 'Cabinet Grotesk', system-ui, sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text);
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.ab-office-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0 0 18px;
}

.ab-office-info {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ab-office-info li {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 12px;
    align-items: start;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-subtle);
}
.ab-office-info li:last-child { border-bottom: none; padding-bottom: 0; }
.ab-office-info span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--text-faint);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding-top: 2px;
}
.ab-office-info strong {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.5;
}

/* Cities served */
.ab-cities {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px 28px;
}
.ab-cities-head {
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-subtle);
}
.ab-cities-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.ab-city {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 14px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    color: var(--text-muted);
    transition: all 0.3s ease;
    cursor: default;
}
.ab-city:hover {
    background: var(--grad-brand-soft);
    color: var(--brand-purple);
    border-color: var(--brand-purple);
}

/* ==========================================================================
   9. TIMELINE — vertical milestone timeline
   ========================================================================== */
.ab-timeline {
    padding: 90px 0;
    border-bottom: 1px solid var(--border-subtle);
}
.ab-tl-list {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    max-width: 760px;
}
.ab-tl-list::before {
    content: "";
    position: absolute;
    top: 8px; bottom: 8px;
    left: 6px;
    width: 2px;
    background: linear-gradient(180deg, var(--brand-purple), var(--brand-blue), transparent);
    border-radius: 2px;
}

.ab-tl-item {
    position: relative;
    display: grid;
    grid-template-columns: 30px 130px 1fr;
    gap: 20px;
    align-items: start;
    padding: 14px 0 28px;
}
.ab-tl-item:last-child { padding-bottom: 0; }

.ab-tl-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--bg);
    border: 3px solid var(--brand-purple);
    margin-top: 4px;
    box-shadow: 0 0 0 4px var(--bg);
    z-index: 1;
}
.ab-tl-current .ab-tl-dot {
    background: linear-gradient(135deg, var(--brand-purple), var(--brand-blue));
    border-color: transparent;
    box-shadow: 0 0 0 4px var(--bg), 0 0 16px rgba(130, 62, 157, 0.5);
    animation: abPulse 2s ease-in-out infinite;
}
.ab-tl-date {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--brand-purple);
    letter-spacing: 0.05em;
    padding-top: 4px;
}
.ab-tl-body {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px 22px;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.ab-tl-body:hover {
    transform: translateX(6px);
    border-color: var(--brand-purple);
}
.ab-tl-current .ab-tl-body {
    background: linear-gradient(135deg, rgba(130, 62, 157, 0.06), rgba(65, 143, 228, 0.06));
    border-color: var(--brand-purple);
}
.ab-tl-body h3 {
    font-family: 'Cabinet Grotesk', system-ui, sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 6px;
    letter-spacing: -0.01em;
}
.ab-tl-body p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

@media (max-width: 768px) {
    .ab-tl-item { grid-template-columns: 30px 1fr; }
    .ab-tl-date { grid-column: 2; padding-top: 0; margin-bottom: 8px; }
    .ab-tl-body { grid-column: 2; }
}

/* ==========================================================================
   10. TRUST & COMPLIANCE
   ========================================================================== */
.ab-trust {
    padding: 80px 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border-subtle);
}
.ab-trust-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
@media (max-width: 900px) { .ab-trust-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px) { .ab-trust-grid { grid-template-columns: repeat(2, 1fr); } }

.ab-trust-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 16px;
    text-align: center;
    transition: all 0.3s ease;
}
.ab-trust-item:hover {
    transform: translateY(-3px);
    border-color: var(--brand-purple);
    box-shadow: 0 10px 24px rgba(130, 62, 157, 0.1);
}
.ab-trust-icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
    filter: grayscale(0%);
}
.ab-trust-item strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}
.ab-trust-item span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ==========================================================================
   11. CTA
   ========================================================================== */
.ab-cta {
    padding: 100px 0 90px;
}
.ab-cta-block {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    padding: 50px 32px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 18px;
    position: relative;
    overflow: hidden;
}
.ab-cta-line {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-purple), var(--brand-blue));
    border-radius: 0 0 4px 4px;
}
.ab-cta-title {
    font-family: 'Cabinet Grotesk', system-ui, sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--text);
    margin: 14px 0 12px;
}
.ab-cta-sub {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0 0 28px;
}
.ab-cta-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   12. RESPONSIVE TIGHTENS
   ========================================================================== */
@media (max-width: 768px) {
    .ab-hero { padding: 60px 0 50px; }
    .ab-story, .ab-mvv, .ab-principles, .ab-offices, .ab-timeline { padding: 60px 0; }
    .ab-trust { padding: 50px 0; }
    .ab-cta { padding: 70px 0 60px; }
    .ab-section-head { margin-bottom: 32px; }
    .ab-cta-block { padding: 36px 20px; }
    .ab-qs-num { font-size: 1.4rem; }
}