html.lenis {
    height: auto;
}

.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis-smooth [data-lenis-prevent] {
    scroll-behavior: contain;
}

.lenis-target {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}


/* -------------------------------------------------------------
   Webmicron Design System & Core Stylesheet
   ------------------------------------------------------------- */

/* 1. CSS Reset & Base System */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-light: #fffff8;
    --primary: #f15a24;
    --primary-rgb: 241, 90, 36;
    --black: #333333;
    --black-rgb: 51, 51, 51;
    --card-bg: #f6f6ef;
    --border-color: #e4e4db;
    --gray-text: #666666;
    --white: #ffffff;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-handwritten: 'Covered By Your Grace', cursive;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-spring: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-light);
    color: var(--black);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: clip;
    position: relative;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 5px;
    border: 2px solid var(--bg-light);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* 2. Layout & Typography Utilities */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--black);
}

p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--gray-text);
}

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

.highlight {
    color: var(--primary);
}

.highlight-inline {
    border-bottom: 2px dashed var(--primary);
    padding-bottom: 2px;
}

.text-gray {
    color: var(--gray-text);
}

.text-bold {
    font-weight: 700;
}

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

.hidden {
    display: none !important;
}

/* Section Tags */
.section-tag-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.section-tag-wrapper.align-center {
    justify-content: center;
}

.section-tag {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--primary);
    background: rgba(241, 90, 36, 0.08);
    border: 1px solid rgba(241, 90, 36, 0.2);
    padding: 6px 16px;
    border-radius: 100px;
    text-transform: uppercase;
}

/* Custom Buttons System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-spring);
    border: 1px solid transparent;
}

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

.btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 24px rgba(241, 90, 36, 0.25);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-secondary {
    background-color: var(--black);
    color: var(--bg-light);
}

.btn-secondary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 24px rgba(51, 51, 51, 0.15);
}

.btn-dark {
    background-color: var(--black);
    color: var(--white);
}

.btn-dark:hover {
    background-color: #000;
    transform: translateY(-2px);
}

.btn-compact {
    padding: 12px 24px;
    font-size: 0.9rem;
}

/* 3. Header & Floating Navigation */
.main-header {
    position: fixed;
    top: 24px;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    padding: 0 24px;
    pointer-events: none;
    /* Let events pass to allow scrolling through boundary gaps */
}

.nav-pill-container {
    width: 100%;
    max-width: 600px;
    background: rgba(255, 255, 248, 0.75);
    backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    pointer-events: auto;
    /* Re-enable pointer events for the navbar */
    transition: border-radius 0.4s cubic-bezier(0.25, 1, 0.5, 1), max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    max-height: 56px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(51, 51, 51, 0.05);
}

.nav-pill {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-mark {
    transition: transform 0.5s ease;
}

.nav-logo:hover .logo-mark {
    transform: rotate(180deg);
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--black);
    letter-spacing: -0.04em;
}

.nav-toggle {
    background: transparent;
    border: none;
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.nav-toggle:hover {
    background: var(--border-color);
}

.nav-toggle .line {
    display: block;
    width: 16px;
    height: 2px;
    background-color: var(--black);
    transition: var(--transition-spring);
    transform-origin: center;
}

.nav-cta-btn {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white);
    background-color: var(--primary);
    padding: 10px 20px;
    border-radius: 100px;
}

.nav-cta-btn:hover {
    transform: scale(1.05);
    background-color: var(--black);
}

/* Expanded Dropdown Menu */
.expanded-menu {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 16px;
}

.menu-divider {
    width: 100%;
    height: 1px;
    background: var(--border-color);
    margin: 5px 0;
}

.expanded-links-grid {
    padding: 8px 0;
}

/* Inner Menu for Service Pages */
.inner-menu {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 8px 0;
}

.inner-menu .menu-services,
.inner-menu .menu-sections {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.inner-menu .menu-services .menu-link,
.inner-menu .menu-sections .menu-link {
    font-size: 1rem;
    font-weight: 600;
    color: var(--black);
    padding: 4px 0;
}

.inner-menu .menu-services .menu-link:hover,
.inner-menu .menu-sections .menu-link:hover,
.inner-menu .menu-services .menu-link.active,
.inner-menu .menu-sections .menu-link.active {
    color: var(--primary);
}


.menu-links {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}

.menu-link {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--black);
    padding: 8px 0;
    display: inline-block;
    border-bottom: 1px dashed transparent;
}

.menu-link:hover,
.menu-link.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.expanded-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.social-links {
    display: flex;
    gap: 8px;
}

.social-pill {
    font-size: 0.75rem;
    font-weight: 700;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--black);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-pill:hover {
    background: var(--primary);
    transform: scale(1.1);
}

.copyright-text {
    font-size: 0.75rem;
    color: var(--gray-text);
}

/* Toggle Expanded Header State */
.main-header.menu-open .nav-pill-container {
    max-height: 480px;
}

.main-header.menu-open .expanded-menu {
    opacity: 1;
    visibility: visible;
}

.main-header.menu-open .nav-toggle .line-1 {
    transform: rotate(45deg) translate(2.5px, 2.5px);
}

.main-header.menu-open .nav-toggle .line-2 {
    transform: rotate(-45deg) translate(2.5px, -2.5px);
}

