/* About Page Styles */

/* ========================================
   ABOUT HERO
   ======================================== */

.about-hero {
    position: relative;
    height: 60vh;
    min-height: 450px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.about-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.about-hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 30% 40%, rgba(163, 21, 206, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 60%, rgba(49, 218, 230, 0.1) 0%, transparent 50%),
        linear-gradient(
            to right,
            rgba(15, 14, 14, 1) 0%,
            rgba(15, 14, 14, 0.85) 25%,
            rgba(15, 14, 14, 0.5) 50%,
            transparent 100%
        );
    z-index: 2;
}

.about-hero-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, var(--bg-primary) 0%, rgba(15, 14, 14, 0.8) 40%, transparent 100%);
    z-index: 3;
    pointer-events: none;
}

.about-hero .container {
    position: relative;
    z-index: 4;
}

.about-hero-content {
    max-width: 650px;
}

.about-hero-accent {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-cyan);
    margin-bottom: var(--spacing-md);
}

.about-hero-title {
    font-family: 'Avero', var(--font-family-heading);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: normal;
    line-height: 1.05;
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
}

.about-hero-subtitle {
    font-size: var(--font-size-xl);
    color: var(--text-tertiary);
    line-height: 1.6;
}

/* ========================================
   OUR STORY SECTION
   ======================================== */

.about-story {
    padding: var(--spacing-5xl) 0 var(--spacing-4xl);
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.about-story::before {
    content: 'STORY';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    font-family: 'Avero', var(--font-family-heading);
    font-size: 10rem;
    letter-spacing: 0.15em;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(163, 21, 206, 0.15);
    pointer-events: none;
    white-space: nowrap;
}

.story-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--spacing-4xl);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.story-heading {
    font-family: 'Avero', var(--font-family-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: normal;
    color: var(--text-primary);
    margin-bottom: var(--spacing-2xl);
    position: relative;
}

.story-heading::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gradient-purple-pink);
    margin-top: var(--spacing-md);
    border-radius: 2px;
}

.story-text {
    font-size: clamp(1.1rem, 1.5vw, 1.25rem);
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: var(--spacing-xl);
}

.story-text:last-child {
    margin-bottom: 0;
}

.story-image-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
}

.story-image {
    width: 100%;
    height: auto;
    max-height: 540px;
    object-fit: contain;
    border-radius: var(--radius-lg);
    filter: drop-shadow(0 0 40px rgba(163, 21, 206, 0.15));
    transition: transform 0.6s ease;
}

.story-image-wrap:hover .story-image {
    transform: scale(1.03);
}

.story-image-glow {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    box-shadow: inset 0 0 60px rgba(163, 21, 206, 0.15);
    pointer-events: none;
}

/* ========================================
   MISSION SECTION
   ======================================== */

.about-mission {
    padding: var(--spacing-4xl) 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.about-mission::before {
    content: 'MISSION';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    font-family: 'Avero', var(--font-family-heading);
    font-size: 10rem;
    letter-spacing: 0.15em;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(49, 218, 230, 0.15);
    pointer-events: none;
    white-space: nowrap;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--spacing-4xl);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.mission-heading {
    font-family: 'Avero', var(--font-family-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: normal;
    color: var(--text-primary);
    margin-bottom: var(--spacing-2xl);
    position: relative;
}

.mission-heading::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gradient-green-cyan);
    margin-top: var(--spacing-md);
    border-radius: 2px;
}

.mission-text {
    font-size: clamp(1.1rem, 1.5vw, 1.25rem);
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: var(--spacing-xl);
}

.mission-text:last-child {
    margin-bottom: 0;
}

.mission-image-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 380px;
}

.mission-image {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: contain;
    border-radius: var(--radius-lg);
    transition: transform 0.6s ease;
    filter: drop-shadow(0 0 40px rgba(49, 218, 230, 0.12));
}

.mission-image-wrap:hover .mission-image {
    transform: scale(1.03);
}

.mission-image-glow {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    box-shadow: inset 0 0 60px rgba(49, 218, 230, 0.15);
    pointer-events: none;
}

/* ========================================
   VALUES SECTION
   ======================================== */

.about-values {
    padding: var(--spacing-5xl) 0;
    background: var(--bg-secondary);
    position: relative;
}

.values-header {
    text-align: center;
    margin-bottom: var(--spacing-4xl);
}

.values-accent {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-pink);
    margin-bottom: var(--spacing-sm);
}

