/* Team Page Styles */

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--deep-navy) 0%, var(--ocean-blue) 100%);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(0, 255, 136, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.page-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    color: var(--electric-cyan);
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem 1.5rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--neon-green);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    line-height: 1.3;
}

/* Philosophy Section */
.philosophy-section {
    padding: 80px 0;
    background: white;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.philosophy-card {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 16px;
    border-left: 4px solid var(--electric-cyan);
    transition: all 0.3s ease;
}

.philosophy-card:hover {
    background: white;
    box-shadow: 0 10px 30px rgba(12, 30, 52, 0.1);
    transform: translateY(-5px);
}

.philosophy-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--electric-cyan) 0%, var(--neon-green) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.philosophy-icon i {
    font-size: 2rem;
    color: white;
}

.philosophy-card h3 {
    font-size: 1.5rem;
    color: var(--deep-navy);
    margin-bottom: 1rem;
    font-weight: 700;
}

.philosophy-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--carbon-black);
}

/* Expertise Section */
.expertise-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f8f9fa 0%, white 100%);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.expertise-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(12, 30, 52, 0.08);
    transition: all 0.3s ease;
}

.expertise-card:hover {
    box-shadow: 0 10px 30px rgba(12, 30, 52, 0.15);
    transform: translateY(-5px);
}

.expertise-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.expertise-header i {
    font-size: 2rem;
    color: var(--electric-cyan);
}

.expertise-header h3 {
    font-size: 1.5rem;
    color: var(--deep-navy);
    font-weight: 700;
}

.expertise-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.expertise-card li {
    padding: 0.75rem 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--carbon-black);
    border-bottom: 1px solid #f3f4f6;
    position: relative;
    padding-left: 1.75rem;
}

.expertise-card li:last-child {
    border-bottom: none;
}

.expertise-card li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--electric-cyan);
    font-weight: bold;
}

/* Structure Section */
.structure-section {
    padding: 80px 0;
    background: white;
}

.structure-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    align-items: start;
}

.structure-visual {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.role-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.role-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--ocean-blue);
    transition: all 0.3s ease;
}

.role-card:hover {
    background: white;
    box-shadow: 0 4px 15px rgba(12, 30, 52, 0.1);
}

.role-card.primary {
    background: linear-gradient(135deg, var(--electric-cyan) 0%, var(--neon-green) 100%);
    color: white;
    border-left-color: transparent;
    text-align: center;
    padding: 2rem;
}

.role-card h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.role-card.primary h4 {
    color: white;
    font-size: 1.5rem;
}

.role-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--carbon-black);
}

.role-card.primary p {
    color: rgba(255, 255, 255, 0.95);
}

.structure-text h3 {
    font-size: 2rem;
    color: var(--deep-navy);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.structure-text > p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--carbon-black);
    margin-bottom: 1.5rem;
}

.team-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.team-features li {
    display: flex;
    align-items: start;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
}

.team-features i {
    color: var(--neon-green);
    font-size: 1.25rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.team-features strong {
    color: var(--deep-navy);
}

/* Analytics Section */
.analytics-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, white 0%, #f8f9fa 100%);
}

.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.chart-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(12, 30, 52, 0.1);
    transition: all 0.3s ease;
}

.chart-card:hover {
    box-shadow: 0 15px 40px rgba(12, 30, 52, 0.15);
    transform: translateY(-5px);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.chart-header h3 {
    font-size: 1.25rem;
    color: var(--deep-navy);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chart-header i {
    color: var(--electric-cyan);
    font-size: 1.5rem;
}

.chart-period {
    font-size: 0.875rem;
    color: #6b7280;
    background: #f3f4f6;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
}

.chart-container {
    position: relative;
    height: 280px;
    margin-bottom: 1.5rem;
}

.chart-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #f3f4f6;
}

.stat-item {
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--deep-navy);
}

.growth-positive {
    color: var(--neon-green);
}

/* Metrics Summary */
.metrics-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.metric-box {
    background: linear-gradient(135deg, var(--electric-cyan) 0%, var(--neon-green) 100%);
    padding: 2rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 8px 25px rgba(79, 195, 247, 0.3);
    transition: all 0.3s ease;
}

.metric-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(79, 195, 247, 0.4);
}

.metric-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.metric-icon i {
    font-size: 2rem;
    color: white;
}

.metric-content {
    flex: 1;
}

.metric-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
}

/* Partners Section */
.partners-section {
    padding: 80px 0;
    background: white;
    overflow: hidden;
}

.partners-carousel {
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.carousel-track {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.partner-logo-wrapper {
    flex: 0 0 auto;
}

.partner-logo {
    width: 160px;
    height: 160px;
    background: white;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 4px 15px rgba(12, 30, 52, 0.08);
    transition: all 0.3s ease;
    border: 2px solid #f3f4f6;
    padding: 1rem;
}

.partner-logo:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(12, 30, 52, 0.15);
    border-color: var(--electric-cyan);
}

.partner-logo i {
    font-size: 3rem;
    color: var(--ocean-blue);
    transition: all 0.3s ease;
}

.partner-logo:hover i {
    color: var(--electric-cyan);
    transform: scale(1.1);
}

.partner-logo span {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--deep-navy);
    text-align: center;
}

.partner-logo small {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 600;
    text-align: center;
}

