/*
Theme Name: AI Marketing Experts Luxury
Theme URI: https://aimarketingexperts.in/
Description: A premium, fast, and lead-generation focused theme for AI Marketing Experts. White and luxury blue color scheme.
Version: 1.0.0
Author: Antigravity AI
Author URI: https://aimarketingexperts.in/
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-background, luxury, clean, translation-ready, accessibility-ready
*/

/* Core Design System & Tokens */
:root {
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-accent: #eff6ff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --color-blue-dark: #1e3a8a;
    --color-blue-royal: #2563eb;
    --color-blue-light: #3b82f6;
    --color-gold: #d97706;
    --border-color: rgba(37, 99, 235, 0.08);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-premium: 0 10px 30px -10px rgba(37, 99, 235, 0.08);
}

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

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    padding-top: 6.25rem;
}

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

/* Typography & Growth Visuals */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-blue-dark);
}

/* Header & Sleek Glassmorphism Floating Navbar */
.navbar-area {
    position: fixed;
    top: 1.15rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2.5rem);
    max-width: 1400px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 99px;
    box-shadow: 0 12px 35px -5px rgba(15, 23, 42, 0.09), 0 0 0 1px rgba(37, 99, 235, 0.05);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0.65rem 1.75rem;
}

.navbar-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 0;
    margin: 0;
}

