/**
 * Freelance Analytics - Main Stylesheet
 * Version: 1.0.0
 */

:root {
    /* Colors */
    --primary: #B9FF66;
    --dark: #191A23;
    --gray: #F3F3F3;
    --white: #FFFFFF;
    --text-gray: #666;
    --text-medium: #444;
    --text-dark: #333;

    /* Border & Shadow */
    --radius-sm: 7px;
    --radius-md: 14px;
    --radius-lg: 45px;
    --border: 1px solid #191A23;
    --border-bottom-width: 5px;
    --shadow: 0px 5px 0px #191A23;
    --shadow-subtle: 0 2px 10px rgba(0, 0, 0, 0.1);

    /* Spacing */
    --spacing-xs: 10px;
    --spacing-sm: 15px;
    --spacing-md: 20px;
    --spacing-lg: 30px;
    --spacing-xl: 40px;
    --spacing-xxl: 60px;
    --spacing-xxxl: 80px;
    --spacing-section: 100px;

    /* Images */
    --img-logo-max-height: 35px;
    --img-logo-max-width: 120px;
    --img-tech-max-height: 45px;
    --img-tech-max-width: 140px;

    /* Effects */
    --filter-muted: grayscale(1);
    --opacity-muted: 0.7;
    --transition-default: all 0.3s ease;

    /* Opacity overlays */
    --overlay-light: rgba(255, 255, 255, 0.05);
    --overlay-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--white);
    color: var(--dark);
    line-height: 1.4;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-default);
}

/* --- Global Components --- */
.btn-black {
    background: var(--dark);
    color: var(--white);
    padding: 18px 35px;
    border-radius: var(--radius-md);
    font-size: 18px;
    display: inline-block;
    cursor: pointer;
    border: none;
}

.btn-outline {
    border: var(--border);
    padding: 14px 30px;
    border-radius: 12px;
    display: inline-block;
    transition: var(--transition-default);
}

.btn-outline:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.btn-black:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.badge {
    background: var(--primary);
    padding: 0 10px;
    border-radius: 7px;
    font-size: 32px;
    font-weight: 500;
    display: inline-block;
}

/* --- Utility Classes --- */
/* Background Colors */
.bg-dark {
    background: var(--dark);
    color: var(--white);
}

.bg-lime {
    background: var(--primary);
}

.bg-gray {
    background: var(--gray);
}

/* Card Elevated */
.card-elevated {
    border: var(--border);
    border-bottom: var(--border-bottom-width) solid var(--dark);
    border-radius: var(--radius-lg);
    transition: var(--transition-default);
}

.card-elevated:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* Image Effects */
.img-muted {
    filter: var(--filter-muted);
    opacity: var(--opacity-muted);
    transition: var(--transition-default);
}

.img-muted:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* Typography & Layout Utilities */
.page-title {
    font-size: 48px;
    margin-bottom: 30px;
}

.page-content {
    padding: 60px 0;
}

.entry-content {
    max-width: 800px;
    font-size: 18px;
    line-height: 1.8;
}

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

.badge-lg {
    font-size: 24px;
    margin-bottom: 20px;
}

.section-spacing {
    margin-top: var(--spacing-section);
}

/* Error 404 Page */
.error-404 {
    padding: 100px 0;
}

.badge-404 {
    margin-bottom: 30px;
}

.error-message {
    font-size: 20px;
    margin-bottom: 40px;
    color: var(--text-gray);
}

/* CTA Section */
.cta-section {
    margin: 100px 0;
}

.cta-title {
    font-size: 40px;
    margin: 30px 0;
}

.cta-desc {
    margin-bottom: 40px;
}

.cta-trust {
    margin-top: 20px;
    opacity: 0.6;
}

.btn-lg {
    font-size: 24px;
    padding: 25px 50px;
}

/* Footer Utilities */
.footer-heading {
    color: var(--primary);
    margin-bottom: 20px;
}

.newsletter-input {
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
    border: var(--border);
    width: 100%;
    max-width: 300px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 100px 0 60px;
}

