/* =========================================
   ABOUT PAGE REDESIGN — STORY-DRIVEN SYSTEM
   Solvetaa: Philosophy Inside a Living System
   ========================================= */

:root {
    --color-navy-deep: #1e293b;
    --color-teal: #14b8a6;
    --color-teal-neon: #2dd4bf;
    --color-off-white: #f8fafc;
    --color-soft-grey: #64748b;
    --color-text-heading: #f8fafc;
    --color-text-body: #94a3b8;
    --color-text-dark: #1e293b;
    --color-divider: #e2e8f0;
}

/* =========================================
   FULL-PAGE SVG BACKGROUND — SOLVETAA
   ========================================= */

.about-page-wrapper {
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
}

.solvetaa-bg-svg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.14;
    mix-blend-mode: normal;
    overflow: hidden;
}

.solvetaa-bg-svg svg {
    width: 100%;
    height: 100%;
}

/* SVG Path Animation — Snake Effect */
.solvetaa-path {
    fill: none;
    stroke: var(--color-teal);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.6;
    filter: blur(0.5px);
}

.solvetaa-path-head {
    opacity: 1;
    filter: blur(0px);
    stroke-width: 2;
}

.solvetaa-path-body {
    opacity: 0.4;
    filter: blur(1px);
}

.solvetaa-path-tail {
    opacity: 0.15;
    filter: blur(2px);
}

/* Animation for tracing letters with snake effect */
@keyframes trace-letter {
    0% {
        stroke-dashoffset: 1000;
        opacity: 0;
        filter: blur(2px);
    }
    2% {
        opacity: 0.4;
        filter: blur(1.5px);
    }
    10% {
        opacity: 0.8;
        filter: blur(1px);
    }
    30% {
        opacity: 1;
        filter: blur(0.5px);
    }
    70% {
        opacity: 1;
        filter: blur(0.5px);
    }
    90% {
        opacity: 0.6;
        filter: blur(1px);
        stroke-dashoffset: 0;
    }
    98% {
        opacity: 0.3;
        filter: blur(1.5px);
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: 0;
        opacity: 0.15;
        filter: blur(2px);
    }
}

.solvetaa-path-animated {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: trace-letter 14s ease-in-out infinite;
    stroke-width: 1.5;
}

/* Stagger animations for multiple letters - creates flowing effect */
/* Row 1: SOLVETAA */
.solvetaa-path-animated:nth-of-type(1) { animation-delay: 0s; }
.solvetaa-path-animated:nth-of-type(2) { animation-delay: 1.75s; }
.solvetaa-path-animated:nth-of-type(3) { animation-delay: 3.5s; }
.solvetaa-path-animated:nth-of-type(4) { animation-delay: 5.25s; }
.solvetaa-path-animated:nth-of-type(5) { animation-delay: 7s; }
.solvetaa-path-animated:nth-of-type(6) { animation-delay: 8.75s; }
.solvetaa-path-animated:nth-of-type(7) { animation-delay: 10.5s; }
.solvetaa-path-animated:nth-of-type(8) { animation-delay: 12.25s; }
/* Row 2: SOLVETAA (offset) */
.solvetaa-path-animated:nth-of-type(9) { animation-delay: 0.5s; }
.solvetaa-path-animated:nth-of-type(10) { animation-delay: 2.25s; }
.solvetaa-path-animated:nth-of-type(11) { animation-delay: 4s; }
.solvetaa-path-animated:nth-of-type(12) { animation-delay: 5.75s; }
.solvetaa-path-animated:nth-of-type(13) { animation-delay: 7.5s; }
.solvetaa-path-animated:nth-of-type(14) { animation-delay: 9.25s; }
.solvetaa-path-animated:nth-of-type(15) { animation-delay: 11s; }
.solvetaa-path-animated:nth-of-type(16) { animation-delay: 12.75s; }
/* Row 3: SOLVETAA (further offset) */
.solvetaa-path-animated:nth-of-type(17) { animation-delay: 1s; }
.solvetaa-path-animated:nth-of-type(18) { animation-delay: 2.75s; }
.solvetaa-path-animated:nth-of-type(19) { animation-delay: 4.5s; }
.solvetaa-path-animated:nth-of-type(20) { animation-delay: 6.25s; }
.solvetaa-path-animated:nth-of-type(21) { animation-delay: 8s; }
.solvetaa-path-animated:nth-of-type(22) { animation-delay: 9.75s; }
.solvetaa-path-animated:nth-of-type(23) { animation-delay: 11.5s; }
.solvetaa-path-animated:nth-of-type(24) { animation-delay: 13.25s; }
/* Row 4: SOLVETAA */
.solvetaa-path-animated:nth-of-type(25) { animation-delay: 0.25s; }
.solvetaa-path-animated:nth-of-type(26) { animation-delay: 2s; }
.solvetaa-path-animated:nth-of-type(27) { animation-delay: 3.75s; }
.solvetaa-path-animated:nth-of-type(28) { animation-delay: 5.5s; }
.solvetaa-path-animated:nth-of-type(29) { animation-delay: 7.25s; }
.solvetaa-path-animated:nth-of-type(30) { animation-delay: 9s; }
.solvetaa-path-animated:nth-of-type(31) { animation-delay: 10.75s; }

