/* ==========================================================================
   ABOUT US - OPTIMIZED COMPACT TECH STARTUP DESIGN SYSTEM
   - Reduced padding, tight margins, refined typography scale
   - Body & Surfaces: #f8fafc (Slate-50) & #ffffff (Clean White)
   - Signature Brand Gradient: 90deg, #020024 -> #060552 -> #090979 -> #0482c9 -> #00d4ff
   - Primary Blue: var(--se-primary, #2563eb) | Cyan: #00d4ff / #0ea5e9
   - Headings: var(--se-dark, #0f172a) | Body: #475569 | Muted: #64748b | Borders: #e2e8f0
   ========================================================================== */

/* --- Base Body & Typography Reset --- */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    background-color: #f8fafc !important;
    color: #475569 !important;
    padding-top: 0px !important;
    overflow-x: hidden !important;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

.row {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

::selection {
    background: var(--se-primary, #2563eb);
    color: #ffffff;
}

/* --- Section Headings & Pill Badges --- */
.section-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    border-radius: 9999px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.22);
    color: var(--se-primary, #2563eb);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}

.section-pill-badge.badge-dark-theme {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(8px);
}

.pulse-dot-blue {
    width: 7px;
    height: 7px;
    background: var(--se-primary, #2563eb);
    border-radius: 50%;
    box-shadow: 0 0 8px #2563eb;
    animation: bluePulse 2s infinite ease-in-out;
}

@keyframes bluePulse {
    0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.6); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(37, 99, 235, 0); }
    100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

.section-title {
    font-weight: 800;
    color: var(--se-dark, #0f172a);
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 8px;
    font-size: clamp(1.7rem, 3.2vw, 2.3rem);
    letter-spacing: -0.4px;
    display: inline-block;
    line-height: 1.25;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #38bdf8);
    border-radius: 3px;
}

.section-title.title-light {
    color: #ffffff !important;
}

.section-title.title-light::after {
    background: linear-gradient(90deg, #38bdf8, #818cf8);
}

.section-subtitle {
    font-size: 0.95rem;
    color: #64748b;
    max-width: 660px;
    margin: 0 auto 28px;
    line-height: 1.6;
}

.section-subtitle.subtitle-light {
    color: #cbd5e1 !important;
}

/* ==========================================================================
   1. HERO SECTION (Compact Height & Refined Type)
   ========================================================================== */
.about-hero-section {
    background: linear-gradient(
        90deg,
        rgba(2, 0, 36, 1) 0%,
        rgba(6, 5, 82, 1) 7%,
        rgba(9, 9, 121, 1) 21%,
        rgba(4, 130, 201, 1) 56%,
        rgba(14, 165, 233, 1) 100%
    ) !important;
    position: relative;
    padding: 105px 0 85px;
    color: #ffffff;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    overflow: hidden;
}

.about-hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 260px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.22) 0%, transparent 70%);
    pointer-events: none;
    filter: blur(35px);
}

.about-hero-content {
    position: relative;
    z-index: 10;
}

.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
    backdrop-filter: blur(6px);
}

.pulse-dot-cyan {
    width: 7px;
    height: 7px;
    background: #38bdf8;
    border-radius: 50%;
    box-shadow: 0 0 8px #38bdf8;
    animation: cyanPulse 2s infinite ease-in-out;
}

@keyframes cyanPulse {
    0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(56, 189, 248, 0); }
    100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

