/* ==========================================================================
   DreamCRM Theme Main Stylesheet
   Modern SaaS Aesthetic with Responsive Flexbox/Grid Layout & Micro-animations
   ========================================================================== */

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

html, body {
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

body {
    font-family: var(--dreamcrm-font);
    color: var(--dreamcrm-text);
    background-color: #f8fafc;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

html.mobile-menu-open,
body.mobile-menu-open {
    overflow: hidden !important;
    touch-action: none;
}

a {
    color: var(--dreamcrm-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--dreamcrm-primary-hover);
}

.dreamcrm-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --------------------------------------------------------------------------
   Header Top Announcement Ribbon (Non-sticky, scrolls away normally)
   -------------------------------------------------------------------------- */
.dreamcrm-top-announcement {
    background: #090d16;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.45rem 0;
    font-size: 0.8125rem;
    color: #cbd5e1;
    position: relative;
    z-index: 99;
}

.top-announcement-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.announcement-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.announcement-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(79, 70, 229, 0.22);
    border: 1px solid rgba(129, 140, 248, 0.4);
    color: #e0e7ff;
    padding: 0.15rem 0.65rem;
    border-radius: 9999px;
    font-size: 0.725rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    flex-shrink: 0;
}

.pulse-indicator {
    position: relative;
    display: inline-flex;
    width: 7px;
    height: 7px;
}

.pulse-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #10b981;
    opacity: 0.8;
    animation: pulse-wave 2.2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.pulse-core {
    position: relative;
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #34d399;
}

@keyframes pulse-wave {

    70%,
    100% {
        transform: scale(2.6);
        opacity: 0;
    }
}

.announcement-text {
    color: #e2e8f0;
    font-weight: 400;
    font-size: 0.8125rem;
}

.announcement-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #93c5fd;
    font-weight: 600;
    font-size: 0.8125rem;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.announcement-cta:hover {
    color: #ffffff;
}

.announcement-cta .announcement-arrow {
    transition: transform 0.2s ease;
}

.announcement-cta:hover .announcement-arrow {
    transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   Sticky Header Wrapper & Morphing Navbar (Two-State Architecture)
   -------------------------------------------------------------------------- */
.dreamcrm-header-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    pointer-events: none;
}

.dreamcrm-header-wrapper.scrolled {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
}

/* State 1: Top-of-page state (floating card)
   Inset ~20-24px from left, right, and top edges, soft deep drop shadow */
.dreamcrm-header {
    pointer-events: auto;
    width: calc(100% - 48px);
    max-width: 1240px;
    margin: 20px auto 0;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 20px 45px -12px rgba(0, 0, 0, 0.45), 0 0 1px 1px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.9);
    padding: 0.75rem 1.75rem;
    transition: border-radius 320ms cubic-bezier(0.16, 1, 0.3, 1),
        margin 320ms cubic-bezier(0.16, 1, 0.3, 1),
        width 320ms cubic-bezier(0.16, 1, 0.3, 1),
        max-width 320ms cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 320ms cubic-bezier(0.16, 1, 0.3, 1),
        border-color 320ms cubic-bezier(0.16, 1, 0.3, 1),
        padding 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* State 2: Scrolled state (full-width sticky bar)
   Border-radius 0, side margins 0, solid white, thin subtle shadow line */
.dreamcrm-header.scrolled {
    width: 100%;
    max-width: 100%;
    margin: 0;
    border-radius: 0;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
    border-color: #e2e8f0;
    border-left: none;
    border-right: none;
    border-top: none;
    padding: 0.75rem 2rem;
}

.header-container {
    max-width: 1240px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Logo + Wordmark on the Left */
.site-branding {
    display: flex;
    align-items: center;
}

.brand-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.brand-logo-link:hover {
    opacity: 0.92;
}

.brand-logo-img {
    height: 38px !important;
    width: auto;
    max-width: 210px !important;
    display: block;
    object-fit: contain;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.brand-logo-link:hover .brand-logo-img {
    transform: translateY(-1px);
}

.custom-logo-wrap {
    display: flex;
    align-items: center;
}

.custom-logo-wrap img {
    height: 38px;
    width: auto;
    max-width: 210px;
    display: block;
    object-fit: contain;
}

.brand-logo-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--dreamcrm-primary) 0%, #4338ca 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
    flex-shrink: 0;
}

.brand-wordmark {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    color: #0f172a;
}

/* Pill-shaped Center Nav with Sliding Gradient Highlight */
.main-navigation {
    display: flex;
    align-items: center;
}

.nav-pill-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    padding: 3px;
}

.nav-sliding-indicator {
    position: absolute;
    top: 3px;
    left: 0;
    height: calc(100% - 6px);
    border-radius: 9999px;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.35);
    transition: transform 320ms cubic-bezier(0.34, 1.56, 0.64, 1),
        width 320ms cubic-bezier(0.34, 1.56, 0.64, 1),
        opacity 200ms ease;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
}

.nav-menu {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    list-style: none;
    gap: 0;
    margin: 0;
    padding: 0;
}

.nav-menu .nav-item,
.nav-menu li {
    position: relative;
    display: inline-block;
    margin: 0;
    padding: 0;
}

.nav-menu .nav-link,
.nav-menu li a {
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.44rem 1.15rem;
    border-radius: 9999px;
    color: #475569;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 250ms ease;
    white-space: nowrap;
}

.nav-menu .nav-link:hover,
.nav-menu li a:hover {
    color: #0f172a;
}

.nav-menu .nav-link.active,
.nav-menu li.current-menu-item>a,
.nav-menu li a.active {
    color: #ffffff !important;
}

/* Header Actions on the Right: Sign In + Solid Gradient Create Free Demo button */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.header-cart-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0.5rem 0.75rem;
    color: #475569;
    text-decoration: none;
    border-radius: 9999px;
    background: rgba(241, 245, 249, 0.8);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-cart-icon-btn:hover {
    color: var(--dreamcrm-primary, #4f46e5);
    background: rgba(238, 242, 255, 0.95);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.12);
}

.cart-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cart-icon-svg {
    stroke: currentColor;
    transition: stroke 0.2s ease;
}

.cart-badge-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
    border: 2px solid #ffffff;
}

.header-signin-link {
    color: #475569;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.5rem 0.85rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.header-signin-link:hover {
    color: var(--dreamcrm-primary);
}

.btn-create-demo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.4rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 650;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
    text-decoration: none;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
    white-space: nowrap;
}

.btn-create-demo:hover {
    transform: translateY(-1.5px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.45);
    color: #ffffff;
}

/* Mobile Hamburger Toggle */
.mobile-menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
}

.mobile-menu-toggle:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.hamburger-box {
    width: 20px;
    height: 14px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--dreamcrm-dark);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-menu-toggle.is-active .line-1 {
    transform: translateY(6px) rotate(45deg);
}

.mobile-menu-toggle.is-active .line-2 {
    opacity: 0;
}

.mobile-menu-toggle.is-active .line-3 {
    transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Navigation Sidebar Drawer (Offcanvas) */
.mobile-navigation-drawer {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: min(330px, 86vw) !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: #ffffff !important;
    z-index: 100000 !important;
    box-shadow: -10px 0 40px rgba(15, 23, 42, 0.2) !important;
    display: flex !important;
    flex-direction: column !important;
    transform: translateX(105%) !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    overflow: hidden !important;
    padding: 0 !important;
    border: none !important;
    box-sizing: border-box !important;
    pointer-events: none;
}

.mobile-navigation-drawer.is-open {
    transform: translateX(0) !important;
    pointer-events: auto !important;
}

.mobile-drawer-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 1.15rem 1.25rem 1rem !important;
    border-bottom: 1px solid #f1f5f9 !important;
    background: #ffffff !important;
    flex-shrink: 0 !important;
}

.mobile-drawer-brand {
    display: flex !important;
    align-items: center !important;
}

.mobile-brand-logo,
.mobile-drawer-brand img {
    height: 32px !important;
    max-width: 155px !important;
    width: auto !important;
    object-fit: contain !important;
    display: block !important;
}

.mobile-drawer-close {
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #475569 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
}

.mobile-drawer-close:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
}

.mobile-drawer-body {
    flex: 1 1 auto !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 1rem 1.15rem !important;
}

.mobile-nav-menu {
    list-style: none !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.4rem !important;
    margin: 0 !important;
    padding: 0 !important;
}

.mobile-nav-menu li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.mobile-nav-link,
.mobile-nav-menu li a {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 0.75rem 0.95rem !important;
    border-radius: 10px !important;
    color: #334155 !important;
    font-size: 0.925rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    background: #f8fafc !important;
    border: 1px solid #f1f5f9 !important;
    transition: all 0.2s ease !important;
}

.mobile-nav-link svg,
.mobile-nav-menu li a svg {
    flex-shrink: 0 !important;
    color: #64748b !important;
    transition: color 0.2s ease !important;
}

.mobile-nav-link:hover,
.mobile-nav-link.active,
.mobile-nav-menu li a:hover,
.mobile-nav-menu li.current-menu-item > a {
    background: #eef2ff !important;
    color: #4f46e5 !important;
    border-color: #c7d2fe !important;
}

.mobile-nav-link:hover svg,
.mobile-nav-link.active svg,
.mobile-nav-menu li a:hover svg,
.mobile-nav-menu li.current-menu-item > a svg {
    color: #4f46e5 !important;
}

.mobile-drawer-footer {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.65rem !important;
    padding: 1rem 1.15rem 1.5rem !important;
    border-top: 1px solid #f1f5f9 !important;
    background: #ffffff !important;
    flex-shrink: 0 !important;
}

.btn-block {
    width: 100% !important;
    justify-content: center !important;
    padding: 0.75rem 1rem !important;
}

/* Mobile Drawer Backdrop */
.mobile-drawer-backdrop {
    display: block !important;
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(15, 23, 42, 0.55) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    backdrop-filter: blur(4px) !important;
    z-index: 99999 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.25s ease !important;
}

.mobile-drawer-backdrop.is-visible {
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* --------------------------------------------------------------------------
   Buttons & Micro-interactions
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.65rem 1.25rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.btn-primary {
    background: var(--dreamcrm-primary);
    color: #ffffff;
    box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.35);
}

.btn-primary:hover {
    background: var(--dreamcrm-primary-hover);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px 0 rgba(79, 70, 229, 0.45);
}

.btn-secondary {
    background: var(--dreamcrm-gray-100);
    color: var(--dreamcrm-dark);
    border-color: var(--dreamcrm-gray-300);
}

.btn-secondary:hover {
    background: var(--dreamcrm-gray-200);
}

.btn-success {
    background: #10b981;
    color: #ffffff;
    box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.35);
}

.btn-success:hover {
    background: #059669;
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-lg {
    padding: 0.85rem 1.75rem;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 0.45rem 0.9rem;
    font-size: 0.875rem;
}

.btn-block {
    width: 100%;
}

/* --------------------------------------------------------------------------
   Hero Section & Registration Form Card (CRM Platform Background)
   -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    margin-top: -92px;
    padding-top: 140px;
    padding-bottom: 5.5rem;
    background-color: #07090e;
    background-image:
        linear-gradient(180deg, rgba(7, 9, 14, 0.82) 0%, rgba(7, 9, 14, 0.68) 35%, rgba(7, 9, 14, 0.94) 100%),
        radial-gradient(ellipse 75% 55% at 50% 15%, rgba(79, 70, 229, 0.26), transparent 70%),
        url('../images/crm-hero-bg.jpg');
    background-size: 100% 100%, 100% 100%, cover;
    background-position: center top, center top, center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 75% 35%, rgba(6, 182, 212, 0.14), transparent 55%),
        radial-gradient(circle at 25% 65%, rgba(124, 58, 237, 0.16), transparent 55%);
    pointer-events: none;
    z-index: 1;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(79, 70, 229, 0.2);
    color: #c7d2fe;
    border: 1px solid rgba(129, 140, 248, 0.35);
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #38bdf8;
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.8);
    border-radius: 50%;
    display: inline-block;
}

.hero-title {
    font-size: 2.85rem;
    font-weight: 850;
    line-height: 1.18;
    color: #ffffff;
    margin-bottom: 1.25rem;
    letter-spacing: -0.025em;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #94a3b8;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-features-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #cbd5e1;
    font-weight: 500;
}

.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: rgba(34, 197, 94, 0.18);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.35);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: bold;
}

/* Active Browser Session Banner */
.active-session-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    padding: 0.85rem 1.15rem;
    margin-bottom: 1.25rem;
    color: #1e40af;
}

.active-session-banner .banner-icon {
    font-size: 1.4rem;
}

.active-session-banner .banner-info {
    flex: 1;
    font-size: 0.875rem;
}

.active-session-banner .banner-info p {
    font-size: 0.8rem;
    color: #3b82f6;
    margin: 0;
}

.registration-card {
    background: var(--dreamcrm-card-bg);
    border: 1px solid var(--dreamcrm-gray-200);
    border-radius: 16px;
    padding: 2.25rem;
    box-shadow: var(--dreamcrm-shadow);
}

.card-header {
    margin-bottom: 1.75rem;
}

.card-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dreamcrm-dark);
    margin-bottom: 0.35rem;
}

.card-header p {
    font-size: 0.9rem;
    color: var(--dreamcrm-gray-600);
}

.dreamcrm-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dreamcrm-dark);
}

.required {
    color: #ef4444;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 0.85rem;
    font-size: 0.95rem;
    pointer-events: none;
    opacity: 0.7;
}

.form-control {
    width: 100%;
    padding: 0.75rem 0.85rem 0.75rem 2.5rem;
    border: 1px solid var(--dreamcrm-gray-300);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--dreamcrm-text);
    background: #ffffff;
    transition: all 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--dreamcrm-primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

/* Alert Boxes */
.alert-box {
    padding: 0.85rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.4;
}

.alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

/* Spinner */
.spinner-svg {
    animation: rotate 1.5s linear infinite;
    width: 20px;
    height: 20px;
}