/* =========================================
   SECTION STYLES
   ========================================= */

.about-section {
    position: relative;
    z-index: 1;
    padding: 8rem 0;
}

.about-section-dark {
    background: var(--color-navy-deep);
    color: var(--color-text-heading);
}

.about-section-light {
    background: var(--color-off-white);
    color: var(--color-text-dark);
}

/* =========================================
   SECTION 1: OPENING — A STATEMENT OF IDENTITY (OPTION B)
   ========================================= */

.about-identity {
    position: relative;
    padding: 12rem 0 8rem;
    text-align: center;
    background: linear-gradient(180deg, #1e293b 0%, #1a2332 100%);
    color: var(--color-text-heading);
    overflow: hidden;
}

.identity-svg-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.28;
}

.identity-solvetaa-svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.id-path {
    fill: none;
    stroke: var(--color-teal);
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: id-trace 12s ease-in-out infinite;
    filter: url(#identity-glow);
}

.id-path-1 { animation-delay: 0s; }
.id-path-2 { animation-delay: 1.5s; }
.id-path-3 { animation-delay: 3s; }
.id-path-4 { animation-delay: 4.5s; }
.id-path-5 { animation-delay: 6s; }
.id-path-6 { animation-delay: 7.5s; }
.id-path-7 { animation-delay: 9s; }
.id-path-8 { animation-delay: 10.5s; }
.id-path-9 { animation-delay: 0.75s; }
.id-path-10 { animation-delay: 2.25s; }
.id-path-11 { animation-delay: 3.75s; }
.id-path-12 { animation-delay: 5.25s; }

@keyframes id-trace {
    0% { stroke-dashoffset: 400; opacity: 0.4; }
    8% { opacity: 0.95; }
    50% { opacity: 1; }
    92% { stroke-dashoffset: 0; opacity: 0.8; }
    100% { stroke-dashoffset: 0; opacity: 0.35; }
}

.identity-inner {
    position: relative;
    z-index: 1;
}

.about-identity h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
    color: var(--color-text-heading);
}

.identity-lead {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: var(--color-text-body);
    font-weight: 500;
}

.identity-statement {
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
    color: var(--color-text-body);
}

.about-identity .text-gradient {
    background: none;
    background-clip: unset;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: var(--color-teal-neon);
    color: var(--color-teal-neon);
    text-shadow: 0 0 24px rgba(20, 184, 166, 0.35);
}

.section-divider {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(20, 184, 166, 0.35), transparent);
    pointer-events: none;
}

.section-divider-identity {
    bottom: 0;
}

/* =========================================
   SECTION 2: THE ORIGIN OF THE IDEA (OPTION B)
   ========================================= */

.about-origin {
    position: relative;
    background: var(--color-off-white);
    color: var(--color-text-dark);
}

.section-divider-origin {
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(20, 184, 166, 0.2), transparent);
}

.origin-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.origin-content h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--color-text-dark);
}

.origin-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--color-soft-grey);
    margin-bottom: 1.5rem;
}

.origin-key {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-dark);
    margin-top: 2rem;
    padding-left: 1.5rem;
    border-left: 3px solid var(--color-teal);
}

.origin-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 380px;
}

.origin-machine-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.origin-machine-svg svg {
    width: 100%;
    height: 100%;
}

.machine-grid .mg-line {
    stroke: rgba(20, 184, 166, 0.14);
    stroke-width: 1;
    stroke-dasharray: 20 12;
    animation: mg-drift 20s linear infinite;
}