.about-hero-title {
    font-size: clamp(1.75rem, 3.6vw, 2.6rem);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -0.5px;
    color: #ffffff;
    margin-bottom: 14px;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.about-hero-lead {
    font-size: clamp(0.92rem, 1.8vw, 1.05rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.92);
    max-width: 740px;
    margin: 0 auto 22px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* --- Hero Buttons (Compact) --- */
.btn-premium-primary {
    background: #ffffff !important;
    color: var(--se-primary, #2563eb) !important;
    padding: 10px 26px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
}

.btn-premium-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
    color: var(--se-primary-hover, #1d4ed8) !important;
}

.btn-premium-outline {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    padding: 9px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(5px);
}

.btn-premium-outline:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: #ffffff;
    transform: translateY(-2px);
    color: #ffffff !important;
}

/* ==========================================================================
   2. FLOATING IMPACT STATS (Tight Compact Card)
   ========================================================================== */
.about-stats-section {
    position: relative;
    z-index: 20;
    margin-top: -42px;
    margin-bottom: 18px;
}

.stat-box-modern {
    background: #ffffff;
    padding: 18px 12px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 24px -5px rgba(15, 23, 42, 0.07);
    border: 1px solid #e2e8f0;
    border-bottom: 3.5px solid #38bdf8;
    transition: transform 0.25s ease;
    height: 100%;
}

.stat-box-modern:hover {
    transform: translateY(-3px);
}

.stat-number-blue {
    font-size: clamp(1.5rem, 2.5vw, 1.95rem);
    font-weight: 800;
    color: var(--se-primary, #2563eb);
    line-height: 1.1;
    margin-bottom: 2px;
    letter-spacing: -0.4px;
}

.stat-number-cyan {
    font-size: clamp(1.5rem, 2.5vw, 1.95rem);
    font-weight: 800;
    color: #0ea5e9;
    line-height: 1.1;
    margin-bottom: 2px;
    letter-spacing: -0.4px;
}

.stat-caption {
    color: #64748b;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   3. SECTION LAYOUTS & SURFACES (Reduced Section Paddings)
   ========================================================================== */
.about-section {
    padding: 38px 0 46px;
    position: relative;
}

.bg-clean-white {
    background-color: #ffffff;
}

.bg-soft-slate {
    background-color: #f8fafc;
}

.bg-dark-slate {
    background: linear-gradient(
        90deg,
        rgba(2, 0, 36, 1) 0%,
        rgba(6, 5, 82, 1) 7%,
        rgba(9, 9, 121, 1) 21%,
        rgba(4, 130, 201, 1) 56%,
        rgba(14, 165, 233, 1) 100%
    ) !important;
    position: relative;
    color: #ffffff;
    overflow: hidden;
}

/* Status Pill Badges */
.status-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 12px;
    border-radius: 16px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.2);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--se-primary, #2563eb);
    margin-bottom: 8px;
}

.status-tag-pill.tag-light {
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.3);
    color: #38bdf8;
}

/* ==========================================================================
   4. MISSION, VISION & PRINCIPLES (Compact Bento Cards)
   ========================================================================== */
.story-bento-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 20px;
    box-shadow: 0 6px 20px -4px rgba(15, 23, 42, 0.05);
    border: 1px solid #e2e8f0;
    border-top: 3.5px solid #2563eb;
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.story-bento-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px -6px rgba(37, 99, 235, 0.15);
}

.story-icon-badge {
    width: 44px;
    height: 44px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--se-primary, #2563eb);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.18rem;
    margin-bottom: 14px;
    border: 1px solid rgba(37, 99, 235, 0.12);
}

.story-bento-box h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--se-dark, #0f172a);
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}

.story-bento-box p {
    font-size: 0.93rem;
    line-height: 1.6;
    color: var(--se-text, #475569);
    margin-bottom: 14px;
    flex-grow: 1;
}

.story-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.story-checklist li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.84rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.story-checklist li i {
    color: #10b981;
    font-size: 0.86rem;
}

/* ==========================================================================
   5. STRATEGIC ENGINEERING PILLARS (Compact Bento Grid)
   ========================================================================== */
.pillar-card-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px 16px;
    box-shadow: 0 6px 18px -4px rgba(15, 23, 42, 0.04);
    border: 1px solid #e2e8f0;
    border-top: 3.5px solid #2563eb;
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pillar-card-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px -6px rgba(37, 99, 235, 0.15);
}