.logo-brand {
    font-size: 1.45rem;
    font-weight: 900;
    font-family: var(--font-heading);
    color: var(--color-blue-dark);
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-brand img {
    height: 52px;
    max-height: 56px;
    width: auto;
    border-radius: 10px;
    filter: contrast(1.15) brightness(1.05) drop-shadow(0 2px 8px rgba(37, 99, 235, 0.18));
    image-rendering: -webkit-optimize-contrast;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-brand:hover img {
    transform: scale(1.05);
}

.logo-brand span {
    color: var(--color-blue-royal);
}

.nav-links {
    display: flex;
    gap: clamp(0.35rem, 0.65vw, 0.85rem);
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

.nav-links li {
    margin: 0;
    padding: 0;
}

.nav-links li a {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 600;
    font-size: clamp(0.92rem, 0.98vw, 1.05rem);
    color: #1e293b;
    background: transparent;
    border: none;
    padding: 0.52rem clamp(0.55rem, 0.8vw, 1rem);
    border-radius: 10px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    white-space: nowrap;
}

.nav-links li a:hover {
    color: var(--color-blue-royal);
    background: rgba(37, 99, 235, 0.06);
}

.nav-links li a.cta-btn {
    background: var(--color-blue-royal) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: clamp(0.9rem, 0.95vw, 1rem) !important;
    padding: 0.65rem clamp(1.1rem, 1.35vw, 1.75rem) !important;
    border-radius: 99px !important;
    box-shadow: 0 4px 18px rgba(37, 99, 235, 0.3) !important;
    margin-left: clamp(0.35rem, 0.6vw, 0.9rem);
    transition: all 0.25s ease !important;
}

.nav-links li a.cta-btn:hover {
    background: var(--color-blue-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4) !important;
}

/* Luxury Nav Item Dropdowns with Hover Bridge */
.nav-item-dropdown {
    position: relative;
    padding-bottom: 14px;
    margin-bottom: -14px;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    background: #ffffff;
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 20px;
    padding: 0.85rem;
    min-width: 290px;
    box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(37, 99, 235, 0.08);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

/* Invisible Hover Bridge: ensures continuous cursor path so dropdown never closes unexpectedly */
.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 24px;
    background: transparent;
    display: block;
}

.nav-dropdown-menu.wide-dropdown {
    min-width: 470px;
    max-width: min(470px, 90vw);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu,
.nav-item-dropdown.active .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown-link-item {
    display: flex !important;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem !important;
    border-radius: 12px !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    color: var(--text-primary) !important;
    font-size: 0.86rem !important;
    font-weight: 600 !important;
    transition: all 0.25s ease !important;
    text-align: left;
    white-space: nowrap;
}

.dropdown-link-item i {
    color: var(--color-blue-royal);
    font-size: 0.95rem;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(37, 99, 235, 0.08);
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.dropdown-link-item:hover {
    background: rgba(37, 99, 235, 0.06) !important;
    color: var(--color-blue-royal) !important;
    transform: translateX(4px);
    border-color: rgba(37, 99, 235, 0.12) !important;
}

.dropdown-link-item:hover i {
    background: var(--color-blue-royal);
    color: #ffffff;
}

/* ==========================================
   AI SEO SERVICES MEGA MENU (High Fidelity Light Mode)
   ========================================== */
.nav-item-dropdown.nav-item-megamenu:hover .nav-dropdown-menu.seo-megamenu-dropdown,
.nav-item-dropdown.nav-item-megamenu:focus-within .nav-dropdown-menu.seo-megamenu-dropdown {
    transform: translateX(-40%) translateY(0);
}

.nav-dropdown-menu.seo-megamenu-dropdown {
    width: 790px;
    max-width: min(790px, 94vw);
    min-width: unset;
    background: #ffffff;
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 20px;
    padding: 1.15rem 1.15rem 0.85rem 1.15rem;
    box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(37, 99, 235, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0;
    left: 50%;
    transform: translateX(-40%) translateY(6px);
}

.seo-megamenu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
    margin-bottom: 0.85rem;
}

.seo-megamenu-col {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.seo-megamenu-col .dropdown-link-item {
    padding: 0.6rem 0.75rem !important;
    font-size: 0.86rem !important;
    white-space: nowrap;
}

.seo-megamenu-footer {
    border-top: 1px solid rgba(37, 99, 235, 0.1);
    padding-top: 0.85rem;
    margin-top: 0.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
}

.seo-megamenu-social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary, #64748b);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.seo-social-icons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.seo-social-icons a {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-blue-royal, #2563eb) !important;
    font-size: 0.8rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.seo-social-icons a:hover {
    background: var(--color-blue-royal, #2563eb);
    border-color: var(--color-blue-royal, #2563eb);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.35);
}

.seo-megamenu-card-banner {
    background: #f0f7ff !important;
    border: 1px solid rgba(37, 99, 235, 0.22) !important;
    border-radius: 12px;
    padding: 0.65rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    text-decoration: none !important;
    color: #0f172a !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
    transition: all 0.25s ease;
    flex-grow: 1;
    max-width: 390px;
}

.seo-megamenu-card-banner:hover {
    background: #e0effe !important;
    border-color: #2563eb !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.16);
}

.seo-card-banner-title {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a !important;
}

.seo-card-banner-title strong {
    color: #0f172a !important;
    font-weight: 700;
}

.seo-card-orb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #ffffff !important;
    flex-shrink: 0;
}

.seo-card-banner-sub {
    font-size: 0.76rem;
    color: #475569 !important;
    margin-top: 0.15rem;
    font-weight: 500;
}

.seo-card-banner-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #2563eb !important;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.seo-megamenu-card-banner:hover .seo-card-banner-btn {
    background: #1d4ed8 !important;
    transform: translateX(3px);
}

@media (max-width: 991px) {
    .nav-dropdown-menu.seo-megamenu-dropdown {
        display: none !important;
    }
}



/* Category Filter Tabs */
.category-tab-bar {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.category-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.6rem;
    border-radius: 99px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.category-tab-btn:hover {
    color: var(--color-blue-royal);
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateY(-2px);
}

.category-tab-btn.active {
    background: linear-gradient(135deg, var(--color-blue-royal) 0%, var(--color-blue-dark) 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.35);
    transform: translateY(-2px);
}

.category-tab-btn .tab-count {
    background: rgba(255, 255, 255, 0.2);
    color: inherit;
    padding: 0.15rem 0.55rem;
    border-radius: 99px;
    font-size: 0.76rem;
    font-weight: 800;
}

.category-tab-btn:not(.active) .tab-count {
    background: rgba(37, 99, 235, 0.1);
    color: var(--color-blue-royal);
}

.cta-btn {
    background: var(--color-blue-royal) !important;
    color: #ffffff !important;
    padding: 0.7rem 1.8rem;
    border-radius: 99px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
    border: none !important;
    outline: none !important;
}

.cta-btn:hover {
    transform: translateY(-2px);
    background: #1d4ed8 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 22px rgba(37, 99, 235, 0.4);
}

/* Staggered Mobile Menu (Krishna Automobiles Vibe) */
.mobile-nav-toggle {
    display: none;
    cursor: pointer;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 12px;
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
    color: var(--color-blue-dark);
    z-index: 1001;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.mobile-nav-toggle:hover {
    background: var(--color-blue-royal);
    color: #ffffff;
}

@media (max-width: 1100px) {
    .nav-links {
        display: none !important;
    }
    
    .mobile-nav-toggle {
        display: flex !important;
    }
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu-overlay ul {
    list-style: none;
    text-align: center;
}

.mobile-menu-overlay li {
    margin: 1.5rem 0;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-overlay.active li {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations using dynamic delay */
.mobile-menu-overlay.active li:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu-overlay.active li:nth-child(2) { transition-delay: 0.18s; }
.mobile-menu-overlay.active li:nth-child(3) { transition-delay: 0.26s; }
.mobile-menu-overlay.active li:nth-child(4) { transition-delay: 0.34s; }
.mobile-menu-overlay.active li:nth-child(5) { transition-delay: 0.42s; }
.mobile-menu-overlay.active li:nth-child(6) { transition-delay: 0.5s; }

.mobile-menu-overlay a {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-blue-dark);
}

.mobile-menu-overlay a:hover {
    color: var(--color-blue-royal);
}

/* Hero Section with Growth Visualization */
.hero-section {
    padding: 6.2rem 2rem 4.5rem;
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

@media (max-width: 991px) {
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 6rem;
    }
}

.hero-badge {
    background-color: var(--bg-accent);
    color: var(--color-blue-royal);
    padding: 0.5rem 1rem;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.hero-badge svg {
    color: var(--color-gold);
}

.hero-title {
    font-size: clamp(2.8rem, 4.8vw, 4.3rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero-title span {
    background: linear-gradient(135deg, var(--color-blue-royal) 0%, var(--color-blue-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-visuals {
    position: relative;
    display: flex;
    justify-content: center;
}

/* Growth Graph Animation SVG styling */
.growth-chart-svg {
    width: 100%;
    max-width: 450px;
    filter: drop-shadow(0 15px 30px rgba(37, 99, 235, 0.15));
}

.graph-path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawPath 3.5s ease-out forwards infinite alternate;
}

@keyframes drawPath {
    to {
        stroke-dashoffset: 0;
    }
}

/* Handwritten Services Layout */
.section-wrapper {
    padding: 6rem 2rem;
    max-width: 1300px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.6rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Luxury Card Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-premium);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-blue-royal), var(--color-blue-light));
    opacity: 0;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(37, 99, 235, 0.15);
    box-shadow: 0 20px 40px -15px rgba(37, 99, 235, 0.15);
}

.service-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 60px;
    height: 60px;
    background-color: var(--bg-accent);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-blue-royal);
    font-size: 1.5rem;
    margin-bottom: 1.8rem;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.service-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background-color: var(--bg-accent);
    color: var(--color-blue-royal);
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* AI SEO Services (3 Columns, No Dropdowns) */
.seo-services-wrapper {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 7rem 2rem;
}

.seo-container {
    max-width: 1300px;
    margin: 0 auto;
}

.seo-columns-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

@media (max-width: 991px) {
    .seo-columns-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.seo-column {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 3rem 2.5rem;
    border-radius: 20px;
}

.seo-column-title {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.seo-list {
    list-style: none;
}

.seo-list li {
    margin-bottom: 1.2rem;
}

.seo-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1rem;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.95rem;
}

.seo-list a:hover {
    border-color: var(--color-blue-royal);
    color: var(--color-blue-royal);
    transform: translateX(4px);
}

.seo-list a i {
    font-size: 0.8rem;
    opacity: 0.6;
    transition: var(--transition-smooth);
}

.seo-list a:hover i {
    opacity: 1;
    transform: translateX(3px);
}

/* Footer Section */
.luxury-footer {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    padding: 6rem 2rem 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--border-color);
}

@media (max-width: 767px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.footer-brand h2 {
    font-size: 1.8rem;
    color: var(--color-blue-dark);
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.footer-brand a {
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.footer-brand a:hover {
    color: var(--color-blue-royal);
}

.footer-col h3 {
    font-size: 1.1rem;
    color: var(--color-blue-dark);
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--color-blue-royal);
    padding-left: 4px;
}

.footer-bottom {
    max-width: 1300px;
    margin: 0 auto;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

@media (max-width: 767px) {
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Service Detail & Animation Helpers */
.service-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
    outline: none !important;
    border: none !important;
    transition: var(--transition-smooth);
}

.service-card-link:focus, .service-card-link:active, .service-card-link:hover {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

.service-card-link * {
    outline: none !important;
}

.pipeline-step {
    transition: var(--transition-smooth);
}

.pipeline-step:hover {
    transform: translateY(-5px);
    border-color: var(--color-blue-royal) !important;
    box-shadow: 0 15px 35px -10px rgba(37, 99, 235, 0.12) !important;
}

/* React Bits - StrokeText Component Styles */
.stroke-text {
  display: block;
  width: 100%;
  line-height: 0;
}

.stroke-text--hover {
  cursor: pointer;
}

.stroke-text__svg {
  display: block;
  width: 100%;
  height: var(--stroke-text-height, 160px);
}

.stroke-text__stroke,
.stroke-text__fill {
  user-select: none;
}

/* React Bits - ScrollExpand Component Styles */
.scroll-expand {
  position: relative;
  width: 100%;
  height: 100%;
}

.scroll-expand--scroller {
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior: contain;
}

.scroll-expand--scroller::-webkit-scrollbar {
  display: none;
}

.scroll-expand__track {
  position: relative;
  width: 100%;
}

.scroll-expand__stage {
  position: sticky;
  top: 0;
  width: 100%;
  overflow: hidden;
  --se-title-size: 4rem;
}

.scroll-expand__frame {
  position: absolute;
  inset: 0;
  clip-path: inset(21% 29% 21% 29% round 24px);
  will-change: clip-path;
}

.scroll-expand__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
  transform-origin: center;
  user-select: none;
  -webkit-user-drag: none;
}

.scroll-expand__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.1) 45%, rgba(0, 0, 0, 0.35));
  opacity: 0;
}

.scroll-expand__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6%;
  opacity: 0;
  will-change: opacity, transform;
}

.scroll-expand__title {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 6%;
  text-align: center;
  font-size: var(--se-title-size);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
  pointer-events: none;
  will-change: opacity, transform;
}

.scroll-expand__hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.25rem;
  text-align: center;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.55);
  pointer-events: none;
  will-change: opacity, transform;
}

/* ==========================================================================
   FUTURISTIC AI INTERACTIVE COMPONENTS & DESIGN TOKENS
   ========================================================================== */

/* Glowing Pulse Indicator */
.pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* 3D Spotlight Card Effect */
.spotlight-card {
    position: relative;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s ease;
    box-shadow: var(--shadow-premium);
}

.spotlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(37, 99, 235, 0.08), transparent 40%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.spotlight-card:hover::before {
    opacity: 1;
}

.spotlight-card:hover {
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 20px 45px -10px rgba(37, 99, 235, 0.12);
}

/* AI Interactive Terminal Simulator */
.ai-terminal {
    background: #ffffff;
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: 20px;
    box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(37, 99, 235, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.terminal-header {
    background: #f8fafc;
    border-bottom: 1px solid rgba(37, 99, 235, 0.08);
    padding: 0.9rem 1.4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.terminal-dots {
    display: flex;
    gap: 6px;
}

.terminal-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.terminal-body {
    padding: 2rem;
}

.terminal-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.chip-btn {
    background: var(--bg-accent);
    color: var(--color-blue-royal);
    border: 1px solid rgba(37, 99, 235, 0.15);
    padding: 0.45rem 1rem;
    border-radius: 99px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.chip-btn:hover, .chip-btn.active {
    background: var(--color-blue-royal);
    color: #ffffff;
    border-color: var(--color-blue-royal);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.terminal-console {
    background: #070a12;
    color: #e2e8f0;
    border-radius: 12px;
    padding: 1.4rem 1.6rem;
    font-family: 'Fira Code', 'Courier New', Courier, monospace;
    font-size: 0.88rem;
    line-height: 1.65;
    min-height: 195px;
    box-shadow: inset 0 2px 14px rgba(0,0,0,0.65), 0 0 25px rgba(37, 99, 235, 0.05);
    position: relative;
    border: 1px solid rgba(37, 99, 235, 0.12);
}

.terminal-prompt-line {
    color: #94a3b8;
    margin-bottom: 0.9rem;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.4rem;
    font-weight: 600;
}

.term-host {
    color: #10b981;
    text-shadow: 0 0 8px rgba(16, 185, 129, 0.3);
}

.term-cmd {
    color: #38bdf8;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(56, 189, 248, 0.3);
}

.term-flag {
    color: #fbbf24;
}

.term-val {
    color: #fb923c;
}

.term-cursor {
    color: #38bdf8;
    font-weight: 700;
    margin-left: 2px;
    animation: termCursorBlink 0.9s infinite steps(1);
}

@keyframes termCursorBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.terminal-output-text {
    color: #f1f5f9;
    white-space: pre-line;
    font-size: 0.84rem;
    line-height: 1.7;
}

.term-log-step {
    color: #38bdf8;
    font-weight: 700;
}

.term-log-ai {
    color: #ec4899;
    font-weight: 700;
}

.term-log-success {
    color: #10b981;
    font-weight: 800;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

/* Infinite Tech Stack Marquee */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 2.5rem 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.marquee-container::before,
.marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-secondary), transparent);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-secondary), transparent);
}

.marquee-track {
    display: inline-flex;
    gap: 4.5rem;
    animation: marqueeScroll 65s linear infinite;
    will-change: transform;
}

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

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-secondary);
    opacity: 0.85;
    transition: var(--transition-smooth);
}

.marquee-item:hover {
    color: var(--color-blue-royal);
    opacity: 1;
}

/* Interactive ROI Calculator */
.roi-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3.5rem;
    box-shadow: var(--shadow-premium);
}

.roi-slider-container {
    margin-bottom: 2rem;
}

.roi-slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.roi-slider {
    width: 100%;
    height: 8px;
    border-radius: 99px;
    background: #e2e8f0;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.roi-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-blue-royal);
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.35);
    border: 3px solid #ffffff;
}

.roi-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .roi-stats-grid {
        grid-template-columns: 1fr;
    }
}

.roi-stat-box {
    background: var(--bg-accent);
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: 16px;
    padding: 1.8rem 1.4rem;
    text-align: center;
}

.roi-stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--color-blue-dark);
    margin-bottom: 0.3rem;
}

/* Battle Card Comparison Table */
.comparison-table-wrapper {
    overflow-x: auto;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: var(--shadow-premium);
    background: var(--bg-secondary);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.comparison-table th, .comparison-table td {
    padding: 1.4rem 1.8rem;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background: var(--bg-primary);
    font-size: 1.1rem;
    font-weight: 700;
}

.comparison-table th.highlight-col, .comparison-table td.highlight-col {
    background: #f0f7ff;
    color: var(--color-blue-dark);
    font-weight: 600;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

/* FAQ Accordion */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

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

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-blue-dark);
    user-select: none;
}

.faq-question:hover {
    color: var(--color-blue-royal);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
    padding: 0 2rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-item.active {
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 10px 30px -10px rgba(37, 99, 235, 0.08);
}

.faq-item.active .faq-answer {
    max-height: 250px;
    padding-bottom: 1.5rem;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Bento Grid System */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 991px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
}

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

@media (max-width: 991px) {
    .bento-span-2 {
        grid-column: span 1;
    }
}

/* ==========================================================================
   ANIMATED HAND-DRAWN BRUSH UNDERLINE & SERVICE IMAGE CARDS
   ========================================================================== */

.highlight-underline-wrapper {
    position: relative;
    display: inline-block;
    color: var(--color-blue-dark);
    white-space: nowrap;
}

.hand-drawn-underline {
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 18px;
    overflow: visible;
    pointer-events: none;
    z-index: 2;
}

.underline-path {
    stroke: #f97316; /* Vibrant Coral / Orange matching reference */
    stroke-width: 5;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
}

/* Service Stock Image Frame & Badges */
.service-image-cover {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 1.2rem;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.spotlight-card:hover .service-image-cover {
    transform: scale(1.03);
}

.subservice-pill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.subservice-pill {
    background: var(--bg-accent);
    color: var(--color-blue-dark);
    border: 1px solid rgba(37, 99, 235, 0.12);
    padding: 0.35rem 0.85rem;
    border-radius: 99px;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.subservice-pill:hover {
    background: var(--color-blue-royal);
    color: #ffffff !important;
    border-color: var(--color-blue-royal);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.subservice-pill i.fa-arrow-up-right-from-square {
    font-size: 0.68rem;
    opacity: 0.7;
    transition: transform 0.2s ease;
}

.subservice-pill:hover i.fa-arrow-up-right-from-square {
    opacity: 1;
    transform: translate(1px, -1px);
}

/* ==========================================================================
   REACT BITS: SHINY TEXT, MAGNET, STAR BORDER, DECRYPTED TEXT
   ========================================================================== */

/* Shiny Text Sheen Sweep */
.shiny-text {
    background: linear-gradient(
        120deg,
        rgba(30, 58, 138, 0.8) 0%,
        rgba(37, 99, 235, 1) 25%,
        #60a5fa 50%,
        rgba(37, 99, 235, 1) 75%,
        rgba(30, 58, 138, 0.8) 100%
    );
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shinyTextSweep 3.5s linear infinite;
    display: inline-block;
}

@keyframes shinyTextSweep {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* Decrypted Text Styling */
.decrypted-text {
    display: inline-block;
    font-family: var(--font-heading);
    cursor: default;
    user-select: none;
}

/* Magnetic Button Wrapper */
.magnet-btn {
    display: inline-block;
    transition: transform 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform;
}

/* Star Border Button Effect */
.star-border-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    border-radius: 99px;
    background: linear-gradient(90deg, #2563eb, #f97316, #10b981, #2563eb);
    background-size: 300% 300%;
    animation: starBorderRotate 4s ease infinite;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.25);
}

@keyframes starBorderRotate {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.star-border-btn > * {
    background: #ffffff;
    border-radius: 99px;
    padding: 0.9rem 2.2rem;
    font-weight: 700;
    color: var(--color-blue-dark);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: var(--transition-smooth);
}

.star-border-btn:hover > * {
    background: var(--bg-accent);
    color: var(--color-blue-royal);
}

/* ==========================================================================
   3D LOGO FLIP LOADING SCREEN STYLES
   ========================================================================== */
#premium-loader.logo-flip-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #ffffff;
    z-index: 999999;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader-flip-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    text-align: center;
}

.logo-flip-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    perspective: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-flip-glow {
    position: absolute;
    inset: -24px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.3) 0%, rgba(249, 115, 22, 0.18) 45%, transparent 70%);
    border-radius: 50%;
    animation: pulseLoaderGlow 1.8s ease-in-out infinite alternate;
    pointer-events: none;
    filter: blur(8px);
}

@keyframes pulseLoaderGlow {
    0% { transform: scale(0.85); opacity: 0.5; }
    100% { transform: scale(1.18); opacity: 0.95; }
}

.logo-flip-card {
    width: 105px;
    height: 105px;
    border-radius: 22px;
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.25), 0 0 0 1px rgba(37, 99, 235, 0.12);
    transform-style: preserve-3d;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    will-change: transform;
}

.logo-flip-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 14px;
    filter: contrast(1.2) brightness(1.08) drop-shadow(0 2px 8px rgba(37, 99, 235, 0.15));
    image-rendering: -webkit-optimize-contrast;
}

.loader-brand-title {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.loader-progress-bar {
    width: 180px;
    height: 4px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 99px;
    overflow: hidden;
    position: relative;
}

.loader-progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #2563eb, #f97316);
    border-radius: 99px;
    will-change: width;
}

/* ==========================================================================
   Luxury Comparison Table Component
   ========================================================================== */
.comparison-table-wrapper {
    background: #ffffff;
    border-radius: 24px;
    overflow-x: auto;
    box-shadow: 0 20px 45px -12px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.1);
    margin: 2rem 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 680px;
}

.comparison-table thead {
    background: #f8fafc;
    border-bottom: 2px solid rgba(37, 99, 235, 0.08);
}

.comparison-table th {
    padding: 1.6rem 2.2rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-blue-dark);
    font-family: var(--font-heading);
    letter-spacing: -0.2px;
}

