:root {
    --bg-color: #e2e2e2;
    --text-black: #000000;
    --text-muted: #555555;
    --accent: #000;
    --card-bg: rgba(255, 255, 255, 0.25);
    --border-color: rgba(0, 0, 0, 0.06);
    --max-width: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background-color: transparent;
    color: var(--text-black);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Hide native cursor on desktop only */
@media (min-width: 769px) and (pointer: fine) {
    body, a, button, input, select, textarea,
    .logo, .hamburger, .arrow-link, .slider-arrow,
    .dot, .config-chip, .matcher-card {
        cursor: none !important;
    }
}

/* Custom cursor – only visible on pointer devices */
.smooth-custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 32px;
    height: 32px;
    pointer-events: none;
    z-index: 100000;
    display: none;
}
@media (pointer: fine) {
    .smooth-custom-cursor {
        mix-blend-mode: difference;
    }
}

/* Grainy overlay – kept on all devices (as requested) */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: url('https://grainy-gradients.vercel.app/noise.svg');
    opacity: 0.15;
    pointer-events: none;
    z-index: 9999;
}

/* Parallax background – kept on all devices */
.parallax-bg-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 110vh;
    background-image: url('../images/bg_texture.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
    will-change: transform;
}

/* ===== Reusable UI ===== */
.btn-black {
    background: #000;
    color: #fff;
    border: none;
    padding: 12px 26px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: transform 0.2s ease, background-color 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}
.btn-black:hover {
    background: #222;
    transform: translateY(-1px);
}

.arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-black);
    text-decoration: none;
    margin-top: auto;
    transition: gap 0.2s ease;
}
.arrow-link:hover { gap: 10px; }

/* ===== FAQ ===== */
.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: background-color 0.3s ease;
}
.faq-item:hover { background: rgba(255, 255, 255, 0.5); }
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 28px;
    background: none;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-black);
    text-align: left;
    cursor: pointer;
    letter-spacing: -0.3px;
}
.faq-icon {
    font-size: 1.3rem;
    font-weight: 400;
    transition: transform 0.3s ease;
    color: var(--text-muted);
}
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1), padding 0.4s ease;
    padding: 0 28px;
}
.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 28px 22px 28px;
}
.faq-answer p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== Navbar ===== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1010;
    background: transparent;
    backdrop-filter: none;
    border: none;
    opacity: 1;
    transition: background 0.4s ease, backdrop-filter 0.4s ease, padding 0.4s ease;
}
.navbar.scrolled {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    padding: 20px 5%;
}
.navbar.scrolled .btn-black {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.3s ease;
}
.navbar.scrolled .nav-links {
    background: rgba(233, 233, 233, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 50px;
    padding: 10px 28px;
    gap: 32px;
}
.navbar.scrolled .nav-links a {
    background: transparent;
    backdrop-filter: none;
    border: none;
    border-radius: 0;
    padding: 0;
    opacity: 0.85;
}
.navbar.scrolled .nav-links a:hover { opacity: 1; }

.logo {
    font-weight: 900;
    font-size: 1.2rem;
    letter-spacing: -1px;
    text-decoration: none;
    color: var(--text-black);
    position: relative;
    z-index: 1020;
}
.nav-links {
    display: flex;
    gap: 40px;
}
.nav-links a {
    text-decoration: none;
    color: #000;
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0.8;
    transition: opacity 0.2s ease;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #000;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.nav-links a:hover {
    opacity: 1;
}
.nav-links a:hover::after { transform: scaleX(1); }

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
    background: transparent;
    border: none;
    position: relative;
    z-index: 1020;
}
.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-black);
    transition: transform 0.3s cubic-bezier(0.76, 0, 0.24, 1), opacity 0.3s ease;
    transform-origin: center;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-color);
    background-image: url('../images/bg_texture.jpg');
    background-size: cover;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 10%;
    transform: translateY(-100%);
    will-change: transform;
}
.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 25px;
    text-align: center;
    margin-bottom: 40px;
}
.mobile-menu-links a {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-black);
    text-decoration: none;
    letter-spacing: -1px;
    opacity: 0;
    transform: translateY(20px);
}

