:root {
    --bg-color: #0B041C;
    --bg-glow: #1a083a;
    --text-primary: #FFFFFF;
    --text-secondary: #a0a0b0;
    --accent-color: #C6FF00; /* Neon Yellow/Green */
    --accent-hover: #b3e600;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: blur(12px);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Glassmorphism Utility */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--accent-color);
    color: #000;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.125rem;
    padding: 16px 32px;
    border-radius: 50px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(198, 255, 0, 0.2);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(198, 255, 0, 0.4);
}

.btn-primary i {
    width: 20px;
    height: 20px;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Top Bar */
.top-bar {
    background-color: var(--accent-color);
    color: #000;
    text-align: center;
    padding: 12px 24px;
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    letter-spacing: 1px;
    line-height: 1.4;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 60px 0 80px;
    text-align: center;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, var(--bg-glow) 0%, rgba(11,4,28,0) 70%);
    z-index: -1;
    opacity: 0.8;
}

.logo-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
    text-align: left;
}

.logo {
    height: 40px;
    width: auto;
}

.logo-wrapper span {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.2;
    border-left: 1px solid var(--glass-border);
    padding-left: 12px;
}

.hero-image-wrapper {
    position: relative;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.hero-map {
    width: 100%;
    max-width: 600px;
    filter: drop-shadow(0 0 40px rgba(75, 0, 130, 0.4));
}

.hero h1 {
    font-size: 2.25rem;
    font-weight: 400;
    margin-bottom: 40px;
    color: var(--text-primary);
}

.hero h1 strong {
    font-weight: 800;
}

.highlight-circle {
    position: relative;
    display: inline-block;
    padding: 0 12px;
}

.handwritten-circle {
    position: absolute;
    top: -24%;
    left: -8%;
    width: 116%;
    height: 148%;
    pointer-events: none;
    z-index: 1;
    overflow: visible;
}

.handwritten-circle path {
    fill: none;
    stroke: var(--accent-color);
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    opacity: 0;
    animation: draw-circle-loop 7s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    animation-delay: 1.2s;
}

@keyframes draw-circle-loop {
    0% {
        stroke-dashoffset: 1;
        opacity: 0;
    }
    3% {
        stroke-dashoffset: 1;
        opacity: 1;
    }
    25% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
    75% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
    85% {
        stroke-dashoffset: 0;
        opacity: 0;
    }
    100% {
        stroke-dashoffset: 1;
        opacity: 0;
    }
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 20px auto 40px;
    line-height: 1.6;
    text-align: center;
}

@media (max-width: 768px) {
    .hero-subtitle {
        font-size: 1rem;
        margin: 15px auto 30px;
    }
}

/* Social Proof & Logo Slider */
.social-proof {
    padding: 40px 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: linear-gradient(to right, rgba(11,4,28,0), rgba(255,255,255,0.02), rgba(11,4,28,0));
    text-align: center;
    overflow: hidden;
}

.section-subtitle {
    font-size: 0.65rem;
    letter-spacing: 2.5px;
    color: rgba(198, 255, 0, 0.6);
    margin-bottom: 30px;
    font-weight: 700;
    text-transform: uppercase;
}

.logo-slider {
    overflow: hidden;
    width: 100%;
    position: relative;
    display: flex;
    mask-image: linear-gradient(to right, rgba(114, 114, 114, 0) 0%, rgb(109, 109, 109) 10%, rgb(0, 0, 0) 90%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to right, rgba(121, 121, 121, 0) 0%, rgb(0, 0, 0) 10%, rgb(0, 0, 0) 90%, rgba(255, 255, 255, 0) 100%);
}

.logo-track {
    display: flex;
    width: max-content;
    animation: marquee 100s linear infinite;
}

.client-logo {
    height: 48px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
    transition: var(--transition);
    opacity: 0.8;
    margin-right: 40px;
}

.client-logo.solid-bg {
    filter: grayscale(100%) brightness(0.75) contrast(1.1);
}

.client-logo:hover, .client-logo:active {
    filter: none;
    opacity: 1;
}

@media (min-width: 768px) {
    .client-logo {
        height: 140px !important;
        width: auto !important;
        margin-right: 80px !important;
        max-width: none !important;
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pain Points */
.pain-points {
    padding: 80px 0;
    text-align: center;
}

.pain-points h2 {
    font-size: 2rem;
    margin-bottom: 40px;
}

.pain-points .subtitle {
    color: var(--text-secondary);
    margin-top: 40px;
    margin-bottom: 24px;
}

.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.card {
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(198, 255, 0, 0.3);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(198, 255, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--accent-color);
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.card p strong {
    color: var(--text-primary);
}

/* Solution */
.solution {
    padding: 80px 0;
    position: relative;
    background: linear-gradient(180deg, var(--bg-color) 0%, rgba(26,8,58,0.3) 100%);
}

.solution-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
}

.solution-text .badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    font-size: 0.875rem;
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.solution-text h2 {
    font-size: 2.25rem;
    font-weight: 300;
    margin-bottom: 24px;
}

.solution-text h2 strong {
    font-weight: 700;
    color: var(--accent-color);
}

.solution-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.solution-image {
    position: relative;
}

.solution-image .main-img {
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.floating-badge {
    position: absolute;
    bottom: -60px;
    left: 20px;
    right: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(15, 8, 35, 0.75) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.avatars {
    display: flex;
}

.avatars img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--accent-color);
    margin-left: -16px;
    object-fit: contain;
    background-color: #191946;
    padding: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.avatars img:first-child {
    margin-left: 0;
}

.badge-text {
    display: flex;
    flex-direction: column;
}

.badge-text strong {
    font-size: 1rem;
    font-family: var(--font-heading);
}

.badge-text span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
}

/* CTA Banner */
.cta-banner {
    padding: 60px 0;
}

.cta-banner-content {
    padding: 40px 20px;
    text-align: center;
    background: linear-gradient(135deg, rgba(75, 0, 130, 0.4) 0%, rgba(11, 4, 28, 0.8) 100%);
    border: 1px solid rgba(198, 255, 0, 0.2);
}

.cta-banner-content h2 {
    font-size: 1.75rem;
    margin-bottom: 30px;
}

/* Methodology */
.methodology {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.methodology-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(75,0,130,0.2) 0%, rgba(11,4,28,0) 70%);
    z-index: -1;
}

.methodology-header {
    text-align: center;
    margin-bottom: 60px;
}

.methodology-header h2 {
    color: var(--accent-color);
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.methodology-header .highlight {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 300;
    display: block;
    margin-bottom: 10px;
}

.method-title {
    margin-top: 20px;
}

.method-title span {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.method-title h3 {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(to right, #fff, #a0a0b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.timeline {
    position: relative;
    max-width: 600px;
    margin: 0 auto 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 24px;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-color) 0%, rgba(198, 255, 0, 0.1) 100%);
}

.timeline-item {
    position: relative;
    padding-left: 72px;
    margin-bottom: 56px;
}

.timeline-icon {
    position: absolute;
    left: 2px;
    top: -4px;
    width: 44px;
    height: 44px;
    background: var(--bg-color);
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    box-shadow: 0 0 15px rgba(198, 255, 0, 0.15);
    transition: var(--transition);
}

.timeline-item:hover .timeline-icon {
    box-shadow: 0 0 20px rgba(198, 255, 0, 0.4);
    transform: scale(1.05);
}

.timeline-icon i {
    width: 20px;
    height: 20px;
    display: inline-block;
}

.timeline-content h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    font-weight: 400;
}

.timeline-content h4 strong {
    font-weight: 700;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.meta-initial {
    color: var(--accent-color);
    font-size: 1.35em;
    font-weight: 800;
    margin-right: 1px;
    display: inline-block;
    line-height: 1;
    text-shadow: 0 0 10px rgba(198, 255, 0, 0.4);
}

/* Timeline Icon Animations */
@keyframes timeline-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

@keyframes timeline-swing {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(8deg); }
    75% { transform: rotate(-8deg); }
}

@keyframes timeline-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.timeline-item:nth-child(1) .timeline-icon i {
    animation: timeline-pulse 3s ease-in-out infinite;
}

.timeline-item:nth-child(2) .timeline-icon i {
    animation: timeline-swing 4s ease-in-out infinite;
}

.timeline-item:nth-child(3) .timeline-icon i {
    animation: timeline-pulse 2.5s ease-in-out infinite;
}

.timeline-item:nth-child(4) .timeline-icon i {
    animation: timeline-bounce 2s ease-in-out infinite;
}

.method-summary {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-color: rgba(198, 255, 0, 0.2);
}

.summary-icon {
    width: 50px;
    height: 50px;
    background: rgba(198, 255, 0, 0.1);
    color: var(--accent-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.summary-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.summary-text p:last-child {
    margin-bottom: 0;
}

.text-center {
    text-align: center;
}
.mt-4 {
    margin-top: 40px;
}

/* Stats */
.stats {
    padding: 60px 0;
    border-top: 1px solid var(--glass-border);
    background: rgba(255,255,255,0.01);
}

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

.gradient-text {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(to right, var(--accent-color), #a8cc00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.stat-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Cases */
.cases {
    padding: 80px 0;
    overflow: hidden;
}

.cases-slider {
    padding: 20px 0 60px;
    position: relative;
    overflow: visible;
}

.cases-slider .swiper-pagination {
    bottom: 22px;
}

.cases-header {
    max-width: 760px;
    margin: 0 auto 28px;
    text-align: center;
}

.cases-header h2 {
    margin: 8px 0 12px;
    font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.cases-header > p:last-child {
    color: var(--text-secondary);
    line-height: 1.7;
}

.case-card {
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    height: 100%;
}

.cases-slider .swiper-slide {
    height: auto;
}

.roi-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 5px;
}

.roi-wrapper .case-icon {
    width: 36px;
    height: 36px;
    background: rgba(198, 255, 0, 0.1);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.roi-highlight {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--accent-color);
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 5px;
    position: relative;
}

.roi-tooltip-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition);
}

.roi-tooltip-trigger:hover {
    color: var(--accent-color);
}

.roi-tooltip-trigger svg {
    width: 14px;
    height: 14px;
}

.roi-tooltip-content {
    visibility: hidden;
    width: 190px;
    background-color: #170d29;
    color: #ffffff;
    text-align: center;
    border-radius: 8px;
    padding: 10px 12px;
    position: absolute;
    z-index: 100;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
    border: 1px solid var(--accent-color);
    font-size: 0.75rem;
    font-family: var(--font-body);
    text-transform: none;
    letter-spacing: normal;
    font-weight: 400;
    pointer-events: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.roi-tooltip-content::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--accent-color) transparent transparent transparent;
}

.roi-tooltip-trigger:hover .roi-tooltip-content,
.roi-tooltip-trigger.active .roi-tooltip-content {
    visibility: visible;
    opacity: 1;
}

.roi-formula {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.72rem;
    color: var(--text-secondary);
    margin-top: 12px;
    width: 100%;
    max-width: 180px;
}

.roi-formula .numerator {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 4px;
    width: 100%;
    text-align: center;
    display: block;
}

.roi-formula .denominator {
    padding-top: 4px;
    width: 100%;
    text-align: center;
    display: block;
}

.case-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 20px;
}

.client-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

.client-name {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.divider {
    color: var(--text-secondary);
}

.inline-logo {
    height: 24px;
    width: auto;
}

.case-icon {
    width: 40px;
    height: 40px;
    background: rgba(198, 255, 0, 0.1);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-results {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

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

.case-detail {
    max-width: 260px;
    margin: 0 auto;
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.55;
}

.instagram-case {
    min-height: 430px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background:
        linear-gradient(135deg, rgba(106, 0, 196, 0.34), rgba(22, 0, 51, 0.92)),
        repeating-linear-gradient(0deg, transparent 0 54px, rgba(255, 255, 255, 0.035) 55px),
        repeating-linear-gradient(90deg, transparent 0 54px, rgba(255, 255, 255, 0.035) 55px);
    border: 1px solid rgba(197, 255, 0, 0.28);
}

.case-identity {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 22px;
}

.case-client-logo {
    width: min(310px, 48%);
    min-height: 130px;
    padding: 18px 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.97);
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-client-logo img {
    width: 100%;
    height: 92px;
    object-fit: contain;
}

.case-client-name-only span {
    color: var(--bg-color);
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    font-weight: 800;
    line-height: 1;
}

.case-period {
    color: var(--text-primary);
    font-size: 1.05rem;
    line-height: 1.35;
    text-align: right;
    max-width: 230px;
    padding-top: 14px;
}

.case-service-block {
    margin-top: 38px;
}

.case-service-title {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 2.6vw, 2rem);
    font-weight: 800;
    margin: 0 0 20px;
}

.case-service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.case-service-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 8px 18px;
    border: 2px solid var(--accent-color);
    border-radius: 999px;
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .instagram-case {
        min-height: 510px;
        padding: 28px 22px;
    }

    .case-identity {
        flex-direction: column;
        gap: 14px;
    }

    .case-client-logo {
        width: 100%;
        min-height: 112px;
        padding: 14px 20px;
    }

    .case-client-logo img {
        height: 78px;
    }

    .case-period {
        max-width: none;
        padding-top: 0;
        text-align: left;
        font-size: 0.95rem;
    }

    .case-service-block {
        margin-top: 30px;
    }

    .case-service-title {
        font-size: 1.35rem;
        margin-bottom: 16px;
    }

    .case-service-tags {
        gap: 9px;
    }

    .case-service-tags span {
        min-height: 38px;
        padding: 7px 13px;
        font-size: 0.82rem;
    }

    .cases-slider .swiper-button-next {
        right: 76px !important;
    }
}

.result-label {
    font-size: 0.7rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.result-value {
    font-size: 2rem;
    font-weight: 400;
}

.result-value strong {
    font-weight: 800;
}

.result-value small {
    font-size: 1.2rem;
}

.highlight-box {
    padding: 20px;
    background: rgba(198, 255, 0, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(198, 255, 0, 0.2);
}

.neon-text {
    color: var(--accent-color);
}

.highlight-yellow {
    font-size: 3rem;
    color: var(--accent-color);
    font-weight: 800;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    overflow: hidden;
}

.testimonials-slider {
    padding: 20px 0 60px;
    position: relative;
}

.testimonial-card {
    padding: 40px 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.stars {
    color: #FFB800;
    display: flex;
    gap: 4px;
    margin-left: -3px;
}

.stars svg {
    width: 18px;
    height: 18px;
}

.stars svg.filled, .stars i.filled svg {
    fill: #FFB800 !important;
    stroke: #FFB800 !important;
}

.google-review {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.google-review img {
    width: 16px;
}

.quote {
    font-size: 1.05rem;
    font-style: normal;
    color: var(--text-primary);
    margin-bottom: 35px;
    flex-grow: 1;
    line-height: 1.5;
    letter-spacing: 0.5px;
}

.author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    image-rendering: -webkit-optimize-contrast;
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.author-info span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.author-info strong {
    color: var(--accent-color);
}

.swiper-pagination-bullet {
    background: var(--text-secondary);
}

.swiper-pagination-bullet-active {
    background: var(--accent-color);
}

.swiper-button-next, .swiper-button-prev {
    color: var(--accent-color);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    transition: var(--transition);
    z-index: 99 !important;
    pointer-events: auto !important;
    top: auto;
    bottom: 10px;
}

.swiper-button-prev {
    left: 20px;
}

.swiper-button-next {
    right: 20px;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    background: var(--accent-color);
    color: #000;
    box-shadow: 0 0 15px rgba(198, 255, 0, 0.4);
}

.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 1rem;
    font-weight: bold;
}

.testimonials-slider .swiper-pagination {
    bottom: 22px;
}

@media (min-width: 1200px) {
    .swiper-button-next, .swiper-button-prev {
        width: 50px;
        height: 50px;
        bottom: auto;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .swiper-button-prev {
        left: -10px;
    }
    
    .swiper-button-next {
        right: -10px;
    }
    
    .swiper-button-next::after, .swiper-button-prev::after {
        font-size: 1.2rem;
    }
}

@media (min-width: 1360px) {
    .swiper-button-prev {
        left: -60px;
    }
    
    .swiper-button-next {
        right: -60px;
    }
}

/* FAQ */
.faq {
    padding: 80px 0;
    text-align: center;
}

.faq-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--accent-color);
    color: #000;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-weight: 800;
    margin-bottom: 20px;
}

.faq h2 {
    font-size: 2.25rem;
    margin-bottom: 50px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    margin-bottom: 16px;
    background: rgba(255,255,255,0.02);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(255,255,255,0.05);
}

.faq-icon {
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

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

.faq-answer p {
    padding: 0 24px 24px;
    color: var(--text-secondary);
}

/* Footer */
footer {
    padding: 40px 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    background: rgba(0,0,0,0.5);
}

.footer-logo {
    height: 30px;
    width: auto;
    margin: 0 auto 20px;
    opacity: 0.8;
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.dev-signature {
    color: var(--text-secondary);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.heart-icon {
    width: 14px;
    height: 14px;
    color: var(--accent-color);
    fill: var(--accent-color);
}

/* Media Queries (Desktop) */
@media (min-width: 768px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .hero-map {
        max-width: 800px;
    }
    
    .logos-grid {
        gap: 60px;
    }
    
    .client-logo {
        max-height: 40px;
    }
    
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .solution-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .floating-badge {
        bottom: -40px;
        left: -40px;
        right: auto;
    }
    
    .methodology-header h2 {
        font-size: 2.5rem;
    }
    
    .method-title h3 {
        font-size: 6rem;
    }
    
    .method-summary {
        flex-direction: row;
        align-items: center;
        max-width: 800px;
        margin: 0 auto;
    }
    
    .summary-icon {
        flex-shrink: 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .case-results {
        grid-template-columns: repeat(3, 1fr);
        align-items: center;
}
}

/* Reduzir espaçamento entre seções no Mobile e manter no Desktop */
.hero, .pain-points, .solution, .cta-banner, .methodology, .stats, .cases, .testimonials, .faq {
    padding-top: 45px !important;
    padding-bottom: 45px !important;
}

@media (min-width: 768px) {
    .hero {
        padding-top: 60px !important;
        padding-bottom: 80px !important;
    }
    .pain-points, .solution, .cases, .testimonials, .faq {
        padding-top: 80px !important;
        padding-bottom: 80px !important;
    }
    .methodology {
        padding-top: 100px !important;
        padding-bottom: 100px !important;
    }
    .stats {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }
}
/* Floating WhatsApp Button */
.whatsapp-btn-fixed {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 0 0 rgba(198, 255, 0, 0.5);
    z-index: 9999;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    animation: wa-pulse-loop 6s ease-in-out infinite;
}

.whatsapp-btn-fixed:hover {
    transform: scale(1.1);
    background-color: #d8ff33;
}

.whatsapp-btn-fixed svg {
    width: 32px;
    height: 32px;
    fill: #0B041C;
}

@keyframes wa-pulse-loop {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 0 0 rgba(198, 255, 0, 0.6);
    }
    4% {
        transform: scale(1.08);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 0 14px rgba(198, 255, 0, 0);
    }
    8% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 0 0 rgba(198, 255, 0, 0);
    }
    12% {
        transform: scale(1.08);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 0 14px rgba(198, 255, 0, 0);
    }
    16% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 0 0 rgba(198, 255, 0, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 0 0 rgba(198, 255, 0, 0);
    }
}

.whatsapp-btn-text {
    position: absolute;
    right: 75px;
    background-color: var(--bg-color);
    border: 1px solid rgba(198, 255, 0, 0.3);
    color: var(--text-primary);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.whatsapp-btn-fixed.scrolled .whatsapp-btn-text {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 480px) {
    .whatsapp-btn-fixed {
        bottom: 20px;
        right: 20px;
        width: 58px;
        height: 58px;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
    .whatsapp-btn-fixed.scrolled {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    .whatsapp-btn-fixed svg {
        width: 30px;
        height: 30px;
    }
    .whatsapp-btn-text {
        display: none !important;
    }
}

/* Traffic Channels Subsection */
.traffic-channels {
    margin-top: 60px;
    padding-top: 50px;
    border-top: 1px solid var(--glass-border);
}

.traffic-channels h3 {
    font-size: 1.35rem;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-family: var(--font-heading);
}

.channels-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .channels-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.channel-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: var(--transition);
    cursor: pointer;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

.channel-card svg, .channel-card img {
    width: 38px;
    height: 38px;
    fill: var(--text-secondary);
    transition: var(--transition);
}

.channel-card img {
    filter: grayscale(100%) brightness(0) invert(0.7);
    opacity: 0.8;
}

.channel-card span {
    font-size: 0.9rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-secondary);
    transition: var(--transition);
    text-align: center;
}

/* Hover effects */
.channel-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 25px rgba(198, 255, 0, 0.15);
}

.channel-card:hover span {
    color: var(--text-primary);
}

.channel-card:hover .icon-meta { fill: #0080FF; filter: drop-shadow(0 0 8px rgba(0, 128, 255, 0.3)) grayscale(0%) brightness(1) invert(0); opacity: 1; }
.channel-card:hover .icon-google-ads { fill: #4285F4; filter: drop-shadow(0 0 8px rgba(66, 133, 244, 0.3)) grayscale(0%) brightness(1) invert(0); opacity: 1; }
.channel-card:hover .icon-instagram { fill: #E1306C; filter: drop-shadow(0 0 8px rgba(225, 48, 108, 0.3)); }
.channel-card:hover .icon-youtube { fill: #FF0000; filter: drop-shadow(0 0 8px rgba(255, 0, 0, 0.3)); }
.channel-card:hover .icon-pinterest { fill: #BD081C; filter: drop-shadow(0 0 8px rgba(189, 8, 28, 0.3)); }
.channel-card:hover .icon-google-shopping { fill: #EA4335; filter: drop-shadow(0 0 8px rgba(234, 67, 53, 0.3)); }
.channel-card:hover .icon-tiktok { fill: #00F2EA; filter: drop-shadow(0 0 8px rgba(0, 242, 234, 0.3)); }
.channel-card:hover .icon-linkedin { fill: #0077B5; filter: drop-shadow(0 0 8px rgba(0, 119, 181, 0.3)); }

/* Authority-first hero and fold optimization — 2026-08-28 */
.hero {
    min-height: calc(100svh - 44px);
    padding: 28px 0 36px !important;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    grid-template-areas:
        "logo image"
        "title image"
        "subtitle image"
        "cta image";
    align-items: center;
    column-gap: clamp(32px, 5vw, 72px);
    max-width: 1180px;
    text-align: left;
}

.hero .logo-wrapper { grid-area: logo; justify-self: start; margin: 0 0 18px; }
.hero .logo { height: 28px; width: auto; }
.hero .hero-image-wrapper { grid-area: image; align-self: center; margin: 0; }
.hero .hero-map { width: 100%; max-width: 510px; max-height: 490px; object-fit: contain; }
.hero h1 {
    grid-area: title;
    font-size: clamp(2.35rem, 4.2vw, 3.7rem);
    line-height: 1.06;
    margin: 0 0 18px;
    text-wrap: balance;
}
.hero .hero-subtitle {
    grid-area: subtitle;
    max-width: 670px;
    margin: 0 0 24px;
    text-align: left;
    line-height: 1.5;
}
.hero .btn-primary { grid-area: cta; justify-self: start; }
.stats { border-bottom: 1px solid var(--glass-border); }

@media (max-width: 767px) {
    .top-bar { padding: 8px 16px; font-size: 0.7rem; }
    .hero {
        min-height: auto;
        padding: 28px 0 18px !important;
        align-items: flex-start;
    }
    .hero .container {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "logo" "title" "subtitle" "image" "cta";
        justify-items: center;
        row-gap: 10px;
        padding: 0 20px;
        text-align: center;
    }
    .hero .logo-wrapper { justify-self: center; margin: 0 0 2px; }
    .hero .logo { height: 22px; }
    .hero h1 {
        font-size: clamp(1.9rem, 8.8vw, 2.35rem);
        line-height: 1.08;
        margin: 0;
        text-align: center;
    }
    .hero .highlight-circle { padding: 0 7px; }
    .hero .hero-subtitle {
        max-width: 370px;
        margin: 0;
        font-size: 0.88rem;
        line-height: 1.38;
        text-align: center;
    }
    .hero .hero-image-wrapper { width: 100%; max-height: 195px; }
    .hero .hero-map { max-width: 290px; max-height: 195px; margin: 0 auto; }
    .hero .btn-primary {
        justify-self: center;
        width: 100%;
        max-width: 310px;
        min-height: 48px;
        margin-top: 10px;
        padding: 12px 16px;
        font-size: 0.9rem;
        line-height: 1.2;
        white-space: normal;
        animation: hero-cta-mobile-pulse 2.6s ease-in-out 1.2s infinite;
    }
    .stats { padding-top: 34px !important; padding-bottom: 34px !important; }
    .stats-grid { gap: 22px; }
    .gradient-text { font-size: 2.35rem; }
    .cases { padding-top: 42px !important; }
}

@media (max-width: 340px) {
    .hero .container { padding: 0 16px; row-gap: 8px; }
    .hero h1 { font-size: 1.78rem; }
    .hero .hero-subtitle { font-size: 0.82rem; }
    .hero .hero-map { max-width: 250px; max-height: 165px; }
    .hero .hero-image-wrapper { max-height: 165px; }
    .hero .btn-primary { margin-top: 12px; }
}

@keyframes hero-cta-mobile-pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(198, 255, 0, 0.2), 0 0 0 0 rgba(198, 255, 0, 0.32);
    }
    50% {
        box-shadow: 0 7px 26px rgba(198, 255, 0, 0.42), 0 0 0 10px rgba(198, 255, 0, 0);
    }
}

/* Performance overrides */
.lucide {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
}

.btn-primary > svg,
.timeline-icon svg {
    width: 20px;
    height: 20px;
}

.timeline-item:nth-child(1) .timeline-icon svg { animation: timeline-pulse 3s ease-in-out infinite; }
.timeline-item:nth-child(2) .timeline-icon svg { animation: timeline-swing 4s ease-in-out infinite; }
.timeline-item:nth-child(3) .timeline-icon svg { animation: timeline-pulse 2.5s ease-in-out infinite; }
.timeline-item:nth-child(4) .timeline-icon svg { animation: timeline-bounce 2s ease-in-out infinite; }

/* The conversion hero must never wait for JavaScript to become visible. */
.hero .fade-in-up {
    opacity: 1;
    transform: none;
    transition: none;
}

/* Stable fallback until carousel assets load near the viewport. */
.swiper:not(.swiper-initialized) .swiper-slide:not(:first-child) { display: none; }
.swiper:not(.swiper-initialized) .swiper-button-next,
.swiper:not(.swiper-initialized) .swiper-button-prev,
.swiper:not(.swiper-initialized) .swiper-pagination { display: none; }

/* Preserve pulse emphasis using compositor-friendly properties. */
.whatsapp-btn-fixed {
    animation: none;
    isolation: isolate;
}

.whatsapp-btn-fixed::after {
    content: "";
    position: absolute;
    inset: -2px;
    z-index: -1;
    border: 2px solid rgba(198, 255, 0, 0.65);
    border-radius: inherit;
    pointer-events: none;
    animation: wa-composited-pulse 6s ease-in-out infinite;
}

@keyframes wa-composited-pulse {
    0%, 16%, 100% { transform: scale(1); opacity: 0; }
    4%, 12% { transform: scale(1.32); opacity: 0.55; }
    8% { transform: scale(1); opacity: 0; }
}

@media (max-width: 767px) {
    .hero .btn-primary {
        animation: none;
        position: relative;
        isolation: isolate;
    }

    .hero .btn-primary::after {
        content: "";
        position: absolute;
        inset: -2px;
        z-index: -1;
        border: 2px solid rgba(198, 255, 0, 0.5);
        border-radius: inherit;
        pointer-events: none;
        animation: hero-cta-composited-pulse 2.6s ease-in-out 1.2s infinite;
    }
}

@keyframes hero-cta-composited-pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.08); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .handwritten-circle path,
    .hero .btn-primary::after,
    .whatsapp-btn-fixed::after {
        animation: none !important;
    }
}

/* Authority case redesign */
.authority-cases {
    padding: 96px 0 88px;
}

.authority-cases-header {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.authority-cases-header .section-subtitle {
    margin-bottom: 14px;
}

.authority-cases-header h2 {
    color: var(--text-primary);
    font-size: clamp(2rem, 4vw, 3.4rem);
    margin-bottom: 14px;
}

.authority-cases-header > p:last-child {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
}

.featured-case {
    position: relative;
    overflow: hidden;
    padding: 42px;
    border: 1px solid rgba(198, 242, 34, 0.34);
    border-radius: 28px;
    background:
        radial-gradient(circle at 12% 8%, rgba(198, 242, 34, 0.11), transparent 26%),
        linear-gradient(135deg, rgba(48, 14, 73, 0.96), rgba(11, 3, 21, 0.98));
    box-shadow: 0 28px 70px rgba(5, 1, 12, 0.34);
}

.featured-case::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(110deg, transparent 0 62%, rgba(198, 242, 34, 0.045) 100%);
}

.featured-case-topline,
.featured-case-body,
.featured-case-quote {
    position: relative;
    z-index: 1;
}

.featured-case-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(216, 209, 224, 0.14);
}

.featured-case-logo {
    width: 190px;
    height: 86px;
    object-fit: contain;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.26));
}

.featured-case-kicker {
    color: var(--accent-color);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-align: right;
}

.featured-case-body {
    display: grid;
    grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1.18fr);
    align-items: center;
    gap: 54px;
    padding: 38px 0 32px;
}

.featured-case-proof strong {
    display: block;
    color: var(--accent-color);
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: clamp(4.4rem, 8vw, 7rem);
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.featured-case-proof strong span {
    color: var(--text-primary);
    font-size: 0.7em;
}

.featured-case-proof p {
    max-width: 310px;
    margin-top: 14px;
    color: var(--muted, #D8D1E0);
    font-size: 1.15rem;
    line-height: 1.35;
}

.featured-case-value {
    padding-left: 42px;
    border-left: 1px solid rgba(216, 209, 224, 0.16);
}

.featured-case-value > span {
    color: var(--accent-color);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.featured-case-value h3 {
    max-width: 530px;
    margin: 10px 0 12px;
    color: var(--text-primary);
    font-size: clamp(1.65rem, 3vw, 2.65rem);
}

.featured-case-value p {
    max-width: 560px;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.65;
}

.featured-case-quote {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    padding: 22px 0 0;
    border-top: 1px solid rgba(216, 209, 224, 0.14);
}

.featured-case-quote p {
    color: var(--text-primary);
    font-size: 1.12rem;
    font-weight: 600;
}

.featured-case-quote cite {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-style: normal;
    white-space: nowrap;
}

.other-projects {
    margin-top: 34px;
}

.other-projects-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    margin-bottom: 18px;
}

.other-projects-heading span {
    color: var(--accent-color);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.other-projects-heading p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    text-align: right;
}

.other-projects-track {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.project-proof-card {
    min-height: 206px;
    padding: 22px 18px;
    border: 1px solid rgba(216, 209, 224, 0.11);
    border-radius: 20px;
    background:
        radial-gradient(circle at 50% 24%, rgba(249, 247, 251, 0.10), transparent 39%),
        rgba(255, 255, 255, 0.025);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.project-proof-card.logo-contrast-card {
    background:
        radial-gradient(ellipse at 50% 24%, rgba(249, 247, 251, 0.26), rgba(249, 247, 251, 0.08) 38%, transparent 62%),
        rgba(255, 255, 255, 0.028);
}

.project-proof-card img.logo-contrast-soft {
    filter: brightness(1.15) saturate(1.08) drop-shadow(0 5px 14px rgba(249, 247, 251, 0.20));
}

.project-proof-card img.ai-chopp-logo {
    transform: scale(0.92);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
}

.project-proof-card:hover {
    transform: translateY(-3px);
    border-color: rgba(198, 242, 34, 0.34);
}

.project-proof-card img,
.project-proof-name > div {
    width: 100%;
    height: 84px;
    margin: 0 auto auto;
    object-fit: contain;
}

.project-proof-name > div {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-family: Impact, Haettenschweiler, sans-serif;
    font-size: 1.9rem;
    letter-spacing: 0.02em;
}

.project-proof-card strong {
    display: block;
    margin-top: 18px;
    color: var(--text-primary);
    font-size: 0.93rem;
    line-height: 1.3;
}

.project-proof-card span {
    display: block;
    margin-top: 5px;
    color: var(--text-secondary);
    font-size: 0.78rem;
    line-height: 1.35;
}

@media (max-width: 768px) {
    .authority-cases {
        padding: 70px 0 64px;
    }

    .authority-cases-header {
        margin-bottom: 28px;
        text-align: left;
    }

    .authority-cases-header h2 {
        font-size: 2.15rem;
    }

    .featured-case {
        padding: 24px 22px;
        border-radius: 24px;
    }

    .featured-case-topline {
        gap: 14px;
        padding-bottom: 18px;
    }

    .featured-case-logo {
        width: 132px;
        height: 62px;
    }

    .featured-case-kicker {
        max-width: 140px;
        font-size: 0.63rem;
        line-height: 1.45;
    }

    .featured-case-body {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 30px 0 26px;
    }

    .featured-case-proof strong {
        font-size: clamp(3.7rem, 18vw, 5rem);
    }

    .featured-case-proof p {
        margin-top: 10px;
        font-size: 1rem;
    }

    .featured-case-value {
        padding: 24px 0 0;
        border-top: 1px solid rgba(216, 209, 224, 0.16);
        border-left: 0;
    }

    .featured-case-value h3 {
        font-size: 1.7rem;
    }

    .featured-case-quote {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .featured-case-quote p {
        font-size: 1rem;
    }

    .featured-case-quote cite {
        white-space: normal;
    }

    .other-projects-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .other-projects-heading p {
        text-align: left;
    }

    .other-projects-track {
        display: flex;
        gap: 12px;
        margin-right: calc(50% - 50vw);
        padding-right: 24px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .other-projects-track::-webkit-scrollbar {
        display: none;
    }

    .project-proof-card {
        flex: 0 0 218px;
        min-height: 196px;
        scroll-snap-align: start;
    }
}

/* Carousel controls: scoped to beat Swiper's asynchronously loaded defaults. */
.cases-slider .swiper-button-prev,
.cases-slider .swiper-button-next,
.testimonials-slider .swiper-button-prev,
.testimonials-slider .swiper-button-next {
    width: 38px !important;
    height: 38px !important;
    top: auto !important;
    bottom: 8px !important;
    margin-top: 0 !important;
    transform: none !important;
    color: var(--accent-color) !important;
    background: rgba(18, 8, 37, 0.94) !important;
    border: 1px solid rgba(198, 255, 0, 0.42) !important;
    border-radius: 50% !important;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.28) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.cases-slider .swiper-button-prev,
.testimonials-slider .swiper-button-prev { left: 12px !important; }

.cases-slider .swiper-button-next { right: 76px !important; }
.testimonials-slider .swiper-button-next { right: 12px !important; }

.cases-slider .swiper-button-prev::after,
.cases-slider .swiper-button-next::after,
.testimonials-slider .swiper-button-prev::after,
.testimonials-slider .swiper-button-next::after {
    font-size: 0.82rem !important;
    font-weight: 800 !important;
}

.cases-slider .swiper-button-prev:hover,
.cases-slider .swiper-button-next:hover,
.testimonials-slider .swiper-button-prev:hover,
.testimonials-slider .swiper-button-next:hover {
    color: #0b041c !important;
    background: var(--accent-color) !important;
}

@media (min-width: 1200px) {
    .cases-slider .swiper-button-prev,
    .cases-slider .swiper-button-next,
    .testimonials-slider .swiper-button-prev,
    .testimonials-slider .swiper-button-next {
        width: 46px !important;
        height: 46px !important;
        top: 50% !important;
        bottom: auto !important;
        transform: translateY(-50%) !important;
    }

    .cases-slider .swiper-button-prev,
    .testimonials-slider .swiper-button-prev { left: -10px !important; }

    .cases-slider .swiper-button-next,
    .testimonials-slider .swiper-button-next { right: -10px !important; }
}