.comparison-table th.highlight-col {
    background: rgba(239, 246, 255, 0.95);
    color: var(--color-blue-royal);
    border-left: 2px solid rgba(37, 99, 235, 0.15);
    border-right: 2px solid rgba(37, 99, 235, 0.15);
}

.comparison-table td {
    padding: 1.8rem 2.2rem;
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.7;
    border-bottom: 1px solid rgba(226, 232, 240, 0.7);
    vertical-align: middle;
}

.comparison-table td.highlight-col {
    background: rgba(239, 246, 255, 0.5);
    border-left: 2px solid rgba(37, 99, 235, 0.15);
    border-right: 2px solid rgba(37, 99, 235, 0.15);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover td {
    background: rgba(241, 245, 249, 0.5);
}

.comparison-table tr:hover td.highlight-col {
    background: rgba(239, 246, 255, 0.85);
}

.tech-stack-pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
}

.comparison-table .subservice-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.42rem 0.9rem;
    background: rgba(239, 246, 255, 0.85);
    border: 1px solid rgba(37, 99, 235, 0.14);
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-blue-dark);
    white-space: nowrap;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.comparison-table .subservice-pill:hover {
    background: var(--color-blue-royal);
    color: #ffffff;
    border-color: var(--color-blue-royal);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

/* ==========================================================================
   Free AI & SEO Audit Tool, Sidebar & FAQ Accordion Components
   ========================================================================== */

.tools-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1.2rem;
    background: rgba(37, 99, 235, 0.08);
    color: var(--color-blue-royal);
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.faq-accordion-group {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

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

.faq-item:hover {
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.faq-trigger {
    width: 100%;
    text-align: left;
    padding: 1.2rem 1.5rem;
    background: none;
    border: none;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--color-blue-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: var(--transition-smooth);
}

.faq-trigger:hover {
    color: var(--color-blue-royal);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0 1.5rem;
}

.faq-content p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
    padding-bottom: 1.2rem;
    margin: 0;
}

@media (max-width: 992px) {
    .sidebar-wrapper {
        margin-bottom: 2.5rem;
    }
    div[style*="grid-template-columns: 340px 1fr"],
    div[style*="grid-template-columns: 320px 1fr"] {
        grid-template-columns: 1fr !important;
    }
    div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================================
   ADVANCED TEXT EFFECTS & REACT BITS TYPOGRAPHY
   ========================================================================== */

.stroke-text {
    display: inline-block;
    position: relative;
    vertical-align: middle;
    width: 100%;
    max-width: 100%;
}

.stroke-text__svg {
    display: block;
    width: 100%;
    height: auto;
    max-height: var(--stroke-text-height, 90px);
    overflow: visible;
    margin: 0 auto;
}

.stroke-text-heading {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    line-height: 1.15;
}

/* ==========================================================================
   HERO TRUST PILL STRIP & GUARANTEE BADGES
   ========================================================================== */

.hero-trust-strip {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2.2rem;
}

.trust-pill-item {
    background: #ffffff;
    border: 1px solid rgba(37, 99, 235, 0.12);
    padding: 0.45rem 0.95rem;
    border-radius: 99px;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.04);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--color-blue-dark);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.trust-pill-item:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.08);
}

