/**
 * Agency Theme - StratDigi Dark Mode
 */

:root {
    /* --- Colors (New Design Language) --- */
    --color-bg-dark: #0f172a;
    /* Midnight Slate */
    --color-bg-surface: #1e293b;
    /* Slightly lighter slate */
    --color-primary: #2271b1;
    /* Brand Blue */
    --color-accent-teal: #54B296;
    /* Success Green (Kept for ROI) */
    --color-accent-gold: #FACB17;
    /* Gold (Kept for CTA) */

    --color-text-main: #f8fafc;
    --color-text-muted: #94a3b8;

    --color-border: rgba(255, 255, 255, 0.1);

    /* --- Layout --- */
    --container-width: 1800px;
    --header-height: 80px;
    --border-radius: 12px;
}

/* 1. Global Reset & Typography */
body {
    background-color: var(--color-bg-dark);
    color: var(--color-text-main);
    font-family: 'Inter', sans-serif;
    margin: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--color-text-main);
    margin-top: 0;
    margin-bottom: 1rem;
    font-weight: 700;
}

a {
    color: var(--color-accent-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-accent-teal);
}

/* 2. Layout Structure */
.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-main {
    flex-grow: 1;
    padding: 60px 20px;
    max-width: var(--container-width);
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

/* Elementor Override & Service Page Fix */
.elementor-page .site-main,
.home-container,
.service-page .site-main,
.page-ai-agents .site-main,
.page-about .site-main,
.page-contact .site-main {
    padding: 0;
    max-width: none;
}

/* Global Container Utility */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

/* 3. Header (Glassmorphism) */
.site-header {
    background: rgba(11, 26, 38, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0 40px;
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-title a {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-text-main);
    letter-spacing: -0.02em;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: var(--color-text-main);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--color-accent-teal);
    transition: width 0.3s ease;
}

.main-navigation a:hover::after {
    width: 100%;
}

/* Dropdown Menu Styles */
.menu-item-has-children {
    position: relative;
    padding-right: 15px;
    /* Space for arrow */
}

.dropdown-arrow {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 5px;
    vertical-align: middle;
    border-top: 4px solid var(--color-text-main);
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    transition: transform 0.3s ease;
}

.menu-item-has-children:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-bg-surface);
    min-width: 220px;
    padding: 15px 0;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 0 !important;
    /* Override UL gap */
    align-items: flex-start !important;
    z-index: 1001;
}

.menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li {
    width: 100%;
    display: block;
}

.sub-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.sub-menu a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-accent-teal);
    padding-left: 25px;
    /* Slide effect */
}

.sub-menu a::after {
    display: none;
    /* Remove underline from dropdown items */
}

/* CTA Button */
.header-cta {
    margin-left: 30px;
}

.gradient-btn {
    background: linear-gradient(135deg, #2271b1 0%, #00d4ff 100%) !important;
    color: #fff !important;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
    text-transform: capitalize;
}

.gradient-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.5);
    background: linear-gradient(135deg, #00d4ff 0%, #2271b1 100%) !important;
}

/* 4. Cards & Content */
/* Service Wrapper (Heading + Card) */
.service-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.service-wrapper h3 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--color-text-main);
    padding-left: 5px;
    /* Slight alignment correction */
}

.service-card {
    position: relative;
    background: var(--color-bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 30px;
    height: 250px;
    /* Fixed height for consistency */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Align icon/text to bottom if needed, or center */
    align-items: flex-start;
    transition: all 0.3s ease;
    overflow: hidden;
}

.location-card,
article {
    background: var(--color-bg-surface);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-accent-teal);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.grid-container {
    display: grid;
    gap: 30px;
}

#services .grid-container {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1200px) {
    #services .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    #services .grid-container {
        grid-template-columns: 1fr;
    }
}



/* 5. Buttons (Gold Glow) */
button,
input[type="submit"],
.button,
.elementor-button,
.wp-block-button__link {
    background-color: var(--color-accent-gold) !important;
    color: var(--color-bg-dark) !important;
    font-weight: 700;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Outfit', sans-serif;
    display: inline-block;
}

button:hover,
.button:hover,
.elementor-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(250, 203, 23, 0.4);
    background-color: #ffd845 !important;
}

/* 6. Footer (New in V6) */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-menu a:hover {
    color: var(--color-accent-teal) !important;
    padding-left: 5px;
}

/* Custom Button Styles (Teal & Gold with Glow) */
.btn-glow-teal {
    background-color: var(--color-accent-teal) !important;
    color: #fff !important;
    box-shadow: 0 0 15px rgba(84, 178, 150, 0.5);
    border: none !important;
}

.btn-glow-teal:hover,
.btn-glow-teal.active-toggle {
    background-color: #4aa388 !important;
    box-shadow: 0 0 25px rgba(84, 178, 150, 0.8);
    transform: translateY(-2px);
}

.btn-glow-gold {
    background-color: var(--color-accent-gold) !important;
    color: var(--color-bg-dark) !important;
    box-shadow: 0 0 15px rgba(250, 203, 23, 0.5);
    border: none !important;
}

.btn-glow-gold:hover,
.btn-glow-gold.active-toggle {
    background-color: #ffd845 !important;
    box-shadow: 0 0 25px rgba(250, 203, 23, 0.8);
    transform: translateY(-2px);
}

/* --- AI SPECIFIC STYLES --- */

/* Glitch Effect */
.glitch-text {
    position: relative;
    display: inline-block;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg-dark);
}

.glitch-text::before {
    left: 2px;
    text-shadow: -1px 0 #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch-text::after {
    left: -2px;
    text-shadow: -1px 0 #00fff9;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip: rect(42px, 9999px, 44px, 0);
    }

    5% {
        clip: rect(12px, 9999px, 59px, 0);
    }

    10% {
        clip: rect(48px, 9999px, 29px, 0);
    }

    15.0% {
        clip: rect(42px, 9999px, 73px, 0);
    }

    20% {
        clip: rect(63px, 9999px, 27px, 0);
    }

    25% {
        clip: rect(34px, 9999px, 55px, 0);
    }

    30.0% {
        clip: rect(86px, 9999px, 73px, 0);
    }

    35% {
        clip: rect(20px, 9999px, 20px, 0);
    }

    40% {
        clip: rect(26px, 9999px, 60px, 0);
    }

    45% {
        clip: rect(25px, 9999px, 66px, 0);
    }

    50% {
        clip: rect(57px, 9999px, 98px, 0);
    }

    55.0% {
        clip: rect(5px, 9999px, 46px, 0);
    }

    60.0% {
        clip: rect(82px, 9999px, 31px, 0);
    }

    65% {
        clip: rect(54px, 9999px, 27px, 0);
    }

    70% {
        clip: rect(28px, 9999px, 99px, 0);
    }

    75% {
        clip: rect(45px, 9999px, 69px, 0);
    }

    80% {
        clip: rect(23px, 9999px, 85px, 0);
    }

    85.0% {
        clip: rect(54px, 9999px, 84px, 0);
    }

    90% {
        clip: rect(45px, 9999px, 47px, 0);
    }

    95% {
        clip: rect(37px, 9999px, 20px, 0);
    }

    100% {
        clip: rect(4px, 9999px, 91px, 0);
    }
}

/* Typing Cursor */
#typing-text::after,
#typing-button::after {
    content: '|';
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* UGC Horizontal Scroll */
.ugc-section ::-webkit-scrollbar {
    height: 8px;
}

.ugc-section ::-webkit-scrollbar-track {
    background: var(--color-bg-surface);
}

.ugc-section ::-webkit-scrollbar-thumb {
    background: var(--color-accent-teal);
    border-radius: 4px;
}

/* Toggle Switch Active State */
.active-toggle {
    background-color: var(--color-accent-teal) !important;
    color: #fff !important;
}

/* 7. Logo Carousel (New in V7) */
.logo-carousel {
    overflow: hidden;
    padding: 60px 0;
    background: rgba(0, 0, 0, 0.2);
    position: relative;
    white-space: nowrap;
}

.logo-carousel::before,
.logo-carousel::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.logo-carousel::before {
    left: 0;
    background: linear-gradient(to right, var(--color-bg-dark), transparent);
}

.logo-carousel::after {
    right: 0;
    background: linear-gradient(to left, var(--color-bg-dark), transparent);
}

.logo-track {
    display: inline-block;
    animation: scroll 30s linear infinite;
}

.logo-item {
    display: inline-block;
    margin: 0 40px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-muted);
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@keyframes shimmers {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}



.f1 {
    animation: fontFlux 0.5s infinite alternate;
}

