/* 1600.agency inspired CSS - Clean, Modern Design */

/* Agrandir Font Family */
@font-face {
    font-family: 'Agrandir';
    src: url('../fonts/Agrandir-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Agrandir';
    src: url('../fonts/Agrandir-TextBold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Agrandir';
    src: url('../fonts/Agrandir-TextBold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Agrandir';
    src: url('../fonts/Agrandir-GrandHeavy.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary: #fb6930;
    --primary-dark: #e85d2b;
    --secondary: #1a1a1a;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-light: #999999;
    --background: #ffffff;
    --background-light: #f8f9fa;
    --border: #e5e5e5;
    --border-light: #f0f0f0;
    --success: #10b981;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Agrandir', 'Inter', 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: min(1400px, 100%);
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    height: 80px;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-family: 'Agrandir', sans-serif;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.contact-btn {
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-family: 'Agrandir', sans-serif;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.contact-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: var(--background);
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 60px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.hero-title em {
    color: var(--primary);
    font-style: italic;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 500px;
}

.hero-motto {
    font-size: 16px;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 32px;
    font-style: italic;
    letter-spacing: 0.5px;
}

.cta-primary {
    background: var(--primary);
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.cta-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Video Container */
.video-container {
    aspect-ratio: 1/1;
    background: var(--background-light);
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    overflow: hidden;
}

.video-container:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.video-placeholder {
    text-align: center;
    padding: 40px;
}

.play-button {
    margin-bottom: 16px;
    transition: var(--transition);
}

.video-container:hover .play-button {
    transform: scale(1.05);
}

.video-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.video-subtitle {
    font-size: 14px;
    color: var(--text-light);
}

/* Certifications */
.certifications-strip {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.cert-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--background-light);
    padding: 16px 24px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    text-decoration: none;
    transition: var(--transition);
}

.cert-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.cert-badge img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.cert-badge span {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.section-title em {
    color: var(--primary);
    font-style: italic;
}

/* Process Video Section */
.process-video {
    background: var(--background-light);
}

.process-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
    max-width: min(1400px, 100%);
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.process-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
}

.process-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.stat {
    text-align: left;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

.video-container-large {
    aspect-ratio: 1/1;
    background: linear-gradient(135deg, var(--secondary) 0%, #2a2a2a 100%);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    overflow: hidden;
}

.process-animation-container {
    background: transparent;
    border: none;
    aspect-ratio: 1/1;
    max-width: min(750px, 100%);
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.video-container-large:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.video-placeholder-large {
    text-align: center;
    padding: 60px;
}

.video-title-large {
    font-size: 24px;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
}

.video-subtitle-large {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

/* Trusted By Section */
.trusted-by {
    background: var(--background);
    padding: 80px 0;
}

.trusted-by-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.trusted-by-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 48px;
}

.clients-carousel {
    overflow: hidden;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

.clients-logos-slider {
    display: flex;
    gap: 32px;
    animation: scroll-logos 20s linear infinite;
}

.clients-logos-slider:hover {
    animation-play-state: paused;
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% / 10 * 7));
    }
}

.client-logo {
    flex: 0 0 calc(33.333% - 22px);
    padding: 24px 32px;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

.client-logo:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.client-logo img {
    height: 40px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: var(--transition);
}

.client-logo:hover img {
    filter: grayscale(0%);
}

/* Services Section */
.services-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.services-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Packages Section */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 32px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 1200px) {
    .packages-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .packages-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 16px;
    }

    .package-card {
        padding: 24px;
    }

    .package-header h3 {
        font-size: 24px;
    }

    .package-price {
        font-size: 20px;
    }

    .package-card.featured::before {
        top: -10px;
        padding: 4px 12px;
        font-size: 11px;
    }

    /* Mobile carousel: show 1 logo at a time */
    .clients-carousel {
        max-width: 100%;
        padding: 0 16px;
    }

    .client-logo {
        flex: 0 0 100%;
        padding: 20px 24px;
        min-height: 90px;
    }

    .clients-logos-slider {
        gap: 16px;
    }

    @keyframes scroll-logos {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-100% / 10 * 7));
        }
    }
}

.service-card,
.package-card {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    padding: 32px;
    transition: var(--transition);
    position: relative;
}

.service-card:hover,
.package-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.package-card {
    padding: 40px;
    border-radius: var(--border-radius-lg);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.package-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--background) 0%, rgba(251, 105, 48, 0.02) 100%);
    position: relative;
}

.package-card.featured::before {
    content: "Most Popular";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-header,
.package-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 16px;
}

.service-header h3,
.package-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
    flex: 1;
}

.service-header h3 em,
.package-header h3 em {
    color: var(--primary);
    font-style: italic;
}

.service-price,
.package-price {
    background: var(--background-light);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}