.trust-pill-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.shiny-text {
    background: linear-gradient(120deg, #1e3a8a 0%, #2563eb 25%, #60a5fa 50%, #2563eb 75%, #1e3a8a 100%);
    background-size: 250% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shiny-text-shimmer 4s ease-in-out infinite;
    display: inline-block;
}

@keyframes shiny-text-shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.text-glow-word {
    position: relative;
    display: inline-block;
    color: var(--color-blue-dark);
    transition: all 0.3s ease;
}

.text-glow-word:hover {
    color: var(--color-blue-royal);
    text-shadow: 0 0 20px rgba(37, 99, 235, 0.25);
    transform: translateY(-2px);
}

.highlight-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.75rem;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: var(--color-blue-royal);
    border-radius: 99px;
    font-size: 0.6em;
    vertical-align: middle;
    letter-spacing: 0.05em;
    font-weight: 800;
    margin-left: 0.3rem;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}

.dynamic-word-cycler {
    display: inline-block;
    color: var(--color-blue-royal);
    font-weight: 800;
    position: relative;
    border-bottom: 2px dashed rgba(37, 99, 235, 0.3);
    padding-bottom: 2px;
}

.hero-effect-title {
    font-family: var(--font-heading);
    letter-spacing: -0.025em;
    text-wrap: balance;
}