.machine-grid .mg-line:nth-child(odd) { animation-direction: reverse; animation-duration: 24s; }

@keyframes mg-drift {
    to { stroke-dashoffset: -64; }
}

.machine-rings .ring {
    fill: none;
    stroke: rgba(20, 184, 166, 0.2);
    stroke-width: 1;
}

.ring-outer { animation: ring-rotate 24s linear infinite; transform-origin: 50% 50%; }
.ring-mid { animation: ring-rotate 20s linear infinite reverse; transform-origin: 50% 50%; }
.ring-inner { animation: ring-rotate 16s linear infinite; transform-origin: 50% 50%; }

@keyframes ring-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.machine-nodes .node {
    fill: none;
    stroke: rgba(20, 184, 166, 0.35);
    stroke-width: 1.5;
    animation: node-pulse 14s ease-in-out infinite;
}

.node-center { animation-duration: 12s; animation-delay: 1s; }

@keyframes node-pulse {
    0%, 100% { opacity: 0.5; stroke-width: 1.5; }
    50% { opacity: 1; stroke-width: 2; }
}

.machine-connectors .connector {
    stroke: rgba(20, 184, 166, 0.15);
    stroke-width: 1;
    stroke-dasharray: 8 6;
    animation: connector-flow 20s linear infinite;
}

.machine-connectors .connector:nth-child(2) { animation-delay: -5s; }
.machine-connectors .connector:nth-child(3) { animation-delay: -10s; }
.machine-connectors .connector:nth-child(4) { animation-delay: -15s; }

@keyframes connector-flow {
    to { stroke-dashoffset: -28; }
}

.flow-line {
    fill: none;
    stroke: rgba(20, 184, 166, 0.25);
    stroke-width: 1.5;
    stroke-linecap: round;
    animation: flow-draw 18s ease-in-out infinite;
}

.flow-v { animation-delay: 2s; }

@keyframes flow-draw {
    0% { stroke-dashoffset: 160; }
    30% { stroke-dashoffset: 0; }
    70% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: 160; }
}

/* =========================================
   SECTION 3: OUR CORE BELIEF: SYSTEMS > EFFORT
   ========================================= */

.about-belief {
    background: var(--color-navy-deep);
    color: var(--color-text-heading);
}

.belief-content-centered {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.belief-content-centered h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--color-text-heading);
}

.belief-lead {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--color-text-body);
    margin-bottom: 2rem;
    font-weight: 500;
}

.belief-content-centered p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--color-text-body);
    margin-bottom: 2rem;
}

.belief-icon {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    color: var(--color-teal);
    opacity: 0.6;
}

/* =========================================
   SECTION 3: HOW WE SEE BUSINESSES (OPTION B)
   ========================================= */

.about-vision {
    background: var(--color-navy-deep);
    color: var(--color-text-heading);
}

.vision-header {
    text-align: center;
    margin-bottom: 5rem;
}

.vision-header h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--color-text-heading);
}

.vision-header p {
    font-size: 1.2rem;
    color: var(--color-text-body);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.vision-blocks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.vision-block {
    text-align: center;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.vision-block:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(20, 184, 166, 0.3);
    transform: translateY(-4px);
}

.vision-block-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(20, 184, 166, 0.1);
    color: var(--color-teal);
    border: 1px solid rgba(20, 184, 166, 0.2);
}

.vision-block h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text-heading);
}

.vision-block p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-body);
}

/* =========================================
   SECTION 4: OUR WAY OF BUILDING (OPTION B)
   ========================================= */

.about-building {
    background: var(--color-off-white);
    color: var(--color-text-dark);
}

.building-header {
    text-align: center;
    margin-bottom: 5rem;
}

.building-header h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--color-text-dark);
}

.building-header p {
    font-size: 1.2rem;
    color: var(--color-soft-grey);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.building-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.building-step {
    text-align: center;
    padding: 2.5rem;
    position: relative;
}

.building-step-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--color-teal);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 1rem;
    font-family: monospace;
}

.building-step h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text-dark);
}

.building-step p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-soft-grey);
}

/* =========================================
   SECTION 5: THE SOLVETAA DIFFERENCE (OPTION B)
   ========================================= */

.about-difference {
    background: var(--color-navy-deep);
    color: var(--color-text-heading);
}