.package-header {
    text-align: center;
    flex-direction: column;
    align-items: center;
    margin-bottom: 32px;
}

.package-header h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    margin-bottom: 8px;
}

.package-price {
    font-size: 24px;
    background: transparent;
    color: var(--primary);
    padding: 0;
    font-weight: 700;
}

.service-description,
.package-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.package-description {
    text-align: center;
    font-size: 16px;
    margin-bottom: 32px;
}

.service-outcome,
.package-outcome {
    background: var(--background-light);
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 3px solid var(--primary);
}

.package-outcome {
    text-align: center;
    border-left: none;
    border-top: 3px solid var(--primary);
    margin-bottom: 32px;
}

.outcome-label {
    font-weight: 600;
    color: var(--primary);
    font-size: 14px;
}

.service-features,
.package-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.package-features {
    flex: 1;
    margin-bottom: 32px;
}

.service-features span,
.package-features span {
    font-size: 14px;
    color: var(--text-secondary);
    position: relative;
    padding-left: 24px;
}

.service-features span::before,
.package-features span::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 600;
}

.service-cta,
.package-cta {
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: block;
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    width: 100%;
}

.package-cta {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 12px;
    margin-top: auto;
}

.service-cta:hover,
.package-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.package-card.featured .package-cta {
    background: var(--primary);
    box-shadow: 0 4px 12px rgba(251, 105, 48, 0.3);
}

.package-card.featured .package-cta:hover {
    background: var(--primary-dark);
    box-shadow: 0 6px 16px rgba(251, 105, 48, 0.4);
}

/* Custom Package Note */
.custom-package-note {
    text-align: center;
    margin-top: 48px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(251, 105, 48, 0.05) 0%, rgba(251, 105, 48, 0.02) 100%);
    border: 1px solid rgba(251, 105, 48, 0.1);
    border-radius: 12px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.custom-package-note p {
    margin: 0;
    font-size: 16px;
    color: var(--text-secondary);
}

.custom-package-note strong {
    color: var(--text-primary);
}

.custom-package-note a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.custom-package-note a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .custom-package-note {
        margin-top: 32px;
        padding: 20px;
        margin-left: 16px;
        margin-right: 16px;
    }

    .custom-package-note p {
        font-size: 15px;
    }
}

/* Case Studies */
.case-studies-slider-container {
    max-width: min(1400px, 100%);
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
    width: 100%;
}

/* New Tabs Layout */
.case-study-container {
    display: none;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    max-width: 100%;
    box-sizing: border-box;
    padding: 40px;
}

.case-study-container.active {
    display: block;
}

.case-company-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--border);
}

.company-logo-header {
    width: 80px;
    height: auto;
}

.company-info-header {
    flex: 1;
}

