/* ==========================================================================
   AGENCY PILLARS & ARSENAL SECTIONS (Business-First, Arsenal, Partner Pillars)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. BUSINESS-FIRST APPROACH SECTION (Light Surface)
   -------------------------------------------------------------------------- */
.business-first-section {
    background: var(--bg-surface-gradient);
    padding-top: 6rem;
    padding-bottom: 6rem;
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
    position: relative;
}

@media (min-width: 640px) {
    .business-first-section {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }
}

.business-first-container {
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.business-first-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    background: #ffffff;
    border: 1px solid var(--hairline);
    box-shadow: 0 1px 3px rgba(32, 33, 36, 0.04);
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--soft);
    margin-bottom: 1.25rem;
}

.business-first-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 2.35rem;
    line-height: 1.1;
    color: var(--ink);
    letter-spacing: -0.03em;
}

@media (min-width: 640px) {
    .business-first-title {
        font-size: 3.25rem;
    }
}

.business-first-subhead {
    color: var(--soft);
    font-size: 16px;
    line-height: 1.6;
    margin-top: 1rem;
    max-width: 44rem;
}

@media (min-width: 640px) {
    .business-first-subhead {
        font-size: 17.5px;
    }
}

.business-first-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 3.5rem;
}

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

@media (min-width: 1024px) {
    .business-first-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

.business-first-card {
    background-color: #ffffff;
    border: 1px solid var(--hairline);
    border-radius: 1.5rem;
    padding: 1.85rem 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: transform 380ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 380ms ease, border-color 300ms ease, background-color 300ms ease;
    box-shadow: 0 4px 16px -4px rgba(32, 33, 36, 0.04);
}

/* Top accent indicator bar */
.business-first-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3.5px;
    border-radius: 1.5rem 1.5rem 0 0;
    transition: height 250ms ease;
}