.spinner-svg .path {
    stroke: #ffffff;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }

    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

/* Success Card Rendered via JS */
.success-card-content {
    text-align: center;
    padding: 1rem 0;
}

.success-icon-badge {
    width: 60px;
    height: 60px;
    background: #dcfce7;
    color: #16a34a;
    border-radius: 50%;
    font-size: 1.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.success-card-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dreamcrm-dark);
    margin-bottom: 0.5rem;
}

.success-card-content p {
    font-size: 0.95rem;
    color: var(--dreamcrm-gray-600);
    margin-bottom: 1.5rem;
}

.site-url-box {
    background: var(--dreamcrm-gray-100);
    border: 1px solid var(--dreamcrm-gray-200);
    border-radius: 8px;
    padding: 0.85rem;
    margin-bottom: 1.5rem;
    word-break: break-all;
}

.url-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--dreamcrm-gray-600);
    letter-spacing: 0.05em;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.site-url-box code {
    font-family: monospace;
    font-size: 0.95rem;
    color: var(--dreamcrm-primary);
    font-weight: 600;
}

.success-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* --------------------------------------------------------------------------
   Features Grid Section
   -------------------------------------------------------------------------- */
.features-section {
    padding: 5rem 0;
    background: #ffffff;
    border-top: 1px solid var(--dreamcrm-gray-200);
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 3.5rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dreamcrm-dark);
    margin-bottom: 0.75rem;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--dreamcrm-gray-600);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
}

.feature-card {
    background: var(--dreamcrm-gray-100);
    border: 1px solid var(--dreamcrm-gray-200);
    border-radius: 12px;
    padding: 1.75rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--dreamcrm-shadow-sm);
}

.feature-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dreamcrm-dark);
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--dreamcrm-gray-600);
}

/* --------------------------------------------------------------------------
   Subsite Welcome View
   -------------------------------------------------------------------------- */
.section-padding {
    padding: 4rem 0;
}

.subsite-welcome-card {
    background: #ffffff;
    border: 1px solid var(--dreamcrm-gray-200);
    border-radius: 16px;
    padding: 3.5rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: var(--dreamcrm-shadow);
}

.subsite-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.subsite-welcome-card h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dreamcrm-dark);
    margin-bottom: 0.75rem;
}

.subsite-subtitle {
    font-size: 1.1rem;
    color: var(--dreamcrm-gray-600);
    margin-bottom: 2rem;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.dreamcrm-footer {
    background: var(--dreamcrm-dark);
    color: #94a3b8;
    padding: 4rem 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    padding-bottom: 3.5rem;
    border-bottom: 1px solid #1e293b;
}

.footer-brand .brand-logo-text {
    color: #ffffff;
}

.footer-desc {
    margin-top: 1rem;
    font-size: 0.9rem;
    max-width: 360px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-col a {
    color: #94a3b8;
    font-size: 0.875rem;
}

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

.footer-bottom {
    padding: 1.5rem 0;
    font-size: 0.85rem;
    text-align: center;
}

/* --------------------------------------------------------------------------
   Ultra-Modern Light SaaS Design System (DreamCRM)
   -------------------------------------------------------------------------- */

.light-theme {
    background-color: #ffffff;
    color: #0f172a;
}

/* Gradients & Utilities */
.light-text-gradient {
    background: linear-gradient(135deg, #4f46e5 0%, #0284c7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-amber {
    color: #f59e0b !important;
}

.fill-amber {
    fill: #f59e0b;
}

.text-indigo {
    color: #4f46e5 !important;
}

.text-emerald {
    color: #059669 !important;
}

/* 1. Hero Section (CRM Platform Background) */
.light-hero-section {
    position: relative;
    margin-top: -92px;
    padding-top: 155px;
    padding-bottom: 5.5rem;
    background-color: #07090e;
    background-image:
        linear-gradient(180deg, rgba(7, 9, 14, 0.8) 0%, rgba(7, 9, 14, 0.65) 40%, rgba(7, 9, 14, 0.95) 100%),
        radial-gradient(ellipse 75% 55% at 50% 15%, rgba(79, 70, 229, 0.3), transparent 70%),
        url('../images/crm-hero-bg.jpg');
    background-size: 100% 100%, 100% 100%, cover;
    background-position: center top, center top, center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.light-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.light-hero-glow.glow-1 {
    width: 500px;
    height: 500px;
    top: -100px;
    left: -100px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
}

.light-hero-glow.glow-2 {
    width: 600px;
    height: 600px;
    top: 50px;
    right: -150px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.16) 0%, rgba(255, 255, 255, 0) 70%);
}

.light-hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1.2px, transparent 1.2px);
    background-size: 32px 32px;
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

.hero-container-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(79, 70, 229, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.4);
    border-radius: 9999px;
    padding: 6px 16px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
}

.hero-badge-pill .badge-tag {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #ffffff;
    font-size: 0.6875rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 9999px;
    letter-spacing: 0.5px;
}

.hero-badge-pill .badge-text {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #cbd5e1;
}

.hero-badge-pill .badge-arrow {
    width: 14px;
    height: 14px;
    color: #a5b4fc;
}

.hero-main-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3.25rem;
    font-weight: 900;
    line-height: 1.15;
    color: #ffffff;
    letter-spacing: -0.025em;
    margin-bottom: 1.25rem;
}

.hero-main-desc {
    font-size: 1.125rem;
    line-height: 1.65;
    color: #cbd5e1;
    margin-bottom: 2rem;
    max-width: 580px;
}

.hero-action-buttons {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.btn-light-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.9375rem;
    padding: 0.85rem 1.6rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.4);
    transition: all 0.25s ease;
}

.btn-light-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -5px rgba(79, 70, 229, 0.5);
    color: #ffffff !important;
}

.btn-light-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.85rem 1.4rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.25s ease;
}

.btn-light-outline:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    color: #ffffff !important;
}

.hero-trust-bar {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #94a3b8;
}

.trust-pill strong {
    color: #ffffff;
}

.trust-pill svg {
    width: 16px;
    height: 16px;
}

/* Instant Demo Sandbox Card Wrapper */
.sandbox-card-wrapper {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.12), 0 0 1px 1px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.sandbox-card-wrapper .registration-card {
    background: #ffffff;
    padding: 2.25rem 2rem;
    border: none;
    box-shadow: none;
}

.sandbox-card-wrapper .card-header h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}

.sandbox-card-wrapper .card-header p {
    font-size: 0.875rem;
    color: #64748b;
}

.sandbox-card-wrapper .form-group label {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #334155;
}

.sandbox-card-wrapper .form-group input,
.sandbox-card-wrapper .form-group select {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    border-radius: 10px;
    font-size: 0.875rem;
    padding: 0.65rem 2.9rem;
    transition: all 0.2s ease;
}

.sandbox-card-wrapper .form-group input:focus,
.sandbox-card-wrapper .form-group select:focus {
    background: #ffffff;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
    outline: none;
}

.sandbox-card-wrapper .btn-submit-registration {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: #ffffff;
    font-weight: 800;
    border-radius: 12px;
    padding: 0.85rem;
    box-shadow: 0 8px 20px -4px rgba(79, 70, 229, 0.4);
}

/* 2. Light Marquee Ticker Strip */
.light-marquee-strip {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: 14px 0;
    overflow: hidden;
    position: relative;
    z-index: 2;
    display: flex;
    user-select: none;
}

/* Subtle edge gradient fade masks */
.light-marquee-strip::before,
.light-marquee-strip::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 3;
    pointer-events: none;
}

.light-marquee-strip::before {
    left: 0;
    background: linear-gradient(90deg, #f8fafc 0%, rgba(248, 250, 252, 0) 100%);
}

.light-marquee-strip::after {
    right: 0;
    background: linear-gradient(270deg, #f8fafc 0%, rgba(248, 250, 252, 0) 100%);
}

.light-marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 32s linear infinite;
    will-change: transform;
}

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

.marquee-group {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-right: 20px;
    flex-shrink: 0;
}

.marquee-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 7px 16px;
    border-radius: 9999px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.marquee-tag:hover {
    transform: translateY(-2px);
    border-color: #c7d2fe;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.12);
}

.marquee-tag svg {
    width: 16px;
    height: 16px;
    color: #4f46e5;
    flex-shrink: 0;
}

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

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

/* 3. Common Light Sections */
.light-section {
    padding: 6rem 0;
    background: #ffffff;
    position: relative;
}

.light-section-tinted {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.section-badge-pill {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    color: #4f46e5;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    padding: 4px 12px;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-center-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3.5rem;
}

.section-center-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 0.85rem;
}

.section-center-desc {
    font-size: 1.05rem;
    color: #64748b;
    line-height: 1.6;
}

/* Split Showcase Feature Layout */
.showcase-split-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 4.5rem;
    align-items: center;
}

.showcase-split-grid.reverse-layout {
    grid-template-columns: 1.15fr 1fr;
}

.showcase-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.25rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.22;
    margin-bottom: 1.15rem;
}

.showcase-description {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.65;
    margin-bottom: 2rem;
}

.showcase-points {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}

.point-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.point-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #eef2ff;
    color: #4f46e5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(79, 70, 229, 0.08);
}

.point-icon svg {
    width: 20px;
    height: 20px;
}

.point-content h4 {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
}

.point-content p {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* Media Window Frame with CRM Images */
.media-window-frame {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #cbd5e1;
    box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.12), 0 0 1px 1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.media-window-frame:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 55px -10px rgba(79, 70, 229, 0.18), 0 0 1px 1px rgba(0, 0, 0, 0.05);
}

.media-header-bar {
    height: 38px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    padding: 0 14px;
    gap: 12px;
}

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

.media-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
}

.media-dots span:nth-child(1) {
    background: #ef4444;
}

.media-dots span:nth-child(2) {
    background: #f59e0b;
}

.media-dots span:nth-child(3) {
    background: #10b981;
}

.media-address-bar {
    flex: 1;
    max-width: 340px;
    height: 22px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 11px;
    color: #64748b;
    display: flex;
    align-items: center;
    padding: 0 10px;
}

.media-content-wrap {
    position: relative;
    overflow: hidden;
}

.showcase-screenshot {
    width: 100%;
    height: auto;
    display: block;
}

/* Floating Badges on Screenshots */
.floating-stat-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    border: 1px solid #e2e8f0;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
    padding: 10px 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
    animation: floatAnim 4s ease-in-out infinite alternate;
}

.stat-badge-left {
    bottom: 18px;
    left: 18px;
}

.stat-badge-right {
    bottom: 18px;
    right: 18px;
}

.badge-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-icon-wrap svg {
    width: 18px;
    height: 18px;
}

.stat-badge-title {
    font-size: 13px;
    font-weight: 800;
    color: #0f172a;
}

.stat-badge-desc {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
}

/* 4. Bento Grid (12-Column Asymmetric System) */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

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

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

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

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

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

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

@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-span-4,
    .bento-span-5,
    .bento-span-6,
    .bento-span-7,
    .bento-span-8,
    .bento-span-12,
    .bento-card-large {
        grid-column: span 1;
    }
}

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

/* ── V2 Bento Card Base ────────────────────────────────────── */
.bento-card-v2 {
    position: relative;
    background: #ffffff;
    border: 1.5px solid #e8edf5;
    border-radius: 24px;
    padding: 32px 30px 28px;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.3s ease;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
}

/* Coloured top-edge accent bar */
.bento-card-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 24px 24px 0 0;
    background: linear-gradient(90deg, var(--bc-from), var(--bc-to));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bento-card-v2:hover::before {
    opacity: 1;
}

/* Hover lift + glow */
.bento-card-v2:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 60px -10px var(--bc-shadow, rgba(79, 70, 229, 0.18)),
        0 8px 20px -6px rgba(15, 23, 42, 0.06);
    border-color: var(--bc-border, #c7d2fe);
}

/* Shimmer sweep overlay */
.bento-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg,
            transparent 40%,
            rgba(255, 255, 255, 0.7) 50%,
            transparent 60%);
    background-size: 200% 100%;
    background-position: 200% 0;
    transition: background-position 0.7s ease;
    pointer-events: none;
    z-index: 0;
    border-radius: inherit;
}

.bento-card-v2:hover .bento-shimmer {
    background-position: -200% 0;
}

/* Ghost number watermark */
.bento-card-number {
    position: absolute;
    top: 18px;
    right: 22px;
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--bc-number, #eef2ff);
    line-height: 1;
    user-select: none;
    pointer-events: none;
    z-index: 0;
    transition: color 0.3s ease;
}

.bento-card-v2:hover .bento-card-number {
    color: var(--bc-number-hover, #e0e7ff);
}

/* All content sits above shimmer/number */
.bento-icon-v2,
.bento-card-v2 h3,
.bento-card-v2 p,
.bento-metric-strip {
    position: relative;
    z-index: 1;
}

/* ── V2 Icon Container ────────────────────────────────────── */
.bento-icon-v2 {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bento-card-v2:hover .bento-icon-v2 {
    transform: scale(1.12) rotate(-4deg);
}

.bento-icon-v2 svg {
    width: 24px;
    height: 24px;
    position: relative;
    z-index: 1;
}

/* Animated ring that pulses outward on hover */
.bento-icon-ring {
    position: absolute;
    inset: -4px;
    border-radius: 20px;
    border: 2px solid var(--bc-ring, rgba(99, 102, 241, 0.3));
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bento-card-v2:hover .bento-icon-ring {
    opacity: 1;
    transform: scale(1);
    animation: ring-pulse 2s ease-in-out infinite 0.35s;
}

@keyframes ring-pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(1.12);
    }
}

/* ── Headings & Body ──────────────────────────────────────── */
.bento-card-v2 h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
    line-height: 1.3;
    transition: color 0.2s ease;
}

.bento-card-v2:hover h3 {
    color: var(--bc-text-hover, #4f46e5);
}

.bento-card-v2 p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.65;
}