.company-name-header {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.company-tagline {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0;
}

.case-tabs-layout {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    min-height: 500px;
}

.case-tabs-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.case-tab-btn {
    background: transparent;
    border: none;
    padding: 16px 20px;
    text-align: left;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 8px;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.case-tab-btn:hover {
    background: var(--background-light);
    color: var(--text-primary);
}

.case-tab-btn.active {
    background: linear-gradient(135deg, rgba(251, 105, 48, 0.1) 0%, rgba(251, 105, 48, 0.05) 100%);
    color: var(--primary);
    border-left-color: var(--primary);
    font-weight: 600;
}

.case-content-area {
    position: relative;
    min-height: 400px;
}

.case-tab-content {
    display: none;
    animation: fadeInContent 0.3s ease;
}

.case-tab-content.active {
    display: block;
}

@keyframes fadeInContent {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-content-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.tab-intro {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.content-section {
    margin-bottom: 32px;
}

.content-section h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.tech-stack-badge {
    background: var(--primary);
    color: white;
    padding: 20px 24px;
    border-radius: 12px;
    margin-top: 32px;
    font-size: 15px;
    text-align: center;
}

.result-summary {
    background: var(--background-light);
    padding: 24px;
    border-radius: 12px;
    margin-top: 24px;
}

.result-summary p {
    margin: 8px 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Mobile responsive for tabs */
@media (max-width: 768px) {
    .case-tabs-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .case-tabs-nav {
        flex-direction: row;
        overflow-x: auto;
        gap: 8px;
        padding-bottom: 8px;
    }

    .case-tab-btn {
        white-space: nowrap;
        border-left: none;
        border-bottom: 3px solid transparent;
        padding: 12px 16px;
        font-size: 14px;
    }

    .case-tab-btn.active {
        border-left: none;
        border-bottom-color: var(--primary);
    }

    .case-company-header {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .company-name-header {
        font-size: 24px;
    }

    .company-tagline {
        font-size: 14px;
    }

    .case-study-container {
        padding: 24px;
    }
}

.technical-details,
.architecture-overview {
    margin-top: 24px;
    border-left: 3px solid var(--primary);
    background: var(--background-light);
    border-radius: 8px;
    padding: 20px;
}

.technical-details h4,
.architecture-overview h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.integration-points {
    margin-top: 16px;
}

.before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
    padding: 20px;
    background: var(--background-light);
    border-radius: 8px;
}

.before-metrics h4,
.after-metrics h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.before-metrics h4 {
    color: #dc3545;
}

.after-metrics h4 {
    color: var(--success);
}

.before-metrics ul,
.after-metrics ul {
    list-style: none;
    padding: 0;
}

.before-metrics li,
.after-metrics li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

@media (max-width: 768px) {
    .before-after {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 12px;
    }

    .impact-metrics {
        gap: 12px;
        margin: 16px 0;
        flex-direction: column;
    }

    .metric {
        padding: 12px;
        min-width: 100%;
    }

    .metric-value {
        font-size: 20px;
    }

    .metric-label {
        font-size: 12px;
    }

    .challenge-points,
    .solution-points,
    .integration-points {
        max-width: 100%;
    }

    .challenge-points li,
    .solution-points li,
    .integration-points li {
        font-size: 13px;
        padding-left: 28px;
        line-height: 1.5;
    }

    .case-studies-slider-container {
        padding: 0;
        width: 100vw !important;
        max-width: 100vw !important;
        overflow: hidden;
    }

    #case-studies.section {
        padding-left: 0;
        padding-right: 0;
    }

    #case-studies .section-title {
        padding: 0 16px;
        margin-bottom: 24px;
    }

    .case-studies-navigation {
        padding: 0 16px;
        margin-bottom: 24px;
    }
}

.case-studies-navigation {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.case-nav-btn {
    width: 120px;
    height: 80px;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    padding: 16px;
}

.case-nav-btn:hover,
.case-nav-btn.active {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.case-nav-btn img {
    max-width: 100%;
    max-height: 48px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: var(--transition);
}

.case-nav-btn:hover img,
.case-nav-btn.active img {
    filter: grayscale(0%);
}

/* Testimonials */
.recommendations-carousel {
    overflow: hidden;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.recommendations-slider {
    display: flex;
    gap: 24px;
    animation: scroll-recommendations 25s linear infinite;
}

.recommendations-slider:hover {
    animation-play-state: paused;
}

@keyframes scroll-recommendations {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% / 5 * 4));
    }
}

.recommendation-card {
    flex: 0 0 calc(33.333% - 16px);
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    padding: 32px;
    transition: var(--transition);
}

.recommendation-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.recommendation-screenshot {
    margin-bottom: 24px;
    border-radius: 8px;
    overflow: hidden;
}

.recommendation-screenshot img {
    width: 100%;
    height: auto;
    display: block;
}

.role {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 4px;
    font-size: 14px;
}

.company {
    color: var(--text-light);
    margin-bottom: 16px;
    font-size: 13px;
}

.snippet {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.linkedin-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
}

.linkedin-link:hover {
    color: var(--primary-dark);
}

/* Final CTA */
.final-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 100px 0;
}

.final-cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.founder-intro {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-bottom: 48px;
    text-align: left;
}

.founder-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.2);
}

.final-cta-title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.final-cta-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.benefits-carousel {
    overflow: hidden;
    position: relative;
    max-width: 1400px;
    margin: 0 auto 48px;
    padding: 0 24px;
}

.final-cta-benefits {
    display: flex;
    gap: 24px;
    animation: scroll-benefits 20s linear infinite;
}

.final-cta-benefits:hover {
    animation-play-state: paused;
}

@keyframes scroll-benefits {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% / 5 * 4));
    }
}