.business-first-card.card-theme-blue::before { background: #4285F4; }
.business-first-card.card-theme-red::before { background: #EA4335; }
.business-first-card.card-theme-yellow::before { background: #FBBC05; }
.business-first-card.card-theme-green::before { background: #34A853; }

/* Subtle top gradient tint */
.business-first-card.card-theme-blue { background: linear-gradient(180deg, #f2f7fe 0%, #ffffff 42%); }
.business-first-card.card-theme-red { background: linear-gradient(180deg, #fef2f1 0%, #ffffff 42%); }
.business-first-card.card-theme-yellow { background: linear-gradient(180deg, #fefaf0 0%, #ffffff 42%); }
.business-first-card.card-theme-green { background: linear-gradient(180deg, #f1f9f3 0%, #ffffff 42%); }

.business-first-icon-wrap {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
    transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.business-first-card:hover .business-first-icon-wrap {
    transform: scale(1.12) rotate(4deg);
}

.business-first-card:hover {
    transform: translateY(-6px) scale(1.02);
}

.business-first-card.card-theme-blue:hover {
    border-color: rgba(66, 133, 244, 0.35);
    box-shadow: 0 20px 44px -14px rgba(66, 133, 244, 0.16);
}

.business-first-card.card-theme-red:hover {
    border-color: rgba(234, 67, 53, 0.35);
    box-shadow: 0 20px 44px -14px rgba(234, 67, 53, 0.16);
}

.business-first-card.card-theme-yellow:hover {
    border-color: rgba(251, 188, 5, 0.4);
    box-shadow: 0 20px 44px -14px rgba(251, 188, 5, 0.18);
}

.business-first-card.card-theme-green:hover {
    border-color: rgba(52, 168, 83, 0.35);
    box-shadow: 0 20px 44px -14px rgba(52, 168, 83, 0.16);
}

.business-first-card-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 19.5px;
    color: var(--ink);
    line-height: 1.3;
    margin-bottom: 0.65rem;
}

.business-first-card-desc {
    color: var(--soft);
    font-size: 14.5px;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.business-first-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
    background: #f8f9fa;
    border: 1px solid var(--hairline);
    font-family: var(--font-mono, monospace);
    font-size: 11px;
    font-weight: 600;
    color: var(--ink);
    width: fit-content;
}

.business-first-badge-pill .pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 9999px;
}


/* --------------------------------------------------------------------------
   2. OUR ARSENAL SECTION (Dark Sleek Dominance)
   -------------------------------------------------------------------------- */
.arsenal-section {
    background-color: #202124;
    color: #ffffff;
    padding-top: 6rem;
    padding-bottom: 6rem;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 640px) {
    .arsenal-section {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }
}

.arsenal-grain {
    position: absolute;
    inset: 0;
    opacity: 0.22;
    pointer-events: none;
    background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.1 0 0 0 0 0.1 0 0 0 0.5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.arsenal-container {
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
    position: relative;
}

.arsenal-header {
    text-align: center;
    max-width: 44rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3.5rem;
}

.arsenal-badge-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.arsenal-red-dash {
    width: 24px;
    height: 2.5px;
    background: #EA4335;
    border-radius: 9999px;
}

.arsenal-badge-text {
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #FBBC05;
}

.arsenal-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 2.5rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #ffffff;
}

@media (min-width: 640px) {
    .arsenal-title {
        font-size: 3.5rem;
    }
}

.arsenal-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

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

@media (min-width: 1024px) {
    .arsenal-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

.arsenal-card {
    background: #18191e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.5rem;
    padding: 2rem 1.85rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 300ms cubic-bezier(0.2, 0, 0, 1), border-color 300ms ease, box-shadow 300ms ease, background-color 300ms ease;
}

.arsenal-card:hover {
    transform: translateY(-5px);
    background: #202228;
    border-color: rgba(251, 188, 5, 0.45);
    box-shadow: 0 20px 48px -14px rgba(0, 0, 0, 0.7);
}

.arsenal-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(251, 188, 5, 0.1);
    border: 1px solid rgba(251, 188, 5, 0.22);
    color: #FBBC05;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
    transition: transform 300ms ease, background-color 300ms ease, color 300ms ease;
}

.arsenal-card:hover .arsenal-icon-wrap {
    transform: scale(1.08) rotate(2deg);
    background: rgba(251, 188, 5, 0.2);
    border-color: rgba(251, 188, 5, 0.5);
}

.arsenal-card-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.arsenal-card-desc {
    color: rgba(255, 255, 255, 0.68);
    font-size: 14.5px;
    line-height: 1.6;
}


/* --------------------------------------------------------------------------
   3. A DIFFERENT KIND OF GOOGLE ADS PARTNER (Interactive & High-End)
   -------------------------------------------------------------------------- */
.partner-diff-section {
    background: var(--bg-surface-alt-gradient);
    padding-top: 6rem;
    padding-bottom: 6rem;
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
    position: relative;
    overflow: hidden;
}

@media (min-width: 640px) {
    .partner-diff-section {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }
}

.partner-diff-container {
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
    position: relative;
}

.partner-diff-header {
    text-align: center;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3.5rem;
}

.partner-diff-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.4rem 0.95rem;
    border-radius: 9999px;
    background: #ffffff;
    border: 1px solid var(--hairline);
    box-shadow: 0 1px 3px rgba(32, 33, 36, 0.04);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--ink);
    margin-bottom: 1.25rem;
}

.partner-diff-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 2.35rem;
    line-height: 1.08;
    color: var(--ink);
    letter-spacing: -0.035em;
}

@media (min-width: 640px) {
    .partner-diff-title {
        font-size: 3.25rem;
    }
}

.partner-diff-subhead {
    color: var(--soft);
    font-family: var(--font-sans);
    font-size: 16.5px;
    line-height: 1.6;
    margin-top: 1rem;
    max-width: 44rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 640px) {
    .partner-diff-subhead {
        font-size: 18px;
    }
}

/* Interactive Switcher Tabs */
.partner-mode-switcher {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem;
    border-radius: 9999px;
    background: #f8f9fb;
    border: 1px solid var(--hairline);
    margin-top: 2rem;
    gap: 0.35rem;
    box-shadow: inset 0 1px 2px rgba(32, 33, 36, 0.04);
}

.partner-mode-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.25rem;
    border-radius: 9999px;
    background: transparent;
    border: none;
    font-family: var(--font-display);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--soft);
    cursor: pointer;
    transition: all 220ms ease;
}

.partner-mode-btn:hover {
    color: var(--ink);
}

.partner-mode-btn.active {
    background: #ffffff;
    color: var(--ink);
    box-shadow: 0 2px 8px -2px rgba(32, 33, 36, 0.12), 0 1px 2px rgba(32, 33, 36, 0.04);
    border: 1px solid var(--hairline);
}

/* Cards Grid */
.partner-diff-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

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

@media (min-width: 1024px) {
    .partner-diff-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.75rem;
    }
}

.partner-diff-card {
    background-color: #ffffff;
    border: 1px solid var(--hairline);
    border-radius: 1.5rem;
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 320ms cubic-bezier(0.2, 0, 0, 1), box-shadow 320ms cubic-bezier(0.2, 0, 0, 1), border-color 320ms ease;
    box-shadow: 0 2px 10px -2px rgba(32, 33, 36, 0.03);
}

/* Animated top accent line on hover */
.partner-diff-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #FBBC05, #4285F4);
    opacity: 0;
    transition: opacity 300ms ease;
}

.partner-diff-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 48px -16px rgba(32, 33, 36, 0.1), 0 0 0 1px rgba(251, 188, 5, 0.35);
    border-color: rgba(251, 188, 5, 0.45);
}

.partner-diff-card:hover::before {
    opacity: 1;
}

.partner-diff-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.partner-diff-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #f8f9fb;
    border: 1px solid var(--hairline);
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 300ms ease, background-color 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.partner-diff-card:hover .partner-diff-icon {
    transform: scale(1.08) rotate(-3deg);
    background: rgba(251, 188, 5, 0.15);
    border-color: rgba(251, 188, 5, 0.35);
    color: #202124;
    box-shadow: 0 6px 18px -3px rgba(251, 188, 5, 0.25);
}

.partner-diff-index {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--soft);
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    background: #f8f9fb;
    border: 1px solid var(--hairline);
}

.partner-diff-tag {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink);
    background: rgba(251, 188, 5, 0.18);
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 0.75rem;
    width: fit-content;
}

.partner-diff-card-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 21px;
    color: var(--ink);
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

.partner-diff-card-desc {
    color: var(--soft);
    font-family: var(--font-sans);
    font-size: 14.5px;
    line-height: 1.625;
    flex-grow: 1;
}

/* Feature Metric & Comparison Container */
.partner-diff-contrast {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--hairline);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.partner-pill-runway {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 12.5px;
    font-weight: 600;
    color: #0b8043;
    background: rgba(52, 168, 83, 0.08);
    border: 1px solid rgba(52, 168, 83, 0.2);
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
}

.partner-pill-traditional {
    display: none;
    align-items: center;
    gap: 0.5rem;
    font-size: 12px;
    color: #c5221f;
    background: rgba(234, 67, 53, 0.06);
    border: 1px solid rgba(234, 67, 53, 0.18);
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    text-decoration: line-through;
    opacity: 0.85;
}

/* Show comparison items when mode is activated */
.partner-diff-grid.show-compare .partner-pill-traditional {
    display: flex;
    animation: fadeIn 250ms ease forwards;
}

/* Bottom Consultation CTA Banner inside section */
.partner-diff-footer-banner {
    margin-top: 3.5rem;
    border-radius: 1.5rem;
    background: linear-gradient(180deg, #f8f9fb 0%, #ffffff 100%);
    border: 1px solid var(--hairline);
    padding: 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 16px -4px rgba(32, 33, 36, 0.04);
}

@media (min-width: 768px) {
    .partner-diff-footer-banner {
        flex-direction: row;
    }
}

.partner-banner-text {
    max-width: 36rem;
}

.partner-banner-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--ink);
    margin-bottom: 0.35rem;
}