/* 4. Hero Section */
.hero-section {
    min-height: auto;
    /* Not full view height! Same as sample site */
    padding: 160px 24px 80px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Symmetrical Concentric Orbiting Arcs on Sides */
.orbit-bg-side {
    position: absolute;
    top: 50%;
    width: 1000px;
    height: 1000px;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.orbit-bg-left {
    left: -500px;
    /* Centered exactly on the left viewport boundary! */
    transform: translateY(-50%);
    animation: spin-orbit-side 25s linear infinite;
}

.orbit-bg-right {
    right: -500px;
    /* Centered exactly on the right viewport boundary! */
    transform: translateY(-50%);
    animation: spin-orbit-side-reverse 25s linear infinite;
}

.orbit-bg-left .orbit-icon-side img {
    animation: icon-counter-spin 45s linear infinite;
}

.orbit-bg-right .orbit-icon-side img {
    animation: icon-counter-spin-reverse 45s linear infinite;
}

.orbit-ring-side {
    position: absolute;
    border: 1px solid rgba(51, 51, 51, 0.04);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ring-side-1 {
    width: 400px;
    height: 400px;
}

.ring-side-2 {
    width: 700px;
    height: 700px;
}

.ring-side-3 {
    width: 1000px;
    height: 1000px;
}

.ring-side-4 {
    width: 1300px;
    height: 1300px;
}

.orbit-icon-side {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(51, 51, 51, 0.05);
    top: 50%;
    left: 50%;
    margin-top: -30px;
    margin-left: -30px;
    transform: rotate(var(--angle)) translate(var(--translation)) rotate(calc(-1 * var(--angle)));
    transition: border-color 0.4s, box-shadow 0.4s, transform 0.4s, opacity 0.4s;
    pointer-events: auto;
    opacity: 1;
    /* Active so users can hover */
}

.orbit-icon-side img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
}

.orbit-icon-side:hover {
    border-color: var(--primary);
    box-shadow: 0 12px 36px rgba(241, 90, 36, 0.12);
    transform: rotate(var(--angle)) translate(var(--translation)) rotate(calc(-1 * var(--angle))) scale(1.08);
    opacity: 1;
}

@keyframes spin-orbit-side {
    from {
        transform: translateY(-50%) rotate(0deg);
    }

    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

@keyframes spin-orbit-side-reverse {
    from {
        transform: translateY(-50%) rotate(360deg);
    }

    to {
        transform: translateY(-50%) rotate(0deg);
    }
}

@keyframes icon-counter-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}

@keyframes icon-counter-spin-reverse {
    from {
        transform: rotate(-360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 140%;
    background: radial-gradient(ellipse at center, rgba(255, 255, 248, 0.95) 0%, rgba(255, 255, 248, 0.8) 40%, transparent 70%);
    z-index: -1;
    pointer-events: none;
    filter: blur(10px);
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 24px;
    letter-spacing: -0.04em;
    max-width: 850px;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 650px;
    margin-bottom: 48px;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    margin-top: 25px;
    margin-bottom: 50px;
    position: relative;
}

#hero-primary-cta {
    position: relative;
}

/* Button Callout Wrapper - Tucked Below Primary orange button */
.button-callout-wrapper {
    position: absolute;
    top: calc(100% + 0px);
    left: -250px;
    display: flex;
    align-items: center;
    pointer-events: none;
    width: max-content;
    z-index: 10;
    transform: rotate(-3deg);
}

.button-callout-wrapper .handwritten-text {
    font-family: var(--font-handwritten);
    font-size: 1.4rem;
    color: var(--primary);
    white-space: nowrap;
    line-height: 1;
    transform: rotate(-4deg);
}

.button-callout-wrapper .handwritten-arrow-svg {
    margin-left: 8px;
    transform: rotate(-8deg);
}

/* General handwritten tags */
.handwritten-arrow-wrapper {
    position: absolute;
    top: -60%;
    left: -40%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 8px;
    width: 200px;
    pointer-events: none;
}

.handwritten-arrow-wrapper.left-pos {
    transform: translateX(-20%);
}

.handwritten-text {
    font-family: var(--font-handwritten);
    font-size: 1.5rem;
    color: var(--primary);
    line-height: 1;
    transform: rotate(-4deg);
}

.handwritten-arrow {
    margin-top: -4px;
}

.curve-flipped {
    transform: scaleX(-1);
}

/* Trusted Logo Marquee with elegant dotted separators */
.hero-social-proof {
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-top: 24px;
}

.proof-label-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 20px;
}

.proof-line {
    flex-grow: 1;
    height: 1px;
    border-bottom: 1.5px dotted var(--border-color);
}

.proof-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--gray-text);
    white-space: nowrap;
    text-transform: uppercase;
}

.logo-marquee-container {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.logo-marquee-track {
    display: flex;
    gap: 40px;
    animation: infinite-marquee 25s linear infinite;
    width: max-content;
}

.logo-item {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--border-color);
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
}

.logo-placeholder {
    transition: var(--transition-smooth);
}

.logo-item:hover .logo-placeholder {
    color: var(--primary);
}

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

    100% {
        transform: translateX(-50%);
    }
}

/* 5. Projects Section (Infinite Sliding Rows) */
.projects-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    background: var(--card-bg);
}

.marquee-rows-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    width: 100%;
}

.project-marquee-row {
    width: 100vw;
    overflow: hidden;
}

.project-marquee-row .marquee-track {
    display: flex;
    gap: 24px;
    width: max-content;
}

.project-card {
    position: relative;
    width: 400px;
    height: 280px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--white);
    cursor: pointer;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px;
    background: linear-gradient(to top, rgba(51, 51, 51, 0.8), transparent);
    color: var(--white);
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

.project-card:hover .project-img {
    transform: scale(1.05);
}

.project-card:hover .project-overlay {
    opacity: 1;
    transform: translateY(0);
}

.project-overlay h3 {
    color: var(--white);
    font-size: 1.2rem;
}

.project-overlay span {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--border-color);
}

/* Center Badge Overlay */
.projects-center-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.badge-inner {
    background: #ffffff;
    border: 1px solid var(--border-color);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.5), 0 20px 50px rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    width: 320px;
    height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 32px;
    transition: var(--transition-smooth);
}

.badge-inner:hover {
    transform: scale(1.02);
}

.badge-top-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    margin-bottom: 24px;
}

.badge-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--black);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.badge-btn {
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
}

/* 6. Agency Comparison */
.comparison-section {
    padding: 120px 24px;
}

.comparison-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.comparison-title {
    font-size: 3rem;
    margin-bottom: 20px;
}

.comparison-subtitle {
    font-size: 1.15rem;
    margin-bottom: 40px;
}

/* Interactive Switch */
.comparison-toggle-box {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
}

.toggle-switch {
    width: 56px;
    height: 32px;
    border-radius: 100px;
    background: var(--border-color);
    border: none;
    position: relative;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.toggle-switch.active {
    background: var(--primary);
}

.toggle-circle {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--white);
    transition: var(--transition-spring);
}

.toggle-switch.active .toggle-circle {
    left: 28px;
}

.toggle-label {
    font-size: 0.85rem;
    transition: var(--transition-smooth);
}

.toggle-label.text-gray {
    color: var(--gray-text);
}

/* Proof Block */
.comparison-proof {
    display: flex;
    align-items: center;
    gap: 16px;
}

.avatar-group {
    display: flex;
}

.avatar-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--bg-light);
    margin-left: -12px;
}

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

.avatar-plus {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--border-color);
    color: var(--black);
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-light);
    margin-left: -12px;
}

.rating-details {
    display: flex;
    flex-direction: column;
}

.stars {
    color: var(--primary);
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.rating-text {
    font-size: 0.85rem;
    color: var(--gray-text);
}

/* Cards Grid */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.comparison-card {
    padding: 20px;
    border-radius: 24px;
    border: 2px solid var(--border-color);
    background: var(--card-bg);
    transition: var(--transition-spring);
    position: relative;
    overflow: hidden;
}

.comparison-card h3 {
    font-size: 1.5rem;
    margin-bottom: 18px;
}

.comparison-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comparison-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 0.95rem;
    line-height: 1.4;
}