.cta-benefit {
    flex: 0 0 calc(33.333% - 16px);
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px 24px;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.cta-benefit:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.benefit-icon {
    font-size: 20px;
}

.final-cta-buttons {
    margin-bottom: 32px;
}

.cta-primary-large {
    background: white;
    color: var(--primary);
    padding: 20px 40px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

.cta-primary-large:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.final-cta-guarantee {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* Founder Story Section */
.founder-story {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 32px;
    margin: 32px 0;
    border-left: 4px solid rgba(255, 255, 255, 0.3);
}

.story-text {
    font-size: 18px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    line-height: 1.6;
    text-align: center;
}

.founder-credentials {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin: 16px 0 0 0;
    text-align: center;
    padding: 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.final-cta-benefits .cta-benefit span:last-child {
    font-size: 15px;
    line-height: 1.4;
}

/* Footer */
footer {
    background: var(--secondary);
    color: rgba(255, 255, 255, 0.8);
    padding: 40px 0;
    text-align: center;
    font-size: 14px;
}

/* Last Call to Action */
.last-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    padding: 80px 0;
}

.last-cta-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 24px;
}

.last-cta-title {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 800;
    margin: 0 0 16px 0;
    color: white;
}

.last-cta-subtitle {
    font-size: 20px;
    margin: 0 0 40px 0;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.last-cta-btn {
    background: white !important;
    color: var(--primary) !important;
    margin: 0 0 20px 0;
    font-size: 18px;
    padding: 20px 40px;
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.last-cta-btn:hover {
    background: rgba(255, 255, 255, 0.95) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.last-cta-note {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-weight: 400;
}

@media (max-width: 768px) {
    .last-cta {
        padding: 60px 0;
    }

    .last-cta-title {
        font-size: 26px;
    }

    .last-cta-subtitle {
        font-size: 18px;
        margin-bottom: 32px;
    }

    .last-cta-btn {
        font-size: 16px;
        padding: 18px 32px;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    color: white;
    padding: 24px;
    z-index: 10000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(100%);
    transition: var(--transition);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.cookie-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 16px;
}

.cookie-btn {
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.cookie-btn.accept {
    background: var(--primary);
    color: white;
}

.cookie-btn.accept:hover {
    background: var(--primary-dark);
}

.cookie-btn.decline {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn.decline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content-grid,
    .process-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .company-header {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .founder-intro {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .founder-story {
        padding: 24px;
        margin: 24px 0;
    }

    .story-text {
        font-size: 16px;
    }

    .founder-credentials {
        font-size: 14px;
        padding: 12px;
    }

    /* Tablet: show 2 benefits at a time */
    .cta-benefit {
        flex: 0 0 calc(50% - 12px);
        padding: 16px 20px;
    }

    .cta-benefit span:last-child {
        font-size: 14px;
    }

    .benefits-carousel {
        padding: 0 20px;
    }

    /* Tablet: show 2 recommendations at a time */
    .recommendation-card {
        flex: 0 0 calc(50% - 12px);
    }

    .recommendations-carousel {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    nav {
        padding: 0 16px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-content {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 36px;
    }

    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 32px;
        padding: 0 16px;
    }

    .process-video.section {
        padding: 50px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        padding: 0 16px;
    }

    .certifications-strip {
        gap: 16px;
    }

    .case-studies-navigation {
        gap: 12px;
    }

    .case-nav-btn {
        width: 100px;
        height: 70px;
    }

    /* Mobile: show 1 recommendation at a time */
    .recommendation-card {
        flex: 0 0 100%;
        padding: 24px;
    }

    .recommendations-carousel {
        padding: 0 16px;
    }

    .recommendations-slider {
        gap: 16px;
    }

    /* Mobile: show 1 benefit at a time */
    .cta-benefit {
        flex: 0 0 100%;
        padding: 16px 20px;
    }

    .benefits-carousel {
        padding: 0 16px;
    }

    .final-cta-benefits {
        gap: 16px;
    }

    .cookie-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

    .process-stats {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }

    .process-video.section .container {
        padding: 0;
    }

    .process-content {
        padding: 0 16px;
    }

    .process-video-large {
        width: 100%;
        overflow: visible;
        padding: 0;
        margin-left: -16px;
        margin-right: -16px;
        width: calc(100% + 32px);
    }

    .process-animation-container {
        width: 100vw !important;
        max-width: 100vw !important;
        margin: 0 !important;
        aspect-ratio: 1/1 !important;
        height: 650px !important;
    }

    .process-animation-container iframe {
        border-radius: 0 !important;
    }

    .process-description {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .impact-metrics {
        gap: 16px;
    }

    .clients-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .service-header {
        flex-direction: column;
        gap: 12px;
    }

    .service-price {
        align-self: flex-start;
    }

    .final-cta-title {
        font-size: 28px;
    }

    .case-nav-btn {
        width: 80px;
        height: 60px;
        padding: 8px;
    }

    .case-nav-btn img {
        max-height: 32px;
    }

    .process-animation-container {
        border-radius: 8px;
        width: 100% !important;
    }

    .process-animation-container iframe {
        border-radius: 8px !important;
    }

    .case-study-slider {
        margin: 0;
        width: 100%;
    }
}

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

/* Utility classes */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Background animation (optional) */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.02;
    pointer-events: none;
}
/* Custom CC Button for Video */
.custom-cc-button {
    position: absolute;
    bottom: 60px;
    right: 16px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: 2px solid white;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.custom-cc-button:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.05);
}

.custom-cc-menu {
    position: absolute;
    bottom: 100px;
    right: 16px;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 150px;
    z-index: 11;
}

.cc-option {
    padding: 10px 16px;
    color: white;
    cursor: pointer;
    transition: background 0.2s ease;
}

.cc-option:hover {
    background: rgba(255, 255, 255, 0.2);
}

.cc-option.active {
    background: var(--primary);
}
