/* ========================================
   About Page Specific Styles
   ======================================== */

/* ----------------------------------------
   Hero Section Overrides
   ---------------------------------------- */
.hero.hero-about {
    min-height: 70vh;
    padding-bottom: var(--space-16);
    padding-top: var(--space-32);
}

/* Centered Hero Content for About/Pricing */
.hero-content.hero-content-center {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
}

.hero-content-center .hero-text {
    max-width: 800px;
    margin: 0 auto;
}

/* ----------------------------------------
   Features Grid Override for About Page
   ---------------------------------------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-8);
}

.feature-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    transition: all var(--transition-base);
    /* Add subtle depth to separate from white background */
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(99, 102, 241, 0.3);
}

.feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-accent);
    color: var(--brand-gradient-start);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-6);
    font-size: 2rem;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    stroke-width: 2;
}

/* ----------------------------------------
   Team Section
   ---------------------------------------- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-8);
    margin-top: var(--space-10);
}

.team-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-base);
    text-align: center;
    /* Create a distinct card feel */
    box-shadow: var(--shadow-sm);
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(99, 102, 241, 0.3);
}

.team-image-wrapper {
    width: 100%;
    /* OPTIMIZATION: Reduced from 260px to 180px for better balance */
    height: 180px;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid var(--border-light);
}

.team-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.team-card:hover .team-image-wrapper img {
    transform: scale(1.05);
}

/* Fallback for placeholder images - Premium "Stealth" Look */
.team-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Add a more technical/security patterns to the placeholder */
.team-image-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    /* Tighter grid for technical feel */
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Add a subtle highlight scan effect */
.team-image-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.4) 50%, transparent 60%);
    opacity: 0.3;
}

/* 3D Icon Styles for Team Cards */
.team-image-placeholder.team-3d {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
}

.team-image-placeholder.team-3d::before,
.team-image-placeholder.team-3d::after {
    display: none;
    /* Remove grid overlay for 3D icons */
}

.team-3d-icon {
    width: 140px;
    height: 140px;
    object-fit: contain;
    transition: transform var(--transition-slow);
    filter: drop-shadow(0 8px 16px rgba(99, 102, 241, 0.15));
    z-index: 2;
    position: relative;
}

.team-card:hover .team-3d-icon {
    transform: scale(1.1) translateY(-4px);
    filter: drop-shadow(0 12px 24px rgba(99, 102, 241, 0.25));
}

.avatar-circle {
    width: 80px;
    /* OPTIMIZATION: Slightly smaller to match new header height */
    height: 80px;
    background: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    color: var(--brand-gradient-start);
    border: 3px solid var(--bg-primary);
    /* Cleaner white border merging with card */
    transition: all var(--transition-base);
}

.team-card:hover .avatar-circle {
    transform: scale(1.1);
    color: var(--brand-gradient-start);
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.avatar-circle svg {
    width: 50px;
    height: 50px;
    /* Removed fill: currentColor; for outline icons */
}

.team-content {
    padding: var(--space-6);
}

.team-name {
    font-size: var(--text-xl);
    margin-bottom: var(--space-1);
}

.team-role {
    font-size: var(--text-sm);
    color: var(--brand-gradient-start);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-3);
}

.team-bio {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
}

.team-socials {
    display: flex;
    justify-content: center;
    gap: var(--space-3);
}

/* Team card social links - scoped to avoid affecting footer */
.team-card .social-link {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    background: var(--bg-secondary);
}

.team-card .social-link:hover {
    background: var(--brand-gradient);
    color: var(--text-inverse);
    transform: translateY(-2px);
}

.team-card .social-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}