.partner-banner-desc {
    font-family: var(--font-sans);
    font-size: 0.925rem;
    color: var(--soft);
    line-height: 1.5;
    margin: 0;
}

.partner-banner-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .business-first-section,
    .arsenal-section,
    .partner-diff-section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .business-first-grid,
    .partner-diff-grid {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        gap: 0.85rem !important;
        padding-bottom: 0.85rem !important;
        margin-left: -0.5rem !important;
        margin-right: -0.5rem !important;
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }

    .business-first-grid::-webkit-scrollbar,
    .partner-diff-grid::-webkit-scrollbar {
        display: none !important;
    }

    .business-first-card,
    .partner-diff-card {
        flex: 0 0 84vw !important;
        max-width: 84vw !important;
        scroll-snap-align: center !important;
        scroll-snap-stop: always !important;
        padding: 1.25rem 1.15rem;
        border-radius: 1.25rem;
    }

    .partner-mode-switcher {
        display: flex;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .partner-mode-btn {
        padding: 0.45rem 0.85rem;
        font-size: 12px;
    }

    .partner-diff-footer-banner {
        padding: 1.25rem 1rem;
        flex-direction: column;
    }

    .partner-banner-actions {
        width: 100%;
    }

    .partner-banner-actions .btn-partner-cta,
    .partner-banner-actions .btn-partner-wa {
        width: 100%;
        justify-content: center;
    }
}