/* ── Metric Pill Strip ──────────────────────────────────────── */
.bento-metric-strip {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.metric-pill {
    background: linear-gradient(135deg, #f8faff, #f1f5ff);
    border: 1.5px solid #e0e7ff;
    padding: 6px 14px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 700;
    color: #4f46e5;
    letter-spacing: 0.3px;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
    white-space: nowrap;
}

.bento-card-v2:hover .metric-pill {
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    border-color: #c7d2fe;
    transform: translateY(-2px);
}

.metric-pill span {
    color: #4f46e5;
    font-weight: 900;
    margin-right: 4px;
}

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

/* ── Per-colour CSS custom properties ────────────────────── */
.bc-indigo {
    --bc-from: #6366f1;
    --bc-to: #06b6d4;
    --bc-shadow: rgba(99, 102, 241, 0.2);
    --bc-border: #c7d2fe;
    --bc-number: #eef2ff;
    --bc-number-hover: #e0e7ff;
    --bc-ring: rgba(99, 102, 241, 0.35);
    --bc-text-hover: #4f46e5;
}

.bc-blue {
    --bc-from: #0ea5e9;
    --bc-to: #38bdf8;
    --bc-shadow: rgba(14, 165, 233, 0.2);
    --bc-border: #bae6fd;
    --bc-number: #e0f2fe;
    --bc-number-hover: #bae6fd;
    --bc-ring: rgba(14, 165, 233, 0.35);
    --bc-text-hover: #0284c7;
}

.bc-purple {
    --bc-from: #8b5cf6;
    --bc-to: #c084fc;
    --bc-shadow: rgba(139, 92, 246, 0.2);
    --bc-border: #ddd6fe;
    --bc-number: #f3e8ff;
    --bc-number-hover: #ede9fe;
    --bc-ring: rgba(139, 92, 246, 0.35);
    --bc-text-hover: #7c3aed;
}

.bc-amber {
    --bc-from: #f59e0b;
    --bc-to: #fbbf24;
    --bc-shadow: rgba(245, 158, 11, 0.2);
    --bc-border: #fde68a;
    --bc-number: #fef9c3;
    --bc-number-hover: #fef08a;
    --bc-ring: rgba(245, 158, 11, 0.35);
    --bc-text-hover: #d97706;
}

.bc-emerald {
    --bc-from: #10b981;
    --bc-to: #34d399;
    --bc-shadow: rgba(16, 185, 129, 0.2);
    --bc-border: #a7f3d0;
    --bc-number: #ecfdf5;
    --bc-number-hover: #d1fae5;
    --bc-ring: rgba(16, 185, 129, 0.35);
    --bc-text-hover: #059669;
}

.bc-rose {
    --bc-from: #f43f5e;
    --bc-to: #fb7185;
    --bc-shadow: rgba(244, 63, 94, 0.2);
    --bc-border: #fecdd3;
    --bc-number: #fff1f2;
    --bc-number-hover: #ffe4e6;
    --bc-ring: rgba(244, 63, 94, 0.35);
    --bc-text-hover: #e11d48;
}

/* Legacy .bento-card compatibility (non-v2) */
.bento-card:not(.bento-card-v2) {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    transition: all 0.25s ease;
}

.bento-card:not(.bento-card-v2):hover {
    transform: translateY(-4px);
    border-color: #c7d2fe;
    box-shadow: 0 16px 32px -8px rgba(79, 70, 229, 0.12);
}

/* ── Icon Colour Classes (used by v2 icon) ─────────────────── */
.ic-indigo {
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    color: #4f46e5;
}

.ic-blue {
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
    color: #0284c7;
}

.ic-emerald {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    color: #059669;
}

.ic-purple {
    background: linear-gradient(135deg, #f3e8ff, #ede9fe);
    color: #7c3aed;
}

.ic-amber {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    color: #d97706;
}

.ic-rose {
    background: linear-gradient(135deg, #fff1f2, #ffe4e6);
    color: #e11d48;
}

.bento-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.bento-icon svg {
    width: 22px;
    height: 22px;
}

.bento-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.bento-card p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
}

/* Icon Colors */
.ic-indigo {
    background: #eef2ff;
    color: #4f46e5;
}

.ic-blue {
    background: #e0f2fe;
    color: #0284c7;
}

.ic-emerald {
    background: #ecfdf5;
    color: #059669;
}

.ic-purple {
    background: #f3e8ff;
    color: #7c3aed;
}

.ic-amber {
    background: #fef3c7;
    color: #d97706;
}

.ic-rose {
    background: #ffe4e6;
    color: #e11d48;
}

/* 5. Light Comparison Table */
.comparison-card-wrapper {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

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

.light-comparison-table th,
.light-comparison-table td {
    padding: 16px 22px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
}

.light-comparison-table th {
    background: #f8fafc;
    font-weight: 800;
    color: #0f172a;
}

.light-comparison-table th.dreamcrm-col {
    background: #eef2ff;
    color: #4338ca;
    border-left: 2px solid #6366f1;
    border-right: 2px solid #6366f1;
}

.light-comparison-table td.dreamcrm-cell {
    background: #faf5ff;
    border-left: 2px solid #6366f1;
    border-right: 2px solid #6366f1;
}

.badge-recommended {
    display: inline-block;
    font-size: 9px;
    font-weight: 800;
    background: #4f46e5;
    color: #ffffff;
    border-radius: 4px;
    padding: 2px 6px;
    margin-right: 6px;
    vertical-align: middle;
}

.table-check {
    color: #059669;
    font-weight: 800;
}

.table-cross {
    color: #94a3b8;
    font-weight: 700;
}

/* 6. Onboarding Steps */
.onboarding-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.step-card-light {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 32px 28px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    transition: all 0.25s ease;
}

.step-card-light:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px -8px rgba(79, 70, 229, 0.1);
    border-color: #c7d2fe;
}

.step-number-pill {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #eef2ff;
    color: #4f46e5;
    font-weight: 900;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.step-card-light h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.step-card-light p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
}

/* 7. Light CTA Banner */
.light-cta-section {
    padding: 5rem 0 6rem;
    background: #f8fafc;
}

.cta-banner-gradient-card {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 50%, #7c3aed 100%);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 25px 50px -12px rgba(79, 70, 229, 0.35);
}

.cta-banner-gradient-card h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.6rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 14px;
}

.cta-banner-gradient-card p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 620px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.cta-action-cluster {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-cta-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: #4f46e5 !important;
    font-weight: 800;
    font-size: 0.9375rem;
    padding: 14px 28px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.25s ease;
}

.btn-cta-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
    color: #4338ca !important;
}

.btn-cta-translucent {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.9375rem;
    padding: 14px 24px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    transition: all 0.25s ease;
}

.btn-cta-translucent:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    color: #ffffff !important;
}

/* Progressive Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-zoom {
    opacity: 0;
    transform: scale(0.96) translateY(16px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active,
.reveal-zoom.active {
    opacity: 1;
    transform: none;
}

/* --------------------------------------------------------------------------
   Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .hero-container-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .showcase-split-grid,
    .showcase-split-grid.reverse-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

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

@media (max-width: 1180px) {
    .header-container {
        flex-wrap: wrap !important;
        gap: 0.75rem 1rem !important;
    }

    .main-navigation {
        order: 3 !important;
        width: 100% !important;
        justify-content: center !important;
    }

    .nav-pill-container {
        flex-wrap: wrap !important;
        justify-content: center !important;
    }

    .nav-menu {
        flex-wrap: wrap !important;
        justify-content: center !important;
    }

    .header-actions-desktop {
        margin-left: auto !important;
    }
}

@media (max-width: 900px) {
    .main-navigation {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: flex !important;
    }

    .mobile-navigation-drawer {
        display: flex !important;
    }

    .dreamcrm-header {
        width: calc(100% - 24px);
        margin: 12px auto 0;
        padding: 0.6rem 1.1rem;
        border-radius: 14px;
    }

    .dreamcrm-header.scrolled {
        width: 100%;
        margin: 0;
        border-radius: 0;
        padding: 0.6rem 1.1rem;
    }

    .header-container {
        padding: 0;
        gap: 0.75rem;
    }

    .header-actions {
        gap: 0.5rem;
    }

    .header-actions .header-signin-link {
        display: none;
        /* Accessible inside mobile drawer */
    }

    .btn-create-demo {
        padding: 0.48rem 0.95rem;
        font-size: 0.8125rem;
    }

    .brand-logo-img,
    .custom-logo-wrap img {
        height: 34px;
        max-width: 180px;
    }

    .brand-wordmark {
        font-size: 1.25rem;
    }

    .brand-logo-icon {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 768px) {
    .light-hero-section {
        margin-top: -76px;
        padding-top: 110px;
        padding-bottom: 3.5rem;
    }

    .hero-main-title {
        font-size: 2.25rem;
        line-height: 1.2;
    }

    .hero-main-desc {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .section-center-title {
        font-size: 1.95rem;
    }

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

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

    .bento-card-large {
        grid-column: span 1;
    }

    .onboarding-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .comparison-card-wrapper {
        overflow-x: auto;
    }

    .light-comparison-table {
        min-width: 600px;
    }

    .cta-banner-gradient-card {
        padding: 40px 20px;
    }

    .cta-banner-gradient-card h2 {
        font-size: 1.85rem;
    }

    .floating-stat-badge {
        display: none;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .dreamcrm-top-announcement {
        display: none;
    }

    .top-announcement-container {
        padding: 0 0.75rem;
    }

    .hero-title {
        font-size: 1.95rem;
    }

    .badge-pill {
        font-size: 0.775rem;
        padding: 0.3rem 0.75rem;
    }

    .dreamcrm-header {
        width: calc(100% - 16px);
        margin: 8px auto 0;
        padding: 0.55rem 0.85rem;
        border-radius: 12px;
    }

    .dreamcrm-header.scrolled {
        width: 100%;
        margin: 0;
        border-radius: 0;
        padding: 0.55rem 0.85rem;
    }

    .brand-logo-img,
    .custom-logo-wrap img {
        height: 30px;
        max-width: 155px;
    }

    .brand-wordmark {
        font-size: 1.18rem;
    }

    .brand-logo-icon {
        width: 32px;
        height: 32px;
    }

    .brand-logo-icon svg {
        width: 17px;
        height: 17px;
    }

    .btn-create-demo {
        padding: 0.44rem 0.85rem;
        font-size: 0.775rem;
    }

    .mobile-menu-toggle {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    .header-actions .btn-create-demo {
        display: none !important;
    }

    .dreamcrm-container {
        padding: 0 1rem;
    }

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

    .feature-item {
        font-size: 0.875rem;
    }

    .registration-card {
        padding: 1.25rem 0.9rem;
    }

    .card-header h3 {
        font-size: 1.25rem;
    }

    .btn-create-demo span {
        display: inline-block;
    }
}

/* ==========================================================================
   ENHANCED ANIMATIONS & MICRO-INTERACTIONS
   ========================================================================== */

/* Reveal from bottom (stagger-friendly) */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Shimmer keyframe for skeleton-loading effect on bento cards */
@keyframes shimmer {
    0% {
        background-position: -400px 0;
    }

    100% {
        background-position: 400px 0;
    }
}

/* Floating glow pulse on hero */
@keyframes glow-pulse {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.08);
    }
}

.light-hero-glow.glow-1 {
    animation: glow-pulse 6s ease-in-out infinite;
}

.light-hero-glow.glow-2 {
    animation: glow-pulse 8s ease-in-out infinite 2s;
}

/* Floating particles in CTA banner */
@keyframes float-particle {
    0% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.5;
    }

    33% {
        transform: translateY(-30px) translateX(15px) scale(1.2);
        opacity: 0.8;
    }

    66% {
        transform: translateY(-15px) translateX(-10px) scale(0.9);
        opacity: 0.6;
    }

    100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.5;
    }
}

.cta-floating-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: inherit;
    z-index: 1;
}

.cta-floating-particles span {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    animation: float-particle 6s ease-in-out infinite;
}

.cta-floating-particles span:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.cta-floating-particles span:nth-child(2) {
    width: 50px;
    height: 50px;
    top: 60%;
    left: 15%;
    animation-delay: 1.5s;
}

.cta-floating-particles span:nth-child(3) {
    width: 120px;
    height: 120px;
    top: 20%;
    right: 10%;
    animation-delay: 3s;
}

.cta-floating-particles span:nth-child(4) {
    width: 40px;
    height: 40px;
    top: 70%;
    right: 20%;
    animation-delay: 0.8s;
}

.cta-floating-particles span:nth-child(5) {
    width: 65px;
    height: 65px;
    top: 45%;
    left: 50%;
    animation-delay: 2.2s;
}

/* Light CTA Section & Banner Card */
.light-cta-section {
    padding: 5rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.cta-banner-gradient-card {
    position: relative;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 40%, #4338ca 75%, #4f46e5 100%);
    border-radius: 32px;
    padding: 64px 48px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 24px 60px -12px rgba(49, 46, 129, 0.45);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cta-banner-gradient-card h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.25;
    color: #ffffff;
    margin-bottom: 14px;
    position: relative;
    z-index: 2;
    letter-spacing: -0.02em;
}

.cta-banner-gradient-card p {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #cbd5e1;
    max-width: 620px;
    margin: 0 auto 32px;
    position: relative;
    z-index: 2;
}

.cta-action-cluster {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}

.btn-cta-white {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 14px;
    background: #ffffff;
    color: #4f46e5;
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-cta-white:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.25);
    background: #f8fafc;
    color: #3730a3;
}

.btn-cta-white svg {
    width: 20px;
    height: 20px;
}

.btn-cta-translucent {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    backdrop-filter: blur(8px);
    transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-cta-translucent:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.22);
    border-color: #ffffff;
    color: #ffffff;
}

.btn-cta-translucent svg {
    width: 20px;
    height: 20px;
}

/* Spin for lucide icon in btn */
@keyframes spin-slow {
    to {
        transform: rotate(360deg);
    }
}