.partner-logo.odoo-partner {
    border-color: var(--neon-green);
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.05) 0%, rgba(79, 195, 247, 0.05) 100%);
}

.partner-logo.odoo-partner:hover {
    border-color: var(--neon-green);
    box-shadow: 0 12px 30px rgba(0, 255, 136, 0.3);
}

/* Partner Categories */
.partner-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.partner-category {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.partner-category:hover {
    background: white;
    box-shadow: 0 8px 25px rgba(12, 30, 52, 0.1);
    transform: translateY(-5px);
}

.category-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--electric-cyan) 0%, var(--neon-green) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.category-icon i {
    font-size: 2rem;
    color: white;
}

.partner-category h4 {
    font-size: 1.25rem;
    color: var(--deep-navy);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.partner-category p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--carbon-black);
}

/* Certifications Section */
.certifications-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--deep-navy) 0%, var(--ocean-blue) 100%);
    color: white;
}

.certifications-section .section-header h2,
.certifications-section .section-header p {
    color: white;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.cert-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: all 0.3s ease;
}

.cert-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.cert-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--electric-cyan) 0%, var(--neon-green) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.cert-icon i {
    font-size: 2rem;
    color: white;
}

.cert-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: white;
    font-weight: 700;
}

.cert-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* Careers Section */
.careers-section {
    padding: 80px 0;
    background: white;
}

.careers-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.careers-text h2 {
    font-size: 2.5rem;
    color: var(--deep-navy);
    margin-bottom: 1rem;
    font-weight: 800;
}

.careers-text > p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--carbon-black);
    margin-bottom: 2rem;
}

.careers-text h3 {
    font-size: 1.5rem;
    color: var(--deep-navy);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.careers-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.careers-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--carbon-black);
}

.careers-list i {
    color: var(--neon-green);
    font-size: 1.125rem;
}

.positions-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.positions-list li {
    padding: 1rem;
    background: #f8f9fa;
    border-left: 4px solid var(--electric-cyan);
    margin-bottom: 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
}

.positions-list strong {
    color: var(--deep-navy);
    font-size: 1.0625rem;
}

.careers-cta {
    display: flex;
    align-items: center;
}

.cta-box {
    background: linear-gradient(135deg, var(--electric-cyan) 0%, var(--neon-green) 100%);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    color: white;
    box-shadow: 0 15px 40px rgba(79, 195, 247, 0.3);
}

.cta-box i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-box h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-box p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.95);
}

.email-link {
    display: inline-block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--deep-navy);
    text-decoration: none;
    padding: 1rem 2rem;
    background: white;
    border-radius: 50px;
    margin: 1.5rem 0;
    transition: all 0.3s ease;
}

.email-link:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.cta-note {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f8f9fa 0%, white 100%);
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--deep-navy);
}

.cta-content p {
    font-size: 1.25rem;
    color: var(--carbon-black);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .structure-content,
    .careers-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .expertise-grid,
    .analytics-grid {
        grid-template-columns: 1fr;
    }
    
    .metrics-summary {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 100px 0 60px;
    }
    
    .philosophy-section,
    .expertise-section,
    .structure-section,
    .certifications-section,
    .careers-section,
    .cta-section {
        padding: 60px 0;
    }
    
    .philosophy-grid,
    .cert-grid {
        grid-template-columns: 1fr;
    }
    
    .role-row {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary,
    .cta-buttons .btn-whatsapp {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .philosophy-card,
    .expertise-card,
    .cert-item {
        padding: 1.5rem;
    }
    
    .cta-box {
        padding: 2rem;
    }
    
    .metrics-summary {
        grid-template-columns: 1fr;
    }
    
    .metric-box {
        flex-direction: column;
        text-align: center;
    }
    
    .partner-logo {
        width: 140px;
        height: 140px;
    }
    
    .carousel-track {
        gap: 1rem;
    }
    
    .chart-container {
        height: 220px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   CLIENT SUCCESS STORIES SECTION
   ═══════════════════════════════════════════════════════════════ */

.clients-section {
    background: linear-gradient(135deg, #0f2439 0%, #1a2942 100%);
    padding: 80px 0;
    position: relative;
}

.clients-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.5), transparent);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.client-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.client-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00d9ff, #00a8cc);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.client-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 217, 255, 0.5);
    box-shadow: 0 20px 50px rgba(0, 217, 255, 0.3);
}

.client-card:hover::before {
    opacity: 1;
}

.client-logo-container {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.client-card:hover .client-logo-container {
    transform: scale(1.1);
}

.client-logo-container img {
    max-height: 60px;
    max-width: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.client-card:hover .client-logo-container img {
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(0, 217, 255, 0.6));
}

.client-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #00d9ff;
    transition: color 0.3s ease;
}

.client-card:hover h3 {
    color: #00fff2;
}

.client-card p {
    font-size: 0.9rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.client-card:hover p {
    opacity: 1;
}

/* ROI Badge in Client Card */
.client-card > div:last-child {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.client-card > div:last-child > div:first-child {
    font-size: 1.5rem;
    font-weight: 800;
    color: #00d9ff;
    margin-bottom: 5px;
    transition: transform 0.3s ease;
}

.client-card:hover > div:last-child > div:first-child {
    transform: scale(1.1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .clients-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .client-card {
        padding: 30px 20px;
    }
}
