/* === About Page ===
 * Intent: marketing/brand page sections that reuse the global theme tokens.
 */

/* Hero Section */
.about-hero {
    text-align: center;
    padding: 8rem 2rem 5rem;
    position: relative;
    /* Allows the decorative glow to extend without causing scrollbars. */
    overflow: hidden;
}

.about-hero::before {
    /* Decorative ambient glow behind the hero copy (kept behind via z-index). */
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    opacity: 0.3;
    z-index: -1;
    animation: pulse 6s ease-in-out infinite;
}

@keyframes pulse {
    /* Subtle motion so the page doesn't feel static. */

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.4;
    }
}

.about-hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, var(--accent-primary) 50%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-hero .tagline {
    font-size: 1.4rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Mission Section */
.about-mission {
    max-width: 1000px;
    margin: 0 auto 6rem;
    padding: 0 2rem;
    text-align: center;
}

.mission-quote {
    font-size: 2rem;
    font-weight: 600;
    font-style: italic;
    color: var(--text-main);
    line-height: 1.5;
    margin-bottom: 2rem;
    position: relative;
}

.mission-quote::before,
.mission-quote::after {
    content: '"';
    font-size: 4rem;
    color: var(--accent-primary);
    opacity: 0.5;
    position: absolute;
    font-style: normal;
}

.mission-quote::before {
    top: -20px;
    left: -30px;
}

.mission-quote::after {
    bottom: -40px;
    right: -20px;
}

/* Values Grid */
.about-values {
    max-width: 1200px;
    margin: 0 auto 6rem;
    padding: 0 2rem;
}

.about-values h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.values-grid {
    /* Responsive grid without many breakpoints. */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.value-card {
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.value-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 20px 60px -20px rgba(99, 102, 241, 0.3);
}

.value-card:hover::before {
    opacity: 1;
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.value-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.value-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

/* Stats Section */
.about-stats {
    /* Soft section divider that still feels “glassy”. */
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.05) 0%, transparent 100%);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 5rem 2rem;
    margin-bottom: 6rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Team Section */
.about-team {
    max-width: 1200px;
    margin: 0 auto 6rem;
    padding: 0 2rem;
}

.about-team h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.team-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-card {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.2);
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 10px 30px -10px rgba(99, 102, 241, 0.4);
}

.team-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--accent-primary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-bio {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Tech Stack */
.about-tech {
    max-width: 1000px;
    margin: 0 auto 6rem;
    padding: 0 2rem;
    text-align: center;
}

.about-tech h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.tech-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.tech-badge {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 100px;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    color: var(--text-main);
    font-weight: 500;
    transition: all 0.3s ease;
}

.tech-badge:hover {
    background: rgba(99, 102, 241, 0.2);
    transform: translateY(-2px);
}

/* CTA Section */
.about-cta {
    text-align: center;
    padding: 5rem 2rem;
    margin: 0 2rem 4rem;
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(59, 130, 246, 0.1) 100%);
    border: 1px solid var(--glass-border);
}

.about-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about-cta p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 10px 30px -10px rgba(99, 102, 241, 0.5);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px -10px rgba(99, 102, 241, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2.5rem;
    }

    .about-hero .tagline {
        font-size: 1.1rem;
    }

    .mission-quote {
        font-size: 1.4rem;
    }

    .mission-quote::before,
    .mission-quote::after {
        display: none;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .about-cta {
        margin: 0 1rem 2rem;
        padding: 3rem 1.5rem;
    }

    .about-cta h2 {
        font-size: 1.8rem;
    }
}