/* Badge pill pop */
@keyframes badge-pop {
    0% {
        transform: scale(0.85);
        opacity: 0;
    }

    60% {
        transform: scale(1.06);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.hero-badge-pill {
    animation: badge-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s both;
}

/* ==========================================================================
   STATS COUNTER SECTION
   ========================================================================== */
.stats-counter-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}

.stats-counter-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 28px 28px;
}

.stats-counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.stat-counter-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-counter-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.5);
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2.75rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #a5b4fc, #67e8f9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: #94a3b8;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.stat-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 99px;
    overflow: hidden;
}

.stat-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #06b6d4);
    border-radius: 99px;
    width: 0%;
    transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}

.stat-counter-card.active .stat-bar-fill {
    width: var(--fill-width, 80%);
}

/* ==========================================================================
   TESTIMONIAL SLIDER
   ========================================================================== */
.testimonial-slider-section {
    padding: 5rem 0;
}

.testimonial-slider-wrapper {
    margin-top: 3rem;
    position: relative;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    min-height: 380px;
}

.testimonial-slide {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
    animation: slide-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.testimonial-slide.active {
    display: grid;
}

@keyframes slide-in {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slide-out {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(-40px);
    }
}

.testimonial-card-modern {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(79, 70, 229, 0.12);
}

.testimonial-quote-icon {
    font-size: 4rem;
    font-family: Georgia, serif;
    line-height: 1;
    background: linear-gradient(135deg, #6366f1, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    display: block;
    height: 2.5rem;
}

.testimonial-text {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #334155;
    margin-bottom: 1.75rem;
    font-style: italic;
}

.testimonial-author-row {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.testimonial-avatar-ring {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.testimonial-avatar-initials {
    font-size: 0.875rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.testimonial-author-info {
    flex: 1;
}

.testimonial-author-info strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #0f172a;
}

.testimonial-author-info span {
    font-size: 0.8125rem;
    color: #64748b;
}

.testimonial-stars {
    font-size: 1rem;
    color: #f59e0b;
    letter-spacing: 2px;
    margin-left: auto;
}

/* CRM Preview Image Block */
.testimonial-crm-preview {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(79, 70, 229, 0.1);
    border: 1px solid #e2e8f0;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.testimonial-crm-preview:hover {
    transform: scale(1.02) translateY(-4px);
    box-shadow: 0 28px 72px rgba(0, 0, 0, 0.16);
}

.testimonial-crm-preview img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.testimonial-img-badge {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    padding: 8px 14px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4f46e5;
    flex-shrink: 0;
    animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.4);
    }

    50% {
        box-shadow: 0 0 0 5px rgba(79, 70, 229, 0);
    }
}

/* Slider Controls */
.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 2rem;
}

.slider-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #475569;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.slider-arrow:hover {
    background: #4f46e5;
    border-color: #4f46e5;
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.3);
}

.slider-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #4f46e5;
    width: 24px;
    border-radius: 99px;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

/* ==========================================================================
   FAQ ACCORDION SECTION
   ========================================================================== */
.faq-section {
    padding: 5rem 0;
}

.faq-container {
    max-width: 840px;
}

.faq-header {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    border-color: #c7d2fe;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.08);
}

.faq-item.open {
    border-color: #6366f1;
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.1);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    text-align: left;
    gap: 1rem;
    font-family: 'Inter', sans-serif;
}

.faq-question span:first-child {
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.4;
    flex: 1;
}

.faq-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366f1;
    transition: background 0.3s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.faq-item.open .faq-icon {
    background: #6366f1;
    color: #ffffff;
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1), padding 0.3s ease;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    font-size: 0.9375rem;
    color: #475569;
    line-height: 1.7;
}

.faq-item.open .faq-answer {
    max-height: 320px;
}

/* ==========================================================================
   RESPONSIVE: SLIDER + STATS + FAQ
   ========================================================================== */
@media (max-width: 900px) {
    .stats-counter-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-slide {
        grid-template-columns: 1fr;
    }

    .testimonial-crm-preview {
        order: -1;
    }
}

@media (max-width: 640px) {
    .stats-counter-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .testimonial-card-modern {
        padding: 1.5rem;
    }

    .faq-question span:first-child {
        font-size: 0.9375rem;
    }
}

/* ==========================================================================
   SECTION CORNER DECORATIONS — Animated SVG shapes in corners
   ========================================================================== */

/* All sections using corner decos clip any overflow from the absolute decos */
.section-with-decos {
    position: relative;
    overflow: hidden;
}

.section-corner-deco {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    opacity: 0.9;
}

/* Positions — kept inside the parent boundary (no negative offsets) */
.deco-tl {
    top: 0;
    left: 0;
}

.deco-tr {
    top: 0;
    right: 0;
}

.deco-bl {
    bottom: 0;
    left: 0;
}

.deco-br {
    bottom: 0;
    right: 0;
}

/* Hero corner decos (hero already has its own overflow handling) */
.light-hero-section .deco-tl {
    top: 0;
    left: 0;
}

.light-hero-section .deco-br {
    bottom: 0;
    right: 0;
}

/* Make sure container content sits above decos */
.section-with-decos {
    position: relative;
    overflow: hidden;
}

.section-with-decos>.dreamcrm-container,
.light-hero-section>.dreamcrm-container,
.light-hero-section>.hero-container-grid,
.page-hero-section>.dreamcrm-container {
    position: relative;
    z-index: 2;
}

/* --- Bounce animation --- */
@keyframes deco-bounce {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    30% {
        transform: translateY(-12px) rotate(3deg);
    }

    60% {
        transform: translateY(-6px) rotate(-2deg);
    }
}

.deco-bounce {
    animation: deco-bounce 5s ease-in-out infinite;
}

/* --- Float animation (vertical drift) --- */
@keyframes deco-float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-18px);
    }
}

.deco-float {
    animation: deco-float 7s ease-in-out infinite;
}

/* --- Slow Spin --- */
@keyframes deco-spin {
    from {
        transform: rotate(0deg);
    }

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

.deco-spin-slow {
    animation: deco-spin 18s linear infinite;
    transform-origin: center center;
}

/* ==========================================================================
   TEXT ANIMATIONS
   ========================================================================== */

/* 1. Hero title: word wrapper reveal stagger */
.anim-words .word-wrap {
    display: inline;
    animation: word-slide-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

@keyframes word-slide-up {
    from {
        opacity: 0;
        transform: translateY(24px);
        filter: blur(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* 2. Gradient text shimmer on the hero accent span */
@keyframes text-shimmer-sweep {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.anim-shimmer {
    background: linear-gradient(270deg,
            #6366f1 0%,
            #06b6d4 25%,
            #a78bfa 50%,
            #6366f1 75%,
            #06b6d4 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: text-shimmer-sweep 4s ease-in-out infinite;
}

/* 3. Heading gradient text animation (section headings) */
.anim-gradient-text {
    background: linear-gradient(135deg, #0f172a 0%, #4f46e5 40%, #0f172a 70%, #0284c7 100%);
    background-size: 250% 250%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: text-shimmer-sweep 6s ease-in-out infinite;
}

/* 4. Fade-up for sub-copy text */
.anim-fade-up {
    animation: fade-up-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
}

@keyframes fade-up-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 5. Showcase headings: line underline draw-in */
.anim-words.showcase-title {
    position: relative;
}

.anim-words.showcase-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #6366f1, #06b6d4);
    border-radius: 99px;
    transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.4s;
}

.reveal.active .anim-words.showcase-title::after,
.showcase-info.active .anim-words.showcase-title::after {
    width: 60px;
}

/* 6. Section badge pill fly-in */
.section-badge-pill {
    animation: badge-fly-in 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes badge-fly-in {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 7. Typewriter cursor on hero title */
.hero-main-title::after {
    content: '|';
    display: inline-block;
    color: #6366f1;
    margin-left: 2px;
    animation: cursor-blink 1s step-end infinite;
    font-weight: 300;
    -webkit-text-fill-color: #6366f1;
}

@keyframes cursor-blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Hide cursor after 3 seconds */
.hero-main-title.cursor-hidden::after {
    display: none;
}

/* Mobile: Hide corner decos on small screens to avoid clipping */
@media (max-width: 768px) {
    .section-corner-deco {
        display: none;
    }
}

/* ==========================================================================
   PAGE HERO & BREADCRUMBS (About, Contact, Blog, Single Post)
   ========================================================================== */
.page-hero-section {
    position: relative;
    padding: 95px 0 35px;
    background: radial-gradient(130% 80% at 50% -20%, rgba(99, 102, 241, 0.08) 0%, rgba(248, 250, 252, 0.98) 70%);
    border-bottom: 1px solid #eef2f6;
    overflow: hidden;
    text-align: center;
}

body.woocommerce-page .page-hero-section,
body.woocommerce-cart .page-hero-section,
body.woocommerce-checkout .page-hero-section {
    padding: 85px 0 25px;
}

.page-hero-content {
    max-width: 820px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.page-hero-content.reveal {
    opacity: 1 !important;
    transform: none !important;
}

.page-hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.18;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin: 18px 0 16px;
}

.page-hero-desc {
    font-size: 1.125rem;
    line-height: 1.65;
    color: #475569;
    max-width: 680px;
    margin: 0 auto 24px;
}

.page-breadcrumbs {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
    background: rgba(255, 255, 255, 0.85);
    padding: 6px 16px;
    border-radius: 99px;
    border: 1px solid #e2e8f0;
    backdrop-filter: blur(8px);
}

.page-breadcrumbs a {
    color: #4f46e5;
    text-decoration: none;
    transition: color 0.2s ease;
}

.page-breadcrumbs a:hover {
    color: #3730a3;
    text-decoration: underline;
}

.page-breadcrumbs .sep {
    color: #cbd5e1;
}

.page-breadcrumbs .current {
    color: #0f172a;
    font-weight: 600;
    max-width: 260px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==========================================================================
   ABOUT US SECTION & PAGE STYLES
   ========================================================================== */
.about-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-pillars-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-pillar-card {
    background: #ffffff;
    border: 1.5px solid #e8edf5;
    border-radius: 20px;
    padding: 26px 22px;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.about-pillar-card:hover {
    transform: translateY(-5px);
    border-color: #c7d2fe;
    box-shadow: 0 16px 32px -8px rgba(79, 70, 229, 0.12);
}

.pillar-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.pillar-icon svg {
    width: 22px;
    height: 22px;
}

.pillar-content h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.0625rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.pillar-content p {
    font-size: 0.875rem;
    line-height: 1.55;
    color: #64748b;
    margin: 0;
}

/* Right: Story Glass Card */
.about-story-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8faff 100%);
    border: 1.5px solid #e0e7ff;
    border-radius: 24px;
    padding: 36px 32px;
    box-shadow: 0 20px 45px -10px rgba(79, 70, 229, 0.08), 0 4px 12px rgba(15, 23, 42, 0.03);
    position: relative;
    overflow: hidden;
}

.about-story-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #06b6d4, #8b5cf6);
}

.story-badge-strip {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.story-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 5px 12px;
    border-radius: 99px;
    background: #eef2ff;
    color: #4f46e5;
    border: 1px solid #c7d2fe;
}

.story-tag svg {
    width: 14px;
    height: 14px;
}

.story-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 14px;
}

.story-text {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #475569;
    margin-bottom: 24px;
}

.story-metrics-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 18px 0;
    border-top: 1px solid #e8edf5;
    border-bottom: 1px solid #e8edf5;
    margin-bottom: 22px;
}

.story-metric-item .metric-val {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: #4f46e5;
    line-height: 1;
    margin-bottom: 4px;
}

.story-metric-item .metric-lbl {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
}

.story-quote-box {
    background: rgba(238, 242, 255, 0.6);
    border-left: 3px solid #6366f1;
    padding: 16px 18px;
    border-radius: 0 14px 14px 0;
    margin-bottom: 24px;
}

.story-quote-box .quote-text {
    font-size: 0.875rem;
    font-style: italic;
    color: #334155;
    line-height: 1.55;
    margin-bottom: 10px;
}

.quote-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar-chip {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #4f46e5;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.75rem;
}

.author-name {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #0f172a;
}

.author-role {
    font-size: 0.6875rem;
    color: #64748b;
}

.btn-story-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #4f46e5;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-story-link:hover {
    color: #3730a3;
    gap: 12px;
}

/* Page About: Timeline Card */
.about-timeline-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 24px;
    padding: 36px 32px;
    box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.06);
}

.timeline-header-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 24px;
}

.about-timeline-list {
    position: relative;
}

.timeline-step {
    display: flex;
    gap: 18px;
    position: relative;
    padding-bottom: 28px;
}

.timeline-step:last-child {
    padding-bottom: 0;
}

.timeline-dot-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 20px;
}

.timeline-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #4f46e5;
    border: 3px solid #e0e7ff;
    box-shadow: 0 0 0 2px #6366f1;
    flex-shrink: 0;
}

.timeline-line {
    width: 2px;
    flex-grow: 1;
    background: #e2e8f0;
    margin-top: 6px;
}

.timeline-step-content {
    padding-top: 0;
}

.timeline-year {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    color: #4f46e5;
    background: #eef2ff;
    padding: 2px 8px;
    border-radius: 6px;
    margin-bottom: 4px;
}

.timeline-step-content h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.0625rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.timeline-step-content p {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
}

/* Page About: Story Commitments Bento Cards */
.story-commitments-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.commitment-item.bento-card-v2 {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 20px 24px;
    border-radius: 18px;
}

.commitment-item.bento-card-v2 .commit-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.commitment-item.bento-card-v2 h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
    position: relative;
    z-index: 1;
}