.section-header p {
    max-width: 500px;
    font-size: 18px;
}

/* --- Header --- */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    padding: 30px 0;
    transition: box-shadow 0.3s ease;
}

header.scrolled {
    box-shadow: var(--shadow-subtle);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    background: var(--primary);
    padding: 2px 5px;
    border-radius: 4px;
}

nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* --- Hero --- */
.hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    padding: 60px 0;
    align-items: center;
}

.hero h1 {
    font-size: 56px;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 35px;
    color: var(--text-medium);
}

.hero-btns {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 30px;
}

.hero-link {
    font-weight: 500;
}

.hero-trust {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-gray);
}

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

.hero-video-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 9 / 16;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: var(--border);
    box-shadow: var(--shadow);
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Social Proof --- */
.logos {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    place-items: center;
    padding: 50px 0;
    filter: grayscale(1);
    opacity: 0.7;
    gap: 30px 40px;
    border-bottom: var(--border);
}

.logos span {
    font-weight: 700;
    font-size: 24px;
}

.logo-img {
    max-height: 35px;
    max-width: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: var(--transition-default);
}

.logo-img:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.05);
}

/* --- Problem Section --- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card-problem {
    border: var(--border);
    border-bottom: 5px solid var(--dark);
    padding: 40px;
    border-radius: var(--radius-lg);
    height: 100%;
    transition: var(--transition-default);
}

.card-problem:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.card-problem .card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 15px;
}

.card-problem h3 {
    margin: 20px 0 15px;
    font-size: 24px;
    background: var(--primary);
    display: inline-block;
    padding: 0 5px;
    border-radius: 4px;
}

.card-problem.bg-dark .card-icon {
    filter: invert(1);
}

.card-problem.bg-dark h3 {
    background: white;
    color: var(--dark);
}

.problem-result {
    margin-top: 40px;
    font-size: 20px;
    font-weight: 500;
}

/* --- Expertise Grid --- */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.expertise-card {
    border: var(--border);
    border-bottom: var(--border-bottom-width) solid var(--dark);
    border-radius: var(--radius-lg);
    padding: 50px;
    display: flex;
    justify-content: space-between;
    min-height: 300px;
    transition: var(--transition-default);
}

.expertise-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.exp-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
}

.exp-title span {
    display: block;
    width: fit-content;
    padding: 0 5px;
    border-radius: 5px;
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 5px;
}

.expertise-card.bg-gray .exp-title span {
    background: var(--primary);
}

.expertise-card.bg-lime .exp-title span {
    background: white;
}

.expertise-card.bg-dark .exp-title span {
    background: white;
    color: var(--dark);
}

.expertise-link {
    font-weight: 700;
}

/* --- Stats --- */
.stats-bar {
    background: var(--dark);
    color: white;
    border-radius: var(--radius-lg);
    padding: 60px;
    display: flex;
    justify-content: space-around;
    text-align: center;
    margin: 80px 0;
}

.stat-item h2 {
    font-size: 48px;
    color: var(--primary);
}

.stat-item p {
    font-size: 16px;
    opacity: 0.8;
}

/* --- Méthode --- */
.method-step {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 40px;
    background: var(--gray);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: var(--border);
    transition: var(--transition-default);
}

.method-step:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.method-step.lime {
    background: var(--primary);
}

.method-step h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.method-step p {
    font-size: 16px;
    line-height: 1.6;
}

.step-num {
    font-size: 60px;
    font-weight: 700;
    opacity: 0.3;
    min-width: 80px;
}

/* --- Testimonials --- */
.testimonials-section {
    margin-top: 80px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: white;
    border: var(--border);
    padding: 35px;
    border-radius: var(--radius-lg);
    transition: var(--transition-default);
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--dark);
}

.testimonial-info h4 {
    font-size: 18px;
    margin: 0 0 5px 0;
    font-weight: 600;
}

.testimonial-role {
    font-size: 14px;
    color: var(--text-gray);
    margin: 0;
}

