﻿/* About Page Styles */

/* Accessibility */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Hero Section */
.about-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
}

.badge-pill {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-blue);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(5px);
}

.about-hero h1,
.hero-headline {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.1;
}

.about-hero-lead {
    font-size: 1.35rem;
    color: rgba(148, 163, 184, 0.9);
    max-width: 760px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.btn-outline-glow {
    background: transparent;
    border: 1px solid rgba(59, 130, 246, 0.5);
    color: var(--primary-blue);
    padding: 0.875rem 2rem;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.1);
}

.btn-outline-glow:hover {
    background: rgba(59, 130, 246, 0.1);
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
    color: white;
    border-color: var(--primary-blue);
}

/* Mission Section */
.mission-section {
    padding: 6rem 0;
    position: relative;
}

.mission-content {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.mission-text {
    flex: 1;
}

.mission-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.mission-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 3.5rem;
}

.mission-stat-item h3 {
    font-size: 2.75rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--primary-blue), var(--secondary-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

/* Impact stats */
.impact-stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
}

.impact-stat-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.3);
}

.impact-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--primary-blue), var(--secondary-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

/* Timeline */
.timeline-section {
    padding: 6rem 0;
    position: relative;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 4rem auto 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--primary-blue), var(--secondary-purple), transparent);
}

.timeline-item {
    margin-bottom: 4rem;
    position: relative;
    width: 50%;
    padding: 0 3rem;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--bg-dark);
    border: 4px solid var(--primary-blue);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.75rem;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: scale(1.02);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.timeline-year {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(59, 130, 246, 0.2);
    color: var(--primary-blue);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

/* Technology Feature Card */
.tech-feature-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.5), rgba(15, 23, 42, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 4rem;
    position: relative;
    overflow: hidden;
}

.tech-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

.feature-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.check-icon {
    width: 24px;
    height: 24px;
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2.75rem;
    }

    .mission-content {
        flex-direction: column;
        gap: 3rem;
    }

    .grid-2-cols {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 0;
        text-align: left !important;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: 10px;
        right: auto;
    }

    .tech-feature-card {
        padding: 2rem;
    }
}

/* Philosophy Section */
.philosophy-section {
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
}

.philosophy-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.philosophy-content {
    flex: 1;
    z-index: 2;
}

.philosophy-visual {
    flex: 1;
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.vision-glass-panel {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.vision-glass-panel::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15), rgba(168, 85, 247, 0.15), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(40px);
    z-index: 0;
}

.house-layer {
    animation: floatLayer 6s ease-in-out infinite;
    transform-origin: center;
}

.house-layer-1 {
    animation-delay: 0s;
}

.house-layer-2 {
    animation-delay: 0.2s;
}

.house-layer-3 {
    animation-delay: 0.4s;
}

@keyframes floatLayer {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.connect-line {
    stroke-dasharray: 10;
    stroke-dashoffset: 100;
    animation: flowLine 3s linear infinite;
    opacity: 0.5;
}

@keyframes flowLine {
    to {
        stroke-dashoffset: 0;
    }
}

.glow-node {
    filter: drop-shadow(0 0 5px rgba(59, 130, 246, 0.6));
    animation: pulseNode 3s ease-in-out infinite;
}

@keyframes pulseNode {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

.philosophy-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    background: rgba(139, 92, 246, 0.1);
    color: var(--secondary-purple);
    border: 1px solid rgba(139, 92, 246, 0.2);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.philosophy-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.philosophy-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.mission-points {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mission-point {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.point-icon {
    width: 24px;
    height: 24px;
    color: var(--primary-blue);
    flex-shrink: 0;
    margin-top: 4px;
}

@media (max-width: 900px) {
    .about-hero {
        padding: 6rem 0 3rem;
        min-height: auto;
    }

    .about-hero h1,
    .hero-headline {
        font-size: 3rem;
    }

    .mission-section,
    .timeline-section,
    .philosophy-section {
        padding: 4rem 0;
    }

    .mission-stats {
        margin-top: 2rem;
        gap: 1.5rem;
    }

    .philosophy-container {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .philosophy-visual {
        width: 100%;
        height: 350px;
        margin-top: 2rem;
    }

    .mission-point {
        justify-content: flex-start;
        text-align: left;
        background: rgba(255, 255, 255, 0.03);
        padding: 1rem;
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.05);
    }

    .philosophy-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 600px) {

    .about-hero h1,
    .hero-headline {
        font-size: 2.25rem;
    }

    .about-hero-lead {
        font-size: 1.1rem;
    }

    .mission-section,
    .timeline-section,
    .philosophy-section {
        padding: 3rem 0;
    }

    .mission-stats {
        grid-template-columns: 1fr;
    }

    .philosophy-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .philosophy-text {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .philosophy-visual {
        height: 280px;
    }

    .vision-glass-panel {
        box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.3);
    }

    .tech-feature-card {
        padding: 1.5rem;
    }

    .timeline-content {
        padding: 1.25rem;
    }
}

/* ── AI Blueprint Visual (Mission Section) ── */
.ai-blueprint-visual {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 34/31;
    border-radius: 28px;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.04) 0%, rgba(99, 102, 241, 0.06) 100%);
    border: 1px solid rgba(0, 217, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow:
        0 0 0 1px rgba(0, 217, 255, 0.06),
        0 30px 60px -15px rgba(0, 0, 0, 0.5),
        inset 0 0 40px rgba(0, 217, 255, 0.03);
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.6s ease;
}

.ai-blueprint-visual:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow:
        0 0 0 1px rgba(0, 217, 255, 0.2),
        0 40px 80px -20px rgba(0, 0, 0, 0.6),
        inset 0 0 60px rgba(0, 217, 255, 0.06);
}

/* Dual ambient glow orbs */
.bp-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(50px);
}

.bp-orb-1 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.18) 0%, transparent 70%);
    top: -60px;
    left: -60px;
    animation: bpOrb1 8s ease-in-out infinite alternate;
}

.bp-orb-2 {
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.20) 0%, transparent 70%);
    bottom: -50px;
    right: -40px;
    animation: bpOrb2 7s ease-in-out infinite alternate;
}

@keyframes bpOrb1 {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }

    100% {
        transform: translate(30px, 25px) scale(1.2);
        opacity: 1;
    }
}

@keyframes bpOrb2 {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }

    100% {
        transform: translate(-20px, -15px) scale(1.15);
        opacity: 0.85;
    }
}

/* SVG fills the card above orbs */
.bp-svg {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    display: block;
}

/* Floating "AI Generating..." badge */
.bp-tag {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    background: rgba(0, 217, 255, 0.10);
    border: 1px solid rgba(0, 217, 255, 0.28);
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #00D9FF;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.03em;
    animation: bpTagFloat 4s ease-in-out infinite;
    backdrop-filter: blur(8px);
}

.bp-tag-dot {
    width: 7px;
    height: 7px;
    background: #00D9FF;
    border-radius: 50%;
    flex-shrink: 0;
    animation: bpDotBlink 1.2s ease-in-out infinite;
    box-shadow: 0 0 6px #00D9FF;
}

@keyframes bpTagFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

@keyframes bpDotBlink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.2;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .ai-blueprint-visual {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .ai-blueprint-visual {
        padding: 1rem;
        border-radius: 20px;
    }

    .bp-tag {
        font-size: 0.65rem;
        padding: 5px 11px;
        bottom: 12px;
        right: 12px;
    }
}