.pillar-icon-box {
    width: 40px;
    height: 40px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--se-primary, #2563eb);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 12px;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.pillar-card-box h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--se-dark, #0f172a);
    margin-bottom: 6px;
    letter-spacing: -0.2px;
}

.pillar-card-box p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--se-text, #475569);
    margin-bottom: 12px;
    flex-grow: 1;
}

.pillar-tag-badge {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--se-primary, #2563eb);
}

/* ==========================================================================
   6. LEADERSHIP & TECHNICAL PODS (Compact Portrait Cards)
   ========================================================================== */
.team-profile-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    border-top: 3.5px solid #2563eb;
    box-shadow: 0 8px 22px -6px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.team-profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px -8px rgba(37, 99, 235, 0.18);
}

.team-portrait-wrapper {
    height: 195px;
    overflow: hidden;
    position: relative;
    background: #f1f5f9;
}

.team-portrait-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.4s ease;
}

.team-profile-card:hover .team-portrait-wrapper img {
    transform: scale(1.04);
}

.team-role-pill {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    padding: 2px 9px;
    border-radius: 16px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #38bdf8;
}

.team-info-body {
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.team-person-name {
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--se-dark, #0f172a);
    margin-bottom: 2px;
}

.team-person-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--se-primary, #2563eb);
    margin-bottom: 8px;
}

.team-person-bio {
    font-size: 0.84rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 12px;
    flex-grow: 1;
}

.team-skills-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 14px;
}

.tech-chip {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 7px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    color: #475569;
}

.btn-profile-link {
    background: transparent;
    color: var(--se-primary, #2563eb) !important;
    border: 1.5px solid #2563eb;
    border-radius: 8px;
    padding: 7px 14px;
    font-weight: 700;
    font-size: 0.84rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.btn-profile-link:hover {
    background: var(--se-primary, #2563eb);
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

/* ==========================================================================
   7. OUR GALLERY & WORKSPACE CULTURE (Optimized Bento Mosaic Grid)
   ========================================================================== */
.mosaic-gallery-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mosaic-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: stretch;
}

.mosaic-col-featured {
    display: flex;
    flex-direction: column;
    min-height: 380px;
}

.mosaic-col-quad {
    display: flex;
    flex-direction: column;
    min-height: 380px;
}

.mosaic-quad-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
    height: 100%;
}

.mosaic-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: default;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px -3px rgba(15, 23, 42, 0.06);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    width: 100%;
}

.featured-card {
    height: 100%;
    min-height: 380px;
}

.quad-card {
    height: 100%;
    min-height: 184px;
}

.mosaic-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.mosaic-card-hover {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(15, 23, 42, 0.94) 0%,
        rgba(15, 23, 42, 0.35) 55%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.25s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 12px 14px;
    z-index: 2;
}

.mosaic-card:hover {
    transform: translateY(-2.5px);
    box-shadow: 0 10px 24px -5px rgba(37, 99, 235, 0.22);
    border-color: var(--se-primary, #2563eb);
}

.mosaic-card:hover img {
    transform: scale(1.04);
}

.mosaic-card:hover .mosaic-card-hover {
    opacity: 1;
}

.mosaic-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2px;
    line-height: 1.25;
}

.featured-card .mosaic-title {
    font-size: 1.05rem;
    margin-bottom: 3px;
}

.mosaic-tag {
    font-size: 0.7rem;
    color: #38bdf8;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    display: inline-block;
}

/* ==========================================================================
   8. 4-STEP AGILE ENGINEERING LIFECYCLE (Dark Slate Section)
   ========================================================================== */
.step-dark-card {
    background: rgba(2, 0, 36, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-top: 3.5px solid #38bdf8;
    border-radius: 16px;
    padding: 20px 16px;
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    color: #ffffff;
    box-shadow: 0 10px 28px -6px rgba(0, 0, 0, 0.45);
}

.step-dark-card:hover {
    background: rgba(6, 5, 82, 0.75);
    border-color: #38bdf8;
    border-top-color: #38bdf8;
    transform: translateY(-4px);
    box-shadow: 0 16px 36px -6px rgba(56, 189, 248, 0.3);
}

.step-number-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.22), rgba(4, 130, 201, 0.35));
    border: 1px solid #38bdf8;
    color: #38bdf8;
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.25);
}