.commitment-item.bento-card-v2 p {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Page About: Values 6-Grid */
.about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.about-value-card.bento-card-v2 {
    padding: 34px 28px 30px;
    display: flex;
    flex-direction: column;
}

/* Page About: Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.team-card.bento-card-v2 {
    padding: 36px 22px 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-avatar-box {
    width: 84px;
    height: 84px;
    border-radius: 26px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 10px 24px -4px rgba(79, 70, 229, 0.2);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.team-card.bento-card-v2:hover .team-avatar-box {
    transform: scale(1.08) rotate(-3deg);
}

.team-card:hover {
    transform: translateY(-6px);
    border-color: #c7d2fe;
    box-shadow: 0 16px 32px -8px rgba(79, 70, 229, 0.12);
}

.team-avatar-box {
    width: 80px;
    height: 80px;
    border-radius: 24px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 16px -4px rgba(79, 70, 229, 0.15);
}

.team-avatar-initials {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: #ffffff;
}

.bg-indigo {
    background: linear-gradient(135deg, #4f46e5, #6366f1);
}

.bg-cyan {
    background: linear-gradient(135deg, #0284c7, #06b6d4);
}

.bg-purple {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
}

.bg-emerald {
    background: linear-gradient(135deg, #059669, #10b981);
}

.team-member-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
}

.team-member-role {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #4f46e5;
    margin-bottom: 14px;
}

.team-member-bio {
    font-size: 0.8438rem;
    line-height: 1.55;
    color: #64748b;
    margin-bottom: 18px;
}

.team-social-strip {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.team-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #475569;
    background: #f1f5f9;
    padding: 3px 8px;
    border-radius: 6px;
}

.team-tag svg {
    width: 12px;
    height: 12px;
}

/* ==========================================================================
   BLOG SECTION & ARCHIVE STYLES
   ========================================================================== */
.blog-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.modern-blog-card.bento-card-v2 {
    padding: 32px 28px 26px;
    display: flex;
    flex-direction: column;
}

.modern-blog-card.bento-card-v2 .bento-card-number {
    font-size: 2.75rem;
    top: 14px;
    right: 20px;
}

.modern-blog-card.bento-card-v2 .blog-card-meta,
.modern-blog-card.bento-card-v2 .blog-card-title,
.modern-blog-card.bento-card-v2 .blog-card-excerpt,
.modern-blog-card.bento-card-v2 .blog-card-footer {
    position: relative;
    z-index: 1;
}

.modern-blog-card.bento-card-v2 .blog-card-footer {
    margin-top: auto;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.blog-category-pill {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 4px 12px;
    border-radius: 99px;
}

.blog-read-time {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
}

.blog-read-time svg {
    width: 13px;
    height: 13px;
}

.blog-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.35;
    color: #0f172a;
    margin-bottom: 12px;
}

.blog-card-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-card-title a:hover {
    color: #4f46e5;
}

.blog-card-excerpt {
    font-size: 0.9063rem;
    line-height: 1.6;
    color: #64748b;
    margin-bottom: 22px;
    flex-grow: 1;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.blog-author-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.75rem;
}

.blog-author-avatar.large {
    width: 44px;
    height: 44px;
    font-size: 0.9375rem;
}

.blog-author-name {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #0f172a;
}

.blog-post-date {
    font-size: 0.6875rem;
    color: #94a3b8;
}

.blog-read-more {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #4f46e5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    text-decoration: none;
}

.blog-read-more svg {
    width: 16px;
    height: 16px;
}

.modern-blog-card:hover .blog-read-more {
    background: #4f46e5;
    border-color: #4f46e5;
    color: #ffffff;
    transform: rotate(45deg);
}

.blog-center-cta {
    text-align: center;
    margin-top: 40px;
}

/* Category Filter Bar */
.blog-filter-bar {
    display: flex;
    justify-content: center;
    margin-bottom: 36px;
}

.filter-pills-wrap {
    display: inline-flex;
    gap: 8px;
    padding: 6px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 99px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
    flex-wrap: wrap;
    justify-content: center;
}

.filter-pill {
    padding: 8px 18px;
    border-radius: 99px;
    font-size: 0.8438rem;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.filter-pill:hover,
.filter-pill.active {
    background: #4f46e5;
    color: #ffffff;
}

/* Newsletter Subscribe Box */
.newsletter-card-modern {
    position: relative;
    overflow: hidden;
    margin-top: 60px;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 60%, #4338ca 100%);
    border-radius: 24px;
    padding: 40px;
    color: #ffffff;
    box-shadow: 0 20px 50px -10px rgba(49, 46, 129, 0.35);
}

.newsletter-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 28px;
    align-items: center;
}

.newsletter-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a5b4fc;
}

.newsletter-icon-box svg {
    width: 28px;
    height: 28px;
}

.newsletter-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.375rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
}

.newsletter-content p {
    font-size: 0.9063rem;
    color: #cbd5e1;
    margin: 0;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    min-width: 260px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    padding: 12px 18px;
    color: #ffffff;
    font-size: 0.9375rem;
    outline: none;
    transition: all 0.2s ease;
}

.newsletter-form input:focus {
    background: rgba(255, 255, 255, 0.16);
    border-color: #ffffff;
}

.newsletter-form input::placeholder {
    color: #94a3b8;
}

/* Single Post Entry */
.single-article-hero {
    position: relative;
    padding: 140px 0 50px;
    background: radial-gradient(130% 80% at 50% -20%, rgba(99, 102, 241, 0.09) 0%, rgba(248, 250, 252, 0.98) 75%);
    border-bottom: 1px solid #eef2f6;
    overflow: hidden;
}

.single-hero-container {
    max-width: 780px;
    margin: 0 auto;
}

.single-article-badge-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 20px 0 16px;
}

.single-post-date {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
}

.single-post-date svg {
    width: 13px;
    height: 13px;
}

.single-article-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.25;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.single-article-author-strip {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-name-text {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #0f172a;
}

.author-title-text {
    font-size: 0.75rem;
    color: #64748b;
}

.single-content-container {
    max-width: 780px;
    margin: 0 auto;
    padding: 50px 20px 80px;
}

body.woocommerce-page .single-content-container,
body.woocommerce-cart .single-content-container,
body.woocommerce-checkout .single-content-container,
.woocommerce-page .single-content-container {
    max-width: 1240px !important;
    padding: 30px 20px 80px !important;
}

.single-article-entry {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: #334155;
}

.single-article-entry p {
    margin-bottom: 24px;
}

.single-article-entry h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.625rem;
    font-weight: 800;
    color: #0f172a;
    margin: 40px 0 16px;
    line-height: 1.3;
}

.single-article-entry ul,
.single-article-entry ol {
    margin: 0 0 24px 24px;
}

.single-article-entry li {
    margin-bottom: 8px;
}

.single-article-entry code {
    background: #eef2ff;
    color: #4f46e5;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 0.9em;
    font-family: monospace;
}

.author-bio-card-modern {
    display: flex;
    gap: 20px;
    background: #f8faff;
    border: 1.5px solid #e0e7ff;
    border-radius: 20px;
    padding: 26px;
    margin: 48px 0 32px;
}

.bio-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #4f46e5;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.bio-details h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.125rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}

.bio-details p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}

.single-nav-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

/* ==========================================================================
   CONTACT US SECTION & PAGE STYLES
   ========================================================================== */
.contact-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.contact-channels-column {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-channel-card {
    display: flex;
    gap: 18px;
    background: #ffffff;
    border: 1.5px solid #e8edf5;
    border-radius: 18px;
    padding: 22px 20px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
    transition: all 0.25s ease;
}

.contact-channel-card:hover {
    transform: translateY(-3px);
    border-color: #c7d2fe;
    box-shadow: 0 12px 24px -6px rgba(79, 70, 229, 0.09);
}

.channel-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.channel-icon-wrap svg {
    width: 20px;
    height: 20px;
}

.channel-info h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.channel-info p {
    font-size: 0.8125rem;
    color: #64748b;
    margin-bottom: 6px;
    line-height: 1.5;
}

.channel-link {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    color: #4f46e5;
    text-decoration: none;
    margin-bottom: 6px;
    transition: color 0.2s ease;
}

.channel-link:hover {
    color: #3730a3;
    text-decoration: underline;
}

.channel-address {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #334155;
}

.channel-subtext {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7188rem;
    color: #10b981;
    font-weight: 600;
}

.channel-subtext svg {
    width: 12px;
    height: 12px;
}

/* ==========================================================================
   IMAGE SHOWCASE FRAMES & DECORATIVE MEDIA CARDS
   ========================================================================== */

/* Section Background Image & High-Contrast Overlay Mask */
.section-has-bg-img {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
}

.values-section-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.12) 0%, rgba(241, 245, 249, 0.18) 100%);
    pointer-events: none;
    z-index: 1;
}

#values>.dreamcrm-container {
    position: relative;
    z-index: 3;
}

/* About Hero Showcase Image Card */
.about-hero-image-card {
    margin-top: 48px;
    position: relative;
    z-index: 3;
}

.hero-image-frame {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    background: #0f172a;
    border: 1.5px solid rgba(99, 102, 241, 0.25);
    box-shadow: 0 30px 70px -15px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.about-showcase-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-image-frame:hover .about-showcase-img {
    transform: scale(1.02);
}

.hero-image-overlay-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    padding: 14px 22px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.hero-image-overlay-badge .badge-icon {
    width: 26px;
    height: 26px;
    color: #10b981;
}

.hero-image-overlay-badge strong {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9375rem;
    font-weight: 800;
}

.hero-image-overlay-badge span {
    font-size: 0.7813rem;
    color: #94a3b8;
}

/* Blog Article Card Media Wrapper */
.blog-card-media-wrap {
    position: relative;
    height: 210px;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 20px;
    background: #0f172a;
}

.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.blog-card-media-wrap .blog-category-pill {
    position: absolute;
    bottom: 14px;
    left: 14px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.blog-card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Contact Network Map Card */
.contact-map-card {
    margin-bottom: 0;
    overflow: hidden;
    border-radius: 24px;
    padding: 0 !important;
    flex-shrink: 0;
}

.map-image-wrapper {
    position: relative;
    height: 170px;
    background: #0b0f19;
    overflow: hidden;
}

.contact-map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-map-card:hover .contact-map-img {
    transform: scale(1.04);
}

.map-overlay-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 99px;
    padding: 8px 18px;
    color: #ffffff;
    font-size: 0.8125rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.map-overlay-badge svg {
    width: 16px;
    height: 16px;
    color: #06b6d4;
}

/* Gradient Text Shimmer Animation */
.anim-gradient-text {
    background: linear-gradient(135deg, #0f172a 0%, #4f46e5 50%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-compliance-strip {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.compliance-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #475569;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 6px;
}

.compliance-badge svg {
    width: 12px;
    height: 12px;
    color: #4f46e5;
}

/* Contact Form Wrapper */
.contact-form-wrapper {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 24px;
    padding: 32px 30px;
    box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(15, 23, 42, 0.02);
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.dreamcrm-contact-form {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.form-header-block {
    margin-bottom: 24px;
}

.form-header-block h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.375rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}

.form-header-block p {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}

.form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.form-group .required {
    color: #ef4444;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon svg {
    position: absolute;
    left: 14px;
    width: 16px;
    height: 16px;
    color: #94a3b8;
    pointer-events: none;
    transition: color 0.2s ease;
}

.input-with-icon input,
.input-with-icon select,
.form-group textarea {
    width: 100%;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 11px 14px 11px 40px;
    font-size: 0.875rem;
    color: #0f172a;
    font-family: inherit;
    outline: none;
    transition: all 0.2s ease;
}

.form-group textarea {
    padding: 12px 14px;
    resize: vertical;
}

.input-with-icon input:focus,
.input-with-icon select:focus,
.form-group textarea:focus {
    background: #ffffff;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.input-with-icon input:focus+svg,
.input-with-icon select:focus+svg {
    color: #6366f1;
}

.select-wrap select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.btn-contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    color: #ffffff;
    font-size: 0.9375rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
    transition: all 0.25s ease;
}

.btn-contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(79, 70, 229, 0.4);
}

.btn-contact-submit svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.btn-contact-submit:hover svg {
    transform: translateX(3px);
}

.contact-form-notice {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.5;
}

.contact-form-notice.success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.contact-form-notice.error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

/* Page Contact: 4 Channels Grid */
.contact-channels-4grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.channel-box-modern.bento-card-v2 {
    padding: 32px 24px 24px;
    display: flex;
    flex-direction: column;
}

.channel-box-modern.bento-card-v2 .bento-card-number {
    font-size: 2.75rem;
    top: 14px;
    right: 18px;
}

.channel-box-modern.bento-card-v2 .channel-action-link,
.channel-box-modern.bento-card-v2 .channel-status-pill {
    position: relative;
    z-index: 1;
}

.channel-box-modern.bento-card-v2 .channel-action-link {
    margin-top: auto;
}

.channel-box-modern h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.125rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.channel-box-modern p {
    font-size: 0.8438rem;
    line-height: 1.55;
    color: #64748b;
    margin-bottom: 18px;
    flex-grow: 1;
}

.channel-action-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
    font-weight: 700;
    color: #4f46e5;
    text-decoration: none;
    padding: 10px 0;
    border-top: 1px solid #f1f5f9;
    transition: color 0.2s ease;
}

.channel-action-link:hover {
    color: #3730a3;
}

.channel-action-link svg {
    width: 14px;
    height: 14px;
}

.channel-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #10b981;
    margin-top: 8px;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

/* Page Contact: Offices Column */
.contact-offices-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
    justify-content: space-between;
}

.offices-header {
    margin-bottom: 4px;
}

.offices-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    margin: 8px 0 6px;
}

.offices-header p {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}

