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

html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
}

:root {
    --primary-color: #ffffff;
    --primary-dark: #f0f0f0;
    --secondary-color: #000000;
    --text-dark: #000000;
    --text-light: #2D004B;
    --accent-color: #ff0000;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
    position: relative;
    left: 0;
    right: 0;
}

section {
    width: 100%;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.navbar {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 0, 0, 0.2);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

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

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.cta-button {
    background: linear-gradient(135deg, var(--accent-color), #cc0000);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(255, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cta-button:hover {
    background: linear-gradient(135deg, #cc0000, #990000);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.5);
}

.hero {
    background-color: #000000;
    background-image: radial-gradient(ellipse at 20% 30%, rgba(255, 215, 0, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(220, 53, 69, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 70%),
        linear-gradient(135deg, #000000 0%, #1a0000 50%, #000000 100%);
    color: var(--white);
    padding: 140px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    width: 100%;
    margin: 0;
    left: 0;
    right: 0;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.5);
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
            90deg,
            transparent,
            transparent 200px,
            rgba(255, 255, 255, 0.01) 200px,
            rgba(255, 255, 255, 0.01) 201px
        );
    pointer-events: none;
    z-index: 1;
    opacity: 0.5;
}

.chaos-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    opacity: 0.15;
}

.chaos-item {
    position: absolute;
    font-size: 2rem;
    color: var(--accent-color);
    animation: chaosFloat 20s ease-in-out infinite;
}

.chaos-item i {
    display: block;
    animation: chaosRotate 15s linear infinite;
}

.spreadsheet {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.task {
    top: 25%;
    right: 15%;
    animation-delay: 2s;
}

.fire {
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.fire i {
    animation: fireFlicker 0.5s ease-in-out infinite alternate !important;
}

@keyframes fireFlicker {
    0% {
        transform: scale(1) translateY(0);
        text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
    }
    100% {
        transform: scale(1.1) translateY(-2px);
        text-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
    }
}

.document {
    top: 50%;
    right: 25%;
    animation-delay: 6s;
}

.alert {
    bottom: 20%;
    right: 10%;
    animation-delay: 8s;
}

@keyframes chaosFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.8;
    }
    25% {
        transform: translate(30px, -20px) scale(1.1);
        opacity: 1;
    }
    50% {
        transform: translate(-20px, 30px) scale(0.9);
        opacity: 0.3;
    }
    75% {
        transform: translate(-30px, -10px) scale(1.05);
        opacity: 0.6;
    }
}

@keyframes chaosRotate {
    0%, 100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(180deg);
    }
}

.system-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    animation: gridAppear 40s ease-in-out infinite;
}

.grid-line {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
}

.grid-line.horizontal {
    width: 100%;
    height: 1px;
    top: 50%;
    transform: translateY(-50%);
}

.grid-line.vertical {
    width: 1px;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
}

@keyframes gridAppear {
    0%, 40%, 100% {
        opacity: 0;
    }
    50%, 90% {
        opacity: 0.3;
    }
}

.hero-title {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 1;
    letter-spacing: -0.03em;
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, #ffffff 0%, #d0d0d0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    filter: drop-shadow(0 4px 20px rgba(255, 255, 255, 0.2));
}

.hero-title::before {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    background: linear-gradient(45deg, #FFD700 0%, #FFA500 50%, #FF6347 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    filter: blur(20px) opacity(0.5);
    animation: shimmer 8s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { 
        transform: translateX(0);
        opacity: 0.3;
    }
    50% { 
        transform: translateX(5px);
        opacity: 0.6;
    }
}

.hero-subtitle {
    font-size: 1.6rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    opacity: 1;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.5px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero .container {
    position: relative;
    z-index: 2;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 20px;
    box-sizing: border-box;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto 3rem;
    font-size: 1.25rem;
    line-height: 1.9;
    font-weight: 300;
    letter-spacing: 0.3px;
}

.hero-content p {
    margin-bottom: 1.5rem;
    opacity: 1;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-content strong {
    font-weight: 600;
    color: var(--white);
}

.hero-highlight {
    margin: 3rem auto 2rem;
    padding: 2rem 3rem;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 12px;
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    max-width: 900px;
    box-shadow: 
        inset 0 0 30px rgba(255, 0, 0, 0.1),
        0 8px 32px rgba(0, 0, 0, 0.4);
}

.hero-highlight p {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    text-align: center;
}

.hero-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid rgba(255, 0, 0, 0.3);
    border-radius: 12px;
    z-index: -1;
}

.chaos-to-order-comparison {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    padding: 2rem 0;
    flex-wrap: nowrap;
    min-height: 250px;
    max-width: 700px;
    margin: 0 auto 2rem auto;
}

.state-container {
    width: 200px;
    flex: 0 0 200px;
    text-align: center;
    position: relative;
}

.state-container .label {
    font-size: 1.2rem;
    font-weight: 700;
    display: block;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    height: 30px;
    line-height: 30px;
}

.visual-container {
    width: 200px;
    height: 200px;
    position: relative;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.chaos-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.chaos-item {
    position: absolute;
    font-size: 1.5rem;
    opacity: 0;
    animation: chaosFloat 4s ease-in-out infinite var(--delay);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.chaos-item:nth-child(1) { top: calc(20% - 20px); left: calc(25% - 20px); color: #4CAF50; }
.chaos-item:nth-child(2) { top: calc(20% - 20px); left: calc(65% - 20px); color: #FFC107; }
.chaos-item:nth-child(3) { top: calc(50% - 20px); left: calc(15% - 20px); color: #ff4444; }
.chaos-item:nth-child(4) { top: calc(50% - 20px); left: calc(75% - 20px); color: #2196F3; }
.chaos-item:nth-child(5) { top: calc(80% - 20px); left: calc(25% - 20px); color: #9C27B0; }
.chaos-item:nth-child(6) { top: calc(80% - 20px); left: calc(65% - 20px); color: #FF9800; }

@keyframes chaosFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    50% {
        transform: translate(var(--random-x, 10px), var(--random-y, -10px)) rotate(180deg);
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
}

.order-elements {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.system-hub {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    animation: hubPulse 2s ease-in-out infinite;
}

.system-hub i {
    font-size: 1.8rem;
    color: var(--text-dark);
}

.orbit-ring {
    position: absolute;
    width: 140px;
    height: 140px;
    border: 2px dashed rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    animation: ringRotate 20s linear infinite;
}

.order-item {
    position: absolute;
    font-size: 1.2rem;
    color: #FFD700;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 215, 0, 0.2);
    border-radius: 50%;
    border: 2px solid rgba(255, 215, 0, 0.5);
    opacity: 0;
    left: 50%;
    top: 50%;
    margin-left: -20px;
    margin-top: -20px;
    animation: orbitAppear 1s ease-out calc(var(--position) * 0.3s) forwards,
               orbitRotate 8s linear calc(var(--position) * 0.3s) infinite;
    cursor: pointer;
    transition: all 0.3s ease;
}

.order-item:hover {
    background: rgba(255, 215, 0, 0.4);
    border-color: #FFD700;
    transform: scale(1.2);
}

.order-item:nth-child(3) { --orbit-radius: 80px; --start-angle: 0deg; }
.order-item:nth-child(4) { --orbit-radius: 80px; --start-angle: 60deg; }
.order-item:nth-child(5) { --orbit-radius: 80px; --start-angle: 120deg; }
.order-item:nth-child(6) { --orbit-radius: 80px; --start-angle: 180deg; }
.order-item:nth-child(7) { --orbit-radius: 80px; --start-angle: 240deg; }
.order-item:nth-child(8) { --orbit-radius: 80px; --start-angle: 300deg; }

@keyframes hubPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes ringRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes orbitAppear {
    from { opacity: 0; transform: scale(0); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes orbitRotate {
    from {
        transform: rotate(var(--start-angle)) translateX(var(--orbit-radius)) rotate(calc(-1 * var(--start-angle)));
    }
    to {
        transform: rotate(calc(var(--start-angle) + 360deg)) translateX(var(--orbit-radius)) rotate(calc(-1 * (var(--start-angle) + 360deg)));
    }
}

.state-container .status {
    display: block;
    margin-top: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0;
    height: 25px;
    line-height: 25px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.chaos-state .status {
    color: var(--accent-color);
    animation: fadeIn 0.5s ease-out 2s forwards;
}

.order-state .status {
    color: #FFD700;
    animation: fadeIn 0.5s ease-out 2.5s forwards;
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

.transformation-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    animation: arrowAppear 1s ease-out 4s forwards;
    flex: 0 0 auto;
    min-width: 100px;
    align-self: center;
}

.transformation-arrow i {
    font-size: 2rem;
    color: #FFD700;
}

.transformation-arrow span {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #FFD700;
}

@keyframes arrowAppear {
    0% { 
        opacity: 0;
        transform: translateX(-20px);
    }
    100% { 
        opacity: 1;
        transform: translateX(0);
    }
}

/* Redesigned transformation comparison - Dark Mode */
.chaos-to-order-comparison {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
    border-radius: 16px !important;
    padding: 3rem 2rem !important;
    margin: 2rem 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 4rem !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.state-container .label {
    color: white !important;
    font-weight: 700 !important;
}

.visual-container {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

.chaos-item {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ff6b6b !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.2) !important;
    border: 1px solid rgba(255, 107, 107, 0.3) !important;
}

.order-item {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #dc3545 !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.2) !important;
    border: 1px solid rgba(220, 53, 69, 0.3) !important;
}

.system-hub {
    background: #dc3545 !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4) !important;
}

.orbit-ring {
    border-color: rgba(220, 53, 69, 0.2) !important;
}

.state-container .status {
    color: white !important;
    font-weight: 600 !important;
    margin-top: 1rem !important;
}

.chaos-state .status {
    color: #ff6b6b !important;
}

.order-state .status {
    color: #51cf66 !important;
}

.transformation-arrow {
    display: none !important;
}

.transformation-arrow i {
    color: var(--accent-color) !important;
}

.transformation-arrow span {
    color: var(--text-dark) !important;
}

/* Mobile styles for transformation comparison */
@media (max-width: 768px) {
    .chaos-to-order-comparison {
        padding: 2rem 1rem !important;
        flex-direction: column !important;
        gap: 2rem !important;
    }
    
    .state-container {
        min-width: 100% !important;
        width: 100% !important;
        flex: 1 1 auto !important;
        max-width: 280px !important;
    }
    
    .state-container .label {
        font-size: 1.2rem !important;
        margin-bottom: 0.8rem !important;
    }
    
    .visual-container {
        width: 100% !important;
        height: 180px !important;
        margin: 0 auto !important;
        max-width: 280px !important;
    }
    
    
    /* Adjust chaos items for mobile */
    .chaos-item {
        font-size: 1rem !important;
        width: 32px !important;
        height: 32px !important;
    }
    
    /* Adjust system hub for mobile */
    .system-hub {
        width: 40px !important;
        height: 40px !important;
    }
    
    .system-hub i {
        font-size: 1.2rem !important;
    }
    
    /* Adjust order items for mobile */
    .order-item {
        font-size: 1rem !important;
        width: 32px !important;
        height: 32px !important;
    }
    
    .state-container .status {
        font-size: 1rem !important;
        margin-top: 0.8rem !important;
    }
}


.hero-emphasis {
    font-size: 1.5rem !important;
    font-weight: 500 !important;
    margin: 2.5rem 0 !important;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    position: relative;
    backdrop-filter: blur(10px);
    animation: fadeInUp 1s ease-out 0.7s both;
}

.hero-emphasis::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.3), transparent);
    border-radius: 12px;
    opacity: 0;
    z-index: -1;
    animation: borderGlow 8s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% { 
        opacity: 0;
        transform: scale(1);
    }
    50% { 
        opacity: 1;
        transform: scale(1.02);
    }
}

.text-glow {
    color: #FFD700;
    text-shadow: 
        0 0 10px rgba(255, 215, 0, 0.8),
        0 0 20px rgba(255, 215, 0, 0.6),
        0 0 30px rgba(255, 215, 0, 0.4);
    font-weight: 800;
    animation: glow 5s ease-in-out infinite;
}

.text-danger {
    color: var(--accent-color);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
    animation: danger-pulse 4s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

@keyframes danger-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-cta {
    font-size: 1.3rem;
    padding: 20px 40px;
    background: linear-gradient(135deg, var(--accent-color), #cc0000);
    color: var(--white);
    position: relative;
    overflow: hidden;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    box-shadow: 
        0 4px 15px rgba(255, 0, 0, 0.4),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.hero-cta:hover {
    transform: scale(1.05);
    box-shadow: 
        0 6px 20px rgba(255, 0, 0, 0.6),
        inset 0 0 20px rgba(255, 255, 255, 0.2);
}

.hero-cta:hover::before {
    left: 100%;
}

.cta-subtext {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
    padding: 0 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.systems-hero {
    padding: 120px 0 80px;
    background-color: #000000;
    background-image: linear-gradient(135deg, #000000 0%, #1a0000 25%, #330000 50%, #660000 75%, #ff0000 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
}

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

.systems-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 0, 0, 0.2) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

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

.systems-hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: -1px;
}

.systems-hero-subtitle {
    font-size: 1.75rem;
    color: #ffcccc;
    font-weight: 400;
    position: relative;
    z-index: 1;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin-bottom: 2rem;
}

.hero-cta {
    margin-top: 1rem;
    font-size: 1.2rem;
    padding: 16px 32px;
    background: #ffffff;
    color: #ff0000;
    border: 2px solid #ffffff;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.hero-cta:hover {
    background: transparent;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.solution {
    padding: 80px 0;
}

.solution-intro {
    max-width: 900px;
    margin: 0 auto 4rem;
    text-align: center;
}

.solution-intro p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.solution-emphasis {
    font-size: 1.4rem !important;
    font-weight: 600;
    color: var(--text-dark) !important;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.03) 0%, rgba(255, 0, 0, 0.03) 100%);
    border-radius: 12px;
    border: 1px solid rgba(255, 0, 0, 0.1);
}

.solution-cta-text {
    font-size: 1.3rem !important;
    color: var(--text-dark) !important;
    margin-top: 2rem !important;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.solution-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.solution-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.solution-card .icon i {
    font-size: inherit;
}

.solution-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.solution-card p {
    color: var(--text-light);
}

.features {
    padding: 80px 0;
    background: var(--bg-light);
}

/* Pipeline Animation Styles */
/* Desktop Pipeline & Metrics Animation */
.pipeline-metrics-desktop {
    display: block;
    background: #f8f9fa;
    border-radius: 16px;
    padding: 0;
    position: relative;
    overflow: visible;
    height: 100%;
    min-height: 500px;
}

/* Pipeline Board */
.pipeline-board {
    display: flex;
    gap: 12px;
    padding: 20px;
    height: 360px;
    position: relative;
    background: white;
    border-radius: 16px 16px 0 0;
    overflow: visible;
}

/* Pipeline Stages */
.pipeline-stage {
    flex: 1;
    background: #f5f6fa;
    border-radius: 12px;
    padding: 12px;
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.stage-header {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e5e7eb;
}

.stage-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 8px 0;
}

.stage-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stage-count {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

.stage-value {
    font-size: 0.875rem;
    color: #059669;
    font-weight: 600;
}

/* Stage Cards Container */
.stage-cards {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    padding-right: 4px;
}

/* Deal Cards */
.deal-card {
    background: white;
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.deal-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.card-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    flex-shrink: 0;
}

.card-info {
    flex: 1;
    min-width: 0;
}

.card-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-company {
    font-size: 0.75rem;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: #059669;
    margin-bottom: 8px;
}

.card-progress {
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    overflow: hidden;
    margin-top: 8px;
}

.card-progress .progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #4ade80 0%, #22c55e 100%);
    transition: width 0.3s ease;
}

.card-tags {
    display: flex;
    gap: 6px;
    margin-top: 8px;
}

.tag {
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 500;
}

.tag.hot {
    background: #fee2e2;
    color: #dc2626;
}

.card-status {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #059669;
    background: #d1fae5;
    padding: 3px 8px;
    border-radius: 6px;
}

/* Won cards styling */
.deal-card.won {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #86efac;
}

/* Moving Card Animation */
.deal-card.moving-card {
    position: absolute;
    top: 120px;
    left: 40px;
    width: 200px;
    z-index: 100;
    animation: moveAcrossPipeline 12s ease-in-out infinite;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

@keyframes moveAcrossPipeline {
    0%, 10% {
        left: 40px;
        opacity: 0;
        transform: scale(0.8);
    }
    15% {
        opacity: 1;
        transform: scale(1);
    }
    25% {
        left: 40px;
        opacity: 1;
        transform: scale(1);
    }
    40% {
        left: calc(25% + 10px);
        opacity: 1;
        transform: scale(1);
    }
    55% {
        left: calc(50% + 10px);
        opacity: 1;
        transform: scale(1);
    }
    70% {
        left: calc(75% + 10px);
        opacity: 1;
        transform: scale(1);
    }
    80% {
        left: calc(75% + 10px);
        opacity: 1;
        transform: scale(1);
    }
    90%, 100% {
        left: calc(75% + 10px);
        opacity: 0;
        transform: scale(0.8);
    }
}

/* Metrics Summary */
.metrics-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 16px 20px;
    background: #f8f9fa;
    border-radius: 0 0 16px 16px;
    border-top: 1px solid #e5e7eb;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.summary-icon {
    font-size: 1.5rem;
    opacity: 0.8;
}

.summary-content {
    flex: 1;
}

.summary-label {
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.summary-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
}

/* Progress bar fill animation */
@keyframes fillProgress {
    0%, 25% {
        width: 0%;
    }
    40% {
        width: 30%;
    }
    55% {
        width: 60%;
    }
    70% {
        width: 85%;
    }
    85%, 100% {
        width: 100%;
    }
}

/* Pulse animation for values */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Specific stage colors */
.pipeline-stage[data-stage="lead"] .stage-title {
    color: #3b82f6;
}

.pipeline-stage[data-stage="qualified"] .stage-title {
    color: #8b5cf6;
}

.pipeline-stage[data-stage="proposal"] .stage-title {
    color: #f59e0b;
}

.pipeline-stage[data-stage="won"] .stage-title {
    color: #10b981;
}

/* Stage drop zones for visual feedback */
.pipeline-stage[data-stage="lead"] {
    background: linear-gradient(to bottom, #eff6ff 0%, #f5f6fa 100%);
}

.pipeline-stage[data-stage="qualified"] {
    background: linear-gradient(to bottom, #f5f3ff 0%, #f5f6fa 100%);
}

.pipeline-stage[data-stage="proposal"] {
    background: linear-gradient(to bottom, #fffbeb 0%, #f5f6fa 100%);
}

.pipeline-stage[data-stage="won"] {
    background: linear-gradient(to bottom, #f0fdf4 0%, #f5f6fa 100%);
}

/* Custom scrollbar for stage cards */
.stage-cards::-webkit-scrollbar {
    width: 4px;
}

.stage-cards::-webkit-scrollbar-track {
    background: transparent;
}

.stage-cards::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 2px;
}

.stage-cards::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

/* Ensure moving card is visible */
.pipeline-board {
    overflow: visible;
}

/* Add subtle hover effect to stage columns */
.pipeline-stage:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Pipeline Feature Card Layout */
.feature-card.pipeline-feature {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
}

.feature-card.pipeline-feature .pipeline-metrics-desktop {
    margin-bottom: 0;
}

/* Content Section Below Animation */
.pipeline-content-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
    background: white;
    align-items: start;
}

.pipeline-headline {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.pipeline-headline .feature-icon {
    font-size: 2.5rem;
    color: #ef4444;
}

.pipeline-headline h3 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--text-dark);
}

.pipeline-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pipeline-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.pipeline-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Hide mobile content on desktop */
@media (min-width: 769px) {
    .feature-card.pipeline-feature .mobile-only {
        display: none !important;
    }
}

/* Mobile: Keep original layout */
@media (max-width: 768px) {
    .pipeline-content-section {
        display: none !important;
    }
    
    .feature-card.pipeline-feature {
        display: grid;
        padding: 2rem;
    }
    
    .feature-card.pipeline-feature .mobile-only {
        display: block !important;
    }
}

.metric-change.positive {
    color: #4CAF50;
}

.metric-change.negative {
    color: #f44336;
}

/* Pipeline Visualization */
.pipeline-visualization {
    position: relative;
    background: white;
    border-radius: 12px;
    padding: 30px 20px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.pipeline-visualization .pipeline-stage {
    width: 25%;
    float: left;
    text-align: center;
    position: relative;
}

.pipeline-visualization .stage-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    margin: 0 5px;
    background: rgba(79, 70, 229, 0.05);
    border-radius: 8px;
    margin-bottom: 15px;
}

.stage-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.stage-count {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-color);
}

.pipeline-visualization .stage-column {
    height: 200px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 0 10px;
}

.pipeline-visualization .stage-bar {
    width: 100%;
    background: linear-gradient(to top, var(--accent-color), rgba(79, 70, 229, 0.6));
    border-radius: 8px 8px 0 0;
    position: relative;
    transition: height 0.8s ease;
    min-height: 20px;
    max-width: 80px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 10px;
}

.bar-value {
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.pipeline-visualization::after {
    content: "";
    display: table;
    clear: both;
}

/* Conversion Arrows */
.conversion-arrows {
    position: absolute;
    bottom: 240px;
    left: 0;
    right: 0;
    height: 30px;
}

.conversion-arrow {
    position: absolute;
    width: 60px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.conversion-arrow::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background: #ddd;
    left: 10px;
}

.conversion-arrow::after {
    content: '▶';
    position: absolute;
    right: 10px;
    color: #ddd;
    font-size: 0.6rem;
}

.conversion-rate {
    background: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--accent-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

/* Enhanced Moving Card */
.pipeline-visualization .moving-card {
    position: absolute;
    background: white;
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    width: 110px;
    top: 180px;
    left: 10px;
    animation: pipelineCardMove 12s ease-in-out infinite;
    z-index: 10;
    border: 2px solid var(--accent-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pipeline-visualization .card-avatar {
    width: 36px;
    height: 36px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    flex-shrink: 0;
}

.card-details {
    flex: 1;
    text-align: left;
}

.pipeline-visualization .card-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.pipeline-visualization .card-value {
    font-size: 0.95rem;
    color: #4CAF50;
    font-weight: 700;
}

/* Keep old class for backward compatibility */
.pipeline-animation-desktop {
    display: block;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 400px;
}

/* Mobile Pipeline Animation - Purpose Built */
.pipeline-animation-mobile {
    display: none;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 20px;
    position: relative;
    overflow: visible;
    min-height: 450px;
}

/* Hide mobile on desktop, show desktop */
@media (min-width: 769px) {
    .pipeline-animation-mobile {
        display: none !important;
    }
    .pipeline-animation-desktop,
    .pipeline-metrics-desktop {
        display: block !important;
    }
}

/* Hide desktop on mobile, show mobile */
@media (max-width: 768px) {
    .pipeline-animation-desktop,
    .pipeline-metrics-desktop {
        display: none !important;
    }
    .pipeline-animation-mobile {
        display: block !important;
    }
}

/* DESKTOP STYLES START */
.pipeline-animation-desktop .pipeline-stage {
    width: 25%;
    float: left;
    text-align: center;
    position: relative;
}

.pipeline-animation-desktop .stage-header {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-dark);
    padding: 8px 5px;
    margin: 0 5px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.pipeline-animation-desktop .stage-column {
    height: 200px;
    margin-top: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 0 10px;
}

.pipeline-animation-desktop .stage-bar {
    width: 100%;
    background: linear-gradient(to top, var(--accent-color), rgba(79, 70, 229, 0.6));
    border-radius: 8px 8px 0 0;
    position: relative;
    transition: height 0.8s ease;
    min-height: 20px;
    max-width: 80px;
}

.pipeline-animation-desktop .pipeline-progress {
    position: absolute;
    bottom: 20px;
    left: 12.5%;
    right: 12.5%;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.pipeline-animation-desktop .progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), #4CAF50);
    width: 0%;
    animation: desktopProgressFill 12s ease-in-out infinite;
    border-radius: 2px;
}

.pipeline-animation-desktop .moving-card {
    position: absolute;
    background: white;
    border-radius: 8px;
    padding: 15px 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    width: 100px;
    top: 160px;
    left: 10px;
    text-align: center;
    animation: desktopCardMove 12s ease-in-out infinite;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.pipeline-animation-desktop::after {
    content: "";
    display: table;
    clear: both;
}

/* MOBILE STYLES START */
.mobile-pipeline-stage {
    background: white;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 30px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-left: 4px solid;
    transition: all 0.3s ease;
}

.mobile-pipeline-stage[data-stage="lead"] {
    border-left-color: var(--accent-color);
}

.mobile-pipeline-stage[data-stage="qualified"] {
    border-left-color: #FFA500;
}

.mobile-pipeline-stage[data-stage="proposal"] {
    border-left-color: #FFD700;
}

.mobile-pipeline-stage[data-stage="won"] {
    border-left-color: #4CAF50;
}

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

.mobile-stage-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.mobile-stage-count {
    font-size: 0.9rem;
    font-weight: 700;
    color: #666;
}

.mobile-stage-indicator {
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

.mobile-moving-card {
    position: absolute;
    background: white;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--accent-color);
    display: flex;
    align-items: center;
    gap: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    animation: mobileCardMove 12s ease-in-out infinite;
    width: 140px;
}

.mobile-card-avatar {
    width: 36px;
    height: 36px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    flex-shrink: 0;
}

.mobile-card-info {
    flex: 1;
    text-align: left;
}

.mobile-card-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.mobile-card-value {
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 700;
}

/* General card styles for backward compatibility */
.card-avatar {
    width: 30px;
    height: 30px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    margin: 0 auto 6px;
}

.card-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 3px;
}

.card-value {
    font-size: 0.85rem;
    color: var(--accent-color);
    font-weight: 700;
}

/* Original pipeline animation class for backward compatibility */
.pipeline-animation {
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 400px;
}

/* Calendar Customization Animation Styles */
.calendar-customization-animation {
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 20px 15px;
    margin-bottom: 30px;
    position: relative;
    min-height: 180px;
    overflow: hidden;
}

/* Calendar Widget Pro Styles */
.calendar-widget-pro {
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 15px;
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 350px;
    max-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.8s ease;
}

.calendar-widget-content {
    width: 100%;
    max-width: 500px;
    height: 100%;
    max-height: 420px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.calendar-header {
    background: white;
    padding: 12px 15px;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.6s ease;
    flex-shrink: 0;
}

.calendar-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.calendar-branding {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.calendar-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.calendar-status {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    color: #6c757d;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #28a745;
    border-radius: 50%;
    animation: pulse 5s ease-in-out infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.4); }
    70% { box-shadow: 0 0 0 8px rgba(40, 167, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); }
}

@keyframes flowPulse {
    0% {
        left: 0;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

.calendar-view-toggles {
    display: flex;
    gap: 4px;
    background: #f8f9fa;
    padding: 4px;
    border-radius: 8px;
}

.view-toggle {
    padding: 4px 8px;
    border: none;
    background: transparent;
    color: #6c757d;
    font-size: 0.65rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.view-toggle:hover {
    background: rgba(79, 70, 229, 0.05);
    color: var(--accent-color);
}

.view-toggle.active {
    background: var(--accent-color);
    color: white;
}

.calendar-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.cal-nav-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #e9ecef;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-dark);
}

.cal-nav-btn:hover {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    transform: scale(1.05);
}

.calendar-current-date {
    display: flex;
    align-items: baseline;
    gap: 6px;
    min-width: 140px;
    text-align: center;
    justify-content: center;
}

.current-month {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.current-year {
    font-size: 0.85rem;
    color: #6c757d;
}

/* Calendar Body */
.calendar-body {
    flex: 1;
    position: relative;
    overflow: auto;
    background: #fafbfc;
    transition: all 0.6s ease;
    max-height: 250px;
}

/* Custom scrollbar for calendar body */
.calendar-body::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.calendar-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.calendar-body::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.calendar-body::-webkit-scrollbar-thumb:hover {
    background: #999;
}

.calendar-grid {
    display: none;
    height: 100%;
}

.calendar-grid.week-view {
    display: flex;
}

.calendar-grid.active {
    display: flex;
}

.time-column {
    width: 50px;
    background: white;
    border-right: 1px solid #e9ecef;
    padding-top: 30px;
}

.time-slot-label {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    color: #6c757d;
    border-bottom: 1px solid #f0f0f0;
}

.days-container {
    flex: 1;
    display: flex;
    overflow-x: auto;
}

.day-column {
    flex: 1;
    min-width: 80px;
    border-right: 1px solid #e9ecef;
    background: white;
    transition: all 0.5s ease;
}

.day-column.today {
    background: linear-gradient(180deg, #f0f4ff 0%, white 100%);
}

.day-header {
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-bottom: 1px solid #e9ecef;
    position: sticky;
    top: 0;
    background: inherit;
    z-index: 10;
}

.day-column.today .day-header {
    border-bottom-color: var(--accent-color);
}

.day-name {
    font-size: 0.75rem;
    color: #6c757d;
    font-weight: 600;
}

.day-number {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
}

.today-badge {
    background: var(--accent-color);
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.6rem;
    font-weight: 600;
}

.time-slots {
    display: flex;
    flex-direction: column;
}

.time-slot {
    height: 40px;
    border-bottom: 1px solid #f0f0f0;
    padding: 2px 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.time-slot.available {
    background: rgba(40, 167, 69, 0.03);
}

.time-slot.available:hover {
    background: rgba(40, 167, 69, 0.1);
    border-color: rgba(40, 167, 69, 0.3);
}

.time-slot.available::after {
    content: 'Available';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.65rem;
    color: #28a745;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.time-slot.available:hover::after {
    opacity: 1;
}

.time-slot.booked {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 3px solid var(--accent-color);
}

.time-slot.break {
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 0.75rem;
    font-style: italic;
}

.time-slot.blocked {
    background: repeating-linear-gradient(
        45deg,
        #f8f9fa,
        #f8f9fa 10px,
        #e9ecef 10px,
        #e9ecef 20px
    );
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 0.75rem;
}

.booking-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding-left: 6px;
}

.booking-type {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.booking-client {
    font-size: 0.55rem;
    color: #6c757d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.booking-duration {
    font-size: 0.65rem;
    color: var(--accent-color);
    font-weight: 500;
}

/* Calendar Footer */
.calendar-footer {
    background: white;
    padding: 10px 15px;
    border-top: 1px solid #e9ecef;
    transition: all 0.6s ease;
    flex-shrink: 0;
}

.calendar-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-item i {
    color: var(--accent-color);
    font-size: 0.9rem;
}

.stat-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
}

.stat-label {
    font-size: 0.6rem;
    color: #6c757d;
}

.calendar-features {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-chip {
    background: rgba(79, 70, 229, 0.05);
    color: var(--accent-color);
    padding: 4px 8px;
    border-radius: 15px;
    font-size: 0.6rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.feature-chip:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

.feature-chip i {
    font-size: 0.75rem;
}

/* Calendar Widget Responsive Styles */
@media (max-width: 768px) {
    .calendar-widget-pro {
        min-height: 400px;
    }
    
    .calendar-header {
        padding: 15px;
    }
    
    .calendar-header-top {
        flex-direction: column;
        gap: 10px;
    }
    
    .calendar-view-toggles {
        width: 100%;
        justify-content: center;
    }
    
    .time-column {
        width: 50px;
    }
    
    .time-slot-label {
        font-size: 0.65rem;
    }
    
    .day-column {
        min-width: 80px;
    }
    
    .booking-info {
        padding-left: 2px;
    }
    
    .booking-type {
        font-size: 0.7rem;
    }
    
    .booking-client {
        display: none;
    }
    
    .calendar-stats {
        padding: 10px 0;
    }
    
    .stat-value {
        font-size: 1rem;
    }
    
    .feature-chip {
        padding: 4px 8px;
        font-size: 0.65rem;
    }
}

/* Month View Grid (for future implementation) */
.calendar-grid.month-view {
    display: none;
    padding: 20px;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.calendar-grid.month-view.active {
    display: grid;
}

.month-day {
    aspect-ratio: 1;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.month-day:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.month-day-number {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.month-day-events {
    font-size: 0.65rem;
    color: var(--accent-color);
}

/* Day View (for future implementation) */
.calendar-grid.day-view {
    display: none;
    padding: 20px;
}

.calendar-grid.day-view.active {
    display: block;
}

/* Loading State */
.calendar-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 8px;
}

.loading-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: loadingBounce 1.4s ease-in-out both infinite;
}

.loading-dot:nth-child(1) { animation-delay: -0.32s; }
.loading-dot:nth-child(2) { animation-delay: -0.16s; }

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

.pipeline-animation::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, 
        var(--accent-color) 0%, 
        #FFA500 33%, 
        #FFD700 66%, 
        #4CAF50 100%);
    opacity: 0.3;
}

.pipeline-stage {
    width: 25%;
    float: left;
    text-align: center;
    position: relative;
}

.stage-header {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-dark);
    padding: 8px 5px;
    margin: 0 5px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.stage-column {
    height: 180px;
    margin-top: 15px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

.moving-card {
    position: absolute;
    background: white;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    width: calc(25% - 20px);
    max-width: 120px;
    top: 140px;
    left: 10px;
    text-align: center;
    animation: moveThruPipeline 12s ease-in-out infinite;
    z-index: 10;
    will-change: transform, left, top;
    transform-origin: center center;
}

/* Removed old tablet styles - now using separate desktop/mobile modules */

.pipeline-animation-desktop .card-avatar {
    width: 35px;
    height: 35px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0;
    flex-shrink: 0;
}

.pipeline-animation-desktop .card-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.2;
}

.pipeline-animation-desktop .card-value {
    font-size: 0.95rem;
    color: var(--accent-color);
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}


/* Add deal counts to stages */
.stage-deals {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

.deal-count {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
}

.deal-label {
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Hide deal counts on desktop only */
@media (min-width: 769px) {
    .stage-deals {
        display: none;
    }
}

/* Desktop Pipeline Animation Keyframes */
@keyframes desktopProgressFill {
    0%, 20% { width: 0%; }
    30%, 50% { width: 33%; }
    60%, 85% { width: 66%; }
    90%, 100% { width: 0%; }
}

@keyframes pipelineCardMove {
    0%, 20% {
        left: calc(12.5% - 55px);
        transform: scale(1);
    }
    25% {
        transform: scale(1.05);
    }
    30%, 50% {
        left: calc(37.5% - 55px);
        transform: scale(1);
    }
    55% {
        transform: scale(1.05);
    }
    60%, 80% {
        left: calc(62.5% - 55px);
        transform: scale(1);
    }
    82% {
        transform: scale(1.1);
    }
    85% {
        transform: scale(1.15) rotate(5deg);
    }
    87% {
        transform: scale(1.15) rotate(-5deg);
    }
    90% {
        transform: scale(1.15) rotate(0deg);
    }
    93% {
        opacity: 1;
    }
    96% {
        opacity: 0;
        left: calc(62.5% - 55px);
    }
    98% {
        opacity: 0;
        left: calc(12.5% - 55px);
    }
    100% {
        opacity: 1;
        left: calc(12.5% - 55px);
    }
}

@keyframes desktopCardMove {
    0%, 15% {
        left: calc(12.5% - 50px);
        transform: scale(1);
    }
    20% {
        transform: scale(1.05);
    }
    25%, 35% {
        left: calc(37.5% - 50px);
        transform: scale(1);
    }
    40% {
        transform: scale(1.05);
    }
    45%, 55% {
        left: calc(62.5% - 50px);
        transform: scale(1);
    }
    60% {
        transform: scale(1.05);
    }
    65%, 75% {
        left: calc(87.5% - 50px);
        transform: scale(1);
    }
    77% {
        transform: scale(1.1);
    }
    80% {
        transform: scale(1.15) rotate(5deg);
    }
    82% {
        transform: scale(1.15) rotate(-5deg);
    }
    85% {
        transform: scale(1.15) rotate(0deg);
    }
    88% {
        opacity: 1;
    }
    92% {
        opacity: 0;
        left: calc(87.5% - 50px);
    }
    96% {
        opacity: 0;
        left: calc(12.5% - 50px);
    }
    100% {
        opacity: 1;
        left: calc(12.5% - 50px);
    }
}

/* Mobile Pipeline Animation Keyframes */
@keyframes mobileCardMove {
    0% {
        top: 20px;
        opacity: 0;
        transform: translateX(-50%) scale(0.8);
    }
    5% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
    10%, 20% {
        top: 44px;
        transform: translateX(-50%) scale(1.05);
    }
    25% {
        transform: translateX(-50%) scale(1);
    }
    30%, 40% {
        top: 142px;
        transform: translateX(-50%) scale(1);
    }
    45% {
        transform: translateX(-50%) scale(1.05);
    }
    50%, 60% {
        top: 240px;
        transform: translateX(-50%) scale(1);
    }
    65% {
        transform: translateX(-50%) scale(1.05);
    }
    70%, 80% {
        top: 338px;
        transform: translateX(-50%) scale(1);
    }
    81% {
        transform: translateX(-50%) scale(1.1);
    }
    83% {
        transform: translateX(-50%) scale(1.15) rotate(5deg);
    }
    85% {
        transform: translateX(-50%) scale(1.15) rotate(-5deg);
    }
    87% {
        transform: translateX(-50%) scale(1.15) rotate(0deg);
    }
    90% {
        opacity: 1;
    }
    95% {
        opacity: 0;
        transform: translateX(-50%) scale(0.8);
    }
    100% {
        opacity: 0;
        top: 20px;
        transform: translateX(-50%) scale(0.8);
    }
}

/* Old moveThruPipeline kept for backward compatibility */
@keyframes moveThruPipelineMobile {
    0% {
        top: 30px;
        transform: translateX(-50%) scale(0.8);
        opacity: 0;
    }
    5% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
    10%, 20% {
        top: 65px;
        transform: translateX(-50%) scale(1.05);
        opacity: 1;
    }
    25% {
        transform: translateX(-50%) scale(1);
    }
    30%, 40% {
        top: 142px;
        transform: translateX(-50%) scale(1);
    }
    45% {
        transform: translateX(-50%) scale(1.05);
    }
    50%, 60% {
        top: 219px;
        transform: translateX(-50%) scale(1);
    }
    65% {
        transform: translateX(-50%) scale(1.05);
    }
    70%, 80% {
        top: 296px;
        transform: translateX(-50%) scale(1);
    }
    81% {
        transform: translateX(-50%) scale(1.1);
    }
    83% {
        transform: translateX(-50%) scale(1.15) rotate(5deg);
    }
    85% {
        transform: translateX(-50%) scale(1.15) rotate(-5deg);
    }
    87% {
        transform: translateX(-50%) scale(1.15) rotate(0deg);
    }
    90% {
        opacity: 1;
    }
    95% {
        opacity: 0;
        transform: translateX(-50%) scale(0.8);
    }
    100% {
        opacity: 0;
        top: 30px;
        transform: translateX(-50%) scale(0.8);
    }
}

@keyframes moveThruPipeline {
    0%, 10% {
        left: 10px;
        transform: scale(1);
    }
    15% {
        transform: scale(1.05);
    }
    20%, 30% {
        left: calc(25% + 10px);
        transform: scale(1);
    }
    35% {
        transform: scale(1.05);
    }
    40%, 50% {
        left: calc(50% + 10px);
        transform: scale(1);
    }
    55% {
        transform: scale(1.05);
    }
    60%, 70% {
        left: calc(75% + 10px);
        transform: scale(1);
    }
    72% {
        transform: scale(1.1);
    }
    75% {
        transform: scale(1.15) rotate(5deg);
    }
    77% {
        transform: scale(1.15) rotate(-5deg);
    }
    80% {
        transform: scale(1.15) rotate(0deg);
    }
    85% {
        opacity: 1;
    }
    90% {
        opacity: 0;
        left: calc(75% + 10px);
    }
    95% {
        opacity: 0;
        left: 10px;
    }
    100% {
        opacity: 1;
        left: 10px;
    }
}

/* Clearfix for pipeline stages */
.pipeline-animation::after {
    content: "";
    display: table;
    clear: both;
}

/* Progress bar */
.pipeline-progress {
    position: absolute;
    bottom: 20px;
    left: 12.5%;
    right: 12.5%;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

/* Calendar Animation Styles */
.calendar-animation {
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 0;
    margin-bottom: 30px;
    position: relative;
    min-height: 180px;
    overflow: hidden;
}

.calendar-header {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.calendar-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.calendar-tabs {
    display: flex;
    gap: 5px;
}

.calendar-tab {
    background: transparent;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.calendar-tab i {
    font-size: 0.85rem;
}

.calendar-tab.active {
    background: var(--accent-color);
    color: white;
}

.calendar-tab:hover:not(.active) {
    background: rgba(0, 0, 0, 0.05);
}

.calendar-display {
    position: relative;
    height: 280px;
}

.calendar-view {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
    padding: 20px;
}

.calendar-view.active {
    opacity: 1;
    transform: translateX(0);
}

.booking-preview {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.booking-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.booking-date i {
    color: var(--accent-color);
}

/* 1-on-1 Consultation View */
.time-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: auto;
}

.time-slot {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 8px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.time-slot.available {
    color: var(--text-dark);
}

.time-slot.available:hover {
    border-color: var(--accent-color);
    background: rgba(255, 0, 0, 0.05);
}

.time-slot.booked {
    background: #f3f4f6;
    color: #9ca3af;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Service Booking View */
.service-slots {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: auto;
}

.service-slot {
    background: white;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.service-slot.available {
    border: 2px dashed #10b981;
    background: rgba(16, 185, 129, 0.05);
}

.service-time {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.service-type {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
}

.service-tech {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 4px;
}

/* Class Registration View */
.class-schedule {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: auto;
}

.class-item {
    display: flex;
    gap: 12px;
    background: white;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.class-item.full {
    opacity: 0.7;
}

.class-time {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-dark);
    width: 60px;
    flex-shrink: 0;
}

.class-details {
    flex: 1;
}

.class-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.class-capacity {
    display: flex;
    align-items: center;
    gap: 8px;
}

.capacity-bar {
    flex: 1;
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
}

.capacity-fill {
    height: 100%;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.class-item.full .capacity-fill {
    background: #6b7280;
}

.class-capacity span {
    font-size: 0.7rem;
    color: #6b7280;
    white-space: nowrap;
}

/* Team Availability View */
.team-roster {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: auto;
}

.team-member-slot {
    display: flex;
    gap: 12px;
    background: white;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.member-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.member-info {
    flex: 1;
}

.member-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
}

.member-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    margin: 4px 0;
}

.member-status i {
    font-size: 0.5rem;
}

.member-status.available {
    color: #10b981;
}

.member-status.busy {
    color: #ef4444;
}

.member-stats {
    font-size: 0.7rem;
    color: #6b7280;
}

/* Booking Info */
.booking-info {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 15px;
    display: flex;
    justify-content: space-around;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--text-light);
}

.info-item i {
    color: var(--accent-color);
    font-size: 0.85rem;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), #4CAF50);
    width: 0%;
    animation: fillProgress 12s ease-in-out infinite;
    border-radius: 2px;
    transform-origin: left center;
    will-change: width;
}

@keyframes fillProgress {
    0%, 10% { width: 0%; }
    20%, 30% { width: 25%; }
    40%, 50% { width: 50%; }
    60%, 70% { width: 75%; }
    75%, 85% { width: 100%; }
    90%, 100% { width: 0%; }
}

@keyframes pipelineFlow {
    0%, 10% { width: 0%; }
    20%, 30% { width: 25%; }
    40%, 50% { width: 50%; }
    60%, 70% { width: 75%; }
    75%, 85% { width: 100%; }
    90%, 100% { width: 0%; }
}

/* Calendar Animation Styles */
.calendar-animation {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    position: relative;
    min-height: 280px;
    overflow: hidden;
}

.calendar-showcase {
    position: relative;
    height: 220px;
}

.calendar-type {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.5s ease;
}

.calendar-type.active {
    opacity: 1;
    transform: translateX(0);
}

.calendar-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.calendar-header i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.calendar-header h4 {
    font-size: 1.1rem;
    margin: 0;
    color: var(--text-dark);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.cal-day {
    background: white;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

.cal-day.available {
    color: var(--accent-color);
    border: 1px solid rgba(255, 0, 0, 0.2);
}

.cal-day.available:hover {
    background: rgba(255, 0, 0, 0.05);
    transform: translateY(-2px);
}

.cal-day.booked {
    background: #e5e7eb;
    color: #6b7280;
    cursor: not-allowed;
}

.class-slot {
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.class-name {
    font-weight: 600;
    color: var(--text-dark);
}

.class-spots {
    font-size: 0.75rem;
    color: #10b981;
}

.class-slot.full .class-spots {
    color: #ef4444;
}

.team-member {
    background: white;
    padding: 10px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.team-member img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.team-member span:first-of-type {
    font-weight: 600;
    font-size: 0.85rem;
}

.availability {
    font-size: 0.75rem;
    color: #10b981;
}

.team-member.busy .availability {
    color: #ef4444;
}

.calendar-features {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.feature-tag {
    background: rgba(255, 0, 0, 0.1);
    color: var(--accent-color);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.feature-tag i {
    font-size: 0.7rem;
}

.calendar-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--accent-color);
    transform: scale(1.2);
}

/* Feature Animation Container Heights */
.pipeline-animation,
.calendar-widget-pro,
.unified-comms-animation,
.automation-animation,
.marketing-animation,
.business-tools-animation {
    min-height: 350px;
    height: 350px;
    margin-bottom: 0;
}

/* Feature card content section */
.feature-content {
    display: flex;
    flex-direction: column;
}

/* Unified Communications Animation - Chat Window */
.unified-comms-animation {
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-window {
    width: 100%;
    max-width: 500px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 0 auto;
    height: 320px;
    display: flex;
    flex-direction: column;
}

.chat-header {
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.contact-avatar {
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
}

.contact-details h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.contact-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #6b7280;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
}

.status-dot.online {
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    50% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}

.chat-actions {
    display: flex;
    gap: 8px;
}

.action-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: #f3f4f6;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #6b7280;
}

.action-btn:hover {
    background: var(--accent-color);
    color: white;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    background: #f9fafb;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    height: 220px;
    scroll-behavior: smooth;
}

.message {
    display: flex;
    padding: 8px;
}

/* Animation handled by JavaScript */

.message.incoming {
    justify-content: flex-start;
}

.message.outgoing {
    justify-content: flex-end;
}

/* Animation delays handled by JavaScript */

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

.message-bubble {
    max-width: 70%;
    padding: 10px 14px;
    border-radius: 12px;
    position: relative;
}

.incoming .message-bubble {
    background: white;
    border: 1px solid #e5e7eb;
}

.outgoing .message-bubble {
    background: var(--accent-color);
    color: white;
}

.message-bubble p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.4;
}

.message-footer {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-size: 0.7rem;
    opacity: 0.7;
}

.incoming .message-footer {
    color: #6b7280;
}

.outgoing .message-footer {
    color: rgba(255, 255, 255, 0.8);
    justify-content: flex-end;
}

.message-footer i {
    font-size: 0.75rem;
}

/* Channel-specific icon colors */
.email-msg i { color: #EA4335; }
.sms-msg i { color: #34D399; }
.facebook-msg i { color: #1877F2; }
.whatsapp-msg i { color: #25D366; }
.instagram-msg i { color: #E4405F; }
.webchat-msg i { color: #6366F1; }

.chat-input {
    padding: 12px;
    background: white;
    border-top: 1px solid #e5e7eb;
}

.input-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f3f4f6;
    border-radius: 24px;
    padding: 4px;
}

.message-input {
    flex: 1;
    border: none;
    background: none;
    padding: 8px 12px;
    font-size: 0.85rem;
    outline: none;
}

.input-actions {
    display: flex;
    gap: 4px;
}

.attach-btn,
.send-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #6b7280;
}

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

.attach-btn:hover {
    background: #e5e7eb;
}

.send-btn:hover {
    transform: scale(1.1);
}

/* Smart Automation Animation */
.automation-animation {
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.workflow-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 100%;
    max-width: 500px;
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.trigger-box {
    background: var(--accent-color);
    color: white;
    padding: 15px 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.trigger-box::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    border-radius: 12px;
    opacity: 0;
    animation: triggerActivate 4s ease-out infinite;
}

@keyframes triggerActivate {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    25% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.trigger-icon i {
    font-size: 1.5rem;
}

.trigger-label {
    font-size: 0.9rem;
    font-weight: 600;
}

.flow-line {
    width: 2px;
    height: 40px;
    background: #e9ecef;
    position: relative;
    overflow: hidden;
}

.flow-pulse {
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: linear-gradient(180deg, transparent, var(--accent-color), transparent);
    opacity: 0;
    animation: flowDown 4s linear infinite;
}

@keyframes flowDown {
    0% { 
        top: -20px; 
        opacity: 0;
    }
    25% {
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    40% {
        top: 100%;
        opacity: 1;
    }
    45% {
        opacity: 0;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    width: 100%;
    max-width: 350px;
}

.action-item {
    background: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    opacity: 0;
    transform: scale(0.8);
}

.automation-animation.animate-in .action-item {
    animation: actionAppear 0.5s ease forwards;
}

.action-item.action-1 { animation-delay: 1.6s; }
.action-item.action-2 { animation-delay: 1.8s; }
.action-item.action-3 { animation-delay: 2s; }
.action-item.action-4 { animation-delay: 2.2s; }
.action-item.action-5 { animation-delay: 2.4s; }
.action-item.action-6 { animation-delay: 2.6s; }

@keyframes actionAppear {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.action-item i {
    font-size: 1.3rem;
    color: var(--accent-color);
}

.action-item span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-dark);
}

.action-status {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    background: #28a745;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    color: white;
    font-size: 12px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.automation-animation.animate-in .action-status {
    animation: statusCheck 0.5s ease forwards;
}

.action-item.action-1 .action-status { animation-delay: 2.1s; }
.action-item.action-2 .action-status { animation-delay: 2.3s; }
.action-item.action-3 .action-status { animation-delay: 2.5s; }
.action-item.action-4 .action-status { animation-delay: 2.7s; }
.action-item.action-5 .action-status { animation-delay: 2.9s; }
.action-item.action-6 .action-status { animation-delay: 3.1s; }

@keyframes statusCheck {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.action-status::after {
    content: '✓';
    color: white;
    font-size: 0.7rem;
}

/* Desktop styles for automation animation */
@media (min-width: 769px) {
    .trigger-box {
        margin: 30px auto 0 auto !important;
        width: fit-content !important;
        transform: scale(1) !important;
    }
}

/* Mobile styles for automation animation */
@media (max-width: 768px) {
    .workflow-container {
        padding: 20px;
        gap: 20px;
    }
    
    .trigger-box {
        margin: 0 auto !important;
        width: fit-content !important;
        transform: scale(1) !important;
    }
    
    .actions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* Business Tools Mobile Styles */
@media (max-width: 768px) {
    .business-flow-container {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
    }
    
    /* Hide horizontal arrows on mobile */
    .business-flow-container > .flow-arrow {
        display: none !important;
    }
    
    /* Stack stages vertically */
    .flow-stage {
        width: 100% !important;
        margin-bottom: 10px !important;
        position: relative !important;
    }
    
    /* Add downward arrows between stages */
    .flow-stage:not(:last-child)::after {
        content: '';
        position: absolute;
        bottom: -20px;
        left: 50%;
        transform: translateX(-50%);
        width: 2px;
        height: 15px;
        background: #E0E0E0;
        z-index: 1;
    }
    
    /* Add arrow head */
    .flow-stage:not(:last-child)::before {
        content: '';
        position: absolute;
        bottom: -25px;
        left: 50%;
        transform: translateX(-50%);
        width: 8px;
        height: 8px;
        border-right: 2px solid #E0E0E0;
        border-bottom: 2px solid #E0E0E0;
        transform: translateX(-50%) rotate(45deg);
        z-index: 2;
    }
    
    /* Adjust stage spacing for arrows */
    .flow-stage:not(:last-child) {
        margin-bottom: 30px !important;
    }
    
    
    /* Make estimate card more compact on mobile */
    .estimate-preview {
        padding: 10px !important;
        gap: 6px !important;
        min-height: auto !important;
    }
    
    .estimate-item {
        font-size: 0.8rem !important;
        padding: 4px 0 !important;
    }
    
    .estimate-total {
        margin-top: 8px !important;
        padding-top: 8px !important;
        font-size: 0.9rem !important;
    }
    
    .send-estimate-btn {
        padding: 8px 16px !important;
        font-size: 0.85rem !important;
        margin-top: 10px !important;
    }
    
    /* Reduce padding on all flow stages */
    .flow-stage {
        padding: 15px !important;
    }
    
    .stage-content h5 {
        font-size: 1rem !important;
        margin-bottom: 10px !important;
    }
}

/* Marketing Integration Animation */
.marketing-animation {
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marketing-container {
    width: 100%;
    max-width: 600px;
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    position: relative;
    min-height: 250px;
}

.ad-platforms {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.platform {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: platformBounce 3s ease-in-out infinite;
}

.fb-platform { animation-delay: 0s; }
.google-platform { animation-delay: 0.5s; }
.tiktok-platform { animation-delay: 1s; }

@keyframes platformBounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

.platform i {
    font-size: 2rem;
}

.fb-platform i { color: #1877F2; }
.google-platform i { color: #4285F4; }
.tiktok-platform i { color: #000000; }

.ad-spend {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
}

.data-flow {
    position: absolute;
    left: 120px;
    right: 200px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Money flowing to CRM */
.money-flow {
    position: absolute;
    width: 100%;
    height: 100%;
}

.money-particle {
    position: absolute;
    width: 30px;
    height: 30px;
    background: #28a745;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 2px 10px rgba(40, 167, 69, 0.3);
    /* Animation handled by JavaScript */
}

@keyframes moneyFlow {
    0% { 
        left: -30px; 
        opacity: 0; 
        transform: scale(0.5) rotate(0deg);
    }
    10% { 
        opacity: 1; 
        transform: scale(1) rotate(180deg);
    }
    90% { 
        opacity: 1; 
        transform: scale(1) rotate(720deg);
    }
    100% { 
        left: calc(100% - 30px); 
        opacity: 0; 
        transform: scale(0.5) rotate(900deg);
    }
}

/* Data flowing back to platforms */
.data-return {
    position: absolute;
    width: 100%;
    height: 100%;
}

.data-particle {
    position: absolute;
    width: 30px;
    height: 30px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    box-shadow: 0 2px 10px rgba(79, 70, 229, 0.3);
    /* Animation handled by JavaScript */
}

@keyframes dataReturn {
    0% { 
        right: -30px; 
        opacity: 0; 
        transform: scale(0.5);
    }
    10% { 
        opacity: 1; 
        transform: scale(1);
    }
    90% { 
        opacity: 1; 
        transform: scale(1);
    }
    100% { 
        right: calc(100% - 30px); 
        opacity: 0; 
        transform: scale(0.5);
    }
}

.crm-center {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.crm-screen {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    min-width: 180px;
}

.lead-counter {
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 15px;
}

.counter-label {
    display: block;
    font-size: 0.75rem;
    color: #6c757d;
    margin-bottom: 5px;
}

.counter-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    animation: countUp 3s ease-out;
}

@keyframes countUp {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.roi-display {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.roi-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 6px;
}

.roi-item i {
    font-size: 1rem;
}

.fb-roi i { color: #1877F2; }
.google-roi i { color: #4285F4; }
.tiktok-roi i { color: #000000; }

.roi-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: #28a745;
}

/* Business Tools Flow Animation */
.business-tools-animation {
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.business-tools-wrapper {
    width: 100%;
    max-width: 700px;
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.business-flow-container {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    height: 100%;
}

.flow-stage {
    flex: 1;
    background: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    opacity: 0;
    transform: translateY(20px);
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.business-tools-animation.animate-in .flow-stage {
    animation: stageAppear 0.8s ease forwards;
}

.estimate-stage { animation-delay: 0.2s; }
.contract-stage { animation-delay: 0.6s; }
.invoice-stage { animation-delay: 1s; }
.payment-stage { animation-delay: 1.4s; }

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

.stage-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.stage-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.stage-content h5 {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 10px 0;
}

.flow-arrow {
    display: flex;
    align-items: center;
    position: relative;
    opacity: 0;
    flex-shrink: 0;
    width: 30px;
}

.business-tools-animation.animate-in .flow-arrow {
    animation: arrowAppear 0.5s ease forwards;
}

.flow-arrow:nth-of-type(2) { animation-delay: 0.4s; }
.flow-arrow:nth-of-type(4) { animation-delay: 0.8s; }
.flow-arrow:nth-of-type(6) { animation-delay: 1.2s; }

@keyframes arrowAppear {
    to {
        opacity: 1;
    }
}

.arrow-line {
    width: 20px;
    height: 2px;
    background: #e5e7eb;
    position: relative;
    overflow: hidden;
}

.arrow-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent-color);
}

.business-tools-animation.animate-in .arrow-line::after {
    animation: flowLine 2s ease-in-out infinite;
}

@keyframes flowLine {
    to {
        left: 100%;
    }
}

.flow-arrow i {
    color: var(--accent-color);
    font-size: 1rem;
    margin-left: -1px;
}

/* Estimate Stage Styles */
.estimate-preview {
    font-size: 0.75rem;
    flex: 1;
}

.estimate-item {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    color: #6c757d;
    opacity: 0;
    transform: translateX(-20px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.business-tools-animation.animate-in .estimate-item {
    animation: itemSlide 0.5s ease forwards;
}

.estimate-item:nth-child(1) { animation-delay: 0.5s; }
.estimate-item:nth-child(2) { animation-delay: 0.7s; }
.estimate-item:nth-child(3) { animation-delay: 0.9s; }

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

.estimate-item span {
    font-weight: 600;
    color: var(--text-dark);
}

.estimate-total {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    margin-top: 8px;
    border-top: 1px solid #e9ecef;
    font-weight: 700;
    color: var(--text-dark);
    opacity: 0;
    animation: itemSlide 0.5s ease forwards;
    animation-delay: 1.1s;
    font-size: 0.85rem;
}

.stage-action {
    width: 100%;
    padding: 8px;
    margin-top: auto;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.75rem;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.9);
    animation: buttonPop 0.5s ease forwards;
    animation-delay: 1.3s;
}

@keyframes buttonPop {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Contract Stage Styles */
.contract-preview {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.contract-text {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 15px;
}

.signature-field {
    text-align: left;
    margin-bottom: 15px;
    flex: 1;
}

.signature-field span {
    font-size: 0.7rem;
    color: #6c757d;
}

.signature-line {
    border-bottom: 1px solid #e9ecef;
    padding: 8px 0;
    margin-top: 5px;
    position: relative;
    overflow: hidden;
}

.signature-text {
    font-family: 'Brush Script MT', cursive;
    font-size: 1rem;
    color: #1a1a1a;
    display: inline-block;
    width: 0;
    animation: drawSignature 2s ease forwards;
    animation-delay: 1.8s;
    white-space: nowrap;
    overflow: hidden;
}

@keyframes drawSignature {
    to {
        width: 100%;
    }
}

.contract-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #d4edda;
    color: #155724;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0;
    transform: scale(0);
    animation: statusPop 0.5s ease forwards;
    animation-delay: 3.8s;
    margin-top: auto;
}

@keyframes statusPop {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Invoice Stage Styles */
.invoice-preview {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.invoice-number {
    font-size: 0.7rem;
    color: #6c757d;
    margin-bottom: 8px;
}

.invoice-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
    animation-delay: 4.2s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(-5px);
    }
}

.invoice-status {
    margin-top: auto;
}

.status-bar {
    width: 100%;
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.status-progress {
    height: 100%;
    width: 0;
    background: #28a745;
    animation: progressFill 2s ease forwards;
    animation-delay: 4.5s;
}

@keyframes progressFill {
    to {
        width: 100%;
    }
}

.status-text {
    font-size: 0.7rem;
    color: #6c757d;
    display: block;
    text-align: center;
}

/* Payment Stage Styles */
.payment-preview {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.payment-amount {
    font-size: 1.8rem;
    font-weight: 700;
    color: #28a745;
    margin-bottom: 10px;
    opacity: 0;
    transform: scale(0.8);
    animation: paymentReveal 0.8s ease forwards;
    animation-delay: 6.5s;
}

@keyframes paymentReveal {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.payment-method {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.75rem;
    color: #6c757d;
    margin-bottom: 10px;
}

.payment-method i {
    color: var(--accent-color);
    font-size: 0.9rem;
}

.payment-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #d4edda;
    color: #155724;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(10px);
    animation: statusSlide 0.5s ease forwards;
    animation-delay: 7s;
}

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

.celebration {
    font-size: 1.5rem;
    color: #ffc107;
    opacity: 0;
    animation: celebrate 1s ease forwards;
    animation-delay: 7.5s;
    margin-top: auto;
}

@keyframes celebrate {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-180deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.2) rotate(10deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* Invoice Tool Styles */
.invoice-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.payment-status {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.payment-progress {
    height: 100%;
    width: 0;
    background: #28a745;
    animation: paymentFill 2s ease forwards;
    animation-delay: 1s;
}

@keyframes paymentFill {
    to { width: 100%; }
}

.paid-label {
    display: inline-block;
    padding: 5px 15px;
    background: #28a745;
    color: white;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 700;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
    animation-delay: 3s;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Social Tool Styles */
.post-schedule {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.scheduled-post {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    animation: postSlide 0.5s ease forwards;
    opacity: 0;
}

.scheduled-post:nth-child(1) { animation-delay: 0.5s; }
.scheduled-post:nth-child(2) { animation-delay: 0.7s; }
.scheduled-post:nth-child(3) { animation-delay: 0.9s; }

@keyframes postSlide {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.scheduled-post i {
    font-size: 1.3rem;
}

.scheduled-post:nth-child(1) i { color: #1877F2; }
.scheduled-post:nth-child(2) i { color: #E4405F; }
.scheduled-post:nth-child(3) i { color: #0077B5; }

/* Estimate Tool Styles */
.estimate-builder {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.line-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 0.85rem;
    animation: itemAdd 0.4s ease forwards;
    opacity: 0;
}

.line-item:nth-child(1) { animation-delay: 0.5s; }
.line-item:nth-child(2) { animation-delay: 0.7s; }
.line-item:nth-child(3) { animation-delay: 0.9s; }

@keyframes itemAdd {
    from { transform: translateX(-20px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.total-line {
    display: flex;
    justify-content: space-between;
    padding: 12px;
    background: var(--accent-color);
    color: white;
    border-radius: 6px;
    font-weight: 700;
    margin-top: 10px;
    animation: totalReveal 0.5s ease forwards;
    opacity: 0;
    animation-delay: 1.3s;
}

@keyframes totalReveal {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.tool-indicators {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 20px;
}

.indicator {
    width: 8px;
    height: 8px;
    background: #e9ecef;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.indicator.active {
    background: var(--accent-color);
}

/* Calendar rotation animation */
.calendar-animation[data-current="1"] .calendar-type[data-type="consultation"],
.calendar-animation[data-current="2"] .calendar-type[data-type="service"],
.calendar-animation[data-current="3"] .calendar-type[data-type="class"],
.calendar-animation[data-current="4"] .calendar-type[data-type="round-robin"] {
    opacity: 1;
    transform: translateX(0);
}

.features-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: grid;
    overflow: visible;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.feature-icon i {
    font-size: inherit;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card ul {
    list-style: none;
}

.feature-card li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.feature-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.industries {
    padding: 100px 0;
    background: var(--bg-light);
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    justify-items: center;
}

/* Medium screens - 2x4 layout */
@media (max-width: 1024px) and (min-width: 769px) {
    .industry-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
    }
}

/* Remove industry-grid-bottom as it's no longer needed */
.industry-grid-bottom {
    display: none;
}

.industry-card {
    background: var(--white);
    padding: 2.5rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 250px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px -4px rgba(0, 0, 0, 0.12);
    border-color: var(--accent-color);
}

.industry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.industry-card:hover::before {
    transform: translateX(0);
}

.industry-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
}

.industry-icon i {
    font-size: inherit;
}

.industry-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.3;
}

.integrations {
    padding: 80px 0;
    background: var(--bg-light);
}

.integration-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.integration-logo {
    background: var(--white);
    padding: 1.5rem 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 8px -2px rgba(0, 0, 0, 0.08);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-height: 80px;
    justify-content: center;
}

.integration-logo i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 0.25rem;
}

.integration-logo:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px -2px rgba(0, 0, 0, 0.12);
    border-color: var(--accent-color);
}

.integration-logo:hover i {
    transform: scale(1.1);
}

.summary {
    padding: 80px 0;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.summary-item {
    font-size: 1.1rem;
    padding: 1rem;
    border-left: 4px solid var(--accent-color);
    background: var(--bg-light);
    border-radius: 4px;
}

/* FAQ Section Styles */
.faq-section {
    padding: 80px 0;
    background: #f9fafb;
}

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

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f9fafb;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    flex: 1;
    padding-right: 20px;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--accent-color);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: white;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 24px 24px;
}

.faq-answer p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 20px 20px;
    }
}

.final-cta {
    padding: 80px 0;
    background: var(--secondary-color);
    color: var(--white);
    text-align: center;
}

.final-cta .section-title {
    color: var(--white);
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.final-cta-button {
    font-size: 1.2rem;
    padding: 16px 32px;
    background: var(--accent-color);
    color: var(--white);
}

.final-cta-button:hover {
    background: #cc0000;
}

.final-cta .cta-subtext {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hero .container {
        padding: 0 15px;
    }
    
    .ghl-animation {
        width: 400px;
        height: 400px;
        transform: scale(0.85);
    }
    
    .pipeline-animation {
        padding: 60px 15px 20px;
        min-height: auto;
        height: auto;
        display: block !important;
        background: #f8f9fa;
        border-radius: 12px;
        position: relative;
        overflow: visible !important;
    }
    
    /* Clear the float layout completely */
    .pipeline-animation::after {
        display: none !important;
    }
    
    .pipeline-stage {
        width: 100% !important;
        float: none !important;
        display: flex !important;
        align-items: center;
        gap: 15px;
        background: rgba(255, 255, 255, 0.95);
        padding: 15px;
        padding-top: 25px;
        border-radius: 12px;
        border-left: 4px solid;
        position: relative;
        margin-bottom: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        z-index: 1;
    }
    
    .pipeline-stage:nth-child(1) {
        border-left-color: var(--accent-color);
    }
    
    .pipeline-stage:nth-child(2) {
        border-left-color: #FFA500;
    }
    
    .pipeline-stage:nth-child(3) {
        border-left-color: #FFD700;
    }
    
    .pipeline-stage:nth-child(4) {
        border-left-color: #4CAF50;
    }
    
    .pipeline-stage:last-child {
        margin-bottom: 0;
    }
    
    .stage-header {
        font-size: 1rem;
        font-weight: 600;
        padding: 0;
        margin: 0;
        background: none;
        box-shadow: none;
        min-width: 80px;
        text-align: left;
        color: var(--text-dark);
    }
    
    .stage-column {
        display: none !important;
    }
    
    .stage-count {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--text-dark);
        opacity: 0.8;
    }
    
    .pipeline-card.moving-card {
        display: block !important;
        position: absolute !important;
        width: 100px !important;
        max-width: 100px !important;
        left: 50% !important;
        margin-left: -30px !important;
        animation: moveThruPipelineMobile 12s ease-in-out infinite !important;
        animation-fill-mode: forwards !important;
        z-index: 50 !important;
        background: white !important;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3) !important;
        border: 2px solid var(--accent-color) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .pipeline-animation::before {
        display: none;
    }
    
    /* Mobile-only: Hide desktop deal counts and progress bar */
    .stage-deals,
    .pipeline-progress {
        display: none !important;
    }
    
    /* Add visual progress indicator */
    .pipeline-stage::before {
        content: '';
        position: absolute;
        left: -15px;
        top: 50%;
        transform: translateY(-50%);
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: currentColor;
    }
    
    /* Add stage value indicator */
    .pipeline-stage::after {
        content: attr(data-count) ' deals';
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--text-dark);
        opacity: 0.8;
    }
    
    /* Calendar customization animation mobile styles */
    .calendar-customization-animation {
        min-height: 150px;
        padding: 15px 10px;
    }

    .calendar-types {
        gap: 4px;
        margin-bottom: 15px;
    }

    .calendar-type-item {
        padding: 8px 4px;
    }

    .type-icon {
        font-size: 1rem;
        margin-bottom: 2px;
    }

    .type-label {
        font-size: 0.65rem;
    }

    .calendar-preview {
        padding: 12px;
    }

    .preview-title {
        font-size: 0.8rem;
    }

    .preview-subtitle {
        font-size: 0.65rem;
    }

    .preview-content {
        min-height: 70px;
    }

    .preview-slot {
        padding: 8px;
    }

    .slot-time {
        font-size: 0.7rem;
    }

    .slot-type {
        font-size: 0.75rem;
    }
    
    /* Features Grid Mobile Styles */
    .features-grid {
        gap: 2rem;
    }
    
    .feature-card {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }
    
    .feature-content {
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    /* Adjust animation container heights for mobile */
    .pipeline-animation,
    .calendar-widget-pro,
    .unified-comms-animation,
    .automation-animation,
    .marketing-animation,
    .business-tools-animation {
        min-height: 300px;
    }
    
    /* Unified Communications Mobile */
    .chat-window {
        height: 280px;
    }
    
    .chat-header {
        padding: 10px 12px;
    }
    
    .contact-avatar {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }
    
    .contact-details h4 {
        font-size: 0.85rem;
    }
    
    .contact-status {
        font-size: 0.7rem;
    }
    
    .chat-messages {
        padding: 12px;
        gap: 10px;
        height: 180px;
    }
    
    .message-bubble {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    .message-footer {
        font-size: 0.65rem;
    }
    
    /* Automation Animation Mobile */
    .actions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .action-item {
        padding: 10px;
    }
    
    .action-item i {
        font-size: 1.1rem;
    }
    
    .action-item span {
        font-size: 0.7rem;
    }
    
    /* Marketing Animation Mobile */
    .ad-platforms {
        left: 10px;
        gap: 15px;
    }
    
    .platform {
        padding: 10px;
    }
    
    .platform i {
        font-size: 1.5rem;
    }
    
    .data-flow {
        left: 80px;
        right: 150px;
    }
    
    .crm-center {
        right: 10px;
    }
    
    .crm-screen {
        padding: 15px;
        min-width: 130px;
    }
    
    .counter-value {
        font-size: 1.5rem;
    }
    
    /* Business Tools Flow Mobile */
    .business-flow-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .flow-stage {
        width: 100%;
        padding: 15px;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
        margin: -10px 0;
    }
    
    .stage-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .stage-content h5 {
        font-size: 0.9rem;
    }
    
    .estimate-item,
    .invoice-amount,
    .payment-amount {
        font-size: 0.9rem;
    }
    
    .payment-amount {
        font-size: 1.8rem;
    }
    
    .invoice-amount {
        font-size: 1.5rem;
    }

    .slot-details {
        gap: 8px;
    }

    .detail-item {
        font-size: 0.6rem;
    }

    .preview-features {
        gap: 6px;
        margin-top: 10px;
    }

    .feature-tag {
        padding: 3px 6px;
        font-size: 0.6rem;
    }
    
    /* Calendar animation mobile styles */
    .calendar-animation {
        min-height: 320px;
    }
    
    .calendar-header {
        flex-direction: column;
        gap: 10px;
        padding: 12px 15px;
    }
    
    .calendar-title {
        font-size: 0.9rem;
    }
    
    .calendar-tabs {
        width: 100%;
        justify-content: space-between;
    }
    
    .calendar-tab {
        padding: 5px 8px;
        font-size: 0.7rem;
    }
    
    .calendar-tab span {
        display: none;
    }
    
    .calendar-tab i {
        font-size: 1rem;
    }
    
    .calendar-display {
        height: 240px;
    }
    
    .calendar-view {
        padding: 15px;
    }
    
    .time-slots {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .time-slot {
        font-size: 0.8rem;
        padding: 10px 6px;
    }
    
    .service-slot,
    .class-item,
    .team-member-slot {
        padding: 10px;
    }
    
    .booking-info {
        flex-direction: column;
        gap: 8px;
        padding-top: 12px;
    }
    
    .info-item {
        font-size: 0.7rem;
    }
    
    .orbiting-feature {
        width: 55px;
        height: 55px;
    }
    
    .orbiting-feature i {
        font-size: 1rem;
    }
    
    .orbiting-feature span {
        font-size: 0.55rem;
    }
    
    /* Mobile orbit animation with smaller radius */
    @keyframes orbit {
        from { 
            transform: rotate(0deg) translateX(150px) rotate(0deg);
        }
        to { 
            transform: rotate(360deg) translateX(150px) rotate(-360deg);
        }
    }
    
    /* Ensure features maintain center positioning during rotation */
    .orbiting-feature {
        transform-origin: center center !important;
    }
    
    .line {
        height: 150px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid,
    .solution-grid {
        grid-template-columns: 1fr;
    }
    
    .industry-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        max-width: 500px;
    }
    
    .industry-card {
        max-width: 100%;
        padding: 2rem 1.5rem;
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
    }
    
    .integration-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .integration-logo {
        padding: 2rem;
        font-size: 1.1rem;
    }
    
    .problem-highlight {
        font-size: 1.5rem;
        padding: 1.5rem 2rem;
    }
    
    .chaos-to-order-comparison {
        padding: 2rem 1rem;
        gap: 1rem;
    }
    
    .state-container {
        min-width: 150px;
        width: 150px;
        flex: 0 0 150px;
    }
    
    .visual-container {
        width: 150px;
        height: 150px;
    }
    
    .transformation-arrow {
        min-width: 80px;
    }
}

.animation-container {
    margin-top: 1.5rem;
    height: 100px;
    position: relative;
    overflow: hidden;
}

.chart-animation {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
    height: 100%;
}

.bar {
    width: 20px;
    background: var(--accent-color);
    animation: growBar 2s ease-in-out infinite;
}

.bar1 {
    height: 30%;
    animation-delay: 0s;
}

.bar2 {
    height: 50%;
    animation-delay: 0.2s;
}

.bar3 {
    height: 70%;
    animation-delay: 0.4s;
}

.bar4 {
    height: 90%;
    animation-delay: 0.6s;
}

@keyframes growBar {
    0%, 100% {
        transform: scaleY(0.3);
        opacity: 0.3;
    }
    50% {
        transform: scaleY(1);
        opacity: 1;
    }
}

.peace-animation {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.praying-hands {
    font-size: 3rem;
    animation: prayingPulse 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
    color: var(--accent-color);
}

.praying-hands i {
    font-size: inherit;
}

.peace-glow {
    position: absolute;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
    animation: glowPulse 3s ease-in-out infinite;
    border-radius: 50%;
}

.peace-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 50%;
    opacity: 0;
}

.particle1 {
    animation: particleFloat1 3s ease-in-out infinite;
}

.particle2 {
    animation: particleFloat2 3s ease-in-out infinite 0.5s;
}

.particle3 {
    animation: particleFloat3 3s ease-in-out infinite 1s;
}

.particle4 {
    animation: particleFloat4 3s ease-in-out infinite 1.5s;
}

@keyframes prayingPulse {
    0%, 100% {
        transform: scale(1) translateY(0);
    }
    50% {
        transform: scale(1.1) translateY(-5px);
    }
}

@keyframes glowPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.8;
    }
}

@keyframes particleFloat1 {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    100% {
        transform: translate(-30px, -40px);
        opacity: 0;
    }
}

@keyframes particleFloat2 {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    100% {
        transform: translate(30px, -40px);
        opacity: 0;
    }
}

@keyframes particleFloat3 {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    100% {
        transform: translate(-20px, -50px);
        opacity: 0;
    }
}

@keyframes particleFloat4 {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    100% {
        transform: translate(20px, -50px);
        opacity: 0;
    }
}

.rocket-animation {
    position: relative;
    height: 100%;
    width: 100%;
}

.rocket {
    position: absolute;
    bottom: 10px;
    left: 20%;
    width: 30px;
    height: 40px;
    background: var(--accent-color);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation: rocketFly 4s ease-in-out infinite;
}

.trail {
    position: absolute;
    bottom: 8px;
    left: calc(20% + 10px);
    width: 10px;
    height: 30px;
    background: linear-gradient(to bottom, transparent, var(--accent-color));
    opacity: 0.5;
    animation: rocketFly 4s ease-in-out infinite, trailFlicker 0.3s ease-in-out infinite;
}

.star {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--text-light);
    animation: twinkle 2s ease-in-out infinite;
}

.star1 {
    top: 20%;
    right: 20%;
    animation-delay: 0s;
}

.star2 {
    top: 40%;
    right: 40%;
    animation-delay: 0.5s;
}

.star3 {
    top: 60%;
    right: 30%;
    animation-delay: 1s;
}

@keyframes rocketFly {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    50% {
        transform: translateX(150px) translateY(-40px);
    }
}

@keyframes trailFlicker {
    0%, 100% {
        opacity: 0.5;
        transform: scaleY(1);
    }
    50% {
        opacity: 0.8;
        transform: scaleY(1.5);
    }
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}

.ghl-animation {
    position: relative;
    width: 700px;
    height: 600px;
    margin: 3rem auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.central-hub {
    position: absolute;
    width: 120px;
    height: 120px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 5;
    box-shadow: 0 0 40px rgba(255, 0, 0, 0.3);
    animation: hubPulse 3s ease-in-out infinite;
}

.hub-core {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 0.5rem;
}

.hub-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
}

@keyframes hubPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 40px rgba(255, 0, 0, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 60px rgba(255, 0, 0, 0.5);
    }
}

.orbiting-feature {
    position: absolute;
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.3s ease;
    top: 50%;
    left: 50%;
    transform-origin: center center;
    overflow: hidden;
    padding: 5px;
    box-sizing: border-box;
}


.orbiting-feature:hover {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    z-index: 20;
    background: #f5f5f5;
}

.orbiting-feature i {
    font-size: 1.3rem;
    color: var(--accent-color);
    margin-bottom: 0.2rem;
}

.orbiting-feature span {
    font-size: 0.65rem;
    text-align: center;
}

/* Container for all features - with rotation */
.orbiting-features-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

/* Gentle rotation for the container after all bubbles appear */
@keyframes gentleRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Counter rotation to keep bubbles upright */
@keyframes counterRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

/* Lightning bolt animation */
@keyframes lightning {
    0% {
        stroke-dashoffset: 1000;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

/* Z-index for orbiting features */
.orbiting-feature {
    transform-origin: center center;
    z-index: 100 !important; /* Ensure bubbles appear above everything */
}


/* All features are positioned by JavaScript for even spacing */
/* Orbit animation disabled to fix spacing issues */
/*
.feature1 { animation: orbit 30s linear infinite; animation-delay: 0s; }
.feature2 { animation: orbit 30s linear infinite; animation-delay: -2s; }
.feature3 { animation: orbit 30s linear infinite; animation-delay: -4s; }
.feature4 { animation: orbit 30s linear infinite; animation-delay: -6s; }
.feature5 { animation: orbit 30s linear infinite; animation-delay: -8s; }
.feature6 { animation: orbit 30s linear infinite; animation-delay: -10s; }
.feature7 { animation: orbit 30s linear infinite; animation-delay: -12s; }
.feature8 { animation: orbit 30s linear infinite; animation-delay: -14s; }
.feature9 { animation: orbit 30s linear infinite; animation-delay: -16s; }
.feature10 { animation: orbit 30s linear infinite; animation-delay: -18s; }
.feature11 { animation: orbit 30s linear infinite; animation-delay: -20s; }
.feature12 { animation: orbit 30s linear infinite; animation-delay: -22s; }
.feature13 { animation: orbit 30s linear infinite; animation-delay: -24s; }
.feature14 { animation: orbit 30s linear infinite; animation-delay: -26s; }
.feature15 { animation: orbit 30s linear infinite; animation-delay: -28s; }
*/

/* Style for feature content */
.feature-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Single orbit animation that keeps features upright */
@keyframes orbit {
    from { 
        transform: rotate(0deg) translateX(260px) rotate(0deg);
    }
    to { 
        transform: rotate(360deg) translateX(260px) rotate(-360deg);
    }
}


.connecting-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.line {
    position: absolute;
    width: 1px;
    height: 260px;
    background: linear-gradient(to bottom, var(--accent-color), transparent);
    top: 50%;
    left: 50%;
    transform-origin: top center;
    opacity: 0.15;
}

.line1 { transform: rotate(0deg) translateY(-50%); animation: linePulse 4s ease-in-out infinite; }
.line2 { transform: rotate(24deg) translateY(-50%); animation: linePulse 4s ease-in-out infinite 0.267s; }
.line3 { transform: rotate(48deg) translateY(-50%); animation: linePulse 4s ease-in-out infinite 0.533s; }
.line4 { transform: rotate(72deg) translateY(-50%); animation: linePulse 4s ease-in-out infinite 0.8s; }
.line5 { transform: rotate(96deg) translateY(-50%); animation: linePulse 4s ease-in-out infinite 1.067s; }
.line6 { transform: rotate(120deg) translateY(-50%); animation: linePulse 4s ease-in-out infinite 1.333s; }
.line7 { transform: rotate(144deg) translateY(-50%); animation: linePulse 4s ease-in-out infinite 1.6s; }
.line8 { transform: rotate(168deg) translateY(-50%); animation: linePulse 4s ease-in-out infinite 1.867s; }
.line9 { transform: rotate(192deg) translateY(-50%); animation: linePulse 4s ease-in-out infinite 2.133s; }
.line10 { transform: rotate(216deg) translateY(-50%); animation: linePulse 4s ease-in-out infinite 2.4s; }
.line11 { transform: rotate(240deg) translateY(-50%); animation: linePulse 4s ease-in-out infinite 2.667s; }
.line12 { transform: rotate(264deg) translateY(-50%); animation: linePulse 4s ease-in-out infinite 2.933s; }
.line13 { transform: rotate(288deg) translateY(-50%); animation: linePulse 4s ease-in-out infinite 3.2s; }
.line14 { transform: rotate(312deg) translateY(-50%); animation: linePulse 4s ease-in-out infinite 3.467s; }
.line15 { transform: rotate(336deg) translateY(-50%); animation: linePulse 4s ease-in-out infinite 3.733s; }

@keyframes linePulse {
    0%, 100% {
        opacity: 0.2;
    }
    50% {
        opacity: 0.6;
    }
}

.ai-connectors {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.ai-connector {
    position: absolute;
    top: 50%;
    left: 50%;
}

.connector-line {
    position: absolute;
    width: 140px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #FFD700, #FF6B6B);
    transform-origin: left center;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    opacity: 0;
}

.connector-pulse {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #FFD700;
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

.connector1 .connector-line {
    animation: trackOrbit 25s linear infinite, connectLine 15s ease-in-out infinite;
    animation-delay: 0s, 0s;
}

.connector1 .connector-pulse {
    animation: trackOrbit 25s linear infinite, pulseTravels 15s ease-in-out infinite;
    animation-delay: 0s, 0s;
}

.connector2 .connector-line {
    animation: trackOrbit 25s linear infinite, connectLine 15s ease-in-out infinite;
    animation-delay: -5s, 3s;
}

.connector2 .connector-pulse {
    animation: trackOrbit 25s linear infinite, pulseTravels 15s ease-in-out infinite;
    animation-delay: -5s, 3s;
}

.connector3 .connector-line {
    animation: trackOrbit 25s linear infinite, connectLine 15s ease-in-out infinite;
    animation-delay: -10s, 6s;
}

.connector3 .connector-pulse {
    animation: trackOrbit 25s linear infinite, pulseTravels 15s ease-in-out infinite;
    animation-delay: -10s, 6s;
}

.connector4 .connector-line {
    animation: trackOrbit 25s linear infinite, connectLine 15s ease-in-out infinite;
    animation-delay: -15s, 9s;
}

.connector4 .connector-pulse {
    animation: trackOrbit 25s linear infinite, pulseTravels 15s ease-in-out infinite;
    animation-delay: -15s, 9s;
}

.connector5 .connector-line {
    animation: trackOrbit 25s linear infinite, connectLine 15s ease-in-out infinite;
    animation-delay: -20s, 12s;
}

.connector5 .connector-pulse {
    animation: trackOrbit 25s linear infinite, pulseTravels 15s ease-in-out infinite;
    animation-delay: -20s, 12s;
}

@keyframes trackOrbit {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes connectLine {
    0%, 5% {
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    25% {
        opacity: 1;
    }
    30%, 100% {
        opacity: 0;
    }
}

@keyframes pulseTravels {
    0%, 10% {
        opacity: 0;
        transform: translateX(0);
    }
    15% {
        opacity: 1;
        transform: translateX(50px);
    }
    20% {
        opacity: 1;
        transform: translateX(100px);
    }
    25% {
        opacity: 1;
        transform: translateX(140px);
    }
    30%, 100% {
        opacity: 0;
        transform: translateX(140px);
    }
}

.feature1 {
    animation: orbit1 15s linear infinite, lightUp 12s ease-in-out infinite;
}

.feature3 {
    animation: orbit3 15s linear infinite, lightUp 12s ease-in-out infinite 4s;
}

.feature5 {
    animation: orbit5 15s linear infinite, lightUp 12s ease-in-out infinite 8s;
}

@keyframes lightUp {
    0%, 20% {
        background: white;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }
    25%, 30% {
        background: linear-gradient(135deg, #FFD700, #FFA500);
        box-shadow: 0 4px 30px rgba(255, 215, 0, 0.6);
    }
    35%, 100% {
        background: white;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }
}

.ai-label {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #FFD700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.ai-label i {
    color: #FFD700;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    /* Center the nav button on mobile */
    .nav-content {
        position: relative;
    }
    
    .nav-content .cta-button {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: 50%;
        transform: translate(-50%, -50%);
    }
    
    /* Smaller headline font on mobile */
    .systems-hero-title {
        font-size: 2.5rem;
    }
    
    .ghl-animation {
        width: 400px;
        height: 400px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 2rem auto 0;
    }
    
    .ai-label {
        bottom: -100px !important;
        font-size: 0.8rem !important;
        padding: 0.4rem 0.8rem !important;
    }
    
    .ai-label i {
        font-size: 1rem !important;
    }
    
    .ai-label span {
        color: #FFD700 !important;
    }
    
    .central-hub {
        width: 100px;
        height: 100px;
    }
    
    .hub-core {
        font-size: 2rem;
    }
    
    .orbiting-features-container {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .orbiting-feature {
        width: 60px;
        height: 60px;
        /* Remove fixed margin offsets that break centering */
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* Ensure inner wrapper is properly styled on mobile */
    .orbiting-feature > div {
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 5px !important;
        box-sizing: border-box !important;
    }
    
    .orbiting-feature i {
        font-size: 1.1rem;
        margin-bottom: 0.1rem !important;
        display: block !important;
        line-height: 1 !important;
        width: auto !important;
        height: auto !important;
        text-align: center !important;
    }
    
    .orbiting-feature span {
        font-size: 0.55rem;
        line-height: 1.1;
        margin: 0 !important;
        padding: 0 2px !important;
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        word-wrap: break-word !important;
    }
    
    @keyframes orbit1, 
    @keyframes orbit2, 
    @keyframes orbit3, 
    @keyframes orbit4, 
    @keyframes orbit5, 
    @keyframes orbit6 {
        from {
            transform: rotate(var(--start-deg)) translateX(120px) rotate(calc(-1 * var(--start-deg)));
        }
        to {
            transform: rotate(calc(var(--start-deg) + 360deg)) translateX(120px) rotate(calc(-1 * (var(--start-deg) + 360deg)));
        }
    }
    
    .line {
        height: 120px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero .container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .cta-button {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
    
    /* Additional mobile fixes for orbiting features */
    .orbiting-feature {
        width: 55px !important;
        height: 55px !important;
        margin-top: -27.5px !important;
        margin-left: -27.5px !important;
    }
    
    .orbiting-feature > div {
        padding: 3px !important;
    }
    
    .orbiting-feature i {
        font-size: 1rem !important;
    }
    
    .orbiting-feature span {
        font-size: 0.5rem !important;
        line-height: 1 !important;
    }
    
    /* Move AI label even lower on small screens */
    .ai-label {
        bottom: -110px !important;
        font-size: 0.75rem !important;
    }
    
    .hero-cta,
    .final-cta-button {
        font-size: 1rem;
        padding: 12px 24px;
    }
    
    .industry-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .industry-card {
        max-width: 300px;
        width: 100%;
    }
    
    .integration-logos {
        grid-template-columns: 1fr;
    }
    
    .problem-highlight {
        font-size: 1.3rem;
        padding: 1.2rem 1.5rem;
    }
    
    .problem-text {
        font-size: 1.1rem;
    }
    
    .state-container {
        min-width: 120px;
        width: 120px;
        flex: 0 0 120px;
    }
    
    .visual-container {
        width: 120px;
        height: 120px;
    }
    
    .chaos-item {
        font-size: 1rem;
        width: 32px;
        height: 32px;
    }
    
    .system-hub {
        width: 40px;
        height: 40px;
    }
    
    .system-hub i {
        font-size: 1.2rem;
    }
    
    .orbit-ring {
        width: 100px;
        height: 100px;
    }
    
    .order-item {
        font-size: 1rem;
        width: 32px;
        height: 32px;
    }
    
    .order-item {
        margin-left: -16px;
        margin-top: -16px;
    }
    
    .order-item:nth-child(3),
    .order-item:nth-child(4),
    .order-item:nth-child(5),
    .order-item:nth-child(6),
    .order-item:nth-child(7),
    .order-item:nth-child(8) {
        --orbit-radius: 50px;
    }
    
    .transformation-arrow {
        min-width: 60px;
    }
    
    .transformation-arrow i {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .pipeline-animation {
        min-height: 220px !important;
        position: relative !important;
    }
    .moving-card {
        display: block !important;
        position: absolute !important;
        width: 80px !important;
        max-width: 80px !important;
        padding: 6px !important;
        left: 50% !important;
        margin-left: 0 !important;
        transform: translateX(-50%) !important;
        z-index: 10 !important;
        animation: moveThruPipelineMobile 12s ease-in-out infinite !important;
    }
    .card-avatar {
        width: 20px !important;
        height: 20px !important;
        font-size: 0.6rem !important;
        margin-bottom: 3px !important;
    }
    .card-name {
        font-size: 0.65rem !important;
        margin-bottom: 2px !important;
    }
    .card-value {
        font-size: 0.7rem !important;
    }
    /* Make sure .stage-column is visible for mobile animation */
    .stage-column {
        display: block !important;
        position: relative !important;
        height: 100px !important;
        min-width: 80px !important;
    }
}

/* CRO Improvements - New Sections */

/* Credibility Section */
.credibility-section {
    padding: 40px 0;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    overflow: hidden;
}

.credibility-title {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    font-weight: 500;
}

/* Logo Ribbon Container */
.logo-ribbon-container {
    position: relative;
    width: 100%;
    height: 100px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    overflow: hidden;
    display: block;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Add overlay gradient for depth */
.logo-ribbon-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        rgba(255,255,255,0.8) 0%, 
        rgba(255,255,255,0) 10%, 
        rgba(255,255,255,0) 90%, 
        rgba(255,255,255,0.8) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Logo Ribbon */
.logo-ribbon {
    display: flex;
    position: absolute;
    height: 100%;
    align-items: center;
    -webkit-animation: scrollRibbon 60s linear infinite;
    -moz-animation: scrollRibbon 60s linear infinite;
    -o-animation: scrollRibbon 60s linear infinite;
    animation: scrollRibbon 60s linear infinite;
    z-index: 2;
    width: max-content;
    width: -webkit-max-content;
    width: -moz-max-content;
    flex-wrap: nowrap;
}

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

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

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

@keyframes scrollRibbon {
    0% {
        -webkit-transform: translateX(0);
        -moz-transform: translateX(0);
        -o-transform: translateX(0);
        transform: translateX(0);
    }
    100% {
        -webkit-transform: translateX(-50%);
        -moz-transform: translateX(-50%);
        -o-transform: translateX(-50%);
        transform: translateX(-50%);
    }
}

.client-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 3rem;
    flex-shrink: 0;
    flex-grow: 0;
    height: 100%;
    min-width: 180px;
    width: 180px;
    transition: all 0.3s ease;
}

.client-logo img {
    max-width: 120px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) contrast(0.8);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0%) contrast(1);
    opacity: 1;
    transform: scale(1.1);
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0 40px;
    background: white;
}

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

.testimonial-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 1rem;
}

.testimonial-author {
    text-align: right;
    color: var(--accent-color);
    font-weight: 600;
}

/* Features Section Spacing */
.features {
    padding: 80px 0;
    background: white;
}

/* Features Bullet List */
.features-bullet-list {
    margin: 3rem auto;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 0 2rem;
}

.feature-bullet {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-bullet i {
    color: var(--accent-color);
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.feature-bullet-content {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
}

.feature-bullet-content strong {
    color: #000;
}

/* Mid-Page CTA */
.mid-page-cta {
    text-align: center;
    margin: 4rem 0;
    padding: 3rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.cta-headline {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #000;
}

/* How it Works Section */
.how-it-works {
    margin-top: 4rem;
    text-align: center;
}

.how-it-works .section-subtitle {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #000;
}

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

.step-item {
    position: relative;
    padding: 2rem;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.step-item:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.step-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

/* Metrics Section */
.metrics-section {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.metric-card {
    text-align: center;
    padding: 2rem;
}

.metric-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.metric-label {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.4;
}

/* Mobile Responsiveness for CRO Sections */
@media (max-width: 768px) {
    .features {
        padding: 60px 0;
    }
    
    .features-bullet-list {
        margin: 2rem auto;
        padding: 0 1.5rem;
        gap: 1.5rem;
    }
    
    .logo-ribbon-container {
        height: 80px;
    }
    
    .client-logo {
        padding: 0 2rem;
    }
    
    .client-logo img {
        max-width: 80px;
        max-height: 40px;
    }
    
    .logo-ribbon {
        animation: scrollRibbon 40s linear infinite;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .metric-number {
        font-size: 3rem;
    }
    
    .cta-headline {
        font-size: 1.5rem;
    }
}

/* Exit Intent Popup */
.exit-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.exit-popup-overlay.show {
    display: flex;
}

.exit-popup {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    position: relative;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: popupSlideIn 0.5s ease;
}

@keyframes popupSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-close:hover {
    color: #333;
}

.popup-headline {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #000;
}

.popup-subheadline {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.popup-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.popup-form input {
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.popup-form input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.popup-form .cta-button {
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .exit-popup {
        padding: 2rem;
    }
    
    .popup-headline {
        font-size: 1.8rem;
    }
    
    .popup-subheadline {
        font-size: 1rem;
    }
}

/* Growth Chart Animation */
.growth-chart-container {
    margin-top: 2rem;
    margin-bottom: 3rem;
    padding: 2rem 0;
    overflow: hidden;
}

.growth-chart-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.growth-chart {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(100%) brightness(0.3);
    transition: filter 3s ease;
    animation: fadeInChart 1s ease forwards;
}

.growth-chart-wrapper.animate .growth-chart {
    filter: grayscale(0%) brightness(1) hue-rotate(120deg) saturate(1.5);
}

@keyframes fadeInChart {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.growth-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 30%, rgba(40, 167, 69, 0.1) 50%, rgba(40, 167, 69, 0.2) 70%, transparent 90%);
    opacity: 0;
    animation: overlayShine 3s ease infinite;
    animation-delay: 1s;
    pointer-events: none;
}

@keyframes overlayShine {
    0% {
        transform: translateX(-100%) translateY(-100%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%) translateY(100%);
        opacity: 0;
    }
}

/* Growth Arrows */
.growth-arrows {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.arrow {
    position: absolute;
    color: #28a745;
    font-size: 2rem;
    opacity: 0;
    animation: arrowFloat 2s ease-out forwards;
    text-shadow: 0 0 20px rgba(40, 167, 69, 0.8);
}

.arrow-1 {
    top: 30%;
    left: 20%;
    animation-delay: 0.5s;
}

.arrow-2 {
    top: 20%;
    left: 50%;
    animation-delay: 1s;
    font-size: 2.5rem;
}

.arrow-3 {
    top: 25%;
    right: 20%;
    animation-delay: 1.5s;
}

@keyframes arrowFloat {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(-40px);
        opacity: 0;
    }
}

/* Growth Particles */
.growth-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #28a745;
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 10px rgba(40, 167, 69, 0.8);
}

.particle:nth-child(1) {
    top: 60%;
    left: 15%;
    animation: particleRise 3s ease-out infinite;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 50%;
    left: 35%;
    animation: particleRise 3s ease-out infinite;
    animation-delay: 0.5s;
}

.particle:nth-child(3) {
    top: 55%;
    left: 55%;
    animation: particleRise 3s ease-out infinite;
    animation-delay: 1s;
}

.particle:nth-child(4) {
    top: 45%;
    left: 75%;
    animation: particleRise 3s ease-out infinite;
    animation-delay: 1.5s;
}

.particle:nth-child(5) {
    top: 50%;
    right: 15%;
    animation: particleRise 3s ease-out infinite;
    animation-delay: 2s;
}

@keyframes particleRise {
    0% {
        transform: translateY(0) scale(0);
        opacity: 0;
    }
    20% {
        transform: translateY(-10px) scale(1);
        opacity: 1;
    }
    80% {
        transform: translateY(-60px) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(-80px) scale(0);
        opacity: 0;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .growth-chart-wrapper {
        padding: 1rem;
    }
    
    .arrow {
        font-size: 1.5rem;
    }
    
    .arrow-2 {
        font-size: 2rem;
    }
}

/* Growth Disclaimer */
.growth-disclaimer {
    max-width: 800px;
    margin: 2rem auto 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-left: 4px solid var(--accent-color);
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #666;
    text-align: center;
}

.growth-disclaimer em {
    font-style: normal;
    display: block;
}