.list-bullet {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.card-other .list-bullet {
    color: #cc0000;
}

.card-webmicron .list-bullet {
    color: var(--primary);
}

.card-webmicron {
    background: var(--white);
    animation: border-animate 2s infinite ease-in-out;
}

@keyframes border-animate {
    0% {
        border: 2px solid var(--primary);
    }

    50% {
        border: 2px solid var(--border-color);
    }

    100% {
        border: 2px solid var(--primary);
    }
}

.card-overlay-btn-box {
    margin-top: 40px;
}

/* Glow State when Active */
.comparison-card.highlight-active {
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(241, 90, 36, 0.08);
    transform: translateY(-8px);
}

.comparison-card.card-other.highlight-active {
    border-color: var(--black);
    box-shadow: 0 20px 50px rgba(51, 51, 51, 0.05);
    transform: translateY(-8px);
}

/* 7. Benefits Bento Grid */
.benefits-section {
    padding: 120px 24px;
    background: var(--card-bg);
}

.benefits-container {
    max-width: 1200px;
    margin: 0 auto;
}

.benefits-main-title {
    font-size: 3.5rem;
    margin-bottom: 64px;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(280px, auto);
    gap: 24px;
}

.bento-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(51, 51, 51, 0.03);
}

.bento-card h3 {
    font-size: 1.35rem;
    margin-top: 12px;
    margin-bottom: 12px;
}

.card-tag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--gray-text);
    text-transform: uppercase;
}

.col-span-2 {
    grid-column: span 2;
}

/* Card CSAT */
.csat-interactive-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: auto;
    padding: 16px 0;
}

.csat-label {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.05em;
}

.csat-face-row {
    display: flex;
    gap: 12px;
}

.csat-face-btn {
    font-size: 1.6rem;
    background: transparent;
    border: 2px solid transparent;
    cursor: pointer;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-spring);
}

.csat-face-btn:hover {
    transform: scale(1.2);
}

.csat-face-btn.active {
    border-color: var(--primary);
    background: rgba(241, 90, 36, 0.05);
    transform: scale(1.1);
    animation: csat-wiggle 0.5s ease;
}

@keyframes csat-wiggle {

    0%,
    100% {
        transform: scale(1.1) rotate(0deg);
    }

    25% {
        transform: scale(1.1) rotate(-8deg);
    }

    75% {
        transform: scale(1.1) rotate(8deg);
    }
}

.csat-score {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-text);
}

/* Card Strategy Slider */
.card-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.slider-arrows {
    display: flex;
    gap: 8px;
}

.slide-arrow-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    color: var(--black);
}

.slide-arrow-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.strategy-slides-container {
    position: relative;
    flex-grow: 1;
    margin-top: 16px;
    min-height: 200px;
}

.strategy-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.strategy-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.strategy-description {
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.strategy-graphic {
    width: 100%;
    height: 150px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.strat-graphic-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Card Discuss Bento */
.card-discuss-bento {
    background: linear-gradient(135deg, var(--primary), #d84511);
    color: var(--white);
    border: none;
    justify-content: space-between;
}

.card-discuss-bento h3 {
    color: var(--white);
    font-size: 1.6rem;
    margin-top: 0;
    margin-bottom: 16px;
}

.discuss-sub {
    color: rgba(255, 255, 248, 0.85);
    font-size: 0.85rem;
    margin-top: 12px;
}

.bento-avatar-pile {
    display: flex;
    justify-content: space-between;
    margin-top: 24px;
}

.avatar-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.avatar-block img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 248, 0.4);
    transition: var(--transition-spring);
}

.avatar-block:hover img {
    transform: translateY(-6px) scale(1.1);
    border-color: var(--white);
}

.avatar-block span {
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255, 255, 248, 0.9);
}

/* Radial Performance Gauges */
.gauges-description {
    font-size: 0.95rem;
}

.card-gauges {
    position: relative;
    background-color: var(--white);
}

.card-gauges::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#d0d0d0 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    opacity: 0.8;
    z-index: 0;
    pointer-events: none;
    border-radius: inherit;
}

.card-gauges>* {
    position: relative;
    z-index: 1;
}

.gauges-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: auto;
    align-items: center;
    justify-items: center;
    padding-top: 16px;
}

.gauge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    background: var(--white);
    padding: 16px 12px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(51, 51, 51, 0.04);
    border: 1px solid var(--border-color);
    width: 100%;
}

.gauge-svg-wrapper {
    width: 90px;
    height: 90px;
}

.circular-chart {
    display: block;
    max-width: 100%;
    max-height: 100%;
}

.circular-chart.orange {
    filter: drop-shadow(0px 4px 6px rgba(241, 90, 36, 0.2));
}

.circular-chart.green {
    filter: drop-shadow(0px 4px 6px rgba(16, 185, 129, 0.2));
}

.circle-bg {
    fill: none;
    stroke: var(--bg-light);
    stroke-width: 3;
}

.circle {
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
    transition: stroke-dasharray 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.circular-chart.orange .circle {
    stroke: var(--primary);
}

.circular-chart.green .circle {
    stroke: #10b981;
}

.percentage {
    font-family: var(--font-sans);
    fill: var(--black);
    font-weight: 800;
    font-size: 8px;
    text-anchor: middle;
}

.gauge-title {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

/* Card Rebuild dial */
.rebuild-sub {
    font-size: 0.85rem;
    color: var(--gray-text);
}

.rebuild-dial-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: auto;
    padding: 16px 0;
}

.dial-container {
    position: relative;
    width: 120px;
    height: 120px;
}

.dial-svg {
    width: 100%;
    height: 100%;
}

#dial-progress {
    transition: stroke-dasharray 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

#dial-hand {
    transform-origin: 50px 50px;
    transition: transform 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.dial-val {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
}

/* Card Verticals Dotted List */
.verticals-dotted-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    margin-top: auto;
}

.verticals-dotted-list li {
    padding: 10px 0;
    border-bottom: 1px dotted var(--border-color);
    font-size: 0.85rem;
    font-weight: 700;
}

.verticals-dotted-list li:last-child {
    border-bottom: none;
}

/* Founder Portrait & Quote */
.founder-flex-layout {
    display: flex;
    gap: 32px;
    flex-direction: column;
}

.founder-photo-box {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    flex-shrink: 0;
}

.founder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-tag-pill {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100px;
}