.f2 {
    animation: fontFlux 0.5s infinite alternate-reverse;
    color: var(--color-accent-teal);
}

@keyframes swirl1 {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) translateX(20px);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg) translateX(20px);
    }
}

@keyframes swirl2 {
    0% {
        transform: translate(-50%, -50%) rotate(120deg) translateX(20px);
    }

    100% {
        transform: translate(-50%, -50%) rotate(480deg) translateX(20px);
    }
}

@keyframes swirl3 {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
    }

    100% {
        transform: translate(-50%, -50%) scale(1.5);
    }
}

@keyframes fontFlux {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2);
    }
}


/* Phase 3: Result (3s - 5s) */
.brand-result {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    animation: showBrandResult 5s forwards infinite;
    animation-play-state: paused;
}

@keyframes showBrandResult {

    0%,
    48% {
        opacity: 0;
        transform: translateY(10px);
    }

    55%,
    90% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(0);
    }
}

.brand-logo-mark {
    font-weight: 900;
    font-size: 16px;
    letter-spacing: -1px;
    color: #fff;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent-teal));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    width: fit-content;
}

.brand-assets {
    display: flex;
    gap: 4px;
}

.color-swatch {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.c1 {
    background: var(--color-primary);
}

.c2 {
    background: var(--color-accent-teal);
}

.c3 {
    background: #fff;
    border: 1px solid #333;
}

.brand-tagline {
    font-size: 10px;
    color: #e2e8f0;
    line-height: 1.3;
}

.brand-tagline .highlight {
    color: var(--color-accent-gold);
    font-weight: bold;
}

/* Hover Triggers */
.service-brand:hover .brand-search-bar,
.service-brand:hover .brand-search-text::after,
.service-brand:hover .brand-morph-stage,
.service-brand:hover .brand-result {
    animation-play-state: running;
}

/* Stop inner swirls when hidden to save GPU? 
   No, loop them but control container opacity. */


/* 8. Recent Blogs (New in V7) */
.blog-section {
    padding: 100px 20px;
    background: var(--color-bg-dark);
    /* Contrast with footer */
}

.blog-card {
    background: var(--color-bg-surface);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent-teal);
}

.blog-image {
    height: 200px;
    background: #222;
    position: relative;
}

.blog-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    font-size: 0.8rem;
    color: var(--color-accent-gold);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-excerpt {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.read-more {
    color: var(--color-accent-teal);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: auto;
}

/* 9. Value Prop Animation (Cyber Grid) */
.value-prop {
    position: relative;
    overflow: hidden;
    /* Ensure content stays above background */
    z-index: 1;
}

.cyber-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-size: 50px 50px;
    background-image:
        linear-gradient(to right, rgba(40, 92, 131, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(40, 92, 131, 0.1) 1px, transparent 1px);
    animation: gridMove 20s linear infinite;
    /* Radial fade to keep focus on text */
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
}

@keyframes gridMove {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 50px 50px;
    }
}

/* 10. Services Background (Gradient Orbs) */
.services-section {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-bg-anim {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.service-bg-anim span {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
}

.service-bg-anim span:nth-child(1) {
    background: var(--color-primary);
    width: 600px;
    height: 600px;
    top: -20%;
    left: -10%;
    animation: orbFloat1 25s infinite alternate ease-in-out;
}

.service-bg-anim span:nth-child(2) {
    background: var(--color-accent-gold);
    width: 500px;
    height: 500px;
    bottom: -10%;
    right: -10%;
    animation: orbFloat2 30s infinite alternate-reverse ease-in-out;
}

@keyframes orbFloat1 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30%, 20%) scale(1.1);
    }
}

@keyframes orbFloat2 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-20%, -10%) scale(1.2);
    }
}

/* 11. Service Card Animations & Icons (New in V10) */
.service-card {
    position: relative;
    overflow: hidden;
    z-index: 1;
    /* Ensure icon and text are above background */
}

.service-card .card-icon {
    transition: transform 0.3s ease;
    /* New Position: Bottom Right */
    position: absolute;
    bottom: 20px;
    right: 20px;
    margin-bottom: 0;
    opacity: 0.2;
    /* Fade it out a bit since it's secondary now */
    z-index: 10;
}

.service-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--color-accent-gold);
    opacity: 1;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--color-text-main);
    z-index: 2;
    position: relative;
    /* content usually flowed after icon, now icon is gone from flow.
       We need space for the Top-Left animation. */
    margin-top: 60px;
}

.card-bg-anim {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.1;
    transition: opacity 0.3s ease;
}

.service-card:hover .card-bg-anim {
    opacity: 0.25;
}

/* Triggers for DEV and CRO */
.service-apps:hover .dev-terminal,
.service-apps:hover .dev-type-text::after,
.service-apps:hover .dev-matrix-stream,
.service-apps:hover .dev-dashboard-ui,
.service-cro:hover .cro-search-bar,
.service-cro:hover .cro-type-text::after,
.service-cro:hover .cro-audit-stage,
.service-cro:hover .x-mark,
.service-cro:hover .check-mark,
.service-cro:hover .audit-scan-line,
.service-cro:hover .cro-final-btn {
    animation-play-state: running;
}

/* SEO: ChatGPT Simulation (Moved from UGC in V18) */
.service-seo .card-bg-anim {
    /* Override default opacity */
    opacity: 1;
    background: transparent;
    z-index: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Top */
    align-items: flex-start;
    /* Left */
}

/* Only play on hover */
.service-seo:hover .chat-prompt::after,
.service-seo:hover .chat-cursor,
.service-seo:hover .chat-input-area,
.service-seo:hover .chat-loader,
.service-seo:hover .chat-loader span,
.service-seo:hover .chat-response,
.service-seo:hover .chat-bot-text,
.service-seo:hover .chat-link {
    animation-play-state: running;
}

/* Reuse the chat-interface styles, they are generic class names now */


/* Ads: Search to Ad Morph (New in V13) */
.service-ads .card-bg-anim {
    opacity: 1;
    /* Reset opacity control for this complex anim */
    display: flex;
    align-items: flex-start;
    /* Move to Top */
    justify-content: flex-start;
    /* Move to Left */
    pointer-events: none;
    z-index: 1;
    /* Above standard BG, behind text? No, restricted area */
    /* Ensure it doesn't cover text if transparency fails */
    padding: 20px;
    /* Spacing from edge */
}

/* Ensure animations only run on hover to avoid chaos */
.service-ads:hover .ad-stage,
.service-ads:hover .ad-search-bar,
.service-ads:hover .ad-result,
.service-ads:hover .ad-text::after {
    animation-play-state: running;
}

.ad-anim-container {
    width: 250px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center content in container */
    perspective: 1000px;
    transform: scale(0.6);
    /* Smaller to fit Top Left */
    transform-origin: top left;
    /* Anchor Left */
}

.ad-stage {
    position: relative;
    width: 220px;
    /* Initial Search Width */
    height: 40px;
    /* Initial Search Height */
    background: rgba(44, 51, 56, 0.95);
    /* WP Dark */
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);

    /* Animation: Morph */
    transition: all 0.5s ease;
    /* Fallback */
    animation: morphStage 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    animation-play-state: paused;
}

@keyframes morphStage {

    0%,
    50% {
        /* Search State */
        width: 220px;
        height: 40px;
        border-radius: 20px;
        background: rgba(44, 51, 56, 0.95);
        border-color: rgba(255, 255, 255, 0.1);
    }

    60%,
    90% {
        /* Ad State */
        width: 240px;
        height: 110px;
        border-radius: 8px;
        background: rgba(44, 51, 56, 0.98);
        border-color: #2271b1;
        /* Action Blue */
        box-shadow: 0 0 15px rgba(34, 113, 177, 0.3);
    }

    100% {
        /* Reset */
        width: 220px;
        height: 40px;
        border-radius: 20px;
        background: rgba(44, 51, 56, 0.95);
        border-color: rgba(255, 255, 255, 0.1);
    }
}

/* SEARCH CONTENT */
.ad-search-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 5px 0 15px;

    animation: fadeSearch 4s ease infinite;
    animation-play-state: paused;
}