.values-title {
    font-family: 'Avero', var(--font-family-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: normal;
    color: var(--text-primary);
}

/* Flowing Values Layout */
.values-flow {
    max-width: 1000px;
    margin: 0 auto var(--spacing-4xl);
    display: flex;
    flex-direction: column;
    gap: 0;
}

.flow-item {
    position: relative;
    display: flex;
    align-items: center;
    padding: var(--spacing-3xl) var(--spacing-2xl) var(--spacing-3xl) var(--spacing-3xl);
    overflow: hidden;
    transition: all 0.5s ease;
}

.flow-item:nth-child(odd) {
    justify-content: flex-start;
}

.flow-item:nth-child(even) {
    justify-content: flex-end;
}

/* Large watermark number */
.flow-watermark {
    position: absolute;
    font-family: 'Avero', var(--font-family-heading);
    font-size: clamp(8rem, 15vw, 14rem);
    font-weight: normal;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(163, 21, 206, 0.2);
    pointer-events: none;
    user-select: none;
    transition: all 0.6s ease;
}

.flow-item:nth-child(odd) .flow-watermark {
    right: var(--spacing-xl);
    top: 50%;
    transform: translateY(-50%);
}

.flow-item:nth-child(even) .flow-watermark {
    left: var(--spacing-xl);
    top: 50%;
    transform: translateY(-50%);
}

.flow-item:hover .flow-watermark {
    -webkit-text-stroke: 1.5px rgba(163, 21, 206, 0.35);
}

.flow-item:nth-child(2) .flow-watermark {
    -webkit-text-stroke-color: rgba(49, 218, 230, 0.2);
}
.flow-item:nth-child(2):hover .flow-watermark {
    -webkit-text-stroke-color: rgba(49, 218, 230, 0.35);
}

.flow-item:nth-child(3) .flow-watermark {
    -webkit-text-stroke-color: rgba(255, 10, 210, 0.2);
}
.flow-item:nth-child(3):hover .flow-watermark {
    -webkit-text-stroke-color: rgba(255, 10, 210, 0.35);
}

.flow-item:nth-child(4) .flow-watermark {
    -webkit-text-stroke-color: rgba(0, 168, 137, 0.2);
}
.flow-item:nth-child(4):hover .flow-watermark {
    -webkit-text-stroke-color: rgba(0, 168, 137, 0.35);
}

/* Gradient accent bar */
.flow-accent {
    width: 3px;
    align-self: stretch;
    border-radius: 3px;
    background: var(--gradient-purple-pink);
    flex-shrink: 0;
    margin-right: var(--spacing-2xl);
    opacity: 0.5;
    transition: opacity 0.4s ease, box-shadow 0.4s ease;
}

.flow-item:hover .flow-accent {
    opacity: 1;
    box-shadow: 0 0 12px rgba(163, 21, 206, 0.4);
}

.flow-item:nth-child(2) .flow-accent {
    background: var(--gradient-green-cyan);
}
.flow-item:nth-child(2):hover .flow-accent {
    box-shadow: 0 0 12px rgba(49, 218, 230, 0.4);
}

.flow-item:nth-child(3) .flow-accent {
    background: var(--gradient-pink-purple);
}
.flow-item:nth-child(3):hover .flow-accent {
    box-shadow: 0 0 12px rgba(255, 10, 210, 0.4);
}

.flow-item:nth-child(4) .flow-accent {
    background: var(--gradient-cyan-green);
}
.flow-item:nth-child(4):hover .flow-accent {
    box-shadow: 0 0 12px rgba(0, 168, 137, 0.4);
}

/* Even items: accent moves to right */
.flow-item:nth-child(even) .flow-accent {
    order: 2;
    margin-right: 0;
    margin-left: var(--spacing-2xl);
}

.flow-item:nth-child(even) .flow-body {
    text-align: right;
}

/* Content */
.flow-body {
    position: relative;
    z-index: 1;
    max-width: 550px;
}

.flow-name {
    font-family: 'Avero', var(--font-family-heading);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: normal;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    transition: color 0.3s ease;
}

.flow-desc {
    font-size: var(--font-size-lg);
    color: var(--text-tertiary);
    line-height: 1.8;
}

.values-closing {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.values-closing-text {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ========================================
   WEAPON SHOWCASE
   ======================================== */

.weapon-showcase {
    padding: var(--spacing-5xl) 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.weapon-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(163, 21, 206, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(255, 10, 210, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.showcase-header {
    text-align: center;
    margin-bottom: var(--spacing-4xl);
    position: relative;
}

.showcase-accent {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-cyan);
    margin-bottom: var(--spacing-sm);
}

.showcase-title {
    font-family: 'Avero', var(--font-family-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: normal;
    color: var(--text-primary);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-2xl);
    position: relative;
}

/* Weapon Card */
.weapon-card {
    position: relative;
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.weapon-card:hover {
    transform: translateY(-10px);
    border-color: rgba(163, 21, 206, 0.4);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(163, 21, 206, 0.15);
}

/* Weapon Image */
.weapon-image-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(15, 14, 14, 0.9), rgba(25, 25, 25, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl);
}

.weapon-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.6s ease;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.5));
}

.weapon-card:hover .weapon-image {
    transform: scale(1.1) translateY(-4px);
    filter: drop-shadow(0 8px 30px rgba(163, 21, 206, 0.3));
}

.weapon-glow {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(163, 21, 206, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.weapon-card:hover .weapon-glow {
    opacity: 1;
}

/* Gradient Divider Line */
.weapon-divider {
    height: 3px;
    background: var(--gradient-purple-pink);
    position: relative;
    overflow: hidden;
}

.weapon-divider::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transition: left 0.6s ease;
}

.weapon-card:hover .weapon-divider::after {
    left: 100%;
}

/* Weapon Info */
.weapon-info {
    padding: var(--spacing-xl);
}

.weapon-type {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-pink);
    background: rgba(255, 10, 210, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    margin-bottom: var(--spacing-sm);
}

.weapon-name {
    font-family: 'Avero', var(--font-family-heading);
    font-size: var(--font-size-2xl);
    font-weight: normal;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
    transition: color 0.3s ease;
}

.weapon-card:hover .weapon-name {
    color: var(--color-white);
}

.weapon-desc {
    font-size: var(--font-size-sm);
    color: var(--text-tertiary);
    line-height: 1.6;
}

/* ========================================
   RESPONSIVE
   ======================================== */

/* Keep the MISSION watermark inside the left gutter on wide viewports.
   At 1200px+ the grid is centred with max-width 1200px, so a gutter of
   (100% - 1200px)/2 exists on each side. The rotated text's visual right
   edge lands at (left + elemWidth/2 + lineHeight/2) ≈ left + 502px.
   We clamp that edge to stay ≤ gutter width with a 20px buffer. */
@media (min-width: 1200px) {
    .about-mission::before {
        left: calc((100% - 1200px) / 2 - 522px);
    }
}

@media (max-width: 1200px) {
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .story-grid,
    .mission-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }

    .mission-image-wrap {
        order: -1;
    }
}

@media (max-width: 768px) {
    .about-hero {
        height: 50vh;
        min-height: 350px;
    }

    .about-hero-overlay {
        background:
            rgba(15, 14, 14, 0.7);
    }

    /* Hide large background watermarks on mobile to prevent overflow */
    .about-story::before,
    .about-mission::before {
        display: none;
    }

    .story-grid,
    .mission-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }

    /* Values flow stacks centered on mobile */
    .flow-item,
    .flow-item:nth-child(odd),
    .flow-item:nth-child(even) {
        flex-direction: column;
        padding: var(--spacing-2xl) var(--spacing-lg);
        justify-content: flex-start;
    }

    .flow-accent,
    .flow-item:nth-child(even) .flow-accent {
        width: 40px;
        height: 3px;
        align-self: auto;
        margin: 0 0 var(--spacing-lg) 0;
        order: 0;
    }

    .flow-body,
    .flow-item:nth-child(even) .flow-body {
        text-align: left;
    }

    .flow-watermark {
        font-size: 6rem !important;
    }

    .flow-item:nth-child(odd) .flow-watermark,
    .flow-item:nth-child(even) .flow-watermark {
        right: var(--spacing-md);
        left: auto;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .about-hero {
        min-height: 300px;
    }

    .about-hero-subtitle {
        font-size: var(--font-size-base);
    }

    .story-image-wrap,
    .mission-image-wrap {
        min-height: 220px;
    }

    .flow-watermark {
        display: none;
    }

    .flow-item,
    .flow-item:nth-child(odd),
    .flow-item:nth-child(even) {
        padding: var(--spacing-lg) var(--spacing-md);
    }

    .showcase-grid {
        max-width: 100%;
    }
}