.testimonial-company {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin: 3px 0 0 0;
}

.testimonial-content {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    font-style: italic;
    margin: 0;
}

/* --- About Section --- */
.about {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: center;
    background: var(--gray);
    padding: 60px;
    border-radius: var(--radius-lg);
}

.about-img {
    width: 100%;
    border-radius: var(--radius-lg);
    border: var(--border);
}

.about-intro {
    font-size: 18px;
    margin-bottom: 20px;
}

.about-desc {
    margin-bottom: 30px;
}

/* --- Industries Section --- */
.industries-section {
    margin-top: 100px;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.industry-card {
    background: var(--gray);
    border: var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: var(--transition-default);
}

.industry-card:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.industry-card.bg-lime:hover {
    background: var(--primary);
    opacity: 0.95;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.industry-featured {
    grid-column: span 2;
    background: var(--gray);
}

.industry-featured:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.industry-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.industry-icon {
    width: 32px;
    height: 32px;
}

.industry-card h3 {
    font-size: 24px;
    margin: 0;
}

.industry-card p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
}

.industries-cta {
    text-align: center;
    padding: 40px;
    background: var(--dark);
    color: white;
    border-radius: var(--radius-lg);
    border: var(--border);
}

.industries-cta p {
    font-size: 18px;
    margin-bottom: 25px;
}

.industries-cta strong {
    color: var(--primary);
}

/* --- Tech Stack Section --- */
.tech-stack-section {
    margin-top: 100px;
}

.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 40px 45px;
    padding: 40px 0;
    place-items: center;
}

.tech-logo {
    max-height: 45px;
    max-width: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.6;
    transition: var(--transition-default);
}

.tech-logo:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.05);
}

/* --- Network Section --- */
.network-section {
    margin-top: 100px;
}

.network-intro {
    background: var(--dark);
    color: white;
    padding: 50px;
    border-radius: var(--radius-lg);
    margin-bottom: 40px;
    border: var(--border);
}

.network-intro h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--primary);
}

.network-intro p {
    font-size: 18px;
    line-height: 1.7;
}

.network-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.network-card {
    padding: 40px;
    border-radius: var(--radius-lg);
    border: var(--border);
    border-bottom: 5px solid var(--dark);
    transition: transform 0.3s ease;
}

.network-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.network-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 20px;
}

.network-card.bg-dark .network-icon {
    filter: invert(1);
}

.network-card h4 {
    font-size: 22px;
    margin-bottom: 15px;
}

.network-card p {
    font-size: 16px;
    line-height: 1.6;
}

.network-cta {
    background: var(--primary);
    padding: 60px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: var(--border);
}

.network-cta-content h3 {
    font-size: 36px;
    margin-bottom: 15px;
}

.network-cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--text-dark);
}

/* --- FAQ --- */
.faq-item {
    border-bottom: var(--border);
    padding: 25px 0;
    cursor: pointer;
    transition: var(--transition-default);
}

.faq-item:hover {
    background: var(--gray);
    padding-left: 15px;
    padding-right: 15px;
    border-radius: 10px;
}

.faq-item h4 {
    font-size: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    font-weight: 500;
}

.faq-item h4 span {
    font-size: 28px;
    font-weight: 300;
    color: var(--primary);
    background: var(--dark);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding-top: 15px;
    line-height: 1.7;
    color: var(--text-medium);
}

.faq-item.faq-open .faq-answer {
    max-height: 500px;
}

.faq-item.faq-open h4 span {
    transform: rotate(180deg);
}