@keyframes fadeSearch {

    0%,
    45% {
        opacity: 1;
        transform: scale(1);
    }

    50%,
    95% {
        opacity: 0;
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.ad-input {
    flex: 1;
    font-family: monospace;
    font-size: 11px;
    color: #f0f0f1;
    display: flex;
    align-items: center;
}

.ad-text::after {
    content: "";
    /* Start empty */
    animation: typeAdQuery 4s steps(20) infinite;
    animation-play-state: paused;
}

@keyframes typeAdQuery {

    0%,
    5% {
        content: "";
    }

    40%,
    100% {
        content: "Best Ads Agency";
    }
}

.ad-cursor {
    color: #2271b1;
    animation: blink 1s infinite;
}

.ad-btn {
    width: 30px;
    height: 30px;
    background: #2271b1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

    animation: pulseBtn 4s ease infinite;
    animation-play-state: paused;
}

@keyframes pulseBtn {

    0%,
    40% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.2);
        box-shadow: 0 0 10px #2271b1;
    }

    100% {
        transform: scale(1);
    }
}

/* AD RESULT CONTENT */
.ad-result {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;

    animation: revealAd 4s ease infinite;
    animation-play-state: paused;
}

@keyframes revealAd {

    0%,
    50% {
        opacity: 0;
        transform: translateY(10px);
    }

    60%,
    95% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(10px);
    }
}

.ad-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.ad-badge {
    font-weight: bold;
    font-size: 9px;
    color: #000;
    background: #fff;
    /* or #f0f0f1 */
    padding: 1px 4px;
    border-radius: 3px;
}

.ad-url {
    font-size: 9px;
    color: #f0f0f1;
}

.ad-headline {
    font-size: 12px;
    font-weight: bold;
    color: #2271b1;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ad-desc {
    font-size: 9px;
    color: #a7aaad;
    line-height: 1.3;
}

/* UGC: Specific ChatGPT Animation (New in V19) */
.service-ugc .card-bg-anim {
    opacity: 1;
    background: #0f172a;
    /* Midnight Slate Base */
    /* AI Circuit Grid Pattern */
    background-image:
        linear-gradient(rgba(34, 113, 177, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 113, 177, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Top */
    align-items: flex-start;
    /* Left */
    transition: background-position 0.5s ease;
}

.service-ugc:hover .card-bg-anim {
    animation: circuitMove 10s linear infinite;
}

@keyframes circuitMove {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 30px 30px;
    }
}

.ugc-chat-interface {
    width: 220px;
    /* Slightly wider for the text */
    height: auto;
    min-height: 80px;
    position: relative;
    display: flex;
    flex-direction: column;
    background: rgba(15, 23, 42, 0.9);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    padding: 12px;
    overflow: hidden;
}

/* --- Phase 1: Input (0s - 2.5s) --- */
.ugc-chat-input-area {
    width: 100%;
    background: rgba(30, 41, 59, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.ugc-chat-input-box {
    font-family: monospace;
    font-size: 10px;
    color: #e2e8f0;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
}

.ugc-chat-prompt::after {
    content: "";
    animation: typeUgcPrompt 6s steps(35) infinite;
    animation-play-state: paused;
}

@keyframes typeUgcPrompt {

    0%,
    5% {
        content: "";
    }

    30% {
        content: "Who is the best AI digital agency?";
    }

    100% {
        content: "Who is the best AI digital agency?";
    }
}

.ugc-chat-cursor {
    display: inline-block;
    width: 6px;
    height: 12px;
    background: var(--color-accent-teal);
    margin-left: 2px;
    animation: blinkCursor 0.8s infinite;
}

/* --- Phase 2: Logic Pulse/Shimmer (2.5s - 3.2s) --- */
.ugc-chat-loader {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    margin-bottom: 8px;
    opacity: 0;
    animation: showUgcLoader 6s forwards infinite;
    animation-play-state: paused;
}

@keyframes showUgcLoader {

    0%,
    40% {
        opacity: 0;
    }

    42%,
    52% {
        opacity: 1;
    }

    55%,
    100% {
        opacity: 0;
    }
}

.ugc-shimmer-bar {
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    animation: shimmerSlide 1s infinite;
}

@keyframes shimmerSlide {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(200%);
    }
}

/* --- Phase 3: Result Stream (3.2s - 5.5s) --- */
.ugc-chat-response {
    border-left: 2px solid var(--color-primary);
    padding-left: 10px;
    opacity: 0;
    animation: revealUgcResponse 6s forwards infinite;
    animation-play-state: paused;
}

@keyframes revealUgcResponse {

    0%,
    52% {
        opacity: 0;
        transform: translateY(5px);
    }

    55%,
    90% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(0);
    }
}

.ugc-chat-bot-text {
    font-size: 10px;
    line-height: 1.4;
    color: #cbd5e1;
    margin-bottom: 4px;
}

.ugc-chat-link {
    font-size: 10px;
    color: var(--color-text-muted);
}

.ugc-chat-url {
    color: var(--color-primary);
    font-weight: bold;
    text-shadow: 0 0 8px rgba(34, 113, 177, 0.5);
}

/* Triggers */
.service-ugc:hover .ugc-chat-prompt::after,
.service-ugc:hover .ugc-chat-loader,
.service-ugc:hover .ugc-chat-response {
    animation-play-state: running;
}

/* Brand Authority Animation */
.brand-anim-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg-surface);
    z-index: 1;
    overflow: hidden;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    /* Hidden by default */
    transition: opacity 0.3s ease;
}

.service-brand.start-anim .brand-anim-container {
    opacity: 1;
}

/* Stage 1: Search */
.brand-search-bar {
    position: absolute;
    width: 80%;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    padding-left: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);

    animation: shrinkSearch 1s ease forwards;
    animation-delay: 2.5s;
    animation-play-state: paused;
}

.service-brand.start-anim .brand-search-bar {
    animation-play-state: running;
}

.brand-input-text::after {
    content: "Who is the leader in digital growth?";
    color: #fff;
    font-size: 14px;
    font-family: monospace;
    white-space: nowrap;
    overflow: hidden;
    width: 0;
    display: inline-block;
    border-right: 2px solid var(--color-accent-gold);

    animation: typeBrandQuery 2s steps(20) forwards, blinkCursor 0.5s step-end infinite;
    animation-delay: 0.2s;
    /* Start quickly */
    animation-play-state: paused;
}

.service-brand.start-anim .brand-input-text::after {
    animation-play-state: running;
}

@keyframes typeBrandQuery {
    to {
        width: 100%;
    }
}

@keyframes shrinkSearch {
    to {
        width: 0;
        height: 0;
        opacity: 0;
        padding: 0;
    }
}

/* Stage 2: Grid */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    opacity: 0;
    transform: scale(0.8);

    animation: showGrid 0.5s ease forwards, fadeGrid 1s ease forwards;
    animation-delay: 2.5s, 4s;
    /* Show at 2.5, Fade at 4 */
    animation-play-state: paused;
}

.service-brand.start-anim .brand-grid {
    animation-play-state: running;
}

.brand-item {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    /* Circle logos */
}

/* Center Logo (StratDigi) construction */
.brand-item.center {
    background: transparent;
    position: relative;
    overflow: hidden;
}

.brand-logo-fragment {
    position: absolute;
    background: var(--color-primary);
    width: 50%;
    height: 50%;
}

.f1 {
    top: 0;
    left: 0;
    transform: translate(-10px, -10px);
    animation: assembleLogo 1s ease forwards;
    animation-delay: 4s;
    animation-play-state: paused;
}

.f2 {
    top: 0;
    right: 0;
    transform: translate(10px, -10px);
    animation: assembleLogo 1s ease forwards;
    animation-delay: 4.1s;
    animation-play-state: paused;
}

.f3 {
    bottom: 0;
    left: 0;
    transform: translate(-10px, 10px);
    animation: assembleLogo 1s ease forwards;
    animation-delay: 4.2s;
    animation-play-state: paused;
}

.f4 {
    bottom: 0;
    right: 0;
    transform: translate(10px, 10px);
    animation: assembleLogo 1s ease forwards;
    animation-delay: 4.3s;
    animation-play-state: paused;
}

.service-brand.start-anim .brand-logo-fragment {
    animation-play-state: running;
}

@keyframes showGrid {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeGrid {
    to {
        opacity: 0.3;
        filter: blur(2px);
    }
}

@keyframes assembleLogo {
    to {
        transform: translate(0, 0);
    }
}

/* Stage 3: Spotlight & Result */
.brand-spotlight {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, transparent 70%);
    opacity: 0;

    animation: spotlightOn 1s ease forwards;
    animation-delay: 4.5s;
    animation-play-state: paused;
}

.service-brand.start-anim .brand-spotlight {
    animation-play-state: running;
}

@keyframes spotlightOn {
    to {
        opacity: 1;
    }
}

.brand-result {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    z-index: 10;

    animation: revealBrandResult 1s ease forwards;
    animation-delay: 5s;
    animation-play-state: paused;
}

.service-brand.start-anim .brand-result {
    animation-play-state: running;
}