/* ===== Metrics ===== */
.metrics-section {
    padding: 60px 5%;
    max-width: var(--max-width);
    margin: 0 auto;
}
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 50px 0;
}
.metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
}
.metric-number, .metric-suffix {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1;
}
.metric-suffix { margin-left: 2px; }
.metric-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}
@media (max-width: 768px) {
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
        padding: 40px 0;
    }
}

/* ===== Hero ===== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 0 5%;
}
.hands-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}
.hand-wrapper {
    position: absolute;
    top: 50%;
    width: 34vw;
    max-width: 540px;
    will-change: transform;
}
#hand-left-wrapper { left: 0; }
#hand-right-wrapper { right: 0; }
.hand {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(1) contrast(1.1);
    mix-blend-mode: multiply;
    will-change: transform;
    transform: translateZ(0);
}
.content-box {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    opacity: 0;
    transform: translateY(30px);
    margin: auto 0;
    will-change: transform, opacity;
}
.headline {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -4px;
    margin-bottom: 20px;
}
.sub-text {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    line-height: 1.5;
}
.btn-pill {
    background: #000;
    color: #fff;
    border: none;
    padding: 18px 45px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    transition: transform 0.2s ease;
}
.btn-pill:hover { transform: scale(1.02); }

.trusted-by {
    position: absolute;
    bottom: 40px;
    width: 100%;
    text-align: center;
    opacity: 0;
    z-index: 10;
}
.trusted-by p {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
    margin-bottom: 20px;
}
.brands {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    align-items: center;
}
.brands span {
    font-weight: 900;
    font-size: 1.1rem;
    opacity: 0.7;
}

.brands a {
    color: inherit;
    text-decoration: none;
    font-weight: 900;
    font-size: 1.1rem;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}
.brands a:hover {
    opacity: 1;
}

/* ===== Sections ===== */
section.content-section {
    padding: 120px 5%;
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
}
.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
}
.section-tag {
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 20px;
    opacity: 0.6;
}
.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.1;
}

/* Remove will-change from static reveal elements – GSAP handles it during animation */
.animate-text,
.animate-title,
.animate-tag {
    opacity: 0;
    transform: translateY(30px);
}

/* ===== Services, Work, Process ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.service-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    transform: translateY(40px);
}
.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.5);
}
.service-card h3 {
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}
.service-card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}
.work-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    opacity: 0;
    transform: translateY(40px);
}
.work-display-frame {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 280px;
    border-radius: 16px;
    margin-bottom: 20px;
    padding: 20px;
    text-align: center;
    border: 1px solid var(--border-color);
}
.frame-placeholder-text {
    font-size: 1.1rem;
    font-weight: 600;
    z-index: 2;
}
.work-card .case-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 5px;
}
.work-card h4 {
    font-size: 1.35rem;
    font-weight: 900;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}
.work-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
}
.work-action-row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    width: 100%;
}

.process-row {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 20px;
}
.process-node {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    opacity: 0;
    transform: translateY(40px);
}
.process-node h3 {
    font-size: 1.35rem;
    font-weight: 900;
    margin-top: 20px;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}
.process-node p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}
.step-count-badge {
    font-size: 3.5rem;
    font-weight: 900;
    opacity: 0.15;
    line-height: 1;
}

/* ===== Testimonials ===== */
.testimonial-box {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 90px 80px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
}
.testimonial-slider-viewport {
    position: relative;
    width: 100%;
    min-height: 220px;
}
.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.testimonial-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
}
.quote-string {
    font-size: clamp(1.35rem, 3vw, 2.1rem);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.5px;
    margin-bottom: 35px;
    color: var(--text-black);
}
.profile-signature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.profile-name {
    font-weight: 900;
    font-size: 1rem;
}
.profile-title {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.slider-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 25px;
    right: 25px;
    transform: translateY(-50%);
    pointer-events: none;
    width: calc(100% - 50px);
    z-index: 15;
}
.slider-arrow {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    transition: background 0.2s, border 0.2s;
}
.slider-arrow:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}
.slider-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 40px;
}
.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.15);
    transition: background 0.3s, transform 0.3s;
}
.dot.active {
    background: #000;
    transform: scale(1.2);
}