.founder-quote-box {
    display: flex;
    flex-direction: column;
}

.founder-quote {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--black);
    margin-bottom: 12px;
}

.founder-sign {
    font-family: var(--font-handwritten);
    font-size: 1.6rem;
    color: var(--primary);
    line-height: 1;
}

.founder-title {
    font-size: 0.75rem;
    color: var(--gray-text);
}

/* Grid helper for CEO card spanning */
@media (min-width: 992px) {
    .col-span-2-lg {
        grid-column: span 2;
    }
}

/* 8. Services Section (Sticky Stack) */
.services-section {
    padding: 120px 24px;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.services-sticky-panel {
    position: sticky;
    top: 120px;
    align-self: start;
    height: fit-content;
}

.services-title {
    font-size: 3.5rem;
    margin-bottom: 24px;
}

.services-description {
    font-size: 1.15rem;
    margin-bottom: 48px;
}

/* Stacking Cards */
.services-stack-panel {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.service-stack-card {
    position: sticky;
    top: calc(100px + var(--card-index) * 24px);
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 48px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 10px 30px rgba(51, 51, 51, 0.02);
}

a.service-stack-card:hover {
    transform: translateY(-6px) scale(1.01) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 20px 45px rgba(241, 90, 36, 0.06) !important;
}

a.service-stack-card:hover .explore-service-link {
    gap: 12px !important;
    color: var(--primary) !important;
}

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

.service-badge-tag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--gray-text);
}

.service-icon {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.service-stack-card h3 {
    font-size: 2rem;
}

.service-card-desc {
    font-size: 1rem;
    line-height: 1.6;
}

.service-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.service-pill {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--black);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 100px;
    background: var(--white);
}

/* 9. Case Studies (Featured Projects Carousel) */
.case-studies-section {
    padding: 120px 24px;
    background: var(--card-bg);
}

.case-studies-container {
    max-width: 1200px;
    margin: 0 auto;
}

.case-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
}

.case-main-title {
    font-size: 3.5rem;
    margin-top: 16px;
}

.carousel-nav-arrows {
    display: flex;
    gap: 12px;
}

/* Slider Track Viewport */
.case-carousel-viewport {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.case-carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    /* fit-content keeps the track as wide as its slides without max-content overflow */
    width: fit-content;
}

.case-slide {
    width: 100%;
    min-width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
    opacity: 0.3;
    scale: 0.95;
    transition: var(--transition-smooth);
}

.case-slide.active {
    opacity: 1;
    scale: 1;
}

.case-mockup-wrapper {
    height: 480px;
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--white);
}

.case-mock-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-details-box {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.case-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 24px;
}

.case-description {
    font-size: 1.25rem;
    color: var(--black);
    font-weight: 500;
    line-height: 1.5;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.dot-btn {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: var(--border-color);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.dot-btn.active {
    background: var(--primary);
    width: 24px;
    border-radius: 100px;
}

/* 10. Process Strategy Section (Ferris-wheel Arc) */
.strategy-section {
    padding: 120px 24px;
    overflow: hidden;
}

.strategy-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.strategy-main-title {
    font-size: 3.5rem;
    margin-bottom: 24px;
}

.strategy-subtitle {
    font-size: 1.15rem;
    color: var(--gray-text);
    max-width: 600px;
    margin: 0 auto 80px auto;
    text-align: center;
    line-height: 1.6;
}

/* Rotating Ferris Wheel Arc Widget */
.strategy-arc-rotator-widget {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    height: 520px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
    /* Hide the lower half of the perfect-square container */
}

.arc-svg-container {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 450px;
    pointer-events: none;
}

.arc-svg {
    width: 100%;
    height: 100%;
}

.arc-step-badges-container {
    position: absolute;
    top: 40px;
    left: 50%;
    width: 900px;
    height: 900px;
    transform: translateX(-50%);
    transform-origin: 50% 50%;
    /* Perfect square center rotation! */
    pointer-events: none;
    z-index: 20;
}

.arc-step-badge {
    position: absolute;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: var(--white);
    color: var(--black);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    /* Active for click mechanics */
    z-index: 15;
    transition: border-color 0.6s, background-color 0.6s, box-shadow 0.6s;
    box-shadow: 0 4px 12px rgba(51, 51, 51, 0.05);
}

.arc-step-badge.active {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(241, 90, 36, 0.2);
}

/* Mathematically perfect circular coordinates on a 900x900px canvas centered around (450px, 450px) with radius 410px */
#badge-step-1 {
    left: 79px;
    top: 277px;
    transform: translate(-50%, -50%);
}

#badge-step-2 {
    left: 230px;
    top: 104px;
    transform: translate(-50%, -50%);
}

#badge-step-3 {
    left: 450px;
    top: 40px;
    transform: translate(-50%, -50%);
}

#badge-step-4 {
    left: 670px;
    top: 104px;
    transform: translate(-50%, -50%);
}

#badge-step-5 {
    left: 821px;
    top: 277px;
    transform: translate(-50%, -50%);
}

.badge-label-tooltip {
    position: absolute;
    bottom: -32px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--black);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.arc-step-badge:hover .badge-label-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Center Details Box */
.strategy-center-step-card {
    position: relative;
    z-index: 10;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    width: 480px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(51, 51, 51, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.active-step-badge-indicator {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--white);
    background: var(--primary);
    padding: 6px 14px;
    border-radius: 100px;
}

.active-step-title {
    font-size: 1.8rem;
}

.active-step-description {
    font-size: 0.95rem;
    line-height: 1.6;
}

.active-step-bullet-row {
    display: flex;
    gap: 8px;
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--gray-text);
    letter-spacing: 0.05em;
    flex-wrap: wrap;
    justify-content: center;
}

.strategy-card-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    margin-top: 12px;
}

.pagination-arrows {
    display: flex;
    gap: 8px;
}


.pagination-fraction {
    font-size: 0.85rem;
    font-weight: 800;
}

/* 11. Client Reviews (Infinite Slider) */
.reviews-section {
    padding: 120px 24px;
    background: var(--card-bg);
}

.reviews-marquee-box {
    width: 100%;
    overflow: hidden;
    margin-top: 64px;
    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);
}

.reviews-track {
    display: flex;
    gap: 24px;
    width: max-content;
}

.reviews-marquee-box:hover .reviews-track {
    animation-play-state: paused;
}

.track-left {
    animation: reviews-marquee 35s linear infinite;
}

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

    100% {
        transform: translateX(-33.3333%);
    }
}

.review-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    width: 380px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--black);
    font-weight: 500;
}

