@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Funnel+Display:wght@800&display=swap');

:root {
    --primary: #d2ff00;
    /* Neon Green / Lime */
    --primary-dim: rgba(210, 255, 0, 0.4);
    --bg-black: #000000;
    --bg-deep: #050505;
    --bg-card: rgba(10, 10, 10, 0.4);
    --text-pure: #ffffff;
    --text-muted: #a1a1a1;
    --accent: #d2ff00;
    --accent-glow: rgba(208, 255, 0, 0.205);
    --accent-blue-glow: rgba(94, 94, 94, 0.171);
    --container-width: 1300px;
    --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-pure);
    background-color: var(--bg-black);
    line-height: 1.5;
    overflow-x: hidden;
    min-height: 100vh;
    width: 100%;
    position: relative;
}

/* AGM-STYLE GLOW BLOBS */
/* Estes elementos criam o efeito de "manchas de luz" desfocadas ao fundo */
body::before,
body::after {
    content: '';
    position: fixed;
    width: 60vw;
    height: 60vh;
    border-radius: 50%;
    filter: blur(150px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.8;
}

/* Blob de Neon (Topo Esquerda) */
body::before {
    top: -10%;
    left: -10%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    animation: floatBlob1 20s ease-in-out infinite alternate;
}

/* Blob de Azul Profundo (Base Direita) para Profundidade */
body::after {
    bottom: -10%;
    right: -10%;
    background: radial-gradient(circle, var(--accent-blue-glow) 0%, transparent 70%);
    animation: floatBlob2 25s ease-in-out infinite alternate;
}

@keyframes floatBlob1 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(10vw, 5vh) scale(1.1);
    }
}

@keyframes floatBlob2 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-10vw, -10vh) scale(1.2);
    }
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* TYPOGRAPHY */
h1,
h2,
h3 {
    font-family: 'Outfit', sans-serif;
    line-height: 1.2;
    font-weight: 700;
    /* User changed this to 400 previously, respecting that */
    /* text-transform: uppercase; Removed per user request */
    letter-spacing: -0.04em;
    padding-bottom: 5px;
    /* Extra safety for overflows */
}

/* HEADER */
.header {
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(15px);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* NAV */
.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-cta {
    display: none;
}

.nav-link {
    color: var(--text-pure);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    /* text-transform: uppercase; Removed */
    letter-spacing: 0.05em;
    transition: var(--transition);
    opacity: 0.7;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    opacity: 1;
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* HAMBURGER */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
    transform-origin: left center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 32px;
    width: auto;
    filter: brightness(0) invert(1);
}

/* HERO */
.hero {
    padding: clamp(100px, 15vh, 160px) 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: clamp(300px, 50vw, 600px);
    height: clamp(300px, 50vw, 600px);
    background: radial-gradient(circle, rgba(179, 255, 0, 0.08) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.hero h1 {
    font-size: clamp(2.2rem, 8vw, 6rem);
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.hero-static {
    background: linear-gradient(90deg, #fff, var(--text-muted));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-typing {
    color: var(--primary);
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 4px solid var(--primary);
    width: 0;
    animation: typing 2.5s steps(20, end) forwards, blink 0.8s infinite;
    vertical-align: bottom;
    padding-right: 4px;
}

@keyframes typing {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}

@keyframes blink {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: var(--primary)
    }
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 40px;
    font-weight: 300;
}

/* CLIENT STRIP */
.client-strip {
    padding: 60px 0;
}

.logo-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(30px, 5vw, 80px);
    flex-wrap: wrap;
    filter: grayscale(1) invert(1) brightness(0.8);
    opacity: 0.5;
}

.logo-grid:hover {
    filter: grayscale(0) invert(1);
    opacity: 1;
}

.client-logo {
    height: clamp(80px, 4vw, 152px);
    width: auto;
    object-fit: contain;
}

/* SERVICES */
.section {
    padding: 100px 0;
    background: transparent;
    /* Garantindo transparência total para o fundo do body brilhar */
}

.bg-dark-section {
    background: transparent;
    color: #fff;
}

.bg-dark-section .section-header h2 {
    color: #fff;
}

/* SECTION HEADERS */
.section-header {
    text-align: center;
    margin-bottom: clamp(40px, 8vw, 80px);
}

.section-header h2 {
    font-size: clamp(1.8rem, 5vw, 4rem);
    margin-bottom: 16px;
    background: linear-gradient(90deg, #fff, var(--text-muted));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-header p {
    color: var(--text-muted);
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 600px;
    margin: 0 auto;
}

/* SERVICE CARDS (IMAGE CENTRIC) */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
    gap: 30px;
}

.card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    /* Aumentado para o estilo AGM */
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Borda sutil para definir o vidro */
    transition: var(--transition);
    position: relative;
    height: clamp(350px, 50vh, 500px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    transition: var(--transition);
    z-index: 1;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(5, 5, 5, 1) 0%, rgba(5, 5, 5, 0.6) 40%, transparent 100%);
    z-index: 2;
}

.card-content {
    position: relative;
    z-index: 3;
    padding: clamp(20px, 5vw, 40px);
}

.card:hover {
    transform: translateY(-8px);
    border-color: rgba(210, 255, 0, 0.2);
    box-shadow: 0 30px 60px rgba(0, 10, 5, 0.8);
}

.card:hover .card-img {
    opacity: 0.7;
    transform: scale(1.05);
}

.card h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 10px;
    color: var(--text-pure);
}

.card p {
    color: var(--text-muted);
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    font-weight: 300;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: clamp(14px, 2vw, 20px) clamp(30px, 4vw, 48px);
    border-radius: 100px;
    font-weight: 700;
    /* Removed text-transform: uppercase */
    text-decoration: none;
    transition: var(--transition);
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    letter-spacing: 0.05em;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: #000;
    gap: 12px;
}

.btn-primary:hover {
    background: #fff;
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(210, 255, 0, 0.2);
}

.animated-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 16px 36px;
    border: 4px solid transparent;
    font-size: 16px;
    background-color: transparent;
    border-radius: 100px;
    font-weight: 600;
    color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary);
    cursor: pointer;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    text-decoration: none;
    /* Removed text-transform: uppercase */
}