.office-location-card.bento-card-v2 {
    padding: 22px 26px;
    border-radius: 20px;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.office-location-card.bento-card-v2 .office-card-header,
.office-location-card.bento-card-v2 .office-address,
.office-location-card.bento-card-v2 .office-contact-row {
    position: relative;
    z-index: 1;
}

.office-location-card:hover {
    border-color: #c7d2fe;
    transform: translateY(-3px);
    box-shadow: 0 12px 24px -6px rgba(79, 70, 229, 0.09);
}

.office-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.office-city {
    display: flex;
    align-items: center;
    gap: 8px;
}

.office-city h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.office-city svg {
    width: 16px;
    height: 16px;
}

.office-timezone {
    font-size: 0.6875rem;
    font-weight: 700;
    color: #4f46e5;
    background: #eef2ff;
    padding: 2px 8px;
    border-radius: 6px;
}

.office-address {
    font-size: 0.8125rem;
    color: #64748b;
    margin-bottom: 12px;
    line-height: 1.5;
}

.office-contact-row {
    display: flex;
    gap: 16px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
}

.office-contact-row span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.office-contact-row svg {
    width: 12px;
    height: 12px;
    color: #4f46e5;
}

/* ==========================================================================
   RESPONSIVE ADJUSTMENTS FOR NEW SECTIONS
   ========================================================================== */
@media (max-width: 1024px) {

    .about-split-grid,
    .contact-split-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .about-values-grid,
    .blog-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid,
    .contact-channels-4grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .newsletter-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .newsletter-icon-box {
        margin: 0 auto;
    }

    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .page-hero-section {
        padding: 100px 0 50px;
    }

    .page-hero-title {
        font-size: 2rem;
    }

    .about-pillars-grid {
        grid-template-columns: 1fr;
    }

    .about-values-grid,
    .blog-cards-grid,
    .team-grid,
    .contact-channels-4grid {
        grid-template-columns: 1fr;
    }

    .form-row-2col {
        grid-template-columns: 1fr;
    }

    .single-article-title {
        font-size: 1.875rem;
    }

    .story-metrics-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 28px;
    }
}

/* ==========================================================================
   WooCommerce Store & Shop Page Premium Aesthetics
   ========================================================================== */

/* Hero Banner */
.shop-hero-section {
    position: relative;
    padding: 4.5rem 0 3.5rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
    color: #ffffff;
    overflow: hidden;
    margin-bottom: 2.5rem;
}

.shop-hero-bg-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, rgba(79, 70, 229, 0) 70%);
    pointer-events: none;
}

.shop-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

.shop-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1.1rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.8125rem;
    font-weight: 600;
    color: #e0e7ff;
    margin-bottom: 1.25rem;
}

.shop-hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.shop-hero-subtitle {
    font-size: 1.0625rem;
    color: #c7d2fe;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.shop-hero-features {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.hero-feature-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #e0e7ff;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.45rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.dreamcrm-woocommerce-main-wrapper {
    padding-bottom: 5rem;
}

.woocommerce-page-inner {
    width: 100%;
}

.woocommerce-page-inner>.woocommerce-products-header>.woocommerce-products-header__title {
    display: none;
}

/* Store Result Count & Catalog Ordering Bar */
.woocommerce .woocommerce-result-count {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 1.5rem;
    float: left;
    line-height: 2.4rem;
}

.woocommerce .woocommerce-ordering {
    float: right;
    margin-bottom: 1.5rem;
}

.woocommerce .woocommerce-ordering select {
    appearance: none;
    background: #ffffff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>") no-repeat right 0.85rem center;
    background-size: 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 0.6rem 2.2rem 0.6rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #334155;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.woocommerce .woocommerce-ordering select:hover,
.woocommerce .woocommerce-ordering select:focus {
    border-color: #6366f1;
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.woocommerce-page-inner::after {
    content: "";
    display: table;
    clear: both;
}

/* Product Grid Layout */
.woocommerce ul.products,
ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
    gap: 1.75rem !important;
    margin: 0 0 3rem 0 !important;
    padding: 0 !important;
    list-style: none !important;
    clear: both;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after,
ul.products::before,
ul.products::after {
    display: none !important;
}

.woocommerce ul.products li.product,
ul.products li.product {
    display: flex !important;
    flex-direction: column !important;
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 1.25rem !important;
    position: relative !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
    overflow: hidden !important;
}

.woocommerce ul.products li.product:hover,
ul.products li.product:hover {
    transform: translateY(-6px) !important;
    border-color: #c7d2fe !important;
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.12) !important;
}

/* Product Sale Badge */
.woocommerce ul.products li.product .onsale,
.woocommerce span.onsale,
.woocommerce-page span.onsale {
    position: absolute !important;
    top: 18px !important;
    left: 18px !important;
    right: auto !important;
    bottom: auto !important;
    width: auto !important;
    min-width: auto !important;
    height: auto !important;
    min-height: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.35rem 0.85rem !important;
    border-radius: 9999px !important;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: #ffffff !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    line-height: 1 !important;
    z-index: 25 !important;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35) !important;
    border: none !important;
}

/* Product Image Link & Container */
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
    display: block !important;
    text-decoration: none !important;
    color: inherit !important;
    margin-bottom: 0.85rem !important;
    flex-grow: 1 !important;
    overflow: hidden !important;
    border-radius: 12px !important;
}

.woocommerce ul.products li.product img,
.woocommerce ul.products li.product a img {
    width: 100% !important;
    height: 220px !important;
    object-fit: contain !important;
    border-radius: 12px !important;
    margin: 0 0 0.85rem 0 !important;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    background: #f8fafc !important;
    padding: 0.75rem !important;
}

.woocommerce ul.products li.product:hover img {
    transform: scale(1.06) !important;
}

/* Product Title */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product h3 {
    font-family: 'Inter', sans-serif !important;
    font-size: 1.0625rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0.5rem 0 0.4rem 0 !important;
    line-height: 1.4 !important;
    padding: 0 !important;
    transition: color 0.2s ease !important;
}

.woocommerce ul.products li.product:hover .woocommerce-loop-product__title {
    color: #4f46e5 !important;
}

/* Rating Stars */
.woocommerce .star-rating {
    font-size: 0.875rem !important;
    color: #f59e0b !important;
    margin-bottom: 0.5rem !important;
}

/* Product Price */
.woocommerce ul.products li.product .price,
.woocommerce .price {
    font-size: 1.1875rem !important;
    font-weight: 800 !important;
    color: #059669 !important;
    margin-bottom: 1rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.woocommerce ul.products li.product .price del,
.woocommerce .price del {
    font-size: 0.9375rem !important;
    color: #94a3b8 !important;
    font-weight: 500 !important;
    text-decoration: line-through !important;
    opacity: 0.8 !important;
}

.woocommerce ul.products li.product .price ins,
.woocommerce .price ins {
    text-decoration: none !important;
    color: #059669 !important;
    background: none !important;
}

/* Add to Cart Button */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 44px !important;
    padding: 0 1.25rem !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%) !important;
    color: #ffffff !important;
    font-size: 0.9375rem !important;
    font-weight: 700 !important;
    border: none !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25) !important;
    transition: all 0.2s ease !important;
    margin-top: auto !important;
    cursor: pointer !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .add_to_cart_button:hover {
    background: linear-gradient(135deg, #4338ca 0%, #4f46e5 100%) !important;
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.35) !important;
    transform: translateY(-1px) !important;
}

.woocommerce ul.products li.product .button.added::after {
    content: " ✓" !important;
    margin-left: 0.3rem !important;
}

.woocommerce ul.products li.product .dcrm-add-compare-btn,
ul.products li.product .dcrm-add-compare-btn {
    width: 100% !important;
    height: 38px !important;
    padding: 0 0.75rem !important;
    margin-top: 8px !important;
    font-size: 0.825rem !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    color: #4f46e5 !important;
    border: 1.5px solid #c7d2fe !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02) !important;
}

.woocommerce ul.products li.product .dcrm-add-compare-btn:hover,
ul.products li.product .dcrm-add-compare-btn:hover {
    background: #4f46e5 !important;
    color: #ffffff !important;
    border-color: #4f46e5 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25) !important;
}

/* Compare & Wishlist Plugin Overrides (Eliminates Giant Scale Graphics & Overlay Popups) */
.woocommerce ul.products li.product img[src*="compare"],
.woocommerce ul.products li.product img[alt*="compare"],
.woocommerce ul.products li.product img[class*="compare"],
.woocommerce ul.products li.product .compare img,
.woocommerce ul.products li.product a.compare img,
.woocommerce ul.products li.product div[class*="compare"] img,
.woocommerce ul.products li.product a[class*="compare"] img,
.woocommerce ul.products li.product [class*="yith"] img,
.woocommerce ul.products li.product [class*="woocompare"] img,
.woocommerce ul.products li.product .compare svg,
.woocommerce ul.products li.product a.compare svg,
.woocommerce ul.products li.product div[class*="compare"] svg,
.woocommerce ul.products li.product a[class*="compare"] svg,
.woocommerce ul.products li.product [class*="yith"] svg,
.woocommerce ul.products li.product [class*="woocompare"] svg {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    max-width: 0 !important;
    max-height: 0 !important;
    position: absolute !important;
    pointer-events: none !important;
}

.woocommerce ul.products li.product div[class*="compare"],
.woocommerce ul.products li.product div[class*="woocompare"],
.woocommerce ul.products li.product div[class*="yith"],
.woocommerce ul.products li.product .compare-button,
.woocommerce ul.products li.product .yith-woocompare-button {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin-top: 0.6rem !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    z-index: 5 !important;
}

.woocommerce ul.products li.product a.compare,
.woocommerce ul.products li.product .compare,
.woocommerce ul.products li.product a[class*="compare"],
.woocommerce ul.products li.product div[class*="compare"] a,
.woocommerce ul.products li.product .yith-woocompare-button a,
.woocommerce ul.products li.product a.add_to_wishlist {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    background: #f8fafc !important;
    color: #475569 !important;
    font-size: 0.8125rem !important;
    font-weight: 600 !important;
    padding: 0 1rem !important;
    margin: 0 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    box-shadow: none !important;
    background-image: none !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    transition: all 0.2s ease !important;
}

.woocommerce ul.products li.product a.compare:hover,
.woocommerce ul.products li.product .compare:hover,
.woocommerce ul.products li.product a[class*="compare"]:hover,
.woocommerce ul.products li.product div[class*="compare"] a:hover,
.woocommerce ul.products li.product .yith-woocompare-button a:hover,
.woocommerce ul.products li.product a.add_to_wishlist:hover {
    background: #e0e7ff !important;
    color: #4f46e5 !important;
    border-color: #c7d2fe !important;
}


.woocommerce ul.products li.product .button.added::after {
    content: " ✓";
    margin-left: 0.3rem;
}

/* Pagination */
.woocommerce nav.woocommerce-pagination {
    margin-top: 3rem;
    text-align: center;
}

.woocommerce nav.woocommerce-pagination ul {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: none;
    padding: 0;
    margin: 0;
}

.woocommerce nav.woocommerce-pagination ul li {
    border: none;
    margin: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
    background: #4f46e5;
    color: #ffffff;
    border-color: #4f46e5;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

/* Single Product Page Layout & Grid System */
.dreamcrm-woocommerce-main-wrapper {
    padding-top: 1.5rem !important;
    padding-bottom: 4rem !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
}

.woocommerce-page-inner {
    width: 100% !important;
    max-width: 100% !important;
}

.woocommerce div.product,
.single-product div.product {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 3rem !important;
    margin-bottom: 3rem !important;
    background: #ffffff !important;
    padding: 2.5rem !important;
    border-radius: 24px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

@media (max-width: 868px) {
    .woocommerce div.product,
    .single-product div.product {
        grid-template-columns: 1fr !important;
        padding: 1.5rem !important;
        gap: 1.5rem !important;
        border-radius: 18px !important;
    }
}

@media (max-width: 576px) {
    .woocommerce div.product,
    .single-product div.product {
        padding: 1rem !important;
        gap: 1.25rem !important;
        border-radius: 14px !important;
        margin-bottom: 2rem !important;
    }
}

.woocommerce div.product div.images,
.single-product div.product div.images,
.single-product .woocommerce-product-gallery {
    grid-column: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    border: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
    box-sizing: border-box !important;
}

.woocommerce-product-gallery__wrapper,
.woocommerce-product-gallery__image {
    max-width: 100% !important;
}

.woocommerce div.product div.images img,
.single-product .woocommerce-product-gallery img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 14px !important;
}

.woocommerce div.product div.summary,
.single-product div.product div.summary,
.single-product .summary.entry-summary {
    grid-column: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

@media (max-width: 868px) {
    .woocommerce div.product div.images,
    .single-product div.product div.images,
    .woocommerce div.product div.summary,
    .single-product div.product div.summary {
        grid-column: 1 !important;
    }
}

.woocommerce div.product .product_title,
.single-product .product_title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 2.25rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 !important;
    line-height: 1.25 !important;
    word-break: break-word !important;
}

@media (max-width: 576px) {
    .woocommerce div.product .product_title,
    .single-product .product_title {
        font-size: 1.65rem !important;
    }
}

.woocommerce div.product p.price,
.single-product p.price,
.single-product span.price {
    font-size: 1.75rem !important;
    font-weight: 800 !important;
    color: #059669 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    margin: 0 !important;
    flex-wrap: wrap !important;
}

@media (max-width: 576px) {
    .woocommerce div.product p.price,
    .single-product p.price,
    .single-product span.price {
        font-size: 1.35rem !important;
    }
}

.woocommerce div.product p.price del,
.single-product p.price del,
.single-product span.price del {
    font-size: 1.15rem !important;
    color: #94a3b8 !important;
    font-weight: 500 !important;
    text-decoration: line-through !important;
}

.woocommerce div.product p.price ins,
.single-product p.price ins,
.single-product span.price ins {
    text-decoration: none !important;
    color: #059669 !important;
}

.single-product .woocommerce-product-details__short-description {
    color: #475569 !important;
    font-size: 1rem !important;
    line-height: 1.65 !important;
    border-top: 1px dashed #e2e8f0 !important;
    border-bottom: 1px dashed #e2e8f0 !important;
    padding: 1.1rem 0 !important;
    margin: 0.5rem 0 !important;
}

/* Single Product Action Form & Buttons */
.single-product form.cart,
.woocommerce div.product form.cart {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 0.75rem !important;
    margin: 1.25rem 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.single-product form.cart .quantity,
.woocommerce div.product form.cart .quantity {
    margin-right: 0 !important;
}

.single-product form.cart .quantity input.qty,
.woocommerce div.product form.cart .quantity input.qty {
    width: 68px !important;
    height: 48px !important;
    padding: 0 8px !important;
    border-radius: 12px !important;
    border: 1.5px solid #cbd5e1 !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    color: #0f172a !important;
    background: #ffffff !important;
}

.single-product form.cart button.single_add_to_cart_button,
.woocommerce div.product form.cart .button,
.woocommerce div.product form.cart button.button {
    height: 48px !important;
    padding: 0 1.75rem !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    border: none !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3) !important;
}

.single-product form.cart button.single_add_to_cart_button:hover,
.woocommerce div.product form.cart .button:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.4) !important;
}