.difference-header {
    text-align: center;
    margin-bottom: 4rem;
}

.difference-header h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--color-text-heading);
}

.difference-statements {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto 3rem;
}

.difference-statement {
    padding: 3rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.difference-statement.positive {
    border-color: rgba(20, 184, 166, 0.3);
    background: rgba(20, 184, 166, 0.05);
}

.difference-statement:hover {
    transform: translateY(-4px);
    border-color: rgba(20, 184, 166, 0.4);
}

.difference-statement h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--color-text-heading);
}

.difference-statement ul {
    list-style: none;
    padding: 0;
}

.difference-statement li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-text-body);
}

.difference-statement li::before {
    content: '→';
    color: var(--color-teal);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.difference-key {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.difference-key p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--color-text-body);
}

/* =========================================
   SECTION 5: OUR PROMISE
   ========================================= */

.about-promise {
    background: var(--color-navy-deep);
    color: var(--color-text-heading);
}

.promise-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.promise-content h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--color-text-heading);
}

.promise-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--color-text-body);
    margin-bottom: 2rem;
}

.promise-list {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

.promise-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-text-body);
}

.promise-list li svg {
    width: 24px;
    height: 24px;
    color: var(--color-teal);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.promise-list li div {
    flex: 1;
}

.promise-visual {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.promise-stat {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.promise-stat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 184, 166, 0.1);
    border-radius: 12px;
    color: var(--color-teal);
    font-weight: 700;
    font-size: 1.25rem;
}

.promise-stat-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-text-heading);
}

.promise-stat-content p {
    font-size: 0.95rem;
    color: var(--color-text-body);
    margin: 0;
}

/* =========================================
   SECTION 7: FINAL NOTE (OPTION B)
   ========================================= */

.about-final {
    background: var(--color-navy-deep);
    color: var(--color-text-heading);
    text-align: center;
    padding: 6rem 0;
}

.about-final h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--color-text-heading);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.final-statement {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--color-text-body);
    max-width: 800px;
    margin: 0 auto 2rem;
    font-weight: 500;
}

.final-invitation {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--color-text-body);
    max-width: 700px;
    margin: 0 auto 3rem;
}

.about-final .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: var(--color-teal);
    color: var(--color-navy-deep);
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.about-final .btn-primary:hover {
    background: var(--color-teal-neon);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

/* =========================================
   RESPONSIVENESS
   ========================================= */

@media (max-width: 968px) {
    .origin-layout,
    .expectations-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .origin-visual {
        min-height: 320px;
        order: 2;
    }

    .origin-content { order: 1; }

    .vision-blocks,
    .building-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .difference-statements {
        grid-template-columns: 1fr;
    }

    .about-section {
        padding: 5rem 0;
    }

    .about-identity {
        padding: 8rem 0 5rem;
    }
}

@media (max-width: 640px) {
    .vision-blocks,
    .building-steps {
        grid-template-columns: 1fr;
    }

    .solvetaa-bg-svg {
        opacity: 0.08;
    }

    .identity-svg-layer {
        opacity: 0.14;
    }

    .origin-visual {
        min-height: 280px;
    }

    .origin-machine-svg .machine-rings,
    .origin-machine-svg .machine-connectors {
        opacity: 0.7;
    }
    
    .building-step-number {
        font-size: 3rem;
    }
}

/* =========================================
   ACCESSIBILITY — REDUCED MOTION
   ========================================= */

@media (prefers-reduced-motion: reduce) {
    .solvetaa-path-animated {
        animation: none;
        stroke-dasharray: none;
        stroke-dashoffset: 0;
        opacity: 0.15;
    }

    .id-path {
        animation: none;
        stroke-dasharray: none;
        stroke-dashoffset: 0;
        opacity: 0.2;
    }

    .machine-grid .mg-line,
    .machine-rings .ring,
    .machine-nodes .node,
    .machine-connectors .connector,
    .flow-line {
        animation: none;
    }

    .machine-connectors .connector {
        stroke-dasharray: 8 6;
        stroke-dashoffset: 0;
    }

    .about-section,
    .thinking-block,
    .difference-card,
    .difference-statement {
        transition: none;
    }
}

/* =========================================
   FADE-IN ON SCROLL
   ========================================= */

.about-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-section.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .about-section {
        opacity: 1;
        transform: none;
    }
}