.animated-button svg {
    position: absolute;
    width: 24px;
    fill: var(--primary);
    z-index: 9;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .arr-1 {
    right: 16px;
}

.animated-button .arr-2 {
    left: -25%;
}

.animated-button .circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background-color: var(--primary);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .text {
    position: relative;
    z-index: 1;
    transform: translateX(-12px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button:hover {
    box-shadow: 0 0 0 12px transparent;
    color: #212121;
    border-radius: 12px;
}

.animated-button:hover .arr-1 {
    right: -25%;
}

.animated-button:hover .arr-2 {
    left: 16px;
}

.animated-button:hover .text {
    transform: translateX(12px);
}

.animated-button:hover svg {
    fill: #212121;
}

.animated-button:active {
    scale: 0.95;
    box-shadow: 0 0 0 4px var(--primary);
}

.animated-button:hover .circle {
    width: 300px;
    height: 300px;
    opacity: 1;
}

/* CTA */
.container-cta {
    padding: clamp(60px, 10vh, 100px) 0;
}

.cta {
    background: var(--bg-card);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: clamp(60px, 8vw, 100px) 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta h2 {
    font-size: clamp(2rem, 6vw, 5rem);
    margin-bottom: 24px;
    background: linear-gradient(90deg, #fff, var(--text-muted));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* WHATSAPP */
.whatsapp {
    position: fixed;
    bottom: clamp(20px, 5vw, 40px);
    right: clamp(20px, 5vw, 40px);
    background: var(--primary);
    color: #000;
    width: clamp(60px, 8vw, 70px);
    height: clamp(60px, 8vw, 70px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 0 20px 40px rgba(210, 255, 0, 0.3);
    transition: var(--transition);
}

.whatsapp svg {
    width: clamp(28px, 4vw, 38px);
    height: clamp(28px, 4vw, 38px);
}

.whatsapp:hover {
    transform: scale(1.1) rotate(15deg);
    background: #fff;
}

/* RESPONSIVE SPECIFICS */
@media (max-width: 992px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(20px);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        z-index: 1000;
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .nav-link {
        font-size: 1.5rem;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg);
    }

    .header-flex .animated-button {
        display: none;
    }

    .nav-cta {
        display: block;
        margin-top: 20px;
    }

    .nav-cta .animated-button {
        display: inline-flex;
        padding: 14px 30px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .header-flex {
        height: 60px;
        /* Reduced from 70px */
    }

    .logo-img {
        height: 24px;
        /* Reduced from 30px */
    }

    .btn-primary {
        width: 100%;
    }

    .header-flex .btn-primary {
        width: auto;
        padding: 8px 16px;
        /* Reduced padding */
        font-size: 0.75rem;
        /* Reduced font size */
    }

    .hero {
        padding-top: 60px;
        /* Reduced from 80px */
        padding-bottom: 40px;
        /* Added/adjusted bottom padding */
    }

    .hero h1 {
        font-size: 2.5rem;
        /* Explicit smaller size */
        margin-bottom: 16px;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-typing {
        animation: typing 3.5s steps(20, end) forwards, blink 0.8s infinite;
    }

    .section {
        padding: 60px 0;
        /* Reduced from default 100px */
    }

    .section-header h2 {
        font-size: 2rem;
        /* Reduced size */
    }

    .section-header p {
        font-size: 0.95rem;
    }

    .cards {
        gap: 20px;
        /* Reduced gap */
    }
}

/* PORTFOLIO SECTION */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.portfolio-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 450px;
    background: rgba(17, 17, 17, 0.5);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    opacity: 0.9;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 40px;
    opacity: 1;
    transition: var(--transition);
    z-index: 2;
}

.portfolio-info {
    transform: translateY(0);
    transition: var(--transition);
}

.portfolio-category {
    display: block;
    color: var(--primary);
    /* Removed text-transform: uppercase */
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    margin-bottom: 8px;
}

.portfolio-card h3 {
    font-size: 1.5rem;
    color: #fff;
    margin: 0;
    text-transform: none;
    letter-spacing: 0;
}

.portfolio-card:hover {
    transform: scale(0.98);
}

.portfolio-card:hover .portfolio-img {
    transform: scale(1.1);
    opacity: 1;
}

.portfolio-card:hover .portfolio-overlay {
    background: linear-gradient(0deg, rgba(210, 255, 0, 0.2) 0%, transparent 60%);
}

@media (max-width: 480px) {
    .portfolio-card {
        height: 350px;
    }
}

/* METHOD SECTION */
.method-section {
    background: transparent;
    position: relative;
}

.method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.method-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.method-card.highlighted {
    border-color: rgba(210, 255, 0, 0.3);
    background: radial-gradient(circle at top right, rgba(210, 255, 0, 0.05), transparent);
}

.method-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.method-letter {
    position: absolute;
    top: -20px;
    right: -10px;
    font-size: 12rem;
    font-weight: 900;
    line-height: 1;
    color: var(--primary);
    opacity: 0.03;
    pointer-events: none;
    font-family: 'Funnel Display', sans-serif;
}

.method-content {
    position: relative;
    z-index: 2;
}

.method-badge {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.8rem;
    /* Removed text-transform: uppercase */
    letter-spacing: 0.2em;
    margin-bottom: 20px;
    padding: 6px 12px;
    border: 1px solid rgba(210, 255, 0, 0.2);
    border-radius: 4px;
}

.method-card h4 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: #fff;
    font-weight: 700;
}

.method-list {
    list-style: none;
    margin-bottom: 30px;
}

.method-list li {
    color: var(--text-muted);
    margin-bottom: 12px;
    position: relative;
    padding-left: 24px;
    font-weight: 300;
}

.method-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.method-result {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.method-result strong {
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.9rem;
}

.method-footer {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.method-discourse {
    background: rgba(210, 255, 0, 0.03);
    border: 1px dashed rgba(210, 255, 0, 0.2);
    padding: 60px 40px;
    border-radius: 40px;
}

.method-discourse blockquote {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 400;
    line-height: 1.6;
    color: #fff;
    margin-bottom: 30px;
    font-style: normal;
}

.method-discourse p {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@media (max-width: 768px) {
    .method-grid {
        grid-template-columns: 1fr;
    }

    .method-card {
        padding: 40px 30px;
    }

    .method-discourse {
        padding: 40px 20px;
    }
}

/* REELS SECTION */
.reels-section {
    position: relative;
    overflow: hidden;
}

.reels-container {
    display: flex;
    flex-direction: column;
    gap: clamp(80px, 10vh, 120px);
}

.reels-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(40px, 5vw, 80px);
}

/* Alternate layout for the second block */
.reels-block:nth-child(even) {
    flex-direction: row-reverse;
}

.reels-text {
    flex: 1;
    max-width: 600px;
}

.reels-text h3 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 24px;
    background: linear-gradient(90deg, #fff, var(--text-muted));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.1;
}

.reels-text p {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: var(--text-muted);
    margin-bottom: 30px;
    font-weight: 300;
}

.reels-video-wrapper {
    flex: 0 0 clamp(280px, 30vw, 350px);
    aspect-ratio: 9/16;
    background: var(--bg-card);
    border-radius: 30px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
}

.reels-block:nth-child(even) .reels-video-wrapper {
    transform: perspective(1000px) rotateY(5deg);
}

.reels-video-wrapper:hover,
.reels-block:nth-child(even) .reels-video-wrapper:hover {
    transform: perspective(1000px) rotateY(0) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 30px 60px rgba(210, 255, 0, 0.1);
}

.reels-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

@media (max-width: 900px) {

    .reels-block,
    .reels-block:nth-child(even) {
        flex-direction: column;
        text-align: center;
    }

    .reels-text {
        max-width: 100%;
    }

    .reels-video-wrapper,
    .reels-block:nth-child(even) .reels-video-wrapper {
        transform: none;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

/* FOOTER */
.footer {
    padding: 100px 0 40px;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.footer-brand .footer-logo {
    height: 32px;
    margin-bottom: 24px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: var(--text-muted);
    max-width: 300px;
    margin-bottom: 30px;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    color: var(--text-pure);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--primary);
}

.footer-nav h4,
.footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav ul li {
    margin-bottom: 12px;
}

.footer-nav ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-nav ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 10px;
}

.footer-bottom {
    margin-top: 80px;
    padding-top: 40px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

.footer-bottom a {
    color: inherit;
    text-decoration: underline;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--primary);
}


.footer-backdrop {
    font-family: 'Funnel Display', sans-serif;
    position: absolute;
    bottom: -10%;
    left: 50%;
    transform: translateX(-50%);
    font-size: clamp(10rem, 30vw, 40rem);
    font-weight: 900;
    line-height: 0.8;
    color: transparent;
    -webkit-text-stroke: 1px rgba(210, 255, 0, 0.05);
    background: linear-gradient(180deg, rgba(210, 255, 0, 0.08) 0%, transparent 100%);
    -webkit-background-clip: text;
    background-clip: text;
    pointer-events: none;
    z-index: 1;
}

/* TESTIMONIALS CAROUSEL */
.testimonials {
    padding-bottom: 0;
}

.carousel-container {
    width: 100%;
    overflow: hidden;
    padding: 60px 0;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.carousel-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.carousel-track:hover {
    animation-play-state: paused;
}

.testimonial-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px;
    width: clamp(300px, 40vw, 450px);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #fff;
    margin-bottom: 30px;
}

.testimonial-author strong {
    display: block;
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.testimonial-author span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 15px));
        /* adjust for gap */
    }
}

@media (max-width: 768px) {
    .testimonial-card {
        width: 300px;
        padding: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-backdrop {
        bottom: 0;
        font-size: 15rem;
        opacity: 0.3;
    }
}

@media (max-width: 480px) {
    .method-card {
        padding: 30px 20px;
    }

    .testimonial-card {
        padding: 24px;
        width: 260px;
    }

    .testimonial-content p {
        font-size: 0.95rem;
    }

    .cta {
        padding: 40px 20px;
    }

    .cta h2 {
        font-size: 2rem;
    }

    .portfolio-card {
        height: 300px;
    }

    /* Fix Logos on one line */
    .logo-grid {
        flex-wrap: nowrap;
        gap: 8px;
        /* Reduced gap to bring them closer */
        justify-content: space-evenly;
        /* Even spacing */
    }

    .client-logo {
        height: 42px;
        /* Increased size */
        width: auto;
        max-width: 90px;
        flex-shrink: 0;
    }

    /* Fix Title Clipping */
    .hero h1 {
        font-size: 2.1rem;
        /* Increased from 1.8rem */
        word-break: break-word;
        /* Safety */
    }

    .hero-typing {
        /* Ensure animation doesn't break layout but fits screen */
        max-width: 100%;
    }
}