.brand-badge {
    display: inline-block;
    background: var(--color-accent-gold);
    color: #000;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 5px;
    font-size: 10px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.brand-text {
    font-size: 10px;
    color: #cbd5e1;
    line-height: 1.3;
    text-align: center;
}

@keyframes revealBrandResult {
    to {
        opacity: 1;
        transform: translateY(-5px);
    }
}

/* Icon Hover Fix - Explicitly force standard styles */
.service-brand:hover .card-icon {
    color: var(--color-accent-gold) !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: scale(1.1) rotate(5deg) !important;
    opacity: 1 !important;
}

/* CRO: Climbing Graph/Bars */
.service-cro .card-bg-anim {
    background: linear-gradient(to top, var(--color-accent-gold) 50%, transparent 50%);
    background-size: 20px 20px;
    opacity: 0.1;
    animation: barGraph 2s linear infinite;
}

@keyframes barGraph {
    0% {
        background-position: 0 20px;
    }

    100% {
        background-position: 0 0;
    }
}

/* Dev: Code Brackets */
.service-dev .card-bg-anim::before,
.service-dev .card-bg-anim::after {
    content: "< >";
    position: absolute;
    font-family: monospace;
    font-size: 5rem;
    color: var(--color-text-muted);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: blinkCode 2s infinite;
}

/* Tumble Text Animation */
#first-service-heading,
#second-service-heading,
#third-service-heading,
#fourth-service-heading,
#fifth-service-heading,
#sixth-service-heading {
    overflow: visible !important;
    display: inline-block;
    /* Ensure transforms work relative to line if needed, but letters are inline-block */
    white-space: nowrap;
    /* Prevent breaking if animating */
}

#first-service-heading,
#third-service-heading,
#fourth-service-heading,
#sixth-service-heading {
    margin-left: 0.3em;
}

.tumble-letter {
    display: inline-block;
    opacity: 0;
    transform-origin: bottom center;
    margin-right: 0.2em;
    /* Animation applied only when parent has .start-tumble class */
}

.start-tumble .tumble-letter {
    animation: tumbleDrop 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes tumbleDrop {
    0% {
        opacity: 0;
        transform: translateY(-300px) rotate(0deg);
    }

    60% {
        opacity: 1;
        transform: translateY(0) rotate(var(--rotate-end));
    }

    80% {
        transform: translateY(-5px) rotate(var(--rotate-end));
    }

    100% {
        opacity: 1;
        transform: translateY(0) rotate(var(--rotate-end));
    }
}


@keyframes blinkCode {

    0%,
    100% {
        opacity: 0.2;
    }

    50% {
        opacity: 0.5;
    }
}

/* 12. Process Section Background (Neural Net) */
.process-section {
    position: relative;
    /* Overlay gradient to darken the 'image' */
    background: linear-gradient(rgba(11, 26, 38, 0.9), rgba(11, 26, 38, 0.9)),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.15'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-color: var(--color-bg-surface);
    /* Fallback */
}

/* Re-enable if we want motion, but user asked for an 'image' */
/* animation: slideBg 100s linear infinite; */



/* --- UGC ANIMATION (Search -> Video -> Result) --- */
.ugc-anim-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg-surface);
    z-index: 2;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow: hidden;
    pointer-events: none;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* 1. Search Stage */
.ugc-search-bar {
    width: 260px;
    height: 36px;
    background: #1e293b;
    border-radius: 18px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 3;
}

.ugc-input-text {
    flex-grow: 1;
    height: 14px;
    position: relative;
    overflow: hidden;
}

.ugc-input-text::after {
    content: "How to make ads that don't look like ads?";
    font-size: 11px;
    color: #94a3b8;
    white-space: nowrap;
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    overflow: hidden;
    border-right: 2px solid var(--color-accent-teal);
}

/* 2. Phone Stage */
.ugc-phone-frame {
    width: 100px;
    height: 180px;
    background: #0f172a;
    border-radius: 12px;
    border: 4px solid #334155;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.1);
    opacity: 0;
    overflow: hidden;
    z-index: 2;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.ugc-screen {
    width: 100%;
    height: 100%;
    position: relative;
    background: #1e293b;
    overflow: hidden;
}

.ugc-video-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

/* Glitch effect colors */
.v1 {
    background: radial-gradient(circle, #f472b6 20%, transparent 20%), #4c1d95;
    background-size: 20px 20px;
}

.v2 {
    background: radial-gradient(circle, #22d3ee 20%, transparent 20%), #0f172a;
    background-size: 30px 30px;
}

.ugc-caption {
    position: absolute;
    bottom: 20px;
    left: 10%;
    width: 80%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 8px;
    padding: 2px 4px;
    border-radius: 4px;
    text-align: center;
}

.ugc-heart {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 12px;
    opacity: 0;
}

/* 3. Result Stage */
.ugc-result-panel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 240px;
    text-align: center;
    opacity: 0;
    z-index: 4;
}

.ugc-badge {
    display: inline-block;
    background: var(--color-accent-gold);
    color: #0f172a;
    font-weight: bold;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
    box-shadow: 0 0 15px var(--color-accent-gold);
    transform: scale(0);
}

.ugc-result-text {
    font-size: 10px;
    color: #cbd5e1;
    line-height: 1.4;
    background: rgba(15, 23, 42, 0.9);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid var(--color-accent-gold);
}


/* --- ANIMATION KEYFRAMES UGC --- */
.service-ugc.start-anim .ugc-anim-container {
    opacity: 1;
}

/* 1. Type (0-2s) */
.service-ugc.start-anim .ugc-input-text::after {
    animation: typeUgcQuery 2s steps(40) forwards 0.3s;
}

/* 2. Morph to Phone (2s - 2.5s) */
.service-ugc.start-anim .ugc-search-bar {
    animation: fadeOutSearch 0.5s forwards 2s;
}

.service-ugc.start-anim .ugc-phone-frame {
    animation: expandPhone 0.5s forwards 2s;
}

/* 3. Glitch Video (2.5s - 4.5s) */
.service-ugc.start-anim .ugc-video-layer.v1 {
    animation: glitchV1 0.2s infinite;
    animation-delay: 2.5s;
}

.service-ugc.start-anim .ugc-video-layer.v2 {
    animation: glitchV2 0.3s infinite;
    animation-delay: 2.5s;
}

/* 4. Hearts (2.5s - 4.5s) */
.service-ugc.start-anim .ugc-heart {
    animation: floatHeart 1s linear infinite;
}

.service-ugc.start-anim .ugc-heart.h1 {
    animation-delay: 2.5s;
    right: 10px;
}

.service-ugc.start-anim .ugc-heart.h2 {
    animation-delay: 2.8s;
    right: 20px;
}

.service-ugc.start-anim .ugc-heart.h3 {
    animation-delay: 3.1s;
    right: 15px;
}

/* 5. Result (4.5s) */
.service-ugc.start-anim .ugc-phone-frame {
    animation: fadeOutPhone 0.5s forwards 4.5s;
}

.service-ugc.start-anim .ugc-result-panel {
    animation: fadeInResult 0.5s forwards 4.8s;
}

.service-ugc.start-anim .ugc-badge {
    animation: popBadge 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards 5s;
}

/* Hide initial content */
.service-ugc.start-anim .card-icon,
.service-ugc.start-anim h3 {
    opacity: 0.1;
    transition: opacity 0.5s ease;
}


@keyframes typeUgcQuery {
    to {
        width: 100%;
        border-right: none;
    }
}

@keyframes expandPhone {
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes glitchV1 {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

@keyframes glitchV2 {

    0%,
    100% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}

@keyframes floatHeart {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateY(-40px) scale(1.5);
    }
}

@keyframes fadeOutPhone {
    to {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
}

@keyframes popBadge {
    to {
        transform: scale(1);
    }
}

.ads-anim-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg-surface);
    z-index: 2;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow: hidden;
    pointer-events: none;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* 1. Search Stage */
.ads-search-bar {
    width: 260px;
    height: 36px;
    background: #1e293b;
    border-radius: 18px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 3;
}

.ads-input-text {
    flex-grow: 1;
    height: 14px;
    position: relative;
    overflow: hidden;
}

.ads-input-text::after {
    content: "How to lower my CAC and scale ROAS?";
    font-size: 11px;
    color: #94a3b8;
    white-space: nowrap;
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    overflow: hidden;
    border-right: 2px solid var(--color-accent-teal);
}

/* 2. Dashboard Stage */
.ads-dashboard {
    width: 260px;
    height: 140px;
    background: #0f172a;
    border-radius: 8px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.1);
    /* Start small/hidden */
    opacity: 0;
    border: 1px solid #334155;
    overflow: hidden;
    z-index: 2;
}

.ads-header {
    height: 20px;
    background: #1e293b;
    display: flex;
    gap: 4px;
    padding: 6px 10px;
    align-items: center;
}

.ads-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 40px);
    gap: 8px;
    padding: 10px;
}