/* Single Compare & Buy Now Injected Buttons */
.dcrm-single-compare-hook,
.dcrm-single-compare-injected {
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
}

.dcrm-add-compare-btn {
    height: 48px !important;
    padding: 0 1.5rem !important;
    border-radius: 12px !important;
    background-color: #ffffff !important;
    color: #4f46e5 !important;
    border: 1.5px solid #6366f1 !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    white-space: nowrap !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    margin: 0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
}

.dcrm-add-compare-btn:hover {
    background-color: #4f46e5 !important;
    color: #ffffff !important;
    border-color: #4f46e5 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.35) !important;
}

.dcrm-buy-now-btn {
    height: 48px !important;
    padding: 0 1.5rem !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    border: none !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    margin-left: 0 !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25) !important;
    transition: all 0.2s ease !important;
}

.dcrm-buy-now-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.35) !important;
}

@media (max-width: 576px) {
    .single-product form.cart .quantity,
    .woocommerce div.product form.cart .quantity {
        flex-shrink: 0 !important;
    }

    .single-product form.cart .quantity input.qty,
    .woocommerce div.product form.cart .quantity input.qty {
        width: 56px !important;
        height: 44px !important;
    }

    .single-product form.cart button.single_add_to_cart_button,
    .woocommerce div.product form.cart .button,
    .woocommerce div.product form.cart button.button {
        flex: 1 1 calc(100% - 72px) !important;
        height: 44px !important;
        padding: 0 1rem !important;
        font-size: 0.9rem !important;
    }

    .dcrm-single-compare-hook,
    .dcrm-single-compare-injected {
        width: 100% !important;
    }

    .dcrm-add-compare-btn,
    .dcrm-buy-now-btn {
        width: 100% !important;
        flex: 1 1 100% !important;
        height: 44px !important;
        justify-content: center !important;
        font-size: 0.875rem !important;
    }
}

/* Single Product Tabs (FULL WIDTH GRID SPAN) */
.single-product div.product .woocommerce-tabs,
.woocommerce div.product .woocommerce-tabs,
.single-product .woocommerce-tabs,
.woocommerce-tabs {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
    clear: both !important;
    background: #ffffff !important;
    border-radius: 20px !important;
    border: 1px solid #e2e8f0 !important;
    padding: 2.25rem !important;
    margin-top: 2.5rem !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.03) !important;
    box-sizing: border-box !important;
}

@media (max-width: 768px) {
    .single-product div.product .woocommerce-tabs,
    .woocommerce div.product .woocommerce-tabs,
    .single-product .woocommerce-tabs,
    .woocommerce-tabs {
        padding: 1.25rem 1rem !important;
        margin-top: 1.5rem !important;
        border-radius: 14px !important;
    }
}

.single-product .woocommerce-tabs ul.tabs,
.woocommerce div.product .woocommerce-tabs ul.tabs {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    border-bottom: 2px solid #f1f5f9 !important;
    padding: 0 0 0.85rem 0 !important;
    margin: 0 0 1.5rem 0 !important;
    list-style: none !important;
    background: transparent !important;
    border-radius: 0 !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    width: 100% !important;
    max-width: 100% !important;
    flex-wrap: nowrap !important;
}

.single-product .woocommerce-tabs ul.tabs::-webkit-scrollbar {
    display: none !important;
}

.single-product .woocommerce-tabs ul.tabs li,
.woocommerce div.product .woocommerce-tabs ul.tabs li {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    flex-shrink: 0 !important;
}

.single-product .woocommerce-tabs ul.tabs li a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.65rem 1.35rem !important;
    font-weight: 700 !important;
    font-size: 0.925rem !important;
    color: #64748b !important;
    border-radius: 12px !important;
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

@media (max-width: 576px) {
    .single-product .woocommerce-tabs ul.tabs li a,
    .woocommerce div.product .woocommerce-tabs ul.tabs li a {
        padding: 0.55rem 0.95rem !important;
        font-size: 0.85rem !important;
        border-radius: 8px !important;
    }
}

.single-product .woocommerce-tabs ul.tabs li a:hover,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
    color: #4f46e5 !important;
    background: #eef2ff !important;
    border-color: #c7d2fe !important;
}

.single-product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    background: linear-gradient(135deg, #6366f1, #4f46e5) !important;
    color: #ffffff !important;
    border-color: #4f46e5 !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3) !important;
}

.woocommerce div.product .woocommerce-tabs .panel,
.woocommerce-Tabs-panel {
    padding: 0.75rem 0 0 0 !important;
    color: #334155 !important;
    font-size: 0.95rem !important;
    line-height: 1.75 !important;
    border: none !important;
    box-shadow: none !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
}

.single-product table.shop_attributes {
    width: 100% !important;
    max-width: 100% !important;
    border-collapse: collapse !important;
}

@media (max-width: 576px) {
    .single-product table.shop_attributes,
    .single-product table.shop_attributes tbody,
    .single-product table.shop_attributes tr,
    .single-product table.shop_attributes th,
    .single-product table.shop_attributes td {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .single-product table.shop_attributes th {
        padding: 0.5rem 0 0.2rem 0 !important;
        border: none !important;
    }
    .single-product table.shop_attributes td {
        padding: 0 0 0.5rem 0 !important;
        border-bottom: 1px solid #f1f5f9 !important;
    }
}

.woocommerce div.product .woocommerce-tabs .panel h2,
.woocommerce-Tabs-panel h2 {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-bottom: 1rem !important;
    margin-top: 0 !important;
    letter-spacing: -0.01em !important;
}

/* Reviews List & Clean Product Reviews */
#reviews #comments h2.woocommerce-Reviews-title,
#reviews #comments h2 {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin-bottom: 1.25rem !important;
}

#reviews #comments ol.commentlist,
ol.commentlist {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 2rem 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
}

#reviews #comments ol.commentlist li,
ol.commentlist li.review,
ol.commentlist li.dreamcrm-review-item {
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    position: relative !important;
}

/* Review Card */
.dreamcrm-review-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 1.25rem 1.5rem !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 1.25rem !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
    position: relative !important;
    box-sizing: border-box !important;
}

/* Neutralize WooCommerce default comment_container if applied */
.woocommerce #reviews #comments ol.commentlist li .comment_container {
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Avatar - Strict overrides against WooCommerce absolute positioning */
.dreamcrm-review-avatar {
    flex-shrink: 0 !important;
    width: 44px !important;
    height: 44px !important;
    position: relative !important;
}

.dreamcrm-review-avatar img,
.dreamcrm-review-avatar .dreamcrm-avatar-img,
#reviews #comments ol.commentlist li img.avatar,
.woocommerce #reviews #comments ol.commentlist li img.avatar {
    position: static !important;
    float: none !important;
    top: auto !important;
    left: auto !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #e2e8f0 !important;
    background: #f1f5f9 !important;
    display: block !important;
    box-shadow: none !important;
}

.dreamcrm-avatar-initial {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: #4f46e5 !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: -0.01em !important;
}

/* Review Main Details */
.dreamcrm-review-main {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Header Row: Author + Rating Stars */
.dreamcrm-review-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.75rem !important;
    margin-bottom: 0.25rem !important;
    flex-wrap: wrap !important;
}

.dreamcrm-author-details {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    flex-wrap: wrap !important;
}

.dreamcrm-author-name {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 !important;
}

.dreamcrm-badge-verified {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
    background: #ecfdf5 !important;
    color: #059669 !important;
    border: 1px solid #a7f3d0 !important;
    padding: 0.15rem 0.5rem !important;
    border-radius: 9999px !important;
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    line-height: 1 !important;
}

/* Golden Star Icons */
.dreamcrm-stars-row {
    display: inline-flex !important;
    align-items: center !important;
    gap: 2px !important;
    font-size: 0.95rem !important;
    line-height: 1 !important;
}

.dreamcrm-stars-row .star-filled {
    color: #f59e0b !important;
}

.dreamcrm-stars-row .star-empty {
    color: #cbd5e1 !important;
}

/* Date */
.dreamcrm-review-date {
    font-size: 0.8rem !important;
    color: #64748b !important;
    margin-bottom: 0.6rem !important;
}

/* Review Text Content */
.dreamcrm-review-body,
.dreamcrm-review-body p,
#reviews #comments ol.commentlist li .description,
#reviews #comments ol.commentlist li .description p {
    color: #334155 !important;
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

/* Moderation Notice */
.dreamcrm-review-notice {
    font-size: 0.8rem !important;
    color: #b45309 !important;
    margin-bottom: 0.5rem !important;
}

/* Hide any legacy reply buttons */
.comment-reply-link,
.dreamcrm-reply-btn,
.review-card-footer {
    display: none !important;
}


#review_form_wrapper {
    margin-top: 2rem !important;
    padding-top: 1.5rem !important;
    border-top: 1px solid #e2e8f0 !important;
}

#review_form #reply-title {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-bottom: 1rem !important;
}

#review_form .comment-form-rating {
    margin-bottom: 1rem !important;
}

#review_form .comment-form-rating label {
    font-weight: 700 !important;
    color: #334155 !important;
    display: block !important;
    margin-bottom: 0.35rem !important;
}

#review_form .comment-form-rating .stars a {
    color: #f59e0b !important;
    font-size: 1.2rem !important;
    margin-right: 4px !important;
    text-decoration: none !important;
}

#review_form p.comment-form-comment label,
#review_form p.comment-form-author label,
#review_form p.comment-form-email label {
    display: block !important;
    font-weight: 700 !important;
    color: #334155 !important;
    margin-bottom: 0.35rem !important;
    font-size: 0.9rem !important;
}

#review_form input[type="text"],
#review_form input[type="email"],
#review_form textarea {
    width: 100% !important;
    padding: 0.75rem 1rem !important;
    border-radius: 10px !important;
    border: 1.5px solid #cbd5e1 !important;
    font-size: 0.95rem !important;
    font-family: inherit !important;
    color: #0f172a !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
}

#review_form input[type="submit"] {
    margin-top: 1rem !important;
    background: #4f46e5 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 10px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

#review_form input[type="submit"]:hover {
    background: #4338ca !important;
}

#review_form input[type="submit"]:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
}

/* Inline Review Feedback Alert */
.review-feedback-alert {
    padding: 0.85rem 1.25rem !important;
    border-radius: 10px !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    box-sizing: border-box !important;
}

.review-feedback-alert.alert-success {
    background: #ecfdf5 !important;
    color: #065f46 !important;
    border: 1px solid #a7f3d0 !important;
}

.review-feedback-alert.alert-error {
    background: #fef2f2 !important;
    color: #991b1b !important;
    border: 1px solid #fecaca !important;
}