/* ==========================================================================
   VISUAL AI GROWTH COMMAND CENTER & LIVE SIMULATOR (LAYMAN-FRIENDLY)
   ========================================================================== */

.ai-growth-dashboard {
    background: #ffffff;
    border-radius: 28px;
    border: 1px solid rgba(37, 99, 235, 0.14);
    box-shadow: 0 25px 60px -15px rgba(37, 99, 235, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    overflow: hidden;
    width: 100%;
    max-width: 580px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ai-growth-dashboard:hover {
    box-shadow: 0 30px 70px -15px rgba(37, 99, 235, 0.18);
}

.dashboard-topbar {
    padding: 1rem 1.4rem;
    background: rgba(239, 246, 255, 0.6);
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-status-indicator {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--color-blue-dark);
}

.dashboard-pulse-orb {
    width: 10px;
    height: 10px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: dashboard-pulse 2s infinite;
}

@keyframes dashboard-pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.dashboard-speed-badge {
    padding: 0.25rem 0.75rem;
    background: #ffffff;
    border-radius: 99px;
    border: 1px solid rgba(37, 99, 235, 0.15);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-blue-royal);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.dashboard-body {
    padding: 1.6rem 1.5rem;
}

.dashboard-tabs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
    margin-bottom: 1.4rem;
}

.dashboard-tab-btn {
    padding: 0.75rem 0.9rem;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-blue-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: left;
}

.dashboard-tab-btn:hover {
    background: rgba(239, 246, 255, 0.8);
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateY(-1px);
}

.dashboard-tab-btn.active {
    background: var(--color-blue-royal);
    color: #ffffff;
    border-color: var(--color-blue-royal);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.dashboard-tab-btn.active i {
    color: #ffffff !important;
}

.visual-pipeline-container {
    background: #f8fafc;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 18px;
    padding: 1.2rem;
    margin-bottom: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.visual-step-row {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.75rem 0.9rem;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.visual-step-row:hover {
    border-color: rgba(37, 99, 235, 0.25);
    transform: translateX(3px);
}

.visual-step-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--color-blue-royal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.visual-step-content {
    flex-grow: 1;
}

.visual-step-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.15rem;
}

.visual-step-label strong {
    font-size: 0.88rem;
    color: var(--color-blue-dark);
}

.visual-step-tag {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border-radius: 99px;
}

.visual-step-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.live-outcome-toast {
    padding: 0.85rem 1rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(37, 99, 235, 0.06));
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    animation: toast-glow 3s ease-in-out infinite alternate;
}

@keyframes toast-glow {
    0% { border-color: rgba(16, 185, 129, 0.25); box-shadow: 0 4px 12px rgba(16, 185, 129, 0.05); }
    100% { border-color: rgba(37, 99, 235, 0.35); box-shadow: 0 6px 18px rgba(37, 99, 235, 0.1); }
}

.toast-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #10b981;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.toast-info strong {
    font-size: 0.88rem;
    color: var(--color-blue-dark);
    display: block;
}

.toast-info span {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.dashboard-kpi-footer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.6rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(226, 232, 240, 0.7);
    text-align: center;
}

.dashboard-kpi-footer .kpi-num {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-blue-dark);
    font-family: var(--font-heading);
}

.dashboard-kpi-footer .kpi-lbl {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 0.1rem;
}

/* ==========================================================================
   COMPREHENSIVE MOBILE & RESPONSIVE SUITE
   ========================================================================== */

/* Enhanced Mobile Menu Drawer (NextLeap Structure) */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu-inner {
    max-width: 520px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem 6.5rem;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    background: #ffffff;
}

.mobile-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.mobile-drawer-close {
    background: rgba(37, 99, 235, 0.08);
    color: #2563eb;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    border: 1px solid rgba(37, 99, 235, 0.15);
    cursor: pointer;
    transition: all 0.25s ease;
}

.mobile-drawer-close:hover {
    transform: rotate(90deg);
    background: #2563eb;
    color: #ffffff;
}

.mobile-drawer-nav {
    display: flex;
    flex-direction: column;
}

.drawer-nav-item {
    border-bottom: 1px solid #f1f5f9;
    padding: 0.8rem 0;
}

.drawer-nav-item > a {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

.drawer-nav-item > a:hover {
    color: #2563eb;
    transform: translateX(4px);
}

.drawer-nav-highlight {
    background: rgba(37, 99, 235, 0.06);
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 12px;
    padding: 0.75rem 1rem !important;
    margin: 0.4rem 0;
}

.drawer-nav-highlight > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #2563eb !important;
    font-weight: 800;
}

