/* About Page Styles - Premium Redesign */

/* Hero Section */
.about-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: #020617;
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 4rem;
}

.about-hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #020617 0%, #0f172a 50%, #020617 100%);
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 30%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle at center, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    filter: blur(60px);
    z-index: 0;
}

.about-hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle at center, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
    filter: blur(60px);
    z-index: 0;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    max-width: 650px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.title-main {
    display: block;
    background: linear-gradient(135deg, #6366f1 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-sub {
    display: block;
    color: #f1f5f9;
}

.hero-description {
    font-size: 1.15rem;
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    padding: 1.25rem 1.5rem;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 1rem;
    min-width: 120px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #6366f1 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: #94a3b8;
    margin-top: 0.25rem;
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-icon {
    padding: 2rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50%;
    border: 2px solid rgba(99, 102, 241, 0.2);
}

/* Mission Section */
.mission-section {
    padding: 5rem 0;
    background: #0f172a;
}

.mission-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
}

.mission-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 1.5rem;
}

.mission-paragraph {
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.mission-values {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.value-item {
    display: flex;
    gap: 1rem;
    align-items: start;
}

.value-item .value-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 0.75rem;
    color: #a78bfa;
}

.value-item .value-content {
    flex: 1;
}

.value-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 0.25rem;
}

.value-description {
    font-size: 0.9rem;
    color: #94a3b8;
}

.mission-visual {
    position: sticky;
    top: 100px;
}

.mission-card {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 1.5rem;
    overflow: hidden;
}

.mission-card .card-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.mission-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #f1f5f9;
    margin: 0;
}

.card-stats {
    padding: 1rem;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.05);
}

.stat-row:last-child {
    border-bottom: none;
}

.stat-row .stat-label {
    color: #94a3b8;
    font-size: 0.9rem;
}

.stat-row .stat-value {
    font-weight: 700;
    color: #a78bfa;
    font-size: 1rem;
}

/* Values Section */
.values-section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.section-header p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-card:hover {
    transform: translateY(-10px);
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--glass-border);
}

.value-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.value-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Team Section */
.team-section {
    padding: 6rem 0;
    background: var(--bg-secondary, #0f172a);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-member {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.team-member:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.member-avatar {
    position: relative;
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.avatar-placeholder {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
    border-radius: 50%;
    border: 2px solid rgba(99, 102, 241, 0.3);
}

.avatar-placeholder svg {
    width: 80px;
    height: 80px;
}

.member-social {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member:hover .member-social {
    opacity: 1;
}

.member-social .social-link {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.9);
    border-radius: 50%;
    color: white;
    transition: transform 0.2s ease, background 0.2s ease;
}

.member-social .social-link:hover {
    background: rgba(168, 85, 247, 1);
    transform: translateY(-2px);
}

.member-social .social-link svg {
    width: 16px;
    height: 16px;
}

.member-info {
    text-align: center;
}

.member-name {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #f1f5f9;
}

.member-role {
    color: #a78bfa;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.member-bio {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.member-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.skill-tag {
    padding: 0.25rem 0.75rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 9999px;
    font-size: 0.75rem;
    color: #a5b4fc;
    font-weight: 500;
}

/* Timeline Section */
.timeline-section {
    padding: 6rem 0;
    background: #020617;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #6366f1, #a78bfa);
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 3rem;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 3rem;
}

.timeline-marker {
    position: absolute;
    top: 0;
    width: 16px;
    height: 16px;
    background: #6366f1;
    border: 3px solid #020617;
    border-radius: 50%;
    z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-marker {
    right: -8px;
}

.timeline-item:nth-child(even) .timeline-marker {
    left: -8px;
}

.timeline-content {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.3);
}

.timeline-date {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(99, 102, 241, 0.1);
    color: #a78bfa;
    border-radius: 2rem;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.timeline-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 0.5rem;
}

.timeline-description {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 1.5rem;
}

.cta-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: #f1f5f9;
    margin-bottom: 1rem;
}

.cta-description {
    color: #94a3b8;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.cta-button.primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: #f1f5f9;
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
}

/* Responsive */
@media (max-width: 992px) {
    .about-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-hero-text p {
        margin: 0 auto 3rem;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 50px !important;
        padding-right: 0 !important;
        text-align: left !important;
    }

    .timeline-dot {
        left: 10px !important;
        right: auto !important;
    }
}

@media (max-width: 768px) {
    .about-stats {
        grid-template-columns: 1fr;
    }
}

/* Focus Styles */
.team-member a:focus,
.timeline-content:focus-within {
    outline: 2px solid var(--color-primary);
    outline-offset: 4px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

    .value-card,
    .team-member,
    .member-image img,
    .timeline-content,
    .timeline-dot {
        transition: none !important;
        transform: none !important;
        animation: none !important;
    }

    .value-card:hover,
    .team-member:hover .member-image img,
    .timeline-item:hover .timeline-content {
        transform: none !important;
    }
}