.step-heading {
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
    letter-spacing: -0.2px;
}

.step-text {
    font-size: 0.85rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    flex-grow: 1;
}

/* Tech Stack Chips */
.stack-pill-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #ffffff;
    transition: all 0.2s ease;
}

.stack-pill-chip i {
    color: #38bdf8;
    font-size: 0.85rem;
}

.stack-pill-chip:hover {
    border-color: #ffffff;
    background: #ffffff;
    color: #060552;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.stack-pill-chip:hover i {
    color: #0482c9;
}

/* ==========================================================================
   9. HIGH-CONVERTING CTA BANNER (Compact)
   ========================================================================== */
.about-cta-card {
    background: linear-gradient(
        90deg,
        rgba(2, 0, 36, 1) 0%,
        rgba(6, 5, 82, 1) 7%,
        rgba(9, 9, 121, 1) 21%,
        rgba(4, 130, 201, 1) 56%,
        rgba(14, 165, 233, 1) 100%
    ) !important;
    border-radius: 16px;
    padding: 38px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 18px 45px -12px rgba(2, 0, 36, 0.35);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.about-cta-heading {
    font-size: clamp(1.4rem, 2.8vw, 1.95rem);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.4px;
    margin-bottom: 10px;
    text-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.about-cta-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
    max-width: 600px;
    margin: 0 auto 24px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

/* ==========================================================================
   11. RESPONSIVE BREAKPOINTS (Mobile Optimization)
   ========================================================================== */
@media (max-width: 991.98px) {
    .about-hero-section {
        padding: 95px 0 75px;
    }
    .about-stats-section {
        margin-top: -36px;
    }
}

@media (max-width: 767.98px) {
    .about-hero-section {
        padding: 85px 0 65px;
    }
    .about-hero-title {
        font-size: 1.65rem;
    }
    .about-hero-lead {
        font-size: 0.9rem;
    }
    .about-stats-section {
        margin-top: -30px;
    }
    .about-section {
        padding: 28px 0 38px;
    }
    .about-cta-card {
        padding: 28px 16px;
        border-radius: 16px;
    }
    .mosaic-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .mosaic-col-featured,
    .mosaic-col-quad {
        min-height: auto;
    }
    .featured-card {
        min-height: 280px;
        height: 280px;
    }
    .mosaic-quad-grid {
        gap: 12px;
        height: auto;
    }
    .quad-card {
        min-height: 165px;
        height: 165px;
    }
    .team-portrait-wrapper {
        height: 180px;
    }
}

@media (max-width: 575.98px) {
    .mosaic-gallery-wrapper {
        gap: 10px;
    }
    .mosaic-row {
        gap: 10px;
    }
    .featured-card {
        min-height: 220px;
        height: 220px;
    }
    .mosaic-quad-grid {
        gap: 8px;
    }
    .quad-card {
        min-height: 130px;
        height: 130px;
    }
    .mosaic-card-hover {
        padding: 10px;
    }
    .mosaic-title {
        font-size: 0.84rem;
    }
    .featured-card .mosaic-title {
        font-size: 0.95rem;
    }
    .hero-buttons-wrap {
        flex-direction: column;
        width: 100%;
    }
    .btn-premium-primary,
    .btn-premium-outline {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   FOUNDER & CEO VISIONARY SECTION
   ========================================================================== */
.visionary-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 28px;
    padding: 44px 50px;
    box-shadow: 0 20px 45px -12px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(226, 232, 240, 0.9);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.visionary-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px -10px rgba(15, 23, 42, 0.12), 0 2px 6px rgba(15, 23, 42, 0.06);
}

.giant-bg-quote {
    position: absolute;
    top: -30px;
    right: 35px;
    font-size: 11rem;
    line-height: 1;
    color: rgba(37, 99, 235, 0.04);
    z-index: 0;
    transform: rotate(8deg);
    pointer-events: none;
}

.visionary-content {
    display: flex;
    align-items: center;
    gap: 42px;
    position: relative;
    z-index: 2;
    width: 100%;
}

.visionary-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-ring {
    width: 155px;
    height: 155px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, #2563eb 0%, #38bdf8 100%);
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.22);
}

.avatar-ring img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid #ffffff;
    object-fit: cover;
    display: block;
}

.avatar-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 145px;
    height: 145px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.4) 0%, rgba(56, 189, 248, 0.15) 50%, transparent 75%);
    filter: blur(28px);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