.review-client-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.client-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.client-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.client-info h4 {
    font-size: 0.9rem;
    font-weight: 800;
}

.client-info span {
    font-size: 0.75rem;
    color: var(--gray-text);
}

.rating-stars {
    color: var(--primary);
    font-size: 0.85rem;
}

/* 12. Blogs Bento Grid */
.blogs-section {
    padding: 120px 24px;
}

.blogs-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 24px;
    max-width: 1200px;
    margin: 64px auto 0 auto;
}

.blog-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(51, 51, 51, 0.03);
}

.blog-img-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.blog-card:hover .blog-img {
    transform: scale(1.05);
}

.blog-category-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--white);
    color: var(--black);
    font-size: 0.65rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 100px;
    box-shadow: 0 4px 10px rgba(51, 51, 51, 0.05);
}

.blog-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-date {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gray-text);
    margin-bottom: 12px;
}

.blog-card h3 {
    font-size: 1.15rem;
    line-height: 1.4;
    margin-bottom: 16px;
}

.blog-excerpt {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 24px;
}

.blog-author-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.author-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.author-name {
    font-size: 0.75rem;
    font-weight: 700;
}

.read-more-link {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: auto;
    align-self: flex-start;
}

/* Featured Blog spans 2 columns & double rows */
.featured-blog {
    grid-column: span 2;
    grid-row: span 2;
}

.featured-blog .blog-img-wrapper {
    height: 320px;
}

.featured-blog h3 {
    font-size: 1.75rem;
}

/* 13. FAQs Accordion */
.faqs-section {
    padding: 120px 24px;
    background: var(--card-bg);
}

.faqs-container {
    max-width: 800px;
    margin: 0 auto;
}

.faqs-title {
    font-size: 3.5rem;
    margin-bottom: 64px;
}

.faqs-accordion-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 64px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-header {
    width: 100%;
    padding: 24px 32px;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
}

.faq-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--black);
}

.faq-icon-box {
    position: relative;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-spring);
}

.faq-icon-box::before,
.faq-icon-box::after {
    content: '';
    position: absolute;
    background: var(--black);
    transition: var(--transition-spring);
}

/* Plus line */
.faq-icon-box::before {
    width: 10px;
    height: 2px;
}

.faq-icon-box::after {
    width: 2px;
    height: 10px;
}

/* Open Accordion Height Collapse */
.faq-collapse {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-body {
    overflow: hidden;
}

.faq-body p {
    padding: 0 32px 32px 32px;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Active State Accordion */
.faq-item.active {
    border-color: var(--primary);
}

.faq-item.active .faq-collapse {
    grid-template-rows: 1fr;
}

.faq-item.active .faq-icon-box {
    background-color: var(--primary);
}

.faq-item.active .faq-icon-box::before,
.faq-item.active .faq-icon-box::after {
    background-color: var(--white);
}

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

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

/* Accordion Footer CTA */
.faqs-footer-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}

.faqs-footer-cta h3 {
    font-size: 1.5rem;
}

/* 14. CTA Banner & Booking Widget */
.cta-section {
    padding: 120px 24px;
}

.cta-curved-banner {
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--primary), #d84511);
    border-radius: 48px;
    padding: 80px;
    color: var(--white);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.cta-inner-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cta-title {
    color: var(--white);
    font-size: 3.5rem;
}

.cta-subtitle {
    color: rgba(255, 255, 248, 0.9);
    font-size: 1.15rem;
}

/* Floating Booking Card */
.cta-floating-booking-card {
    background: var(--white);
    border-radius: 28px;
    padding: 32px;
    color: var(--black);
    box-shadow: 0 30px 60px rgba(51, 51, 51, 0.15);
    display: flex;
    flex-direction: column;
    gap: 24px;
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 10;
    transition: var(--transition-spring);
}

.cta-floating-booking-card:hover {
    transform: translateY(-8px) scale(1.02);
}

.widget-avatar-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar-dot-wrapper {
    position: relative;
    width: 48px;
    height: 48px;
}

.widget-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.active-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #0acf83;
    border: 2px solid var(--white);
}

.widget-meta h4 {
    font-size: 1rem;
    font-weight: 800;
}

.widget-meta span {
    font-size: 0.75rem;
    color: var(--gray-text);
}

.widget-text {
    font-size: 0.85rem;
    color: var(--gray-text);
}

.mini-calendar {
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cal-days-row,
.cal-dates-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.cal-days-row {
    color: var(--gray-text);
}

.cal-dates-row span {
    padding: 8px 0;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.cal-dates-row span:hover:not(.disabled) {
    background: var(--card-bg);
}

.cal-dates-row span.disabled {
    color: var(--border-color);
    cursor: not-allowed;
}

.cal-dates-row span.active-date {
    background: var(--primary);
    color: var(--white);
}

.widget-footer {
    display: flex;
    justify-content: center;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.widget-link {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary);
    border-bottom: 1.5px solid var(--primary);
}

/* 15. Footer */
.main-footer {
    background: var(--black);
    color: var(--white);
    padding: 80px 24px 40px 24px;
}

.main-footer h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 24px;
}

.main-footer a {
    color: rgba(255, 255, 248, 0.6);
}

.main-footer a:hover {
    color: var(--primary);
}

.footer-top-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 64px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.col-newsletter {
    gap: 20px;
}

.col-newsletter .nav-logo .logo-text {
    color: var(--white);
}

.newsletter-desc {
    color: rgba(255, 255, 248, 0.6);
    font-size: 0.85rem;
}

.newsletter-form {
    display: flex;
    border-bottom: 1.5px solid rgba(255, 255, 248, 0.2);
    padding-bottom: 8px;
    align-items: center;
}

.newsletter-form input {
    background: transparent;
    border: none;
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    flex-grow: 1;
    outline: none;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 248, 0.35);
}

.newsletter-form button {
    background: transparent;
    border: none;
    color: var(--primary);
    cursor: pointer;
}

.form-feedback-text {
    font-size: 0.75rem;
    margin-top: 4px;
}

.text-success {
    color: #0acf83;
}

.col-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 0.9rem;
    font-weight: 600;
}

.col-contacts {
    gap: 24px;
}

.contact-details-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 0.85rem;
}

.contact-details-list li {
    display: flex;
    gap: 12px;
    align-items: center;
}

.footer-social-grid {
    display: flex;
    gap: 8px;
}

.square-social-pill {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 248, 0.05);
    border: 1px solid rgba(255, 255, 248, 0.1);
    color: var(--white) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
}

.square-social-pill:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.05);
}