@keyframes reviewSlideIn {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

ol.commentlist li.review.dreamcrm-new-review {
    animation: reviewSlideIn 0.4s ease forwards !important;
    border-color: #a5b4fc !important;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.08) !important;
}


/* Related Products Grid Layout (FULL WIDTH GRID SPAN) */
.single-product div.product .related.products,
.single-product div.product section.related,
.woocommerce div.product .related.products,
.woocommerce div.product section.related,
.woocommerce .related.products,
.woocommerce .upsells.products,
.related.products,
.upsells.products {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    display: block !important;
    margin-top: 3.5rem !important;
    clear: both !important;
}

.woocommerce .related.products h2,
.woocommerce .upsells.products h2,
.related.products h2,
.upsells.products h2 {
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.75rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-bottom: 1.75rem !important;
    letter-spacing: -0.02em !important;
}

.woocommerce .related.products ul.products,
.woocommerce .upsells.products ul.products,
.related.products ul.products,
.upsells.products ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.75rem !important;
    width: 100% !important;
    margin: 1.5rem 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

@media (max-width: 992px) {

    .woocommerce .related.products ul.products,
    .woocommerce .upsells.products ul.products,
    .related.products ul.products,
    .upsells.products ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 576px) {

    .woocommerce .related.products ul.products,
    .woocommerce .upsells.products ul.products,
    .related.products ul.products,
    .upsells.products ul.products {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================================
   2. Professional WooCommerce Cart Page Layout (Card & Grid System)
   ========================================================================== */
body.woocommerce-cart .woocommerce-page-inner {
    max-width: 1240px !important;
    margin: 0 auto !important;
    width: 100% !important;
}

.woocommerce-cart .woocommerce {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 2.5rem !important;
    align-items: flex-start !important;
    width: 100% !important;
}

.woocommerce-cart .woocommerce-cart-form {
    flex: 1 1 62% !important;
    min-width: 320px !important;
}

.woocommerce-cart .cart-collaterals {
    flex: 1 1 34% !important;
    min-width: 300px !important;
}

.woocommerce-cart table.cart {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: #ffffff !important;
    border-radius: 20px !important;
    border: 1px solid #e2e8f0 !important;
    overflow: hidden !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04) !important;
}

.woocommerce-cart table.cart th {
    background: #f8fafc !important;
    color: #475569 !important;
    font-size: 0.85rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    padding: 1.1rem 1.5rem !important;
    border-bottom: 1px solid #e2e8f0 !important;
    font-weight: 700 !important;
}

.woocommerce-cart table.cart td {
    padding: 1.25rem 1.5rem !important;
    border-bottom: 1px solid #f1f5f9 !important;
    vertical-align: middle !important;
}

.woocommerce-cart table.cart td.product-thumbnail img {
    width: 72px !important;
    height: 72px !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
}

.woocommerce-cart table.cart td.product-name a {
    font-weight: 700 !important;
    color: #0f172a !important;
    font-size: 1rem !important;
    text-decoration: none !important;
}

.woocommerce-cart table.cart td.product-name a:hover {
    color: #4f46e5 !important;
}

.woocommerce-cart table.cart td.product-price,
.woocommerce-cart table.cart td.product-subtotal {
    font-weight: 800 !important;
    color: #0f172a !important;
    font-size: 1.05rem !important;
}

.woocommerce-cart table.cart td.product-remove a.remove {
    color: #ef4444 !important;
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    width: 32px !important;
    height: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    background: #fef2f2 !important;
    transition: all 0.2s ease !important;
}

.woocommerce-cart table.cart td.product-remove a.remove:hover {
    background: #ef4444 !important;
    color: #ffffff !important;
}

/* Coupon & Cart Actions Row */
.woocommerce-cart table.cart td.actions {
    padding: 1.5rem !important;
    background: #f8fafc !important;
}

.woocommerce-cart .actions .coupon {
    display: flex !important;
    gap: 0.75rem !important;
    align-items: center !important;
}

.woocommerce-cart .actions .coupon input[type="text"] {
    padding: 0.75rem 1.25rem !important;
    border-radius: 10px !important;
    border: 1.5px solid #cbd5e1 !important;
    font-size: 0.95rem !important;
    width: 220px !important;
    background: #ffffff !important;
}

.woocommerce-cart .actions .coupon button[type="submit"] {
    padding: 0.75rem 1.5rem !important;
    border-radius: 10px !important;
    background: #0f172a !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.woocommerce-cart .actions .coupon button[type="submit"]:hover {
    background: #1e293b !important;
}

/* Cart Collaterals Box */
.woocommerce-cart .cart_totals {
    background: #ffffff !important;
    border-radius: 20px !important;
    border: 1px solid #e2e8f0 !important;
    padding: 2rem !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04) !important;
}

.woocommerce-cart .cart_totals h2 {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-bottom: 1.5rem !important;
    border-bottom: 2px solid #f1f5f9 !important;
    padding-bottom: 0.75rem !important;
}

.woocommerce-cart .cart_totals table.shop_table {
    width: 100% !important;
    margin-bottom: 1.5rem !important;
    border-collapse: collapse !important;
}

.woocommerce-cart .cart_totals table.shop_table th {
    background: none !important;
    padding: 0.85rem 0 !important;
    font-weight: 600 !important;
    color: #64748b !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.woocommerce-cart .cart_totals table.shop_table td {
    padding: 0.85rem 0 !important;
    text-align: right !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    font-size: 1.05rem !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    display: block !important;
    text-align: center !important;
    width: 100% !important;
    margin-top: 1.25rem !important;
    padding: 1.1rem 1.5rem !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #6366f1, #4f46e5) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 1.05rem !important;
    border: none !important;
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.3) !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4) !important;
}

/* ==========================================================================
   3. Professional WooCommerce Checkout Page Layout (Card & Grid System)
   ========================================================================== */
body.woocommerce-checkout .woocommerce-page-inner {
    max-width: 1240px !important;
    margin: 0 auto !important;
    width: 100% !important;
}

.woocommerce-checkout .woocommerce {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 2.5rem !important;
    align-items: flex-start !important;
    max-width: 1240px !important;
    margin: 0 auto !important;
}

.woocommerce-checkout form.checkout {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 2.5rem !important;
    width: 100% !important;
}

.woocommerce-checkout #customer_details {
    flex: 1 1 58% !important;
    min-width: 320px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1.75rem !important;
}

.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
    flex: 1 1 36% !important;
    min-width: 300px !important;
}

.woocommerce-checkout .col-1,
.woocommerce-checkout .col-2 {
    background: #ffffff !important;
    padding: 2rem !important;
    border-radius: 20px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04) !important;
}

.woocommerce-checkout h3 {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-bottom: 1.5rem !important;
    border-bottom: 2px solid #f1f5f9 !important;
    padding-bottom: 0.75rem !important;
}

.woocommerce-checkout .form-row {
    margin-bottom: 1.25rem !important;
}

.woocommerce-checkout .form-row label {
    display: block !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    color: #334155 !important;
    margin-bottom: 0.4rem !important;
}

.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row select {
    width: 100% !important;
    padding: 0.8rem 1rem !important;
    border-radius: 10px !important;
    border: 1.5px solid #cbd5e1 !important;
    font-size: 0.95rem !important;
    color: #0f172a !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s ease !important;
}

.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row textarea:focus,
.woocommerce-checkout .form-row select:focus {
    border-color: #6366f1 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15) !important;
}

/* Order Review Container */
.woocommerce-checkout #order_review {
    background: #ffffff !important;
    padding: 2rem !important;
    border-radius: 20px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04) !important;
}

.woocommerce-checkout table.shop_table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    margin-bottom: 1.75rem !important;
}

.woocommerce-checkout table.shop_table th,
.woocommerce-checkout table.shop_table td {
    padding: 1rem 0 !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.woocommerce-checkout table.shop_table td.product-name {
    font-weight: 600 !important;
    color: #0f172a !important;
    font-size: 0.95rem !important;
}

.woocommerce-checkout table.shop_table td.product-total {
    font-weight: 800 !important;
    color: #0f172a !important;
    text-align: right !important;
    font-size: 1rem !important;
}

/* Payment Methods Box */
#add_payment_method #payment,
.woocommerce-cart #payment,
.woocommerce-checkout #payment {
    background: #f8fafc !important;
    border-radius: 16px !important;
    padding: 1.5rem !important;
    border: 1px solid #e2e8f0 !important;
}

#payment ul.payment_methods {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 1.5rem 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.85rem !important;
}

#payment ul.payment_methods li {
    background: #ffffff !important;
    padding: 1.1rem 1.25rem !important;
    border-radius: 12px !important;
    border: 1px solid #cbd5e1 !important;
    transition: all 0.2s ease !important;
}

#payment ul.payment_methods li label {
    font-weight: 700 !important;
    color: #0f172a !important;
    font-size: 0.95rem !important;
    cursor: pointer !important;
}

#payment #place_order {
    width: 100% !important;
    display: block !important;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    padding: 1.1rem !important;
    border-radius: 12px !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35) !important;
    transition: all 0.2s ease !important;
}

#payment #place_order:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.45) !important;
}

/* ==========================================================================
   4. Professional Thank-You / Order Received Page Styling
   ========================================================================== */
.woocommerce-order-received .woocommerce-order {
    max-width: 920px !important;
    margin: 0 auto !important;
}

.woocommerce-order-received .woocommerce-notice--success {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5) !important;
    border: 1px solid #6ee7b7 !important;
    color: #065f46 !important;
    padding: 1.75rem 2.5rem !important;
    border-radius: 20px !important;
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    text-align: center !important;
    margin-bottom: 2rem !important;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.12) !important;
}

.woocommerce-order-overview {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)) !important;
    gap: 1.25rem !important;
    background: #ffffff !important;
    padding: 1.75rem !important;
    border-radius: 20px !important;
    border: 1px solid #e2e8f0 !important;
    list-style: none !important;
    margin-bottom: 2rem !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04) !important;
}

.woocommerce-order-overview li {
    font-size: 0.85rem !important;
    color: #64748b !important;
    font-weight: 600 !important;
}

.woocommerce-order-overview li strong {
    display: block !important;
    font-size: 1.1rem !important;
    color: #0f172a !important;
    font-weight: 800 !important;
    margin-top: 0.35rem !important;
}

.woocommerce-order-details,
.woocommerce-customer-details {
    background: #ffffff !important;
    padding: 2rem !important;
    border-radius: 20px !important;
    border: 1px solid #e2e8f0 !important;
    margin-bottom: 2rem !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04) !important;
}

.woocommerce-order-details h2,
.woocommerce-customer-details h2 {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-bottom: 1.5rem !important;
    border-bottom: 2px solid #f1f5f9 !important;
    padding-bottom: 0.75rem !important;
}

/* ==========================================================================
   Frontpage Form: Logged-in "Already in Demo Environment" Card
   ========================================================================== */
.logged-in-demo-wrapper {
    width: 100%;
    max-width: 100%;
}

.logged-in-demo-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 2.25rem !important;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08) !important;
    position: relative;
    overflow: hidden;
}

.logged-in-demo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b981 0%, #06b6d4 50%, #6366f1 100%);
}

.demo-active-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 9999px;
    color: #065f46;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.demo-active-pill .pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    position: relative;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.logged-in-card-header h3 {
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.45rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-bottom: 0.4rem !important;
    line-height: 1.25 !important;
}

.logged-in-card-header p {
    font-size: 0.9rem !important;
    color: #64748b !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}

.demo-user-profile-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0 1.75rem 0;
}

.demo-user-avatar {
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #ffffff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.demo-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.demo-user-meta {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.demo-user-name {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.demo-user-email {
    font-size: 0.8125rem;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.demo-subsite-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #4f46e5;
    font-size: 0.775rem;
    font-weight: 600;
    margin-top: 4px;
}

.logged-in-demo-actions {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.logged-in-demo-actions .btn-launch-crm {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.95rem 1.5rem;
    border-radius: 12px;
    border: none;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.35);
    transition: all 0.25s ease;
}

.logged-in-demo-actions .btn-launch-crm:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.45);
}

.logged-in-demo-actions .btn-store-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #ffffff !important;
    color: #334155 !important;
    border: 1.5px solid #cbd5e1 !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.logged-in-demo-actions .btn-store-link:hover {
    background: #f8fafc !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
}

.demo-switch-account {
    text-align: center;
    margin-top: 0.5rem;
}

.demo-switch-account .text-muted-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8125rem;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.demo-switch-account .text-muted-link:hover {
    color: #ef4444;
}

@media (max-width: 576px) {
    .logged-in-demo-card {
        padding: 1.5rem 1.25rem !important;
    }

    .logged-in-card-header h3 {
        font-size: 1.25rem !important;
    }

    .demo-user-profile-box {
        padding: 0.75rem 1rem;
    }

    .demo-user-avatar {
        width: 46px;
        height: 46px;
    }

    .logged-in-demo-actions .btn-launch-crm {
        font-size: 0.925rem;
        padding: 0.85rem 1rem;
    }
}

/* ==========================================================================
   Single Product Mobile Layout Perfection & Overflow Prevention
   Target: http://dreams-crm.local/product/beanie/
   ========================================================================== */
.single-product .dreamcrm-woocommerce-main-wrapper {
    max-width: 100vw !important;
    overflow-x: hidden !important;
}

.single-product .woocommerce-page-inner {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Breadcrumb Styling */
.single-product .woocommerce-breadcrumb,
.woocommerce-breadcrumb {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 0.35rem !important;
    font-size: 0.85rem !important;
    color: #64748b !important;
    margin-bottom: 1.5rem !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.woocommerce-breadcrumb a {
    color: #475569 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}

.woocommerce-breadcrumb a:hover {
    color: #4f46e5 !important;
}

/* Ensure images gallery doesn't overflow */
.single-product .woocommerce-product-gallery,
.woocommerce div.product div.images {
    position: relative !important;
    box-sizing: border-box !important;
}

.single-product .woocommerce-product-gallery .flex-viewport,
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
    border-radius: 14px !important;
    overflow: hidden !important;
    max-width: 100% !important;
}

/* Thumbnail strip underneath main product image */
.single-product .flex-control-thumbs,
.woocommerce div.product div.images .flex-control-thumbs {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 8px 0 0 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.single-product .flex-control-thumbs li,
.woocommerce div.product div.images .flex-control-thumbs li {
    flex: 0 0 64px !important;
    width: 64px !important;
    float: none !important;
    margin: 0 !important;
}

.single-product .flex-control-thumbs li img,
.woocommerce div.product div.images .flex-control-thumbs li img {
    border-radius: 8px !important;
    border: 1.5px solid #e2e8f0 !important;
    transition: border-color 0.2s ease !important;
    cursor: pointer !important;
}

.single-product .flex-control-thumbs li img.flex-active,
.single-product .flex-control-thumbs li img:hover {
    border-color: #4f46e5 !important;
}

/* Prevent any horizontal overflow on entire single-product page */
@media (max-width: 768px) {
    .single-product div.product {
        display: flex !important;
        flex-direction: column !important;
        padding: 1.25rem !important;
        gap: 1.5rem !important;
        margin-bottom: 2rem !important;
    }

    .single-product div.product div.images,
    .single-product div.product div.summary {
        width: 100% !important;
        max-width: 100% !important;
    }

    .single-product .product_title {
        font-size: 1.75rem !important;
    }

    .single-product .woocommerce-tabs {
        padding: 1.25rem 1rem !important;
    }

    .dreamcrm-review-card {
        padding: 1rem !important;
        gap: 0.85rem !important;
    }

    .dreamcrm-review-avatar {
        width: 38px !important;
        height: 38px !important;
    }

    .dreamcrm-avatar-initial {
        width: 38px !important;
        height: 38px !important;
        font-size: 0.95rem !important;
    }
}

@media (max-width: 480px) {
    .single-product div.product {
        padding: 1rem 0.85rem !important;
        border-radius: 16px !important;
    }

    .single-product .product_title {
        font-size: 1.5rem !important;
    }

    .single-product p.price,
    .single-product span.price {
        font-size: 1.35rem !important;
    }

    .single-product form.cart {
        gap: 0.5rem !important;
    }

    .single-product form.cart .quantity input.qty {
        width: 50px !important;
        height: 44px !important;
        font-size: 0.95rem !important;
    }

    .single-product form.cart button.single_add_to_cart_button {
        flex: 1 1 calc(100% - 62px) !important;
        height: 44px !important;
        font-size: 0.875rem !important;
    }

    .single-product .woocommerce-tabs ul.tabs li a {
        padding: 0.45rem 0.75rem !important;
        font-size: 0.8rem !important;
    }
}