.ad-block {
    border-radius: 4px;
    opacity: 0.6;
}

.ad-block.red {
    background: #fee2e2;
    border: 1px solid #ef4444;
}

.ad-block.green {
    background: #dcfce7;
    border: 1px solid #22c55e;
}

.ads-scanline {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-accent-teal);
    box-shadow: 0 0 10px var(--color-accent-teal);
    opacity: 0;
}

/* 3. Result Stage */
.ads-result-panel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 240px;
    text-align: center;
    opacity: 0;
}

.ads-chart-line {
    width: 100px;
    height: 60px;
    margin: 0 auto 10px;
    position: relative;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
}

.ads-chart-line::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0;
    border: 2px solid var(--color-accent-gold);
    border-top: 0;
    border-right: 0;
    /* Simulate a line chart growing */
    width: 100%;
    height: 100%;
    background: linear-gradient(to top right, transparent 50%, var(--color-accent-gold) 50%);
    opacity: 0;
    /* Simplification: Just a div growing up */
    background: none;
    border: none;
    border-top: 2px solid var(--color-accent-gold);
    transform-origin: bottom left;
    transform: rotate(-30deg) scaleX(0);
}

.ads-result-text {
    font-size: 10px;
    color: #cbd5e1;
    line-height: 1.4;
}


/* --- ANIMATION KEYFRAMES ADS --- */
.service-ads.start-anim .ads-anim-container {
    opacity: 1;
}

/* 1. Type (0-2s) */
.service-ads.start-anim .ads-input-text::after {
    animation: typeAdsQuery 2s steps(35) forwards 0.3s;
}

/* 2. Morph to Dashboard (2s - 2.5s) */
.service-ads.start-anim .ads-search-bar {
    animation: fadeOutSearch 0.5s forwards 2s;
}

.service-ads.start-anim .ads-dashboard {
    animation: expandDash 0.5s forwards 2s;
}

/* 3. Blocks Flicker (2.5s - 4.5s) */
.service-ads.start-anim .ad-block {
    animation: flickerBlocks 0.5s infinite;
    animation-delay: 2.5s;
}

/* 4. Eliminate Red (4s) */
.service-ads.start-anim .ad-block.red {
    animation: eliminateRed 0.5s forwards 4s;
}

/* 5. Scale Green (4s) */
.service-ads.start-anim .ad-block.green {
    animation: scaleGreen 0.5s forwards 4s;
}

/* 6. Scanline (2.5s - 4.5s) */
.service-ads.start-anim .ads-scanline {
    animation: scanDash 2s linear forwards 2.5s;
}

/* 7. Reveal Result (4.5s) */
.service-ads.start-anim .ads-dashboard {
    animation: fadeOutDash 0.5s forwards 4.5s;
}

.service-ads.start-anim .ads-result-panel {
    animation: fadeInResult 0.5s forwards 4.8s;
}

.service-ads.start-anim .ads-chart-line::after {
    animation: growChart 1s ease forwards 5s;
}

/* Hide initial content */
.service-ads.start-anim .card-icon,
.service-ads.start-anim h3 {
    opacity: 0.1;
    transition: opacity 0.5s ease;
}

@keyframes typeAdsQuery {
    to {
        width: 100%;
        border-right: none;
    }
}

@keyframes fadeOutSearch {
    to {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
}

@keyframes expandDash {
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes flickBlocks {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 0.8;
    }
}

@keyframes scanDash {
    0% {
        top: 20px;
        opacity: 1;
    }

    100% {
        top: 140px;
        opacity: 1;
    }
}

@keyframes eliminateRed {
    to {
        transform: scale(0);
        opacity: 0;
    }
}

@keyframes scaleGreen {
    to {
        transform: scale(1.1);
        background: #22c55e;
        opacity: 1;
        border: 2px solid #fff;
    }
}

@keyframes fadeOutDash {
    to {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.1);
        filter: blur(4px);
    }
}

@keyframes fadeInResult {
    to {
        opacity: 1;
    }
}

@keyframes growChart {
    to {
        transform: rotate(-30deg) scaleX(1);
        opacity: 1;
        border-top: 2px solid var(--color-accent-gold);
    }
}