.drawer-nav-link-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drawer-nav-link-row > a {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
    flex-grow: 1;
    transition: color 0.2s ease;
}

.drawer-nav-link-row > a:hover {
    color: #2563eb;
}

.accordion-toggle-btn {
    background: rgba(37, 99, 235, 0.08);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 0.78rem;
    color: #2563eb;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.has-accordion.open .accordion-toggle-btn {
    background: #2563eb;
    color: #ffffff;
    transform: rotate(180deg);
}

.drawer-submenu {
    display: none;
    padding: 0.5rem 0 0.5rem 0.75rem;
    flex-direction: column;
    gap: 0.35rem;
    border-left: 2px solid #2563eb;
    margin-top: 0.5rem;
    margin-left: 0.4rem;
}

.has-accordion.open .drawer-submenu {
    display: flex;
    animation: fadeInSubmenu 0.25s ease;
}

.drawer-submenu a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    padding: 0.45rem 0.75rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.drawer-submenu a i {
    font-size: 0.82rem;
    color: #2563eb;
    width: 18px;
    text-align: center;
}

.drawer-submenu a:hover {
    background: rgba(37, 99, 235, 0.06);
    color: #2563eb;
    transform: translateX(4px);
}

/* Modern Contact Info Section */
.mobile-drawer-contact {
    margin-top: 1.8rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.drawer-section-title {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.drawer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.85rem;
}

.drawer-contact-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.08);
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.drawer-contact-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.drawer-contact-text label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.drawer-contact-text span,
.drawer-contact-text a {
    font-size: 0.92rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.4;
    text-decoration: none;
    transition: color 0.2s ease;
}

.drawer-contact-text a:hover {
    color: #2563eb;
}

/* Dual Action CTA Buttons */
.drawer-cta-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1.25rem;
    margin-bottom: 1.5rem;
    width: 100%;
}

.drawer-get-started-btn {
    background: var(--color-blue-royal, #2563eb) !important;
    color: #ffffff !important;
    font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif) !important;
    font-weight: 700 !important;
    font-size: 0.92rem !important;
    line-height: 1.2 !important;
    padding: 0.72rem 1.25rem !important;
    border-radius: 99px !important;
    text-decoration: none !important;
    text-align: center !important;
    flex: 1 1 auto;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3) !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    white-space: nowrap !important;
}

.drawer-get-started-btn:hover {
    background: var(--color-blue-dark, #1e3a8a) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4) !important;
}

.drawer-arrow-btn {
    background: rgba(37, 99, 235, 0.08) !important;
    color: #2563eb !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    border: 1px solid rgba(37, 99, 235, 0.2) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.9rem !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
    transition: all 0.2s ease !important;
}

.drawer-arrow-btn:hover {
    background: #2563eb !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* Hide Floating Ask AI Trigger & Widget when Mobile Menu is Active */
body.mobile-menu-open #dh-chat-trigger,
body.mobile-menu-open #digitalhive-chat-widget,
.mobile-menu-overlay.active ~ #dh-chat-trigger,
.mobile-menu-overlay.active ~ #digitalhive-chat-widget {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: scale(0.8) !important;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s !important;
}

/* Touch & Mobile Viewport Rules */
@media (max-width: 991px) {
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 5.5rem;
        gap: 2.5rem;
    }
    
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-trust-strip {
        justify-content: center;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .navbar-container {
        padding: 0.75rem 1.25rem;
    }
    
    .hero-section {
        padding: 5rem 1.25rem 3rem;
    }
    
    .section-wrapper {
        padding: 3.5rem 1.25rem;
    }
    
    .hero-title {
        font-size: 2.3rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.45rem !important;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 340px;
        justify-content: center;
    }
    
    /* Responsive Horizontal Scroll for all comparison tables */
    .comparison-table-wrapper {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 18px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
        margin: 1.5rem 0;
        position: relative;
    }
    
    .comparison-table-wrapper table,
    .comparison-table {
        min-width: 600px;
    }
    
    /* Command center card mobile styling */
    .ai-growth-dashboard {
        padding: 1.25rem;
    }
    
    .dashboard-topbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }
    
    .dashboard-tabs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .dashboard-tab-btn {
        padding: 0.6rem 0.75rem;
        font-size: 0.78rem;
    }
    
    .visual-step-row {
        padding: 0.65rem 0.8rem;
    }
    
    .visual-step-label strong {
        font-size: 0.82rem;
    }
    
    .visual-step-desc {
        font-size: 0.76rem;
    }
    
    .dashboard-kpi-footer {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    /* Audit scanner & Form styling on mobile */
    .audit-card-body,
    .contact-form-container {
        padding: 1.5rem 1rem !important;
    }
    
    input[type="text"],
    input[type="email"],
    input[type="url"],
    input[type="tel"],
    select,
    textarea {
        font-size: 16px !important; /* Prevents auto-zoom in iOS Safari */
    }
    
    /* Footer layout */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 2.5rem;
    }
}

@media (max-width: 480px) {
    .dashboard-tabs-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-badge {
        font-size: 0.76rem;
        padding: 0.4rem 0.8rem;
    }
    
    .trust-pill-item {
        width: 100%;
        justify-content: flex-start;
    }
    
    .stroke-text__svg {
        max-height: 55px;
    }
}

/* ==========================================================================
   RANK SPIDERS COMPATIBLE REVIEW STACK & SERVICE BANNER SUITE
   ========================================================================== */
.review-images {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
}

.review-image {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    margin-left: -12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background: var(--color-blue-royal);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
}

.review-image:first-child {
    margin-left: 0;
}

.review-rating-content {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--color-blue-dark);
    margin-bottom: 0.6rem;
}

.review-rating-content span {
    color: var(--color-blue-royal);
    font-weight: 800;
}

.service-banner-card {
    border-radius: 24px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: var(--shadow-premium);
    margin-bottom: 3rem;
    border: 1px solid var(--border-color);
}

.service-banner-card figure {
    margin: 0;
    width: 100%;
    height: 320px;
    overflow: hidden;
    position: relative;
}

.service-banner-card figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-banner-card:hover figure img {
    transform: scale(1.03);
}

/* ==========================================================================
   DISCOVER OUR MORE SERVICES SIDEBAR WIDGET & PERSISTENT STICKY WRAPPER
   ========================================================================== */
.sidebar-wrapper {
    position: -webkit-sticky;
    position: sticky;
    top: min(95px, calc(100vh - 100% - 25px));
    align-self: start;
    z-index: 20;
}

@media (max-width: 992px) {
    .sidebar-wrapper {
        position: static;
    }
}

/* ==========================================================================
   EXECUTIVE SEO AUDIT SCORECARD DASHBOARD
   ========================================================================== */