.footer-divider {
    max-width: 1200px;
    margin: 64px auto 32px auto;
    height: 1px;
    background: rgba(255, 255, 248, 0.1);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: rgba(255, 255, 248, 0.4);
}

/* Mobile Skills Strip — hidden on desktop, shown only on mobile */
.mobile-skills-strip {
    display: none;
    width: 100%;
    overflow: hidden;
    margin: 24px 0 0 0;
    mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}

.skills-strip-track {
    display: flex;
    gap: 10px;
    width: max-content;
    animation: skills-scroll 22s linear infinite;
}

.skill-chip {
    display: flex;
    align-items: center;
    gap: 7px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    padding: 6px 14px 6px 8px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 8px rgba(51, 51, 51, 0.04);
}

.skill-chip:hover,
.skill-chip:active {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(241, 90, 36, 0.1);
}

.skill-chip img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    border-radius: 4px;
}

.skill-chip span {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--black);
    letter-spacing: -0.01em;
}

@keyframes skills-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* -------------------------------------------------------------
   16. Responsive Layout Optimization — Full Mobile System
   ------------------------------------------------------------- */

/* ── 1199px: Large Tablet / Small Desktop ─────────────────── */
@media (max-width: 1199px) {

    /* Case studies — switch to single-column layout */
    .case-slide {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .case-mockup-wrapper {
        height: 340px;
    }

    /* CTA banner */
    .cta-curved-banner {
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 60px;
    }

    /* Hero */
    .hero-title {
        font-size: 3.8rem;
    }

    /* Orbit arcs — scale down slightly */
    .orbit-bg-side {
        width: 800px;
        height: 800px;
    }

    .orbit-bg-left {
        left: -400px;
    }

    .orbit-bg-right {
        right: -400px;
    }

    /* Comparison */
    .comparison-container {
        gap: 48px;
    }

    /* Services */
    .services-container {
        gap: 48px;
    }

    .service-stack-card {
        padding: 36px;
    }

    /* Strategy arc */
    .strategy-arc-rotator-widget {
        max-width: 750px;
    }

    .arc-svg-container {
        width: 750px;
    }

    .arc-step-badges-container {
        width: 750px;
    }
}

/* ── 991px: Tablet ────────────────────────────────────────── */
@media (max-width: 991px) {

    /* Global Typography */
    html {
        font-size: 15px;
    }

    h1 {
        font-size: 3rem !important;
    }

    h2 {
        font-size: 2.5rem !important;
    }

    /* Section paddings */
    .hero-section {
        padding: 120px 20px 60px;
    }

    .projects-section {
        padding: 80px 0;
    }

    .comparison-section {
        padding: 80px 20px;
    }

    .benefits-section {
        padding: 80px 20px;
    }

    .services-section {
        padding: 80px 20px;
    }

    .case-studies-section {
        padding: 80px 20px;
    }

    .strategy-section {
        padding: 80px 20px;
    }

    .reviews-section {
        padding: 80px 20px;
    }

    .blogs-section {
        padding: 80px 20px;
    }

    .faqs-section {
        padding: 80px 20px;
    }

    .cta-section {
        padding: 80px 20px;
    }

    /* Hero */
    .hero-title {
        font-size: 2.9rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 36px;
    }

    .hero-cta-group {
        margin-bottom: 60px;
    }

    /* Orbit — hide on tablet; show skills strip instead */
    .orbit-bg-side {
        display: none;
    }

    .mobile-skills-strip {
        display: block;
    }

    /* Nav */
    .nav-pill-container {
        max-width: 520px;
    }

    /* Comparison */
    .comparison-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .comparison-title {
        font-size: 2.5rem;
    }

    .comparison-subtitle {
        font-size: 1rem;
    }

    /* Benefits bento */
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
    }

    .col-span-2 {
        grid-column: span 2;
    }

    .col-span-2-lg {
        grid-column: span 1;
    }

    .benefits-main-title {
        font-size: 2.5rem;
        margin-bottom: 40px;
    }

    /* Services */
    .services-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-sticky-panel {
        position: relative;
        top: 0;
    }

    .services-title {
        font-size: 2.5rem;
    }

    .service-stack-card {
        padding: 32px;
        border-radius: 24px;
    }

    .service-stack-card h3 {
        font-size: 1.6rem;
    }

    /* Case studies */
    .case-main-title {
        font-size: 2.5rem;
    }

    .case-header-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .case-mockup-wrapper {
        height: 300px;
    }

    .case-description {
        font-size: 1.05rem;
    }

    /* Strategy */
    .strategy-main-title {
        font-size: 2.5rem;
    }

    .strategy-arc-rotator-widget {
        height: 400px;
    }

    .strategy-center-step-card {
        width: 380px;
        padding: 32px;
    }

    /* Reviews */
    .reviews-marquee-box {
        margin-top: 40px;
    }

    .review-card {
        width: 320px;
        padding: 24px;
    }

    /* Blogs */
    .blogs-bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-blog {
        grid-column: span 2;
        grid-row: span 1;
    }

    .featured-blog .blog-img-wrapper {
        height: 240px;
    }

    /* FAQs */
    .faqs-title {
        font-size: 2.5rem;
        margin-bottom: 40px;
    }

    /* CTA */
    .cta-curved-banner {
        padding: 48px 36px;
        border-radius: 32px;
    }

    .cta-title {
        font-size: 2.5rem;
    }

    /* Footer */
    .footer-top-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .main-footer {
        padding: 60px 20px 32px;
    }

    /* Badge */
    .badge-inner {
        width: 260px;
        height: 260px;
    }

    .badge-title {
        font-size: 1.8rem;
    }

    /* Project cards */
    .project-card {
        width: 340px;
        height: 240px;
    }
}