.seo-anim-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg-surface);
    z-index: 2;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow: hidden;
    pointer-events: none;
    /* Let clicks pass through if needed, though card is a link usually */
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* 1. Search Bar Stage */
.seo-search-bar {
    width: 240px;
    height: 36px;
    background: #1e293b;
    border-radius: 18px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.seo-dots {
    display: flex;
    gap: 4px;
    margin-right: 10px;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.dot.red {
    background: #fee2e2;
}

/* Muted red */
.dot.yellow {
    background: #fef3c7;
}

/* Muted yellow */
.dot.green {
    background: #dcfce7;
}

/* Muted green */

.seo-input-text {
    flex-grow: 1;
    height: 14px;
    position: relative;
    overflow: hidden;
}

.seo-input-text::after {
    content: "Best SEO Agency...";
    font-size: 11px;
    color: #94a3b8;
    white-space: nowrap;
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    overflow: hidden;
    border-right: 2px solid var(--color-accent-teal);
    /* Cursor */
}

/* 2. SERP Stage */
.seo-serp {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding-top: 60px;
    /* Space for search bar at top */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
}

.serp-line {
    width: 80%;
    height: 8px;
    background: #334155;
    border-radius: 4px;
    opacity: 0.3;
}

.serp-line.l1 {
    width: 70%;
}

.serp-line.l2 {
    width: 60%;
}

.serp-line.l3 {
    width: 75%;
}

.serp-card.climber {
    width: 220px;
    height: 30px;
    background: #1e293b;
    border-left: 3px solid var(--color-primary);
    border-radius: 4px;
    display: flex;
    align-items: center;
    padding-left: 10px;
    position: absolute;
    bottom: -40px;
    /* Start off screen */
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 15px rgba(84, 178, 150, 0.2);
    /* Glow */
}

.climber-text {
    font-size: 10px;
    color: #fff;
    font-weight: 600;
}

/* 3. Snippet Stage */
.seo-snippet {
    width: 240px;
    height: 100px;
    background: #1e293b;
    border-radius: 8px;
    padding: 15px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--color-accent-teal);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.snippet-header {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
}

.snippet-title {
    font-size: 12px;
    font-weight: bold;
    color: #fff;
}

.verified-badge {
    color: var(--color-accent-gold);
    font-size: 12px;
    opacity: 0;
    /* Fades in last */
}

.snippet-body {
    font-size: 10px;
    color: #cbd5e1;
    line-height: 1.4;
    margin-bottom: 8px;
}

.snippet-link {
    font-size: 9px;
    color: var(--color-accent-teal);
}

/* --- ANIMATION KEYFRAMES --- */

/* Hover State Triggers -> Changed to Class Trigger via JS */
.service-seo.start-anim .seo-anim-container {
    opacity: 1;
}

/* 1. Typing (0s - 2.5s) */
.service-seo.start-anim .seo-input-text::after {
    animation: typeKeyword 2s steps(18) forwards 0.3s;
}

/* 2. Search Move Up (2.5s - 4s) */
.service-seo.start-anim .seo-search-bar {
    animation: moveSearchUp 1s forwards 2.5s;
}

/* 3. SERP Fade In (2.5s) */
.service-seo.start-anim .seo-serp {
    animation: showSerp 0.5s forwards 2.6s;
}

/* 4. Climb Rank (2.8s - 4s) */
.service-seo.start-anim .climber {
    animation: climbRank 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 2.8s;
}

/* 5. Snippet Expand (4s) */
.service-seo.start-anim .seo-snippet {
    animation: expandSnippet 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards 4.2s;
}

/* 6. Checkmark (4.8s) */
.service-seo.start-anim .verified-badge {
    animation: fadeInCheck 0.3s ease forwards 5s;
}

/* Hide initial content when animation runs */
.service-seo.start-anim .card-icon,
.service-seo.start-anim h3 {
    opacity: 0.1;
    transition: opacity 0.5s ease;
}


@keyframes typeKeyword {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
        border-right: none;
    }
}

@keyframes moveSearchUp {
    0% {
        top: 50%;
        transform: translate(-50%, -50%) scale(1);
        width: 240px;
    }

    100% {
        top: 30px;
        transform: translate(-50%, 0) scale(0.8);
        width: 200px;
    }
}

@keyframes showSerp {
    to {
        opacity: 1;
    }
}

@keyframes climbRank {
    0% {
        bottom: -40px;
        opacity: 0;
    }

    20% {
        bottom: 10px;
        opacity: 1;
    }

    /* Enters loop */
    100% {
        bottom: 70%;
        transform: translateX(-50%) scale(1.1);
        background: #1e293b;
    }

    /* Reaches top */
    /* Note: It disappears as snippet expands */
}

@keyframes expandSnippet {
    0% {
        opacity: 0;
        transform: translate(-50%, -40%) scale(0.5);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes fadeInCheck {
    to {
        opacity: 1;
    }
}

/* --- CUSTOM APPS ANIMATION (Card 5) --- */
.apps-anim-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg-surface);
    z-index: 2;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow: hidden;
    pointer-events: none;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Stage 1: Terminal */
.apps-terminal {
    width: 280px;
    height: 160px;
    background: #0f172a;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 5;
    border: 1px solid #334155;
}

.apps-terminal-header {
    height: 24px;
    background: #1e293b;
    display: flex;
    align-items: center;
    gap: 6px;
    padding-left: 10px;
    border-bottom: 1px solid #334155;
}

.apps-terminal-body {
    padding: 10px;
    font-family: monospace;
    font-size: 11px;
    color: #a5b4fc;
    flex-grow: 1;
}

.typing-command::after {
    content: "Need a scalable app for 1M+ users.";
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    vertical-align: bottom;
    width: 0;
    animation: typeAppCommand 2s steps(40) forwards;
    animation-play-state: paused;
}

/* Stage 2: Code Stream */
.apps-code-stream {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #020617;
    /* Darker background for code */
    opacity: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    overflow: hidden;
    z-index: 4;
}

.code-line {
    font-family: monospace;
    font-size: 10px;
    color: #4ade80;
    opacity: 0.7;
    white-space: nowrap;
    transform: translateY(100px);
}

/* Stage 3: Wireframes */
.apps-wireframe-group {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 6;
    pointer-events: none;
}

.wireframe-phone {
    position: absolute;
    bottom: -20px;
    left: 20px;
    width: 80px;
    height: 160px;
    border: 2px solid #64748b;
    border-radius: 12px;
    background: #0f172a;
    transform: translateY(20px);
    overflow: hidden;
}

.wireframe-browser {
    position: absolute;
    top: 30px;
    right: 20px;
    width: 180px;
    height: 120px;
    border: 2px solid #64748b;
    border-radius: 4px;
    background: #0f172a;
    transform: translateY(-20px);
    overflow: hidden;
}

/* Blue Data Pulses */
.data-pulse {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #3b82f6;
    box-shadow: 0 0 10px #3b82f6;
    opacity: 0;
    z-index: 7;
}

/* UI Elements inside Wireframes (Midnight & Slate) */
.wf-screen,
.wf-body {
    background: #1e293b;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.5;
}

.ui-screen,
.ui-browser-body {
    opacity: 0;
    transition: opacity 0.5s;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* Dashboard UI filling */
.ui-header {
    height: 15%;
    background: #334155;
    margin-bottom: 5px;
}

.ui-chart {
    height: 30%;
    background: #475569;
    margin: 5px;
    border-radius: 4px;
}

.ui-row {
    height: 10px;
    background: #475569;
    margin: 5px;
    border-radius: 2px;
}

.ui-dash-panel {
    display: flex;
    gap: 5px;
    padding: 5px;
}

.ui-stat-card {
    flex: 1;
    height: 40px;
    background: #334155;
    border-radius: 4px;
}

.ui-graph-main {
    height: 50px;
    background: #475569;
    margin: 5px;
    border-radius: 4px;
}


/* Stage 4: Result */
.apps-result {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    text-align: center;
    opacity: 0;
    z-index: 10;
}

.server-badge {
    display: inline-block;
    background: #22c55e;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 12px;
    margin-bottom: 8px;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
    transform: scale(0);
}

.apps-text {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid #3b82f6;
    padding: 12px;
    border-radius: 8px;
    font-size: 11px;
    color: #e2e8f0;
    line-height: 1.4;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

/* --- ANIMATIONS --- */
.service-apps.start-anim .apps-anim-container {
    opacity: 1;
}

.service-apps.start-anim .typing-command::after {
    animation-play-state: running;
}

/* 2. Dissolve Terminal (2s) */
.service-apps.start-anim .apps-terminal {
    animation: dissolveTerminal 0.5s forwards 2s;
}

/* 3. Code Stream (2s-4.5s) */
.service-apps.start-anim .apps-code-stream {
    animation: fadeInCode 0.5s forwards 2s;
}

.service-apps.start-anim .code-line {
    animation: scrollCode 2.5s linear infinite 2s;
}

.service-apps.start-anim .code-line:nth-child(2) {
    animation-delay: 2.2s;
}

.service-apps.start-anim .code-line:nth-child(3) {
    animation-delay: 2.4s;
}

.service-apps.start-anim .code-line:nth-child(4) {
    animation-delay: 2.6s;
}

/* 4. Wireframes (2.5s) */
.service-apps.start-anim .apps-wireframe-group {
    animation: showWireframes 0.5s forwards 2.5s;
}

.service-apps.start-anim .wireframe-phone {
    animation: slideUpPhone 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 2.5s;
}

.service-apps.start-anim .wireframe-browser {
    animation: slideDownBrowser 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 2.5s;
}

/* 5. Data Pulses (3s-4.5s) */
.service-apps.start-anim .data-pulse.p1 {
    animation: pulseTravel 1s linear infinite 3s;
}

.service-apps.start-anim .data-pulse.p2 {
    animation: pulseTravel 1s linear infinite 3.5s;
}

/* 6. Fill UI (4.5s) */
.service-apps.start-anim .ui-screen,
.service-apps.start-anim .ui-browser-body {
    opacity: 1;
    transition-delay: 4.5s;
}

.service-apps.start-anim .wireframe-phone,
.service-apps.start-anim .wireframe-browser {
    border-color: #3b82f6;
    transition: border-color 0.5s 4.5s;
    background: #0f172a;
    /* Midnight */
}

/* 7. Reveal Result (5s) */
.service-apps.start-anim .apps-result {
    animation: revealAppResult 0.5s forwards 5s;
}

.service-apps.start-anim .server-badge {
    animation: popBadge 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 5.2s;
}

/* Hide initial */
.service-apps.start-anim .card-icon,
.service-apps.start-anim h3,
.service-apps.start-anim p {
    opacity: 0.1;
    transition: opacity 0.5s;
}

/* Keyframes */
@keyframes typeAppCommand {
    to {
        width: 100%;
    }
}

@keyframes dissolveTerminal {
    to {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.1);
        filter: blur(4px);
    }
}

@keyframes fadeInCode {
    to {
        opacity: 1;
    }
}

@keyframes scrollCode {
    0% {
        transform: translateY(100px);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100px);
        opacity: 0;
    }
}

@keyframes showWireframes {
    to {
        opacity: 1;
    }
}

@keyframes slideUpPhone {
    to {
        transform: translateY(0);
    }
}

@keyframes slideDownBrowser {
    to {
        transform: translateY(0);
    }
}

@keyframes pulseTravel {
    0% {
        top: 60%;
        left: 20%;
        opacity: 1;
        transform: scale(1);
    }

    100% {
        top: 30%;
        left: 80%;
        opacity: 0;
        transform: scale(0.5);
    }
}

@keyframes revealAppResult {
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* --- CONVERSION OPTIMIZATION (Card 6) --- */
.cro-anim-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg-surface);
    z-index: 2;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow: hidden;
    pointer-events: none;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Stage 1: Search */
.cro-search-bar {
    width: 250px;
    height: 36px;
    background: #1e293b;
    border-radius: 18px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.cro-input-text {
    flex-grow: 1;
    height: 14px;
    position: relative;
    overflow: hidden;
}

.cro-input-text::after {
    content: "Why is my traffic not converting?";
    font-size: 11px;
    color: #94a3b8;
    white-space: nowrap;
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    overflow: hidden;
    border-right: 2px solid var(--color-accent-teal);
    animation: typeCroQuery 2s steps(35) forwards;
    animation-play-state: paused;
}

/* Stage 2: A/B Test */
.cro-ab-test {
    display: flex;
    gap: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    justify-content: center;
    opacity: 0;
}

.variant-card {
    width: 100px;
    height: 140px;
    background: #0f172a;
    border: 2px solid #334155;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.v-label {
    position: absolute;
    top: 10px;
    font-size: 10px;
    font-weight: bold;
    color: #64748b;
}

.v-arrow {
    font-size: 24px;
    font-weight: bold;
    margin-top: 10px;
}

/* Variant A */
.variant-card.v-a {
    filter: blur(0px);
    opacity: 0.8;
}

.v-a .v-arrow.down {
    color: #ef4444;
}

/* Variant B */
.variant-card.v-b {
    filter: blur(4px);
    opacity: 0.5;
    border-color: #22c55e;
}

.v-b .v-arrow.up {
    color: #22c55e;
}

.val-check {
    position: absolute;
    bottom: 10px;
    right: 10px;
    color: #22c55e;
    font-size: 14px;
    opacity: 0;
    text-shadow: 0 0 10px #22c55e;
}

/* Stage 3: Result */
.cro-result-panel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 260px;
    text-align: center;
    opacity: 0;
    z-index: 10;
}

.cro-stat-counter {
    background: #0f172a;
    border: 1px solid #22c55e;
    border-radius: 8px;
    padding: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.2);
    transform: scale(0.9);
    opacity: 0;
}

.stat-label {
    font-size: 10px;
    color: #94a3b8;
    text-transform: uppercase;
}

.stat-val {
    font-size: 14px;
    font-weight: bold;
    color: #fff;
}

.stat-val.highlight {
    color: #22c55e;
}

.stat-arrow {
    color: #64748b;
    font-size: 12px;
}

.cro-result-text {
    font-size: 11px;
    color: #cbd5e1;
    line-height: 1.4;
    background: rgba(15, 23, 42, 0.9);
    padding: 10px;
    border-radius: 8px;
}

/* --- ANIMATIONS --- */
.service-cro.start-anim .cro-anim-container {
    opacity: 1;
}

.service-cro.start-anim .cro-input-text::after {
    animation-play-state: running;
}

/* 2. Hide Search & Show A/B (2s) */
.service-cro.start-anim .cro-search-bar {
    animation: fadeOutSearch 0.5s forwards 2s;
}

.service-cro.start-anim .cro-ab-test {
    animation: fadeInAB 0.5s forwards 2s;
}

/* 3. A/B Simulation (2s - 4s) */
.service-cro.start-anim .variant-card.v-a {
    animation: blurVariant 0.5s forwards 3s;
}

.service-cro.start-anim .variant-card.v-b {
    animation: focusVariant 0.5s forwards 3s;
}

.service-cro.start-anim .val-check {
    animation: popCheck 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards 3.5s;
}

/* 4. Result Reveal (4s) */
.service-cro.start-anim .cro-ab-test {
    animation: fadeOutAB 0.5s forwards 4s;
}

.service-cro.start-anim .cro-result-panel {
    animation: revealCroResult 0.5s forwards 4.2s;
}

.service-cro.start-anim .cro-stat-counter {
    animation: popBadge 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 4.5s;
}

/* Hide initial */
.service-cro.start-anim .card-icon,
.service-cro.start-anim h3,
.service-cro.start-anim p {
    opacity: 0.1;
    transition: opacity 0.5s;
}

/* Keyframes */
@keyframes typeCroQuery {
    to {
        width: 100%;
        border-right: none;
    }
}

@keyframes fadeInAB {
    to {
        opacity: 1;
    }
}

@keyframes blurVariant {
    to {
        filter: blur(4px);
        opacity: 0.4;
        transform: scale(0.9);
    }
}

@keyframes focusVariant {
    to {
        filter: blur(0);
        opacity: 1;
        transform: scale(1.1);
        border-color: #22c55e;
        box-shadow: 0 0 25px rgba(34, 197, 94, 0.3);
    }
}

@keyframes popCheck {
    to {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes fadeOutAB {
    to {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

@keyframes revealCroResult {
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* --- DUAL FOCUS EXPERTISE (SECTION 3) --- */
.value-prop {
    position: relative;
    background: #0b1a26;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
}

.dual-focus-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 120px;
    max-width: var(--container-width);
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

@media (max-width: 900px) {
    .dual-focus-wrapper {
        grid-template-columns: 1fr;
    }
}

.cyber-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(84, 178, 150, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(84, 178, 150, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
    pointer-events: none;
}

/* Glassmorphism Container */
.glass-panel {
    position: relative;
    z-index: 2;
    background: rgba(22, 44, 62, 0.4);
    /* Semi-transparent surface */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 60px 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    width: 100%;
    text-align: center;
}

/* Toggle Buttons */
.toggle-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 40px 0;
}

#btn-b2c {
    background-color: var(--color-accent-teal) !important;
    color: #fff !important;
    box-shadow: 0 0 15px rgba(84, 178, 150, 0.4);
    border: none;
}

#btn-wl {
    background-color: var(--color-accent-gold) !important;
    color: #0b1a26 !important;
    box-shadow: 0 0 15px rgba(250, 203, 23, 0.4);
    border: none;
}

#btn-b2c:hover,
#btn-wl:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* 12. FAQ Grid Layout (New in V11) */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* FAQ Visual Column */
.faq-visual {
    position: sticky;
    top: 100px;
}

.faq-image-container {
    background: linear-gradient(135deg, rgba(11, 26, 38, 0.8), rgba(22, 44, 62, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 60px 40px;
    /* More vertical padding */
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.faq-placeholder-graphic {
    width: 220px;
    /* Increased from 120px */
    height: 220px;
    /* Increased from 120px */
    margin: 0 auto 40px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.graphic-circle {
    width: 150px;
    /* Increased from 80px */
    height: 150px;
    /* Increased from 80px */
    border-radius: 50%;
    border: 3px solid var(--color-accent-gold);
    /* Thicker border */
    box-shadow: 0 0 30px rgba(250, 203, 23, 0.3);
    animation: pulseGold 3s infinite ease-in-out;
}

.graphic-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--color-accent-teal);
    transform: rotate(-45deg);
    box-shadow: 0 0 10px rgba(84, 178, 150, 0.4);
}

.faq-caption h4 {
    color: var(--color-text-main);
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.faq-caption p {
    color: var(--color-accent-gold);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* FAQ Content Column (Accordion) */
.faq-item {
    background: var(--color-bg-surface);
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.faq-item[open] {
    border-color: var(--color-accent-teal);
    background: rgba(11, 26, 38, 0.95);
}

.faq-item summary {
    padding: 20px;
    font-weight: 500;
    cursor: pointer;
    color: var(--color-text-main);
    position: relative;
    list-style: none;
    /* Hide default triangle */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--color-accent-gold);
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
    color: var(--color-accent-teal);
}

.faq-item p {
    padding: 0 20px 20px 20px;
    margin-top: 0;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes scrollBlog {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-350px * 10 - 300px));
    }
}

/* Blog Image Hover Effect */
.blog-image {
    filter: grayscale(100%);
    transition: filter 0.4s ease;
    background-size: cover !important;
    background-position: center !important;
}

.blog-card:hover .blog-image {
    filter: grayscale(0%);
}

/* Force Blog Card Width (Fix for specificty issues) */
.blog-card {
    min-width: 350px !important;
    width: 350px !important;
    flex: 0 0 350px !important;
}

/* FIX: Normalize first blog card */
.blog-track .blog-card:first-child {
    transform: none !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    box-shadow: none !important;
    background: var(--color-bg-surface) !important;
}

.blog-track .blog-card:first-child:hover {
    transform: translateY(-5px) !important;
    border-color: var(--color-accent-teal) !important;
    box-shadow: none !important;
}

/* CTA Button Hover */
.cta-section .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(250, 203, 23, 0.5) !important;
    filter: brightness(1.1);
}

/* =========================================
   6-POINT SERVICE TEMPLATE STYLES
   ========================================= */

/* 1. Neural Hero */
.neural-hero {
    position: relative;
    height: 500px;
    /* Reduced height */
    min-height: 500px;
    padding-top: 0;
    /* Flush with menu */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: #050d14;
}

/* ... Keep particle styles ... */
.particle-nexus {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: radial-gradient(circle at center, rgba(34, 113, 177, 0.1) 0%, rgba(5, 13, 20, 1) 80%);
}

.nexus-node {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #2271b1;
    border-radius: 50%;
    opacity: 0.6;
    box-shadow: 0 0 10px #2271b1;
    transition: transform 0.1s linear;
    /* Smooth mouse tracking */
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    perspective: 1000px;
    margin-top: -40px;
    /* Slight visual adjustment */
}

/* ... Keep tumbled text styles ... */
.tumbled-text {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 1;
}

.tumbled-char {
    display: inline-block;
    transform-origin: center bottom;
    will-change: transform, opacity;
}

.hero-sub {
    font-size: 1.25rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
}

/* 2. Neural Framework (Horizontal) */
.neural-framework {
    padding: 80px 0;
    background: #050d14;
}

.framework-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    /* Enforce Horizontal */
    gap: 20px;
    margin-top: 60px;
    position: relative;
    padding: 0 20px;
}

/* ... Keep existing framework styles ... */
.framework-track {
    position: absolute;
    top: 30px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
    overflow: hidden;
}

.light-streak {
    position: absolute;
    top: 0;
    left: -10%;
    width: 100px;
    height: 100%;
    background: linear-gradient(90deg, transparent, #2271b1, #fff, #2271b1, transparent);
    z-index: 1;
    opacity: 0;
}

.light-streak.active {
    animation: streakFlow 2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes streakFlow {
    0% {
        left: -10%;
        opacity: 1;
    }

    100% {
        left: 110%;
        opacity: 0;
    }
}

.framework-step {
    position: relative;
    z-index: 1;
    text-align: center;
}

.step-marker {
    width: 60px;
    height: 60px;
    background: #0b1a26;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    position: relative;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.pulse-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid #2271b1;
    opacity: 0;
    transform: scale(1);
    transition: 0.3s;
}

.framework-step:hover .step-marker {
    border-color: #2271b1;
    box-shadow: 0 0 20px rgba(34, 113, 177, 0.4);
}

.framework-step.active .step-marker {
    border-color: #2271b1;
    box-shadow: 0 0 25px rgba(34, 113, 177, 0.6);
    background: #0f2a40;
}

@keyframes pulseRing {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #e2e8f0;
}

.step-content p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
}

/* 3. Proof Engine (Split Layout) */
.proof-engine {
    padding: 100px 0;
    background: radial-gradient(circle at 50% 50%, #0f172a 0%, #050d14 100%);
    perspective: 1200px;
    overflow: hidden;
}

.proof-card {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    max-width: 800px;
    margin: 50px auto 0;
    padding: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    position: relative;

    /* Pre-state for JS 3D manipulation */
    transform: rotateX(20deg) scale(0.9);
    transform-origin: center center;
    will-change: transform;
    transition: transform 0.1s ease-out;
    /* Smooth scroll sync */
}

.split-proof {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    /* Text Left, Visual Right */
    gap: 60px;
    align-items: center;
}

.split-proof-content {
    text-align: left;
}

.split-proof-content .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.proof-desc {
    font-size: 1.1rem;
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 30px;
}

.proof-card {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    width: 100%;
    padding: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    position: relative;

    /* Pre-state 3D */
    transform: rotateX(10deg) rotateY(-10deg) scale(0.95);
    background: #0b1521;
    will-change: transform;
    transition: transform 0.1s ease-out;
}

.seo-sim-window {
    text-align: left;
    font-family: 'Inter', sans-serif;
}

.sim-search-bar {
    background: #1e293b;
    border-radius: 30px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.search-icon {
    margin-right: 15px;
    opacity: 0.6;
}

.typing-text {
    color: #fff;
    font-size: 1.1rem;
}

.typing-text::after {
    content: '|';
    animation: blink 1s infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.sim-results {
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0.3;
    transition: opacity 0.8s;
}

.sim-results.active {
    opacity: 1;
}

.result-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 20px;
    text-align: left;
    height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.result-item.skeleton {
    height: 80px;
}

.result-item.target-site {
    background: rgba(34, 113, 177, 0.1);
    border: 1px solid rgba(34, 113, 177, 0.3);
    order: 10;
    transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.result-item.target-site.ranked-1 {
    order: -1;
    background: rgba(34, 113, 177, 0.2);
    box-shadow: 0 0 30px rgba(34, 113, 177, 0.2);
}

.site-title {
    color: #38bdf8;
    margin: 0 0 5px;
    font-size: 1.2rem;
}

.site-meta {
    color: #94a3b8;
    font-size: 0.9rem;
}

/* 4. Authority Stats (Horizontal) */
.authority-stats {
    padding: 60px 0;
    background: #050d14;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.success-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #ffcc00;
    /* Gold */
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    animation: driftUp 4s linear infinite;
}

@keyframes driftUp {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    20% {
        opacity: 0.5;
    }

    100% {
        transform: translateY(-10vh) scale(1);
        opacity: 0;
    }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Horizontal */
    gap: 30px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: #ffcc00;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    display: block;
}

.stat-label {
    color: #94a3b8;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 5. FAQ (Grid Layout) */
.logic-faq {
    padding: 80px 0;
    background: #020617;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 Column Grid */
    gap: 20px;
    max-width: 1200px;
    margin: 40px auto 0;
}

.neural-cube {
    width: 300px;
    height: 300px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate 20s infinite linear;
    margin: 0 auto;
}

.face {
    position: absolute;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(34, 113, 177, 0.3);
    background: rgba(34, 113, 177, 0.05);
}

.front {
    transform: translateZ(150px);
}

.back {
    transform: rotateY(180deg) translateZ(150px);
}

.right {
    transform: rotateY(90deg) translateZ(150px);
}

.left {
    transform: rotateY(-90deg) translateZ(150px);
}

.top {
    transform: rotateX(90deg) translateZ(150px);
}

.bottom {
    transform: rotateX(-90deg) translateZ(150px);
}

@keyframes rotate {
    from {
        transform: rotateX(0deg) rotateY(0deg);
    }

    to {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

.accordion-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.logic-item {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.logic-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 15px 0;
    font-size: 1.1rem;
    color: #fff;
    font-weight: 500;
    list-style: none;
    /* Hide default triangle */
}

.logic-item summary::-webkit-details-marker {
    display: none;
}

.connector-line {
    display: inline-block;
    width: 15px;
    height: 1px;
    background: #2271b1;
    margin-right: 15px;
    transition: width 0.3s;
}

.logic-item[open] .connector-line {
    width: 40px;
    background: #FACB17;
}

.logic-answer {
    padding: 0 0 15px 55px;
    color: #94a3b8;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 900px) {
    .framework-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .framework-grid::before {
        top: 30px;
        left: 29px;
        right: auto;
        width: 2px;
        height: 100%;
    }

    .step-marker {
        margin: 0 0 20px 0;
    }

    .framework-step {
        text-align: left;
        display: flex;
        gap: 20px;
    }

    .split-layout {
        grid-template-columns: 1fr;
    }

    .neural-cube {
        display: none;
        /* Simplify for mobile */
    }
}

/* --- CRO Optimization Styles --- */

/* Hero Lead Form */
.hero-split {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.hero-split-content {
    flex: 1;
    width: 100%;
    max-width: 1100px;
    /* Allow it to span wide */
    min-width: 300px;
    text-align: left;
}

.hero-split-form {
    flex: 0 0 450px;
    /* Don't grow, don't shrink, stay exactly 450px */
    width: 100%;
    max-width: 450px;
    margin-left: auto;
    background: rgba(15, 23, 42, 0.85);
    /* Darker glassmorphism */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 10;
}

.hero-lead-form .form-group {
    margin-bottom: 15px;
}

.hero-lead-form .form-control {
    width: 100%;
    padding: 12px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 6px;
    box-sizing: border-box;
}

.hero-lead-form .form-control:focus {
    outline: none;
    border-color: var(--color-accent-teal);
}

/* Trusted By / Social Proof Section */
.trusted-by-section {
    padding: 40px 0;
    text-align: center;
    background: rgba(2, 6, 23, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.trusted-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 20px;
}

.trusted-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #475569;
    /* Slate 600 - muted */
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.trusted-logo:hover {
    opacity: 1;
    color: #94a3b8;
}

/* Sticky CTA Bar */
.sticky-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(15px);
    border-top: 1px solid var(--color-primary);
    padding: 15px 0;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
}

.sticky-cta-bar.visible {
    transform: translateY(0);
}

.sticky-cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.sticky-cta-text {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sticky-cta-text p {
    margin: 0;
    color: #fff;
    font-weight: 500;
    font-size: 1.1rem;
}

.sticky-pulse {
    width: 12px;
    height: 12px;
    background-color: var(--color-accent-teal);
    border-radius: 50%;
    position: relative;
}

.sticky-pulse::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: var(--color-accent-teal);
    border-radius: 50%;
    animation: stickyPulseAnim 2s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes stickyPulseAnim {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(3);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .sticky-cta-content {
        justify-content: center;
        text-align: center;
    }

    .hero-split-form {
        width: 100%;
        max-width: 100%;
    }
}