/* ===== Matcher ===== */
.matcher-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: start;
    margin-top: 20px;
}
.matcher-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.matcher-card {
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.matcher-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.45);
}
.matcher-card.active {
    background: #ffffff;
    border-color: #000000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}
.matcher-icon {
    display: flex;
    align-items: center;
    justify-content: start;
    color: var(--text-black);
    margin-bottom: 5px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}
.matcher-card.active .matcher-icon { opacity: 1; }
.matcher-icon svg {
    width: 28px;
    height: 28px;
}
.matcher-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.3px;
}
.matcher-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    padding-right: 40px;
}
.matcher-radio-circle {
    position: absolute;
    top: 35px;
    right: 30px;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0, 0, 0, 0.15);
    border-radius: 50%;
    transition: background 0.2s, border-color 0.2s;
}
.matcher-card.active .matcher-radio-circle {
    border-color: #000000;
    background: #000000;
    box-shadow: inset 0 0 0 4px #ffffff;
}

.matcher-display-panel {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    position: sticky;
    top: 120px;
}
.result-package-content {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.result-package-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}
.package-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: rgba(0, 0, 0, 0.06);
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 25px;
}
.matcher-display-panel h3 {
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: -0.8px;
    margin-bottom: 15px;
}
.matcher-display-panel p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
}
.package-meta-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    border-top: 1px solid var(--border-color);
    padding-top: 25px;
}
.meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.meta-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #777;
}
.meta-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-black);
}

/* ===== CTA Block ===== */
.cta-container-block {
    background: #000000;
    color: #ffffff;
    border-radius: 24px;
    padding: 80px 60px;
    margin-top: 80px;
    opacity: 0;
    transform: translateY(50px);
    position: relative;
    overflow: hidden;
}
.background-curve-pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}
.cta-content-frame {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}
.cta-container-block h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 900;
    letter-spacing: -1.5px;
    margin-bottom: 10px;
}
.cta-container-block p {
    color: #888888;
    font-size: 1.05rem;
}
.btn-white {
    background: #ffffff;
    color: #000000;
    border: none;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: transform 0.2s ease;
}
.btn-white:hover { transform: translateY(-2px); }

/* ===== Popups ===== */
.contact-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    z-index: 50000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    padding: 20px;
    will-change: opacity, visibility;
}
.contact-popup-card {
    background: #111111;
    color: #ffffff;
    border-radius: 24px;
    width: 100%;
    max-width: 540px;
    padding: 50px 45px;
    position: relative;
    transform: scale(0.95) translateY(20px);
    will-change: transform;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}