.audit-metrics-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.85rem;
    text-align: center;
}

@media (max-width: 992px) {
    .audit-metrics-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .audit-metrics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.discover-services-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    margin-bottom: 2rem;
}

/* Sidebar 2.5k+ Reviews Card */
.sidebar-review-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    padding: 2.2rem 1.8rem;
    margin-bottom: 2rem;
}

.sidebar-avatar-stack {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.sidebar-avatar-item {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.95rem;
    margin-left: -12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

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

.sidebar-avatar-item.blue { background: #2563eb; }
.sidebar-avatar-item.cyan { background: #0ea5e9; }
.sidebar-avatar-item.emerald { background: #10b981; }

.sidebar-review-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #1e1b4b;
    margin-bottom: 0.4rem;
    line-height: 1.4;
    font-family: var(--font-heading);
}

.sidebar-review-title span {
    color: var(--color-blue-royal);
}

.sidebar-stars-row {
    color: #f59e0b;
    font-size: 1.05rem;
    display: flex;
    gap: 0.2rem;
    margin-bottom: 0.7rem;
}

.sidebar-review-desc {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 1.3rem;
}

.sidebar-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-bottom: 1.4rem;
}

.sidebar-stat-box {
    padding: 1rem 0.8rem;
    background: #f8fafc;
    border-radius: 14px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    text-align: center;
}

.sidebar-stat-val {
    font-size: 1.55rem;
    font-weight: 800;
    font-family: var(--font-heading);
    line-height: 1.2;
}

.sidebar-stat-lbl {
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-top: 0.2rem;
}

.sidebar-phone-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.95rem;
    border-radius: 99px;
    background: var(--color-blue-royal);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.96rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
    transition: all 0.2s ease;
}

.sidebar-phone-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

/* Sidebar Headquarters Card */
.sidebar-hq-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    padding: 1.8rem;
}

.sidebar-hq-header {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--color-blue-royal);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.6rem;
}

.sidebar-hq-address {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

.sidebar-hq-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--color-blue-royal);
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.sidebar-hq-link:hover {
    color: #1d4ed8;
}

.discover-services-header {
    background: #f8fafc;
    padding: 1.25rem 1.6rem;
    border-bottom: 1px solid #f1f5f9;
}

.discover-services-header h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-blue-dark);
    margin: 0;
    letter-spacing: -0.01em;
    font-family: var(--font-heading);
}

.discover-services-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.discover-services-list li {
    border-bottom: 1px solid #f1f5f9;
}

.discover-services-list li:last-child {
    border-bottom: none;
}

.discover-services-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.95rem 1.6rem;
    color: #334155;
    font-size: 0.96rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.discover-services-link .service-link-arrow {
    color: #94a3b8;
    font-size: 0.92rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

.discover-services-link:hover {
    color: var(--color-blue-royal);
    background: rgba(248, 250, 252, 0.8);
    padding-left: 1.75rem;
}

.discover-services-link:hover .service-link-arrow {
    color: var(--color-blue-royal);
    transform: translateX(4px);
}

.discover-services-link.active {
    color: #d97706 !important;
    font-weight: 700;
    background: rgba(254, 243, 199, 0.25);
}

.discover-services-link.active .service-link-arrow {
    color: #d97706 !important;
    transform: translateX(3px);
}

/* ==========================================================================
   LUXURY DARK FOOTER SUITE (RANKSPIEDERS ARCHITECTURE)
   ========================================================================== */
.luxury-footer {
    background: #090812;
    color: #e2e8f0;
    position: relative;
    overflow: hidden;
    font-family: var(--font-body);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-contact-bar {
    padding: 2.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-contact-grid {
    display: grid;
    grid-template-columns: 1.15fr 1.2fr 1.65fr;
    gap: 2.5rem;
    align-items: center;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-brand-top {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-brand-logo {
    height: 48px;
    width: auto;
    border-radius: 8px;
    filter: contrast(1.15) brightness(1.05) drop-shadow(0 4px 12px rgba(37,99,235,0.25));
}

.footer-brand-text h2 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.02em;
    font-family: var(--font-heading);
}

.footer-brand-text p {
    font-size: 0.75rem;
    color: #94a3b8;
    margin: 0.2rem 0 0;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 1.1rem;
}

.footer-contact-divider {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 2.2rem;
}

.footer-contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.footer-contact-info a {
    display: block;
    color: #cbd5e1;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.45;
    transition: color 0.2s ease;
}

.footer-contact-info a:hover {
    color: #ffffff;
}

.footer-contact-info p {
    margin: 0;
    color: #94a3b8;
    font-size: 0.85rem;
    line-height: 1.45;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 1.45fr 0.85fr 0.85fr 0.85fr;
    gap: 3.5rem;
    max-width: 1320px;
    margin: 0 auto;
    padding: 4rem 1.5rem 3.5rem;
}

.footer-col h3 {
    font-size: 1.18rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.4rem;
    font-family: var(--font-heading);
    letter-spacing: -0.01em;
}

.footer-newsletter-box {
    display: flex;
    background: #141224;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 0.85rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.footer-newsletter-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.85rem 1.2rem;
    color: #ffffff;
    font-size: 0.92rem;
    outline: none;
}

.footer-newsletter-input::placeholder {
    color: #64748b;
}

.footer-newsletter-btn {
    background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%);
    color: #ffffff;
    border: none;
    padding: 0.8rem 1.5rem;
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    border-radius: 8px;
    margin: 4px;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-newsletter-btn:hover {
    opacity: 0.92;
    transform: scale(1.02);
}

.footer-newsletter-note {
    font-size: 0.84rem;
    color: #94a3b8;
    line-height: 1.55;
    margin-bottom: 1.8rem;
}

.footer-social-row {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.footer-social-row span {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
}

.footer-social-icons {
    display: flex;
    gap: 0.55rem;
}

.footer-social-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #19162e;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-social-icon:hover {
    background: #7c3aed;
    color: #ffffff;
    border-color: #7c3aed;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-links-list a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-links-list a:hover {
    color: #ffffff;
    transform: translateX(3px);
}

/* Bottom Services Matrix & Pill Chips Band */
.footer-matrix-band {
    background: #06050b;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 3rem 0 2.5rem;
}

.footer-matrix-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-pills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 2.5rem;
}

.footer-pill-chip {
    padding: 0.48rem 1.1rem;
    border-radius: 99px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.2s ease;
}

.footer-pill-chip.active,
.footer-pill-chip:hover {
    background: rgba(124, 58, 237, 0.2);
    border-color: #7c3aed;
    color: #c4b5fd;
}

.footer-subservices-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.2rem;
    margin-bottom: 3rem;
}

.footer-subservices-col {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-subservices-col a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-subservices-col a:hover {
    color: #ffffff;
}

.footer-copyright-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.2rem;
    font-size: 0.88rem;
    color: #64748b;
}

@media (max-width: 992px) {
    .footer-contact-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }
    .footer-contact-divider {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding-top: 1.5rem;
    }
    .footer-main-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    .footer-subservices-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.8rem;
    }
}