.visionary-text {
    position: relative;
    z-index: 2;
    flex: 1;
    min-width: 0;
}

.visionary-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--se-primary, #2563eb);
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.18);
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.quote-text {
    font-size: clamp(1.08rem, 2vw, 1.32rem);
    line-height: 1.65;
    color: var(--se-dark, #0f172a);
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.2px;
    font-style: italic;
}

.visionary-author {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--se-dark, #0f172a);
    margin: 0;
    line-height: 1.2;
}

.author-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--se-primary, #2563eb);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-top: 3px;
}

@media (max-width: 991.98px) {
    .visionary-card {
        padding: 34px 24px;
    }
    .visionary-content {
        flex-direction: column;
        text-align: center;
        gap: 22px;
    }
    .visionary-author {
        justify-content: center;
        flex-direction: column;
        gap: 8px;
    }
    .giant-bg-quote {
        font-size: 7.5rem;
        top: -10px;
        right: 15px;
    }
}

@media (max-width: 767.98px) {
    .visionary-card {
        padding: 26px 18px;
        border-radius: 16px;
    }
    .avatar-ring {
        width: 125px;
        height: 125px;
    }
    .avatar-glow {
        width: 110px;
        height: 110px;
    }
    .quote-text {
        font-size: 1.02rem;
        line-height: 1.58;
        margin-bottom: 14px;
    }
    .giant-bg-quote {
        font-size: 5.5rem;
        top: 0;
        right: 10px;
    }
}

/* ==========================================================================
   PROCESS SECTION: solid navy, so it reads as a separate band from the
   gradient hero and every step card has the same contrast
   ========================================================================== */
#lifecycle.bg-dark-slate {
    background: var(--se-hero-bg, #060552) !important;
    padding: 56px 0 60px;
}

#lifecycle .step-dark-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 3px solid #38bdf8;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

#lifecycle .step-dark-card:hover {
    background: rgba(255, 255, 255, 0.08);
}

#lifecycle .step-number-tag {
    background: rgba(56, 189, 248, 0.14);
    border-color: rgba(56, 189, 248, 0.6);
    color: #7dd3fc;
}

#lifecycle .step-text {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #cbd5e1;
}

#lifecycle .stack-pill-chip {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.16);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

#lifecycle .stack-pill-chip i {
    color: #7dd3fc;
}

/* Founder quote: same breathing room as the other sections */
#ceo-vision {
    padding: 56px 0 28px;
}

@media (max-width: 767.98px) {
    #lifecycle.bg-dark-slate {
        padding: 40px 0 44px;
    }
    #ceo-vision {
        padding: 36px 0 20px;
    }
}

/* Keep white text readable where it sits on the bright end of the gradient */
.about-cta-card h2,
.about-cta-card p,
.about-cta-text {
    text-shadow: 0 2px 12px rgba(2, 0, 36, 0.55);
}