/* --- Footer --- */
footer {
    background: var(--dark);
    color: white;
    padding: 80px 0 30px;
    margin-top: 100px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-bottom {
    border-top: 1px solid var(--overlay-border);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.newsletter-box {
    background: var(--overlay-light);
    padding: 20px;
    border-radius: 10px;
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animation classes */
.animate-on-scroll {
    opacity: 0;
}

.animate-on-scroll.animated {
    animation-duration: 0.8s;
    animation-fill-mode: both;
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.animated {
    animation-name: fadeInUp;
}

.fade-in.animated {
    animation-name: fadeIn;
}

.scale-in.animated {
    animation-name: scaleIn;
}

.slide-in-left.animated {
    animation-name: slideInLeft;
}

.slide-in-right.animated {
    animation-name: slideInRight;
}

/* Stagger delays pour les grids */
.stagger-item {
    opacity: 0;
}

.stagger-item.animated {
    animation-duration: 0.6s;
    animation-fill-mode: both;
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    animation-name: fadeInUp;
}

.stagger-item:nth-child(1).animated { animation-delay: 0.1s; }
.stagger-item:nth-child(2).animated { animation-delay: 0.2s; }
.stagger-item:nth-child(3).animated { animation-delay: 0.3s; }
.stagger-item:nth-child(4).animated { animation-delay: 0.4s; }
.stagger-item:nth-child(5).animated { animation-delay: 0.5s; }
.stagger-item:nth-child(6).animated { animation-delay: 0.6s; }
.stagger-item:nth-child(7).animated { animation-delay: 0.7s; }
.stagger-item:nth-child(8).animated { animation-delay: 0.8s; }
.stagger-item:nth-child(9).animated { animation-delay: 0.9s; }

/* Hero animations au chargement */
.hero-content > * {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-content > *:nth-child(1) { animation-delay: 0.2s; }
.hero-content > *:nth-child(2) { animation-delay: 0.3s; }
.hero-content > *:nth-child(3) { animation-delay: 0.4s; }
.hero-content > *:nth-child(4) { animation-delay: 0.5s; }

.hero-visual {
    opacity: 0;
    animation: scaleIn 1s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards;
}

/* Reduce motion pour accessibilité */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .animate-on-scroll,
    .stagger-item,
    .hero-content > *,
    .hero-visual {
        opacity: 1;
        animation: none !important;
    }
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .hero,
    .grid-3,
    .about,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero-video-wrapper {
        max-width: 350px;
    }

    nav a:not(.btn-outline) {
        display: none;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .stats-bar {
        flex-wrap: wrap;
        gap: 20px;
    }

    .expertise-card {
        flex-direction: column;
        gap: 20px;
        padding: 40px;
        min-height: 250px;
    }

    .expertise-grid {
        gap: 30px;
    }

    .method-step {
        padding: 35px;
        gap: 25px;
        margin-bottom: 30px;
    }

    .step-num {
        font-size: 50px;
        min-width: 70px;
    }

    .method-step h3 {
        font-size: 22px;
    }

    .network-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .network-card {
        padding: 35px;
    }

    .network-intro {
        padding: 40px;
    }

    .network-intro h3 {
        font-size: 28px;
    }

    .network-cta {
        padding: 50px;
    }

    .network-cta-content h3 {
        font-size: 30px;
    }

    .industries-grid {
        gap: 25px;
    }

    .industry-card {
        padding: 35px;
    }

    .industry-icon {
        width: 30px;
        height: 30px;
    }

    .industry-card h3 {
        font-size: 22px;
    }

    .industries-cta {
        padding: 35px;
    }

    .industries-cta p {
        font-size: 17px;
    }

    .testimonials-grid {
        gap: 25px;
    }

    .testimonial-card {
        padding: 30px;
    }

    .logos {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px 30px;
        padding: 40px 0;
    }

    .logo-img {
        max-height: 32px;
        max-width: 110px;
    }

    .tech-stack-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 35px 40px;
    }

    .tech-logo {
        max-height: 42px;
        max-width: 125px;
    }
}

@media (max-width: 768px) {
    .hero-video-wrapper {
        max-width: 300px;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .expertise-card {
        padding: 35px;
        min-height: 220px;
    }

    .exp-title span {
        font-size: 24px;
    }

    .method-step {
        padding: 30px;
        gap: 20px;
        margin-bottom: 25px;
    }

    .step-num {
        font-size: 45px;
        min-width: 60px;
    }

    .method-step h3 {
        font-size: 20px;
    }

    .network-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .network-card {
        padding: 30px;
    }

    .network-icon {
        font-size: 40px;
    }

    .network-card h4 {
        font-size: 20px;
    }

    .network-intro {
        padding: 35px;
    }

    .network-intro h3 {
        font-size: 24px;
    }

    .network-intro p {
        font-size: 16px;
    }

    .network-cta {
        padding: 40px;
    }

    .network-cta-content h3 {
        font-size: 26px;
    }

    .network-cta-content p {
        font-size: 16px;
    }

    .industries-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .industry-featured {
        grid-column: span 1;
    }

    .industry-card {
        padding: 30px;
    }

    .industry-icon {
        width: 28px;
        height: 28px;
    }

    .industry-card h3 {
        font-size: 20px;
    }

    .industry-card p {
        font-size: 15px;
    }

    .industries-cta {
        padding: 30px;
    }

    .industries-cta p {
        font-size: 16px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonial-avatar {
        width: 55px;
        height: 55px;
    }

    .testimonial-info h4 {
        font-size: 17px;
    }

    .testimonial-content {
        font-size: 15px;
    }

    .logos {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px 25px;
        padding: 35px 0;
    }

    .logo-img {
        max-height: 28px;
        max-width: 100px;
    }

    .tech-stack-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px 35px;
        padding: 35px 0;
    }

    .tech-logo {
        max-height: 38px;
        max-width: 110px;
    }
}

@media (max-width: 576px) {
    .hero-video-wrapper {
        max-width: 250px;
    }

    .hero-visual {
        margin-top: 30px;
    }

    .expertise-grid {
        gap: 20px;
    }

    .expertise-card {
        padding: 30px;
        min-height: auto;
    }

    .exp-title span {
        font-size: 22px;
    }

    .method-step {
        flex-direction: column;
        padding: 25px;
        gap: 15px;
        margin-bottom: 20px;
    }

    .step-num {
        font-size: 40px;
        min-width: auto;
    }

    .method-step h3 {
        font-size: 18px;
    }

    .method-step p {
        font-size: 15px;
    }

    .faq-item h4 {
        font-size: 16px;
    }

    .faq-item h4 span {
        width: 25px;
        height: 25px;
        font-size: 24px;
    }

    .faq-answer p {
        font-size: 14px;
    }

    .network-card {
        padding: 25px;
    }

    .network-icon {
        font-size: 36px;
        margin-bottom: 15px;
    }

    .network-card h4 {
        font-size: 18px;
    }

    .network-card p {
        font-size: 15px;
    }

    .network-intro {
        padding: 30px;
    }

    .network-intro h3 {
        font-size: 22px;
    }

    .network-intro p {
        font-size: 15px;
    }

    .network-cta {
        padding: 30px 25px;
    }

    .network-cta-content h3 {
        font-size: 22px;
    }

    .network-cta-content p {
        font-size: 15px;
    }

    .industry-card {
        padding: 25px;
    }

    .industry-header {
        gap: 12px;
    }

    .industry-icon {
        width: 26px;
        height: 26px;
    }

    .industry-card h3 {
        font-size: 18px;
    }

    .industry-card p {
        font-size: 14px;
        line-height: 1.6;
    }

    .industries-cta {
        padding: 25px;
    }

    .industries-cta p {
        font-size: 15px;
    }

    .testimonial-card {
        padding: 25px;
    }

    .testimonial-avatar {
        width: 50px;
        height: 50px;
    }

    .testimonial-header {
        gap: 12px;
    }

    .testimonial-info h4 {
        font-size: 16px;
    }

    .testimonial-role,
    .testimonial-company {
        font-size: 13px;
    }

    .testimonial-content {
        font-size: 14px;
        line-height: 1.6;
    }

    .logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 30px 15px;
    }

    .logo-img {
        max-height: 25px;
        max-width: 90px;
    }

    .tech-stack-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px 20px;
        padding: 30px 15px;
    }

    .tech-logo {
        max-height: 32px;
        max-width: 90px;
    }
}