@media (max-width: 576px) {
    .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-subservices-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .footer-copyright-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==========================================================================
   AIME AI COPILOT FLOATING CHATBOT SUITE
   ========================================================================== */
.aime-chatbot-container {
    position: fixed;
    bottom: 25px;
    right: 25px; /* Clean bottom-right floating trigger */
    z-index: 9999;
}

/* "Got queries?" Floating Speech Prompt Bubble */
.aime-chat-prompt-bubble {
    position: absolute;
    right: calc(100% + 14px);
    bottom: 8px;
    background: #ffffff;
    color: var(--color-blue-dark);
    font-weight: 800;
    font-size: 0.86rem;
    padding: 0.55rem 0.95rem;
    border-radius: 99px;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.16);
    border: 1.5px solid rgba(37, 99, 235, 0.25);
    white-space: nowrap;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    animation: promptBubbleFloat 3s ease-in-out infinite;
    transition: transform 0.25s ease, opacity 0.25s ease, box-shadow 0.25s ease;
    user-select: none;
}

.aime-chat-prompt-bubble:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.28);
}

/* Speech Bubble Tail pointing right toward FAB */
.aime-chat-prompt-bubble::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 8px solid #ffffff;
}

.prompt-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
    display: inline-block;
}

.prompt-text {
    font-family: var(--font-heading);
    letter-spacing: -0.01em;
}

.prompt-close-btn {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 1.05rem;
    line-height: 1;
    padding: 0 0.1rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.prompt-close-btn:hover {
    color: #ef4444;
}

@keyframes promptBubbleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* Floating Action Button (FAB) */
.aime-chat-fab {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e1b4b 0%, #2563eb 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.45);
    border: 2px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.aime-chat-fab:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.6);
}

.chat-fab-pulse {
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 2px solid rgba(37, 99, 235, 0.6);
    animation: chatFabPulse 2.2s infinite;
    pointer-events: none;
}

@keyframes chatFabPulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.25); opacity: 0; }
    100% { transform: scale(1); opacity: 0; }
}

/* Chat Glassmorphic Panel Window */
.aime-chat-panel {
    position: fixed;
    bottom: 95px;
    right: 25px;
    width: 390px;
    max-width: calc(100vw - 30px);
    height: 580px;
    max-height: calc(100vh - 120px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 24px;
    box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(37, 99, 235, 0.06);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.96);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10000;
}

.aime-chat-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Chat Header */
.aime-chat-header {
    background: linear-gradient(135deg, #1e1b4b 0%, #1e3a8a 100%);
    padding: 1.1rem 1.3rem;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.chat-header-left {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.chat-avatar-ring {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #60a5fa;
    position: relative;
}

.avatar-status-dot {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10b981;
    border: 2px solid #1e1b4b;
}

.chat-title-wrap h4 {
    font-size: 0.98rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
}

.chat-model-tag {
    font-size: 0.72rem;
    color: #cbd5e1;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.chat-header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chat-btn-clear,
.chat-btn-close {
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: #ffffff;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: background 0.2s ease;
}

.chat-btn-clear:hover,
.chat-btn-close:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Chat Messages Scroll Container */
.aime-chat-messages {
    flex-grow: 1;
    padding: 1.2rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #f8fafc;
}

.chat-message-row {
    display: flex;
    width: 100%;
}

.chat-message-row.user-row {
    justify-content: flex-end;
}

.chat-message-row.bot-row {
    justify-content: flex-start;
}

.chat-bubble {
    max-width: 86%;
    padding: 0.85rem 1.05rem;
    border-radius: 18px;
    font-size: 0.9rem;
    line-height: 1.55;
    word-break: break-word;
}

.user-bubble {
    background: var(--color-blue-royal);
    color: #ffffff;
    border-bottom-right-radius: 4px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.bot-bubble {
    background: #ffffff;
    color: #1e293b;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.bot-bubble p {
    margin-bottom: 0.5rem;
}

.bot-bubble p:last-child {
    margin-bottom: 0;
}

.bot-bubble ul {
    margin: 0.4rem 0 0.4rem 1.2rem;
    padding: 0;
}

.bot-bubble li {
    margin-bottom: 0.3rem;
}

.chat-inline-link {
    color: var(--color-blue-royal);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.chat-bubble-meta {
    font-size: 0.68rem;
    color: #64748b;
    margin-top: 0.5rem;
    padding-top: 0.3rem;
    border-top: 1px dashed #e2e8f0;
    font-family: monospace;
}

/* Quick Starter Chips */
.chat-quick-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.2rem;
}

.chip-action {
    background: #ffffff;
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: var(--color-blue-royal);
    font-size: 0.76rem;
    font-weight: 700;
    padding: 0.4rem 0.75rem;
    border-radius: 99px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.chip-action:hover {
    background: var(--color-blue-royal);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(37, 99, 235, 0.2);
}

/* Typing Indicator Animation */
.typing-bubble {
    display: flex;
    align-items: center;
    padding: 0.7rem 0.9rem;
}

.typing-dots {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.typing-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-blue-royal);
    animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.typing-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
    0%, 80%, 100% { transform: scale(0); opacity: 0.4; }
    40% { transform: scale(1); opacity: 1; }
}

/* Input Bar */
.aime-chat-input-bar {
    padding: 0.75rem 1rem;
    background: #ffffff;
    border-top: 1px solid rgba(226, 232, 240, 0.9);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.aime-chat-input-bar input {
    flex-grow: 1;
    height: 44px;
    min-height: 44px;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 0 1rem;
    font-size: 0.92rem;
    line-height: 42px;
    color: var(--text-primary);
    background: #f8fafc;
    outline: none;
    font-family: inherit;
    transition: all 0.2s ease;
    overflow: hidden;
}

.aime-chat-input-bar input:focus {
    border-color: var(--color-blue-royal);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.aime-chat-input-bar button {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--color-blue-royal);
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}

.aime-chat-input-bar button:hover {
    background: var(--color-blue-dark);
    transform: scale(1.05);
}

.aime-chat-footer-note {
    padding: 0.35rem 1rem 0.55rem;
    background: #ffffff;
    text-align: center;
    font-size: 0.68rem;
    color: #94a3b8;
    border-top: 1px solid #f1f5f9;
}

@media (max-width: 768px) {
    .aime-chatbot-container {
        right: 18px;
        bottom: 18px;
    }
    
    .aime-chat-panel {
        right: 12px;
        left: 12px;
        width: auto;
        bottom: 80px;
        height: calc(100dvh - 98px);
        max-height: none;
        border-radius: 20px;
    }
}