/* ── 767px: Mobile Landscape / Large Phone ────────────────── */
@media (max-width: 767px) {

    /* Global Typography */
    html {
        font-size: 15px;
    }

    h1 {
        font-size: 2.5rem !important;
    }

    h2 {
        font-size: 2.1rem !important;
    }

    p {
        font-size: 1.05rem;
        line-height: 1.6;
    }

    /* Section paddings */
    .hero-section {
        padding: 110px 16px 56px;
    }

    .projects-section {
        padding: 64px 0;
    }

    .comparison-section {
        padding: 64px 16px;
    }

    .benefits-section {
        padding: 64px 16px;
    }

    .services-section {
        padding: 64px 16px;
    }

    .case-studies-section {
        padding: 64px 16px;
    }

    .strategy-section {
        padding: 64px 16px;
    }

    .reviews-section {
        padding: 64px 16px;
    }

    .blogs-section {
        padding: 64px 16px;
    }

    .faqs-section {
        padding: 64px 16px;
    }

    .cta-section {
        padding: 64px 16px;
    }

    /* Nav pill — full width on small screens */
    .main-header {
        top: 12px;
        padding: 0 12px;
    }

    .nav-pill-container {
        max-width: 100%;
        border-radius: 20px;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    /* Hero */
    .hero-section {
        overflow: hidden;
    }

    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 28px;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    .hero-cta-group {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        width: 100%;
        margin-bottom: 40px;
    }

    .btn-annotation-wrapper {
        width: auto;
        display: inline-flex;
    }

    .btn {
        width: auto;
        padding: 12px 22px;
        font-size: 0.9rem;
    }

    .btn-compact {
        padding: 11px 20px;
        font-size: 0.88rem;
    }

    /* Hide decorative handwritten callouts */
    .button-callout-wrapper,
    .handwritten-arrow-wrapper {
        display: none !important;
    }

    /* Social proof */
    .hero-social-proof {
        gap: 16px;
        margin-top: 16px;
    }

    .logo-item {
        font-size: 1rem;
    }

    /* Marquee rows — smaller cards, keep animation */
    .project-card {
        width: 280px;
        height: 200px;
        border-radius: 14px;
    }

    .project-marquee-row .marquee-track {
        gap: 16px;
    }

    .marquee-rows-wrapper {
        gap: 16px;
    }

    /* Badge overlay */
    .badge-inner {
        width: 200px;
        height: 200px;
        padding: 20px;
    }

    .badge-title {
        font-size: 1.4rem;
        margin-bottom: 16px;
    }

    .badge-top-icon {
        width: 36px;
        height: 36px;
        margin-bottom: 16px;
    }

    /* Comparison */
    .comparison-title {
        font-size: 2rem;
    }

    .comparison-subtitle {
        font-size: 0.95rem;
        margin-bottom: 28px;
    }

    .comparison-toggle-box {
        margin-bottom: 32px;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .comparison-card h3 {
        font-size: 1.3rem;
    }

    .card-overlay-btn-box {
        margin-top: 24px;
    }

    /* Benefits bento */
    .benefits-main-title {
        font-size: 2rem;
        margin-bottom: 32px;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        gap: 16px;
    }

    .col-span-2,
    .col-span-2-lg {
        grid-column: span 1;
    }

    .bento-card {
        padding: 24px;
        border-radius: 20px;
    }

    .bento-card h3 {
        font-size: 1.2rem;
    }

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

    .gauge-svg-wrapper {
        width: 72px;
        height: 72px;
    }

    .founder-flex-layout {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .founder-photo-box {
        margin: 0 auto;
    }

    .founder-sign {
        font-size: 1.4rem;
    }

    /* Services */
    .services-title {
        font-size: 2rem;
        margin-bottom: 16px;
    }

    .services-description {
        font-size: 1rem;
        margin-bottom: 32px;
    }

    .service-stack-card {
        padding: 24px;
        border-radius: 20px;
        gap: 16px;
        /* Keep sticky stacking but reduce offset on mobile */
        top: calc(70px + var(--card-index) * 16px);
    }

    .service-stack-card h3 {
        font-size: 1.4rem;
    }

    .service-card-desc {
        font-size: 1.05rem;
    }

    .service-pills {
        gap: 6px;
    }

    .service-pill {
        font-size: 0.75rem;
        padding: 6px 12px;
    }

    /* Case studies */
    .case-main-title {
        font-size: 2rem;
        margin-top: 8px;
    }

    .case-header-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 32px;
    }

    .case-mockup-wrapper {
        height: 240px;
        border-radius: 20px;
    }

    .case-description {
        font-size: 1.05rem;
    }

    .carousel-dots {
        margin-top: 24px;
    }

    /* Strategy / Process */
    .strategy-main-title {
        font-size: 2rem;
        margin-bottom: 16px;
    }

    .strategy-subtitle {
        font-size: 1.05rem;
        margin-bottom: 40px;
    }

    .strategy-arc-rotator-widget {
        height: auto;
        justify-content: flex-start;
        gap: 24px;
    }

    /* Keep arc hidden on mobile */
    .arc-svg-container,
    .arc-step-badges-container {
        display: none;
    }

    .strategy-center-step-card {
        width: 100%;
        padding: 24px 16px;
        border-radius: 20px;
        gap: 14px;
    }

    .active-step-title {
        font-size: 1.5rem;
    }

    .active-step-description {
        font-size: 1.05rem;
    }

    /* Reviews — keep marquee animation, reduce card size */
    .reviews-marquee-box {
        margin-top: 32px;
    }

    .review-card {
        width: 280px;
        padding: 20px;
        border-radius: 16px;
        gap: 16px;
    }

    .review-text {
        font-size: 1.05rem;
    }

    .reviews-title {
        font-size: 2rem !important;
    }

    /* Blogs */
    .blogs-bento-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 32px;
    }

    .featured-blog {
        grid-column: span 1;
        grid-row: span 1;
    }

    .featured-blog .blog-img-wrapper {
        height: 200px;
    }

    .featured-blog h3 {
        font-size: 1.4rem;
    }

    .blog-img-wrapper {
        height: 180px;
    }

    .blog-content {
        padding: 16px;
    }

    /* FAQs */
    .faqs-title {
        font-size: 2rem;
        margin-bottom: 32px;
    }

    .faq-header {
        padding: 18px 16px;
    }

    .faq-header h3 {
        font-size: 1.15rem;
    }

    .faq-body p {
        padding: 0 16px 20px;
        font-size: 1.05rem;
    }

    .faqs-footer-cta h3 {
        font-size: 1.4rem;
    }

    /* CTA */
    .cta-curved-banner {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 36px 24px;
        border-radius: 24px;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-subtitle {
        font-size: 1.1rem;
    }

    .cta-floating-booking-card {
        padding: 24px;
        border-radius: 20px;
    }

    /* Footer */
    .main-footer {
        padding: 48px 16px 28px;
    }

    .footer-top-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-divider {
        margin: 40px auto 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    /* Section tags */
    .section-tag-wrapper {
        margin-bottom: 16px;
    }
}

/* ── 479px: Small Phones ──────────────────────────────────── */
@media (max-width: 479px) {

    /* Typography */
    html {
        font-size: 14px;
    }

    h1 {
        font-size: 2.2rem !important;
    }

    h2 {
        font-size: 1.85rem !important;
    }

    p {
        font-size: 1.1rem;
        line-height: 1.6;
    }

    /* Nav */
    .main-header {
        top: 10px;
        padding: 0 10px;
    }

    .nav-pill-container {
        padding: 6px;
        max-height: 46px;
    }

    .logo-text {
        font-size: 1rem;
    }

    .nav-cta-btn {
        padding: 8px 14px;
        font-size: 0.85rem;
    }

    /* Hero */
    .hero-section {
        padding: 100px 12px 48px;
        overflow: hidden;
    }

    .hero-title {
        font-size: 1.9rem;
        letter-spacing: -0.03em;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-cta-group {
        gap: 8px;
        margin-bottom: 36px;
        justify-content: center;
    }

    /* Buttons — stay in row, just tighter */
    .btn {
        padding: 11px 18px;
        font-size: 0.85rem;
    }

    /* Project cards — even smaller */
    .project-card {
        width: 240px;
        height: 170px;
        border-radius: 12px;
    }

    /* Badge overlay */
    .badge-inner {
        width: 160px;
        height: 160px;
        padding: 16px;
    }

    .badge-title {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    .badge-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    /* Benefits */
    .benefits-main-title {
        font-size: 1.75rem;
    }

    .bento-card {
        padding: 20px;
        border-radius: 16px;
    }

    /* Services cards */
    .service-stack-card {
        padding: 20px;
    }

    .service-stack-card h3 {
        font-size: 1.3rem;
    }

    /* Case study mockup */
    .case-mockup-wrapper {
        height: 200px;
        border-radius: 16px;
    }

    /* Strategy */
    .strategy-center-step-card {
        padding: 20px 14px;
    }

    .active-step-title {
        font-size: 1.3rem;
    }

    /* Reviews */
    .review-card {
        width: 260px;
        padding: 16px;
    }

    /* FAQs */
    .faqs-title {
        font-size: 1.75rem;
    }

    /* CTA */
    .cta-curved-banner {
        padding: 28px 16px;
        border-radius: 20px;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    /* Footer */
    .main-footer {
        padding: 40px 12px 24px;
    }

    .footer-top-grid {
        gap: 24px;
    }

    /* Gauges grid — single column on tiny screens */
    .gauges-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .gauge-svg-wrapper {
        width: 64px;
        height: 64px;
    }

    .gauge-item {
        padding: 12px 8px;
    }

    /* Proof label */
    .proof-label {
        font-size: 0.62rem;
    }
}

/* ── Touch / Hover fix: keep hover animations on touch via active ── */
@media (hover: none) and (pointer: coarse) {

    /* Ensure tap animations fire on mobile */
    .btn-primary:active {
        transform: translateY(-1px) scale(0.98);
    }

    .btn-secondary:active {
        transform: translateY(-1px) scale(0.98);
    }

    .bento-card:active {
        transform: translateY(-4px);
        box-shadow: 0 12px 30px rgba(51, 51, 51, 0.03);
    }

    .blog-card:active {
        transform: translateY(-4px);
        box-shadow: 0 12px 30px rgba(51, 51, 51, 0.03);
    }

    .social-pill:active {
        background: var(--primary);
        transform: scale(1.1);
    }

    .square-social-pill:active {
        background: var(--primary);
        border-color: var(--primary);
    }

    .csat-face-btn:active {
        transform: scale(1.2);
    }

    .orbit-icon-side:active {
        border-color: var(--primary);
        box-shadow: 0 12px 36px rgba(241, 90, 36, 0.12);
    }

    /* Project overlay — always visible on touch */
    .project-card .project-overlay {
        opacity: 1;
        transform: translateY(0);
    }

    /* Logo placeholder hover */
    .logo-item:active .logo-placeholder {
        color: var(--primary);
    }

    /* Slide arrows */
    .slide-arrow-btn:active {
        background: var(--primary);
        color: var(--white);
        border-color: var(--primary);
    }
}

.btn-annotation-wrapper {
    position: relative;
    display: inline-flex;
}

/* =============================================================
   15. Global Lead Popup Modal Styling
   ============================================================= */
.lead-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(51, 51, 51, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2500;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.lead-popup-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.lead-popup-container {
    background: var(--bg-light);
    border: 1.5px solid var(--border-color);
    border-radius: 28px;
    padding: 40px;
    width: 90%;
    max-width: 560px;
    position: relative;
    box-shadow: 0 30px 60px rgba(51, 51, 51, 0.15);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.lead-popup-overlay.active .lead-popup-container {
    transform: scale(1) translateY(0);
}

.lead-popup-close {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 2rem;
    line-height: 1;
    background: rgba(51, 51, 51, 0.05);
    border: none;
    cursor: pointer;
    color: var(--black);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-smooth);
    z-index: 10;
}

.lead-popup-close:hover {
    background: var(--primary);
    color: var(--white);
    transform: rotate(90deg);
}

.lead-popup-state {
    transition: opacity 0.3s ease;
}

.lead-popup-title {
    font-size: 2rem;
    margin-bottom: 8px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.lead-popup-subtitle {
    font-size: 0.95rem;
    color: var(--gray-text);
    margin-bottom: 24px;
}

.lead-popup-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lead-popup-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.lead-popup-form label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--black);
}

.lead-popup-form input[type="text"],
.lead-popup-form input[type="email"],
.lead-popup-form input[type="tel"],
.lead-popup-form select,
.lead-popup-form textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--white);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--black);
    outline: none;
    transition: var(--transition-smooth);
}

.lead-popup-form input[type="text"]:focus,
.lead-popup-form input[type="email"]:focus,
.lead-popup-form input[type="tel"]:focus,
.lead-popup-form select:focus,
.lead-popup-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(241, 90, 36, 0.15);
}

.lead-popup-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.phone-input-wrapper {
    display: flex;
    gap: 8px;
}

.phone-input-wrapper select {
    width: 110px;
    flex-shrink: 0;
}

.phone-input-wrapper input[type="tel"] {
    flex-grow: 1;
}

.lead-submit-btn {
    margin-top: 8px;
    width: 100%;
    justify-content: center;
}

/* Success Checkmark Animation */
.lead-popup-success-state {
    text-align: center;
    padding: 40px 0 20px 0;
}

.success-icon-container {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px auto;
}

.success-checkmark {
    width: 80px;
    height: 80px;
    display: block;
    stroke: #22c55e;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 4;
    stroke-miterlimit: 10;
    stroke: #22c55e;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: check 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes check {
    100% {
        stroke-dashoffset: 0;
    }
}

.lead-popup-success-state h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.lead-popup-success-state p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--gray-text);
    max-width: 320px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .lead-popup-container {
        padding: 32px 24px;
        border-radius: 20px;
        max-height: 90vh;
        overflow-y: auto;
    }

    .lead-popup-form .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}