.close-popup-btn {
    position: absolute;
    top: 25px;
    right: 25px;
    background: transparent;
    border: none;
    color: #777;
    font-size: 1.5rem;
    transition: color 0.2s;
}
.close-popup-btn:hover { color: #fff; }
.contact-popup-card h2 {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: -1.5px;
    margin-bottom: 10px;
}
.contact-popup-card p {
    color: #777;
    font-size: 0.95rem;
    margin-bottom: 35px;
    line-height: 1.5;
}
.popup-form-group {
    position: relative;
    margin-bottom: 25px;
}
.popup-form-group input,
.popup-form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 0;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s;
}
.popup-form-group input:focus,
.popup-form-group textarea:focus { border-color: #ffffff; }
.popup-form-group textarea {
    resize: none;
    min-height: 90px;
}

/* ===== Footer ===== */
footer {
    background: #000000;
    color: #ffffff;
    padding: 100px 5% 40px 5%;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}
.footer-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
}
.footer-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr) 2fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand h4 {
    font-weight: 900;
    font-size: 1.4rem;
    letter-spacing: -1px;
    margin-bottom: 15px;
}
.footer-brand p {
    color: #777;
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 240px;
}
.footer-column h5 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
    color: #fff;
}
.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-column ul a {
    color: #777;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}
.footer-column ul a:hover { color: #fff; }
.footer-input-group {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 8px;
    margin-top: 15px;
}
.footer-input-group input {
    background: transparent;
    border: none;
    color: #fff;
    outline: none;
    width: 100%;
    font-size: 0.9rem;
}
.footer-input-group button {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.1rem;
}
.metric-value-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    line-height: 1;
}
.footer-base {
    max-width: var(--max-width);
    margin: 40px auto 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #555;
}
.marquee-wrapper {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
    display: flex;
    align-items: center;
    gap: 40px;
    width: max-content;
    animation: marqueeScroll 25s linear infinite;
}
.marquee-item {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-black);
    opacity: 0.6;
    white-space: nowrap;
    letter-spacing: -0.5px;
}
.marquee-dot {
    font-size: 0.5rem;
    opacity: 0.3;
}
@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@media (max-width: 768px) {
    .marquee-track { gap: 28px; }
    .marquee-item { font-size: 0.95rem; }
}

.footer-links {
    display: flex;
    gap: 20px;
}
.footer-links a {
    color: #555;
    text-decoration: none;
}
.footer-links a:hover { color: #777; }

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-brand,
    .footer-column:last-of-type {
        grid-column: span 3;
    }
}

@media (max-width: 900px) {
    .matcher-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .matcher-display-panel {
        position: relative;
        top: 0;
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .nav-links, .navbar .btn-black { display: none; }
    .hamburger { display: flex; }
    .navbar { padding: 25px 6%; }
    .testimonial-box { padding: 60px 25px; }
    .slider-controls { display: none; }
    .contact-popup-card { padding: 40px 25px; }

    .headline {
        font-size: 2.85rem;
        letter-spacing: -1.5px;
        line-height: 1.05;
        margin-bottom: 15px;
    }
    .sub-text {
        font-size: 1rem;
        margin-bottom: 30px;
        padding: 0 10px;
    }
    .btn-pill {
        padding: 15px 35px;
        font-size: 0.9rem;
    }
    .hand-wrapper {
        display: none !important;
        width: 55%;
        max-width: 300px;
        top: auto;
    }
    #hand-left-wrapper {
        left: -20%;
        top: 23%;
    }
    #hand-right-wrapper {
        right: -20%;
        bottom: 20%;
    }

    /* Force hero content visible on mobile */
    .content-box {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }

    .section-header-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-bottom: 40px;
    }
    .process-row {
        flex-direction: column;
        gap: 40px;
    }
    .cta-container-block {
        padding: 40px 24px;
        margin-top: 40px;
    }
    .cta-content-frame {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-brand, .footer-column:last-of-type { grid-column: span 1; }
    .footer-base {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .brands {
        gap: 20px 30px;
        justify-content: center;
    }
    .brands span { font-size: 0.95rem; }
    section.content-section { padding: 80px 5%; }
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hamburger override – always transparent */
header.navbar.scrolled button#hamburgerBtn.hamburger,
header.navbar button#hamburgerBtn.hamburger,
#navbar.scrolled #hamburgerBtn,
#navbar #hamburgerBtn {
    background: transparent !important;
    background-color: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    outline: none !important;
}
#navbar.scrolled #hamburgerBtn::before,
#navbar.scrolled #hamburgerBtn::after,
#navbar #hamburgerBtn::before,
#navbar #hamburgerBtn::after {
    content: none !important;
    background: transparent !important;
}
#navbar.scrolled #hamburgerBtn span,
#navbar #hamburgerBtn span {
    background-color: #000 !important;
}


.arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #111;
    text-decoration: none;
    transition: gap 0.2s ease;
}
.arrow-link:hover {
    gap: 10px;
}
.arrow-link span {
    transition: transform 0.2s ease;
}
.arrow-link:hover span {
    transform: translateX(2px);
}