/* ============================================
   SAV INFORMÁTICA - Stripe-Inspired Modern Design
   Primary Color: #0F366A (Navy Blue)
   Accent Color: #0ECFC8 (Turquoise)
   Fonts: Inter (body), Space Grotesk (headings)
   Design: Clean, spacious, modern with generous whitespace
   ============================================ */

/* ============================================
   ROOT VARIABLES - Brand Colors & Spacing
   ============================================ */
:root {
    /* SAV INFORMÁTICA Brand Colors */
    --primary-color: #0F366A;
    --primary-dark: #0A2347;
    --primary-light: #26D2D1;
    --accent-color: #0ECFC8;
    --accent-light: #3FDDD7;
    --accent-bg: #E8F8F7;
    --secondary-color: #485B6D;
    --secondary-light: #888F95;
    --success-color: #28A745;
    --info-color: #0ECFC8;
    --warning-color: #FFC107;
    --danger-color: #DC3545;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --medium-gray: #E9ECEF;
    --dark-gray: #343A40;
    --black: #000000;
    --text-muted: #485B6D;
    --text-light: #E8F8F7;
    
    /* Typography - Larger Stripe-style sizes */
    --font-body: 'Inter', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
    --base-font-size: 20px; /* Increased from 18px */
    
    /* Spacing - More generous */
    --section-padding: 8rem; /* Increased from 6rem */
    --card-padding: 3rem; /* Increased from 2.5rem */
    --card-border-radius: 1rem;
    
    /* Shadows - Subtle and modern */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* ============================================
   GLOBAL STYLES - Base Typography & Layout
   ============================================ */
body {
    font-family: var(--font-body);
    font-size: var(--base-font-size);
    line-height: 1.7;
    color: var(--dark-gray);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Headings use Space Grotesk font - Larger Stripe-style */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

/* Large display headings */
.display-1 {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.1;
}

.display-2 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
}

.display-3 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.15;
}

.display-4 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.15;
}

.display-5 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.display-6 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.25;
}

/* Lead text - larger and lighter */
.lead {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
}

/* Text utilities */
.text-muted {
    color: var(--text-muted) !important;
}

p {
    margin-bottom: 1.5rem;
}

/* ============================================
   BOOTSTRAP OVERRIDES - Custom Primary Color
   ============================================ */
/* Primary Button Styles */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    border: none;
    color: var(--white);
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, #0CB8B1 0%, #35C9C3 100%);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(14, 207, 200, 0.4);
}

/* Primary Text Color */
.text-primary {
    color: var(--primary-color) !important;
}

/* Primary Background Color */
.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

/* ============================================
   NAVIGATION - Clean Minimal Navbar
   ============================================ */
.navbar {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #ffffff !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    transition: transform 0.3s ease;
    letter-spacing: -0.01em;
}

.navbar-brand:hover {
    transform: translateX(2px);
    color: var(--primary-color) !important;
}

.brand-text {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation Links - Larger and more spaced */
.nav-link {
    font-weight: 500;
    font-size: 1rem;
    color: var(--primary-color) !important;
    padding: 0.75rem 1.25rem !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

.nav-link.dropdown-toggle {
    color: var(--primary-color) !important;
}

.nav-link.dropdown-toggle:hover {
    color: var(--accent-color) !important;
}

/* Mega Menu - Stripe-style dropdown */
/* ============================================
   PRODUCTS MEGA MENU - Professional Redesign
   ============================================ */

/* Dropdown Container */
.mega-menu .dropdown-menu.products-mega-dropdown {
    border: none;
    box-shadow: 0 10px 40px rgba(15, 54, 106, 0.15), 
                0 3px 12px rgba(15, 54, 106, 0.08);
    border-radius: 16px;
    padding: 0;
    margin-top: 0.5rem;
    background-color: #ffffff;
    width: 950px;
    max-width: 95vw;
    left: 50% !important;
    transform: translateX(-50%) !important;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform-origin: top center;
}

.mega-menu .dropdown-menu.products-mega-dropdown.show,
.mega-menu.show .dropdown-menu.products-mega-dropdown {
    display: block;
    animation: megaMenuFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes megaMenuFadeIn {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Product Card Container */
.product-card {
    background: #ffffff;
    border: 1px solid rgba(15, 54, 106, 0.08);
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0F366A 0%, #0ECFC8 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(15, 54, 106, 0.12), 
                0 4px 16px rgba(14, 207, 200, 0.08);
    border-color: rgba(14, 207, 200, 0.25);
}

.product-card:hover::before {
    transform: scaleX(1);
}

/* Product Card Header */
.product-card-header {
    margin-bottom: 1.5rem;
}

/* Product Icon */
.product-icon {
    width: 150px;
    height: 80px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.product-card:hover .product-icon {
    transform: scale(1.05);
}

.product-icon img {
    width: 120px;
    max-height: 70px;
    object-fit: contain;
}

/* Icon Gradients */
.market-gradient {
    background: linear-gradient(135deg, rgba(14, 207, 200, 0.15) 0%, rgba(14, 207, 200, 0.05) 100%);
    border: 1.5px solid rgba(14, 207, 200, 0.25);
}

.bridge-gradient {
    background: linear-gradient(135deg, rgba(15, 54, 106, 0.15) 0%, rgba(15, 54, 106, 0.05) 100%);
    border: 1.5px solid rgba(15, 54, 106, 0.25);
}

.pulse-gradient {
    background: linear-gradient(135deg, rgba(38, 210, 209, 0.15) 0%, rgba(14, 207, 200, 0.05) 100%);
    border: 1.5px solid rgba(38, 210, 209, 0.25);
}

/* Product Title */
.product-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #0F366A;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

/* Product Description */
.product-description {
    font-size: 0.9rem;
    color: #485B6D;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Product Features List */
.product-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    flex-grow: 1;
}

.product-features li {
    font-size: 0.875rem;
    color: #343A40;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
}

.product-features li:last-child {
    margin-bottom: 0;
}

.product-features i {
    color: #0ECFC8;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

/* Product Link / CTA */
.product-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #0F366A;
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    background-color: rgba(14, 207, 200, 0.08);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    align-self: flex-start;
}

.product-link:hover {
    background-color: #0ECFC8;
    color: #ffffff;
    transform: translateX(4px);
}

.product-link i {
    font-size: 0.875rem;
    transition: transform 0.25s ease;
}

.product-link:hover i {
    transform: translateX(4px);
}

/* ============================================
   RESPONSIVE BEHAVIOR - Products Mega Menu
   ============================================ */

/* Tablets (Portrait) */
@media (max-width: 991.98px) {
    .mega-menu .dropdown-menu.products-mega-dropdown {
        min-width: 100%;
        max-width: 100%;
        left: 0 !important;
        transform: none !important;
    }
    
    .product-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .product-icon {
        width: 48px;
        height: 48px;
    }
    
    .product-icon img {
        width: 30px;
        height: 30px;
    }
    
    .product-title {
        font-size: 1.125rem;
    }
}

/* Mobile Devices */
@media (max-width: 767.98px) {
    .mega-menu .dropdown-menu.products-mega-dropdown {
        border-radius: 12px;
        margin-top: 0.5rem;
        box-shadow: 0 8px 24px rgba(15, 54, 106, 0.12);
    }
    
    .product-card {
        padding: 1.25rem;
    }
    
    .product-card-header {
        margin-bottom: 1rem;
    }
    
    .product-icon {
        width: 44px;
        height: 44px;
        margin-bottom: 0.75rem;
    }
    
    .product-icon img {
        width: 28px;
        height: 28px;
    }
    
    .product-title {
        font-size: 1.1rem;
    }
    
    .product-description {
        font-size: 0.85rem;
    }
    
    .product-features {
        margin-bottom: 1rem;
    }
    
    .product-features li {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }
    
    .product-link {
        font-size: 0.85rem;
        padding: 0.625rem 1rem;
        width: 100%;
        justify-content: center;
    }
}

/* Small Mobile */
@media (max-width: 575.98px) {
    .product-card {
        padding: 1rem;
    }
    
    .product-title {
        font-size: 1rem;
    }
    
    .product-description {
        font-size: 0.8rem;
    }
}

/* Old dropdown styles (keep for backwards compatibility) */
.dropdown-menu:not(.mega-menu-content) {
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-radius: 0.75rem;
    padding: 0.75rem;
    margin-top: 0.5rem;
    background-color: #ffffff;
}

.dropdown-item {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    color: var(--primary-color);
}

.dropdown-item:hover {
    background-color: var(--accent-bg);
    transform: translateX(4px);
    color: var(--primary-color);
}

.dropdown-item:focus {
    background-color: var(--accent-bg);
    color: var(--primary-color);
}

.dropdown-item img {
    object-fit: contain;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

/* Mobile navbar toggler */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(15, 54, 106, 0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Navbar spacing and alignment */
.navbar-nav {
    gap: 1.5rem;
}

.navbar-nav .nav-item {
    display: flex;
    align-items: center;
}

/* Mobile responsive navbar */
@media (max-width: 991.98px) {
    .navbar-nav {
        gap: 0;
        padding-top: 1rem;
    }
    
    .navbar-nav .nav-item {
        padding: 0.5rem 0;
    }
    
    .navbar-nav .nav-item.ms-lg-3 {
        margin-top: 1rem;
        margin-left: 0 !important;
    }
    
    .btn-primary {
        width: 100%;
        text-align: center;
    }
    
    .dropdown-menu,
    .mega-menu-content {
        border: none;
        box-shadow: none;
        padding-left: 1rem;
        position: static !important;
        transform: none !important;
        width: 100% !important;
    }
    
    .mega-menu-content {
        padding: 1rem 0;
    }
    
    .mega-menu-content .row {
        margin: 0;
    }
    
    .mega-menu-content .col-lg-4 {
        padding: 0;
    }
    
    .mega-menu-section {
        padding: 0.5rem 0;
    }
    
    .mega-menu-title {
        margin-bottom: 0.75rem;
        font-size: 0.7rem;
    }
    
    .mega-menu-item {
        padding: 0.75rem;
    }
    
    .mega-menu-icon {
        width: 40px;
        height: 40px;
    }
    
    .mega-menu-icon img {
        width: 24px;
        height: 24px;
    }
}

/* ============================================
   NAVBAR GLASS EFFECT - Better visibility over hero
   ============================================ */
.navbar-glass {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.navbar-glass.scrolled {
    background: rgba(255, 255, 255, 1) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

/* Logo enhancement for better visibility */
.navbar-brand img {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

/* ============================================
   HERO SECTION - Clean Professional Gradient
   ============================================ */
.hero-section {
    min-height: 80vh;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    position: relative;
    overflow: hidden;
    padding: 8rem 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(14, 207, 200, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(63, 221, 215, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

/* Hero content spacing */
.hero-section h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
}

.hero-section .lead {
    font-size: 1.35rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

/* Hero Animations - Smoother */
.animate-fade-in {
    animation: fadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-fade-in-delay {
    animation: fadeIn 1s cubic-bezier(0.4, 0, 0.2, 1) 0.2s backwards;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.4s backwards;
}

.animate-slide-in {
    animation: slideIn 1s cubic-bezier(0.4, 0, 0.2, 1) 0.3s backwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Hero Illustration */
.hero-illustration {
    position: relative;
    padding: 3rem;
}

.hero-icon-floating {
    position: absolute;
    top: 20%;
    right: 10%;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-25px) rotate(5deg);
    }
}

/* CTA Section styling */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(14, 207, 200, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* ============================================
   PRODUCT CARDS - Modern Card Design
   ============================================ */
.product-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.06);
    height: 100%;
    border-radius: var(--card-border-radius);
    background: white;
    overflow: hidden;
}

.product-card .card-body {
    padding: var(--card-padding);
}

.product-card:hover {
    transform: translateY(-15px); /* Increased from -12px */
    box-shadow: 0 25px 70px rgba(14, 207, 200, 0.25), 0 0 0 2px var(--accent-color); /* Turquoise glow */
    border-color: var(--accent-color);
}

.product-icon {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    color: var(--accent-color);
}

.product-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    height: 120px;
}

.product-logo-img {
    max-width: 180px;
    max-height: 120px;
    height: auto;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
}

.product-card:hover .product-logo-img {
    transform: scale(1.08);
}

.product-card .card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--dark-gray);
}

.product-card .card-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* ============================================
   PAGE HEADERS - Product & Static Pages
   ============================================ */
.page-header,
.product-header {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--white);
}

/* Gradient Variations for Different Products */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

.bg-gradient-secondary {
    background: linear-gradient(135deg, #6C757D 0%, #495057 100%);
}

.bg-gradient-success {
    background: linear-gradient(135deg, var(--success-color) 0%, #218838 100%);
}

.bg-gradient-info {
    background: linear-gradient(135deg, var(--info-color) 0%, #117a8b 100%);
}

/* ============================================
   FEATURE CARDS - Product Features Display
   ============================================ */
.feature-icon {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.card {
    border-radius: var(--card-border-radius);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: white;
}

.card .card-body {
    padding: 2rem;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

/* Feature icon boxes */
.feature-icon-box {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
}

/* Benefit items */
.benefit-item {
    padding: 2rem 1rem;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-4px);
}

.benefit-icon {
    margin-bottom: 1.5rem;
}

.benefit-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.benefit-item p {
    font-size: 1.05rem;
    line-height: 1.6;
}

/* ============================================
   BUTTONS - Modern Large Buttons
   ============================================ */
.btn {
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.05rem;
    border-width: 2px;
    position: relative;
    overflow: hidden;
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
    border-radius: 0.875rem;
}

.btn-primary {
    box-shadow: 0 4px 14px rgba(14, 207, 200, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(14, 207, 200, 0.45);
    transform: translateY(-2px);
}

.btn-outline-primary {
    border-color: var(--accent-color);
    color: var(--accent-color);
    border-width: 2px;
    background: transparent;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    border-color: var(--accent-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(14, 207, 200, 0.3);
}

.btn-light {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid white;
    font-weight: 600;
}

.btn-light:hover {
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-outline-light {
    border-width: 2px;
    font-weight: 600;
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

/* Button icon spacing */
.btn i {
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(3px);
}

.btn:hover i.bi-arrow-down {
    transform: translateY(3px);
}

/* ============================================
   FORMS - Contact Form Styling
   ============================================ */
.form-control,
.form-select {
    border-radius: 0.375rem;
    border: 1px solid var(--medium-gray);
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(14, 207, 200, 0.25);
}

.form-control-lg,
.form-select-lg {
    padding: 1rem 1.25rem;
    font-size: 1.125rem;
}

/* Custom Validation Styles */
.form-control.is-invalid,
.form-select.is-invalid {
    border-color: var(--danger-color);
}

.form-control.is-valid,
.form-select.is-valid {
    border-color: var(--success-color);
}

.invalid-feedback {
    color: var(--danger-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.valid-feedback {
    color: var(--success-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Form Check (Checkbox/Radio) */
.form-check-input:checked {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.form-check-input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(14, 207, 200, 0.25);
}

/* ============================================
   FOOTER - Innovative Modern Footer with Animations
   ============================================ */

/* Main Footer Container with Animated Gradient Background */
.footer-innovative {
    position: relative;
    background: linear-gradient(135deg, #0A2347 0%, #0F366A 50%, #0A2347 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    color: var(--white);
    padding: 0;
    overflow: hidden;
}

@@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Wave SVG Divider */
.footer-wave {
    position: relative;
    width: 100%;
    height: 80px;
    margin-bottom: -1px;
    z-index: 1;
}

.footer-wave svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* Floating Animated Particles Background */
.footer-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(14, 207, 200, 0.3);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(14, 207, 200, 0.4);
    animation: floatParticle 20s infinite ease-in-out;
}

.particle:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
    animation-duration: 18s;
}

.particle:nth-child(2) {
    left: 70%;
    top: 40%;
    animation-delay: 3s;
    animation-duration: 22s;
    width: 6px;
    height: 6px;
}

.particle:nth-child(3) {
    left: 30%;
    top: 70%;
    animation-delay: 6s;
    animation-duration: 20s;
}

.particle:nth-child(4) {
    left: 85%;
    top: 15%;
    animation-delay: 9s;
    animation-duration: 25s;
    width: 10px;
    height: 10px;
}

.particle:nth-child(5) {
    left: 50%;
    top: 50%;
    animation-delay: 12s;
    animation-duration: 19s;
    width: 7px;
    height: 7px;
}

@@keyframes floatParticle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translate(20px, -30px) scale(1.2);
        opacity: 0.6;
    }
    50% {
        transform: translate(-15px, -50px) scale(0.8);
        opacity: 0.4;
    }
    75% {
        transform: translate(30px, -20px) scale(1.1);
        opacity: 0.5;
    }
}

/* Footer Content Container */
.footer-content {
    position: relative;
    z-index: 2;
    padding: 4rem 0 2rem;
}

/* Company Brand Section */
.footer-brand {
    position: relative;
}

.footer-logo {
    filter: brightness(1.1);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.footer-logo:hover {
    filter: brightness(1.3);
    transform: scale(1.05);
}

.footer-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    line-height: 1.7;
}

/* Modern Social Links with Creative Hover Effects */
.social-links-modern {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(14, 207, 200, 0.3);
    border-radius: 50%;
    color: #0ECFC8;
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(14, 207, 200, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.social-link:hover {
    transform: scale(1.15) rotate(360deg);
    border-color: #0ECFC8;
    box-shadow: 0 0 25px rgba(14, 207, 200, 0.5);
    background: rgba(14, 207, 200, 0.15);
}

.social-link:hover::before {
    width: 100%;
    height: 100%;
}

.social-link i {
    position: relative;
    z-index: 1;
}

/* Footer Headings */
.footer-heading-modern {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #0ECFC8;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-heading-modern::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #0ECFC8, transparent);
    border-radius: 2px;
}

/* Quick Links */
.footer-links-modern {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-link-item {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
}

.footer-link-item i {
    transition: transform 0.3s ease;
}

.footer-link-item:hover {
    color: #0ECFC8;
    padding-left: 5px;
}

.footer-link-item:hover i {
    transform: translateX(5px);
}

/* Product Cards with Icons */
.footer-products {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-card-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(14, 207, 200, 0.2);
    border-radius: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.product-card-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(14, 207, 200, 0.1), transparent);
    transition: left 0.5s ease;
}

.product-card-link:hover {
    transform: translateY(-3px);
    border-color: #0ECFC8;
    background: rgba(14, 207, 200, 0.1);
    box-shadow: 0 5px 20px rgba(14, 207, 200, 0.2);
    color: #fff;
}

.product-card-link:hover::before {
    left: 100%;
}

.product-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(14, 207, 200, 0.15);
    border-radius: 0.4rem;
    color: #0ECFC8;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.product-card-link:hover .product-icon {
    background: #0ECFC8;
    color: #0A2347;
    transform: scale(1.1) rotate(5deg);
}

/* Newsletter Section with Gradient Glow */
.newsletter-section {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(14, 207, 200, 0.3);
    border-radius: 1rem;
    padding: 1.5rem;
    position: relative;
    backdrop-filter: blur(10px);
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #0ECFC8, #3FDDD7, #0ECFC8);
    border-radius: 1rem;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    animation: borderGlow 3s ease infinite;
}

.newsletter-section:hover::before {
    opacity: 0.3;
}

@@keyframes borderGlow {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.4; }
}

.newsletter-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Newsletter Form */
.newsletter-form {
    margin: 0;
}

.newsletter-input-group {
    display: flex;
    position: relative;
    margin-bottom: 0.75rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem 0 0 0.5rem;
    color: #fff;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #0ECFC8;
    box-shadow: 0 0 0 3px rgba(14, 207, 200, 0.1);
}

.newsletter-btn {
    padding: 0.85rem 1.5rem;
    background: linear-gradient(135deg, #0ECFC8, #3FDDD7);
    border: none;
    border-radius: 0 0.5rem 0.5rem 0;
    color: #0A2347;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-btn:hover {
    background: linear-gradient(135deg, #3FDDD7, #0ECFC8);
    transform: translateX(3px);
    box-shadow: 0 5px 15px rgba(14, 207, 200, 0.4);
}

.newsletter-btn:active {
    transform: translateX(3px) scale(0.95);
}

.newsletter-note {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.newsletter-note i {
    color: #0ECFC8;
}

/* Footer Bottom/Copyright Section */
.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #0ECFC8, transparent);
}

.copyright-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.copyright-text strong {
    color: #0ECFC8;
    font-weight: 600;
}

.footer-links-inline {
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-legal-link:hover {
    color: #0ECFC8;
    text-decoration: underline;
}

/* Responsive Design */
@@media (max-width: 991px) {
    .footer-content {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-wave {
        height: 60px;
    }
    
    .newsletter-section {
        margin-top: 2rem;
    }
}

@@media (max-width: 767px) {
    .footer-content {
        padding: 2.5rem 0 1.5rem;
    }
    
    .footer-wave {
        height: 50px;
    }
    
    .footer-logo {
        width: 150px;
    }
    
    .social-links-modern {
        justify-content: center;
    }
    
    .footer-heading-modern::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .product-card-link {
        justify-content: center;
    }
    
    .newsletter-input-group {
        flex-direction: column;
    }
    
    .newsletter-input {
        border-radius: 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    .newsletter-btn {
        border-radius: 0.5rem;
        width: 100%;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-links-inline {
        display: block;
        margin-top: 1rem;
    }
}

@@media (max-width: 575px) {
    .footer-content {
        padding: 2rem 0 1rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .product-card-link {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .product-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
}

/* ============================================
   UTILITIES - Helper Classes
   ============================================ */
/* Shadow Utilities - Modern subtle shadows */
.shadow-sm {
    box-shadow: var(--shadow-sm) !important;
}

.shadow {
    box-shadow: var(--shadow-md) !important;
}

.shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}

.shadow-xl {
    box-shadow: var(--shadow-xl) !important;
}

/* Rounded Utilities */
.rounded-3 {
    border-radius: 0.75rem !important;
}

.rounded-4 {
    border-radius: var(--card-border-radius) !important;
}

/* Background Utilities */
.bg-light {
    background-color: var(--light-gray) !important;
}

/* Spacing utilities - More generous */
.py-6 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

.py-7 {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
}

.mb-6 {
    margin-bottom: 3rem !important;
}

.mb-7 {
    margin-bottom: 4rem !important;
}

/* Hover lift effect */
.hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

/* ============================================
   RESPONSIVE DESIGN - Mobile Breakpoints
   ============================================ */
/* Small devices (phones, 320px - 767px) */
@media (max-width: 767px) {
    :root {
        --base-font-size: 16px;
        --section-padding: 3rem;
        --card-padding: 1.5rem;
    }
    
    .hero-section {
        min-height: 550px;
        padding: 4rem 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .display-6 {
        font-size: 1.5rem;
    }
    
    .product-hero {
        padding: 4rem 0;
        min-height: 500px;
    }
    
    .product-hero h1 {
        font-size: 2.25rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .btn-lg {
        padding: 1rem 1.75rem;
        font-size: 1.05rem;
    }
    
    .card .card-body {
        padding: 1.5rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .page-header,
    .product-header {
        padding: 3rem 0;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
}

/* Medium devices (tablets, 768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-section {
        min-height: 550px;
    }
    
    .container {
        max-width: 720px;
    }
}

/* Large devices (desktops, 1024px - 1919px) */
@media (min-width: 1024px) {
    .container {
        max-width: 960px;
    }
}

/* Extra large devices (large desktops, 1920px and up) */
@media (min-width: 1920px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-section {
        min-height: 700px;
    }
}

/* ============================================
   ANIMATIONS - Scroll & Interaction Effects
   ============================================ */
/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Button Hover Effects */
.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

/* ============================================
   ACCESSIBILITY - ARIA & Screen Reader Support
   ============================================ */
/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus visible for keyboard navigation */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* ============================================
   PRODUCT LOGOS - Logo Styling for Product Pages
   ============================================ */
.product-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-logo-img {
    max-width: 180px;
    height: auto;
    transition: transform 0.3s ease;
}

.product-card:hover .product-logo-img {
    transform: scale(1.1);
}

.product-logo-hero img {
    max-width: 200px;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
}

.hero-logo {
    animation: fadeInScale 1s ease-in-out;
}

/* Banner Container Styling */
.banner-container {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: var(--card-border-radius);
}

.banner-container:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl) !important;
}

.banner-container img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--card-border-radius);
}

/* ============================================
   BRIDGE PRODUCT - IoT & Telemetry Specific Styles
   ============================================ */
.bg-gradient-bridge {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
}

.bg-gradient-bridge-light {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.text-bridge-primary {
    color: #1e3a8a !important;
}

.bg-bridge-primary {
    background-color: #3b82f6 !important;
    padding: 1rem;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bg-bridge-secondary {
    background-color: #1e3a8a !important;
    padding: 1rem;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-box {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
}

.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* ============================================
   MARKET PRODUCT - E-Commerce Specific Styles
   ============================================ */
.bg-gradient-market {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

.bg-gradient-market-light {
    background: linear-gradient(135deg, var(--accent-bg) 0%, #D0F0EF 100%);
}

.bg-market-primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%) !important;
    padding: 1rem;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   PULSE PRODUCT - CRM Specific Styles
   ============================================ */
.bg-gradient-pulse {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
}

.bg-gradient-pulse-light {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
}

.bg-pulse-primary {
    background-color: #059669 !important;
    padding: 1rem;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   PRODUCT HERO SECTIONS
   ============================================ */
.product-hero {
    min-height: 600px;
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

.product-hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.product-hero .lead {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.product-logo-hero {
    margin-bottom: 2rem;
}

.product-logo-hero img {
    max-width: 220px;
    filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.25));
    animation: fadeInScale 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-visual {
    position: relative;
    animation: float 4s ease-in-out infinite;
    padding: 3rem;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Product visual containers */
.product-visual {
    padding: 3rem;
    border-radius: var(--card-border-radius);
    box-shadow: var(--shadow-lg);
}

/* Feature lists in product pages */
.feature-list li {
    font-size: 1.1rem;
    line-height: 1.8;
    padding: 0.5rem 0;
}

.feature-list i {
    font-size: 1.5rem;
}

/* ============================================
   PRINT STYLES - Optimize for Printing
   ============================================ */
@media print {
    .navbar,
    footer,
    .btn {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    a {
        text-decoration: underline;
    }
}
/* ============================================
   MODERN ANIMATIONS - Stripe-like Effects
   ============================================ */

/* Keyframe Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-25px);
    }
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(14, 207, 200, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(14, 207, 200, 0.6);
    }
}

@keyframes scroll-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.slide-in-right {
    animation: slideInRight 1s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.stagger-1 { animation-delay: 0.1s !important; }
.stagger-2 { animation-delay: 0.2s !important; }
.stagger-3 { animation-delay: 0.3s !important; }
.stagger-4 { animation-delay: 0.4s !important; }

.float-element {
    animation: float 6s ease-in-out infinite;
}

/* ============================================
   ENHANCED HERO SECTION
   ============================================ */
.hero-section-enhanced {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, #1a4d7a 100%);
    position: relative;
    overflow: hidden;
    padding: 0;
    display: flex;
    align-items: center;
}

.animated-gradient {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color), var(--accent-color));
    background-size: 200% 200%;
    animation: gradient-shift 15s ease infinite;
}

/* Floating background shapes */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 207, 200, 0.15), transparent);
    filter: blur(40px);
}

.shape-1 {
    width: 500px;
    height: 500px;
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    bottom: -50px;
    left: -50px;
    animation: float 10s ease-in-out infinite reverse;
}

.shape-3 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    animation: float 12s ease-in-out infinite;
}

/* Hero Content */
.hero-badge .badge-glow {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 2rem;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    animation: pulse-glow 3s ease-in-out infinite;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.35rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 600px;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn-enhanced {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-enhanced:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-trust {
    margin-top: 3rem;
}

/* Glassmorphism Trust Cards */
.hero-trust-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.hero-trust-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(14, 207, 200, 0.1) 0%, rgba(15, 54, 106, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.hero-trust-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(14, 207, 200, 0.3);
    box-shadow: 0 12px 40px rgba(14, 207, 200, 0.2);
}

.hero-trust-card:hover::before {
    opacity: 1;
}

.hero-trust-card > * {
    position: relative;
    z-index: 1;
}

.trust-icon {
    font-size: 2.5rem;
    color: #FFFFFF;
    margin-bottom: 0.75rem;
    display: inline-block;
    filter: drop-shadow(0 0 12px rgba(14, 207, 200, 0.6));
    transition: all 0.3s ease;
    opacity: 0.9;
}

.hero-trust-card:hover .trust-icon {
    filter: drop-shadow(0 0 20px rgba(14, 207, 200, 0.9));
    transform: scale(1.15);
    opacity: 1;
}

.trust-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.25rem;
    font-family: var(--font-heading);
    line-height: 1;
}

.trust-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

/* Legacy trust item styles - keeping for backwards compatibility */
.trust-item {
    display: flex;
    align-items: center;
    font-size: 1rem;
}

/* Hero Visual - Floating Mockup */
.hero-visual {
    position: relative;
    perspective: 1500px;
}

.product-mockup {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.mockup-image {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
}

.mockup-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
}

.mockup-screens {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    font-size: 3rem;
}

.floating-mockup {
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

/* Floating UI Cards */
.floating-ui-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.ui-card {
    position: absolute;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.ui-card i {
    font-size: 1.5rem;
}

.ui-card-1 {
    top: 15%;
    right: -10%;
    animation: float 7s ease-in-out infinite;
}

.ui-card-2 {
    bottom: 30%;
    right: 10%;
    animation: float 9s ease-in-out infinite 1s;
}

.ui-card-3 {
    top: 45%;
    left: -5%;
    animation: float 8s ease-in-out infinite 2s;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    z-index: 10;
    transition: opacity 0.3s ease;
}

.scroll-mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    position: relative;
    animation: scroll-bounce 2s ease-in-out infinite;
}

.scroll-wheel {
    width: 4px;
    height: 10px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-bounce 2s ease-in-out infinite;
}

.scroll-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============================================
   ENHANCED PRODUCT CARDS
   ============================================ */
.products-section {
    position: relative;
}

.section-badge .badge-accent {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: var(--accent-bg);
    color: var(--primary-color);
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.gradient-text-dark {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.product-card-enhanced {
    background: #fff;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card-enhanced:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(14, 207, 200, 0.3);
}

/* Product Logo Container - More compact with decorative pattern */
.product-mockup-container {
    width: 100%;
    height: 160px; /* Reduced from 280px for better balance */
    background: linear-gradient(135deg, var(--accent-bg), #f0f9ff);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    /* Subtle dot pattern decoration */
    background-image: 
        radial-gradient(circle, rgba(14, 207, 200, 0.08) 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
}

/* Logo images - contain fit to display properly without cropping */
.product-mockup-img {
    width: 80%; /* Slightly smaller for better padding */
    height: 80%;
    object-fit: contain; /* Changed from cover to contain for proper logo display */
    transition: transform 0.4s ease;
}

.product-card-enhanced:hover .product-mockup-img {
    transform: scale(1.1);
}

.product-mockup-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--accent-color);
    font-size: 4rem;
}

/* Card Content Area - Optimized padding and layout */
.product-card-content {
    padding: 2rem 2.5rem 2.5rem 2.5rem; /* Tighter top padding */
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Card Description - More compact for better density */
.product-card-description {
    font-size: 0.95rem; /* Reduced from 1.05rem */
    line-height: 1.55; /* Tighter from 1.7 */
    color: var(--text-muted);
    margin-bottom: 1.25rem; /* Reduced from 1.5rem */
    flex: 1;
}

/* Features List - Compact styling with checkmarks */
.product-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0; /* Reduced from 2rem */
}

.product-features-list li {
    padding: 0.4rem 0; /* Reduced from 0.5rem */
    font-size: 0.875rem; /* Smaller from 0.95rem */
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 1.5rem; /* Space for checkmark */
}

/* Add checkmark icon before each feature */
.product-features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1rem;
}

/* CTA Button - More prominent with enhanced styling */
.btn-product-cta {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2.25rem; /* Slightly larger padding */
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: #fff;
    border: none;
    border-radius: 0.625rem; /* Slightly larger radius */
    font-weight: 700; /* Bolder from 600 */
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
    box-shadow: 0 2px 8px rgba(14, 207, 200, 0.25); /* Initial shadow */
}

.btn-product-cta:hover {
    background: linear-gradient(135deg, #0CB8B1, #35C9C3);
    color: #fff;
    transform: translateY(-2px) translateX(3px); /* Lift up and slight right */
    box-shadow: 0 6px 20px rgba(14, 207, 200, 0.45); /* Enhanced shadow */
}

.arrow-animate {
    transition: transform 0.3s ease;
}

.btn-product-cta:hover .arrow-animate {
    transform: translateX(5px);
}

.product-card-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1.5rem;
    border: 2px solid transparent;
    transition: all 0.4s ease;
    pointer-events: none;
}

.product-card-enhanced:hover .product-card-border {
    border-color: var(--accent-color);
}

/* ============================================
   FEATURES SPLIT SECTION
   ============================================ */
.features-split-section {
    background: #fff;
}

.feature-content {
    padding: 2rem 0;
}

.feature-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-bg), #d0f0ef);
    border-radius: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--accent-color);
}

.feature-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-description {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 0.75rem 0;
    font-size: 1.05rem;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
}

.feature-list i {
    font-size: 1.5rem;
}

.feature-visual {
    position: relative;
    padding: 2rem;
}

.feature-image {
    width: 100%;
    height: auto;
    border-radius: 1.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.feature-visual:hover .feature-image {
    transform: scale(1.05);
}

.feature-visual-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem;
    background: var(--accent-bg);
    border-radius: 1.5rem;
    color: var(--accent-color);
}

/* Animated particles for feature section */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #E8F8F7 0%, rgba(14, 207, 200, 0.05) 100%);
    border-radius: 1.5rem;
    pointer-events: none;
}

.particle {
    position: absolute;
    bottom: 0;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, #0ECFC8, transparent);
    border-radius: 50%;
    opacity: 0;
    animation: float-up 10s ease-in-out infinite;
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 8s;
}

.particle:nth-child(2) {
    left: 25%;
    animation-delay: 1.5s;
    animation-duration: 9s;
}

.particle:nth-child(3) {
    left: 40%;
    animation-delay: 3s;
    animation-duration: 10s;
}

.particle:nth-child(4) {
    left: 55%;
    animation-delay: 0.5s;
    animation-duration: 11s;
}

.particle:nth-child(5) {
    left: 70%;
    animation-delay: 2s;
    animation-duration: 9.5s;
}

.particle:nth-child(6) {
    left: 85%;
    animation-delay: 4s;
    animation-duration: 8.5s;
}

.particle:nth-child(7) {
    left: 15%;
    animation-delay: 5s;
    animation-duration: 10.5s;
}

.particle:nth-child(8) {
    left: 60%;
    animation-delay: 2.5s;
    animation-duration: 9s;
}

@keyframes float-up {
    0% {
        bottom: 0;
        transform: translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
        transform: translateX(10px) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translateX(-20px) scale(1.2);
    }
    90% {
        opacity: 0.6;
    }
    100% {
        bottom: 100%;
        transform: translateX(30px) scale(0.8);
        opacity: 0;
    }
}

/* ============================================
   FEATURE SVG ILLUSTRATIONS - Animations
   ============================================ */

/* Base SVG styling */
.feature-svg {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Feature 1: Speedometer Animations */
.speedometer-glow {
    animation: pulse-glow-soft 3s ease-in-out infinite;
}

@keyframes pulse-glow-soft {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.speedometer-arc {
    stroke-dasharray: 345;
    stroke-dashoffset: 345;
    animation: draw-arc 2s ease-out forwards;
}

@keyframes draw-arc {
    to {
        stroke-dashoffset: 0;
    }
}

.speedometer-needle {
    transform-origin: 250px 280px;
    animation: swing-needle 4s ease-in-out infinite;
}

@keyframes swing-needle {
    0%, 100% {
        transform: rotate(-90deg);
    }
    50% {
        transform: rotate(90deg);
    }
}

.data-node {
    animation: pulse-node 2s ease-in-out infinite;
}

.data-node.node-1 {
    animation-delay: 0s;
}

.data-node.node-2 {
    animation-delay: 0.5s;
}

.data-node.node-3 {
    animation-delay: 1s;
}

.data-node.node-4 {
    animation-delay: 1.5s;
}

@keyframes pulse-node {
    0%, 100% {
        opacity: 0.4;
        r: 8;
    }
    50% {
        opacity: 1;
        r: 12;
    }
}

.data-stream {
    stroke-dashoffset: 0;
    animation: flow-data 3s linear infinite;
}

@keyframes flow-data {
    to {
        stroke-dashoffset: -50;
    }
}

/* Feature 2: Security Shield Animations */
.security-illustration {
    width: 100%;
    height: auto;
    max-width: 500px;
}

/* Security layers pulse outward */
.layer {
    animation: layerPulse 3s ease-out infinite;
    transform-origin: center;
}

.layer-1 { animation-delay: 0s; }
.layer-2 { animation-delay: 0.3s; }
.layer-3 { animation-delay: 0.6s; }

@keyframes layerPulse {
    0% { opacity: 0; transform: scale(0.3); }
    30% { opacity: 0.6; }
    100% { opacity: 0; transform: scale(1); }
}

/* Shield pulse */
.shield-container {
    animation: shieldPulse 4s ease-in-out infinite;
    transform-origin: 250px 240px;
}

@keyframes shieldPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Checkmark draw */
.checkmark {
    stroke-dasharray: 60;
    stroke-dashoffset: 60;
    animation: checkDraw 2s ease-in-out infinite;
}

@keyframes checkDraw {
    0%, 30% { stroke-dashoffset: 60; }
    60%, 100% { stroke-dashoffset: 0; }
}

/* Locks appear and lock */
.lock {
    animation: lockAppear 5s ease-in-out infinite;
}

.lock-top { animation-delay: 0s; }
.lock-right { animation-delay: 1.25s; }
.lock-bottom { animation-delay: 2.5s; }
.lock-left { animation-delay: 3.75s; }

@keyframes lockAppear {
    0%, 15% { opacity: 0; transform: translateY(10px); }
    20%, 80% { opacity: 1; transform: translateY(0); }
    85%, 100% { opacity: 0; transform: translateY(10px); }
}

.lock rect, .lock path {
    animation: lockClose 5s ease-in-out infinite;
}

@keyframes lockClose {
    0%, 15% { opacity: 0; }
    20% { opacity: 0.5; }
    25%, 100% { opacity: 1; }
}

/* Connection lines dash */
.lock-connections .connection {
    animation: connectionDash 2s linear infinite;
}

@keyframes connectionDash {
    to { stroke-dashoffset: -6; }
}

/* Encryption code symbols appear randomly */
.encryption-symbols text {
    animation: codeFade 4s ease-in-out infinite;
}

.code-1 { animation-delay: 0s; }
.code-2 { animation-delay: 1s; }
.code-3 { animation-delay: 2s; }
.code-4 { animation-delay: 3s; }

@keyframes codeFade {
    0%, 20% { opacity: 0; transform: translateY(-10px); }
    25%, 70% { opacity: 0.6; transform: translateY(0); }
    75%, 100% { opacity: 0; transform: translateY(10px); }
}

/* Feature 3: Analytics Chart Animations */
.analytics-illustration {
    width: 100%;
    height: auto;
    max-width: 500px;
}

/* Bar chart bars grow and pulse */
.bar {
    animation: barPulse 3s ease-in-out infinite;
}

.bar-1 { animation-delay: 0s; }
.bar-2 { animation-delay: 0.2s; }
.bar-3 { animation-delay: 0.4s; }
.bar-4 { animation-delay: 0.6s; }

@keyframes barPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.8; transform: scaleY(0.95); }
}

/* Line graph path draws */
.trend-line {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: lineDraw 3s ease-in-out infinite;
}

@keyframes lineDraw {
    0%, 10% { stroke-dashoffset: 300; }
    60%, 100% { stroke-dashoffset: 0; }
}

/* Data points appear sequentially */
.data-points .point {
    animation: pointAppear 3s ease-out infinite;
}

.point-1 { animation-delay: 0.5s; }
.point-2 { animation-delay: 0.8s; }
.point-3 { animation-delay: 1.1s; }
.point-4 { animation-delay: 1.4s; }
.point-5 { animation-delay: 1.7s; }

@keyframes pointAppear {
    0%, 20% { opacity: 0; transform: scale(0); }
    25%, 100% { opacity: 1; transform: scale(1); }
}

/* Last point highlight ring */
.point-ring {
    animation: ringPulse 2s ease-out infinite;
    animation-delay: 2s;
}

@keyframes ringPulse {
    0% { opacity: 0; transform: scale(0.8); }
    50% { opacity: 0.6; transform: scale(1.5); }
    100% { opacity: 0; transform: scale(2); }
}

/* Pie segments fill in sequence */
.pie-segments .segment {
    animation: segmentFill 4s ease-out infinite;
    transform-origin: center;
}

.segment-1 { animation-delay: 0s; }
.segment-2 { animation-delay: 0.5s; }
.segment-3 { animation-delay: 1s; }
.segment-4 { animation-delay: 1.5s; }

@keyframes segmentFill {
    0%, 10% { opacity: 0; transform: scale(0.8); }
    20%, 100% { opacity: 1; transform: scale(1); }
}

/* Metric cards appear */
.metric-card rect {
    animation: cardAppear 3s ease-out infinite;
}

.card-1 rect { animation-delay: 0s; }
.card-2 rect { animation-delay: 0.3s; }

@keyframes cardAppear {
    0%, 20% { opacity: 0; transform: translateY(10px); }
    30%, 100% { opacity: 1; transform: translateY(0); }
}

/* Metric values fade in */
.metric-value {
    animation: valueFade 3s ease-in infinite;
}

@keyframes valueFade {
    0%, 40% { opacity: 0; }
    50%, 100% { opacity: 1; }
}

/* Trend arrow appears */
.trend-arrow {
    animation: arrowSlide 3s ease-out infinite;
    animation-delay: 2.5s;
}

@keyframes arrowSlide {
    0%, 10% { opacity: 0; transform: translateX(-20px); }
    20%, 100% { opacity: 1; transform: translateX(0); }
}

/* Feature 4: Integration Hub Animations */
.integrations-illustration {
    width: 100%;
    height: auto;
    max-width: 500px;
}

/* Connection lines draw and pulse */
.connections .connection {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: connectionDraw 3s ease-out forwards, connectionPulse 2s ease-in-out infinite;
}

.connection-1 { animation-delay: 0s, 3s; }
.connection-2 { animation-delay: 0.2s, 3.2s; }
.connection-3 { animation-delay: 0.4s, 3.4s; }
.connection-4 { animation-delay: 0.6s, 3.6s; }
.connection-5 { animation-delay: 0.8s, 3.8s; }
.connection-6 { animation-delay: 1s, 4s; }
.connection-7 { animation-delay: 1.2s, 4.2s; }
.connection-8 { animation-delay: 1.4s, 4.4s; }

@keyframes connectionDraw {
    to { stroke-dashoffset: 0; }
}

@keyframes connectionPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

/* Satellite nodes appear sequentially */
.node-group {
    animation: nodeAppear 4s ease-out forwards;
}

.node-1 { animation-delay: 0s; }
.node-2 { animation-delay: 0.3s; }
.node-3 { animation-delay: 0.6s; }
.node-4 { animation-delay: 0.9s; }
.node-5 { animation-delay: 1.2s; }
.node-6 { animation-delay: 1.5s; }
.node-7 { animation-delay: 1.8s; }
.node-8 { animation-delay: 2.1s; }

@keyframes nodeAppear {
    0% { opacity: 0; transform: scale(0.5); }
    50% { transform: scale(1.1); }
    100% { opacity: 1; transform: scale(1); }
}

/* Node pulse rings */
.node-pulse {
    animation: nodePulseRing 2s ease-out infinite;
}

@keyframes nodePulseRing {
    0% { opacity: 0; transform: scale(0.8); }
    50% { opacity: 0.5; }
    100% { opacity: 0; transform: scale(1.5); }
}

/* Central hub glow pulse */
.hub-glow {
    animation: hubGlowPulse 3s ease-in-out infinite;
}

@keyframes hubGlowPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.5; }
}

/* Hub circle rotation */
.hub-circle {
    animation: hubRotate 20s linear infinite;
    transform-origin: center;
}

@keyframes hubRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Hub pulse rings expand */
.hub-pulse {
    animation: hubPulseExpand 3s ease-out infinite;
}

.hub-pulse-1 { animation-delay: 0s; }
.hub-pulse-2 { animation-delay: 1.5s; }

@keyframes hubPulseExpand {
    0% { opacity: 0; transform: scale(1); }
    10% { opacity: 0.8; }
    100% { opacity: 0; transform: scale(2.2); }
}

/* API labels fade in */
.api-labels text {
    opacity: 0;
    animation: labelFade 1s ease-out forwards;
    animation-delay: 2.5s;
}

@keyframes labelFade {
    to { opacity: 1; }
}

/* Accessibility: Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    /* Feature 1: Speedometer */
    .speedometer-glow,
    .speedometer-needle,
    .data-node,
    .data-stream,
    /* Feature 2: Security */
    .layer,
    .shield-container,
    .checkmark,
    .lock,
    .encryption-symbols text,
    /* Feature 3: Analytics */
    .bar,
    .trend-line,
    .data-points .point,
    .point-ring,
    .pie-segments .segment,
    .metric-card,
    .metric-value,
    .trend-arrow,
    /* Feature 4: Integrations */
    .connections .connection,
    .node-group,
    .node-pulse,
    .hub-glow,
    .hub-circle,
    .hub-pulse,
    .api-labels text {
        animation: none !important;
    }
    
    .speedometer-arc,
    .trend-line {
        stroke-dashoffset: 0 !important;
    }
    
    .data-points .point,
    .node-group,
    .api-labels text {
        opacity: 1 !important;
    }
    
    .lock rect,
    .lock path,
    .pie-segments .segment,
    .metric-card rect {
        opacity: 1 !important;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .feature-svg {
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .feature-svg {
        max-width: 320px;
    }
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
}

.stat-card {
    padding: 2rem;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    border-radius: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.stat-icon i {
    font-size: 2.5rem;
    color: #fff;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1.05rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ============================================
   ENHANCED CTA SECTION
   ============================================ */
.cta-section-enhanced {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--accent-color) 100%);
    overflow: hidden;
}

.cta-gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.cta-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
    filter: blur(40px);
}

.cta-shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -100px;
    animation: float 10s ease-in-out infinite;
}

.cta-shape-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    right: -50px;
    animation: float 12s ease-in-out infinite reverse;
}

.cta-shape-3 {
    width: 250px;
    height: 250px;
    top: 50%;
    right: 20%;
    animation: float 8s ease-in-out infinite 1s;
}

.cta-badge .badge-light-glow {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 2rem;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.cta-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.text-gradient-light {
    background: linear-gradient(135deg, #fff, rgba(255, 255, 255, 0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-description {
    font-size: 1.25rem;
    line-height: 1.7;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.cta-trust {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-indicator {
    display: flex;
    align-items: center;
    font-size: 1rem;
}

/* ============================================
   UTILITY SPACING CLASSES
   ============================================ */
.py-8 {
    padding-top: 8rem !important;
    padding-bottom: 8rem !important;
}

.mb-7 {
    margin-bottom: 5rem !important;
}

.mb-8 {
    margin-bottom: 6rem !important;
}

/* ============================================
   NAVBAR SCROLL EFFECT
   ============================================ */
.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-bottom: none;
}

/* ============================================
   RESPONSIVE DESIGN - Mobile Optimizations
   ============================================ */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-ctas {
        flex-direction: column;
    }
    
    .hero-ctas .btn {
        width: 100%;
        text-align: center;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .product-card-enhanced {
        margin-bottom: 2rem;
    }
    
    .feature-title {
        font-size: 1.75rem;
    }
    
    .cta-title {
        font-size: 2.5rem;
    }
    
    .ui-card-1,
    .ui-card-2,
    .ui-card-3 {
        display: none;
    }
    
    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .hero-section-enhanced {
        min-height: auto;
        padding: 5rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .feature-title {
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    /* Trust cards responsive */
    .hero-trust-card {
        padding: 1.25rem;
    }
    
    .trust-icon {
        font-size: 2rem;
    }
    
    .trust-value {
        font-size: 1.5rem;
    }
    
    .trust-label {
        font-size: 0.75rem;
    }
}

/* Small mobile devices */
@media (max-width: 575.98px) {
    .hero-trust-card {
        padding: 1rem;
    }
    
    .trust-icon {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }
    
    .trust-value {
        font-size: 1.25rem;
    }
    
    .trust-label {
        font-size: 0.7rem;
    }
}

/* ============================================
   BACK TO TOP BUTTON - Modern Floating Action
   ============================================ */
.back-to-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(15, 54, 106, 0.3),
                0 4px 8px rgba(15, 54, 106, 0.15);
}

.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.back-to-top-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 32px rgba(15, 54, 106, 0.35),
                0 6px 12px rgba(15, 54, 106, 0.2);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

.back-to-top-btn:active {
    transform: translateY(-2px) scale(1.02);
}

.back-to-top-btn.scrolling {
    animation: btnPulse 0.15s ease-out;
}

.back-to-top-btn i {
    transition: transform 0.3s ease;
}

.back-to-top-btn:hover i {
    transform: translateY(-3px);
}

@keyframes btnPulse {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-2px) scale(1.02);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .back-to-top-btn {
        width: 48px;
        height: 48px;
        bottom: 1.5rem;
        right: 1.5rem;
        border-radius: 14px;
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .back-to-top-btn {
        width: 44px;
        height: 44px;
        bottom: 1rem;
        right: 1rem;
        border-radius: 12px;
    }
}

/* ============================================
   VIDEO CAROUSEL SECTION
   ============================================ */
.video-carousel-section {
    background: linear-gradient(180deg, var(--light-gray) 0%, var(--white) 100%);
    position: relative;
}

.video-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 1rem;
}

.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 600px;
}

/* Video controls styling */
.video-wrapper video::-webkit-media-controls-panel {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
}

.video-wrapper video::-webkit-media-controls-play-button,
.video-wrapper video::-webkit-media-controls-mute-button {
    filter: brightness(1.2);
}

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    padding: 3rem 2rem 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-wrapper:hover .video-overlay {
    opacity: 1;
}

.video-caption h3 {
    color: var(--white);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.video-caption p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin: 0;
}

/* Carousel controls enhancement */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 54, 106, 0.8);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}

#videoCarousel:hover .carousel-control-prev,
#videoCarousel:hover .carousel-control-next {
    opacity: 0.9;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(14, 207, 200, 0.9);
    opacity: 1 !important;
}

.carousel-control-prev {
    left: 1rem;
}

.carousel-control-next {
    right: 1rem;
}

/* Carousel indicators enhancement */
.carousel-indicators {
    margin-bottom: 1.5rem;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--white);
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    width: 40px;
    border-radius: 6px;
    background-color: var(--accent-color);
}

/* Carousel fade animation */
.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
}

/* Responsive video carousel */
@media (max-width: 768px) {
    .video-wrapper video {
        max-height: 400px;
    }
    
    .video-caption h3 {
        font-size: 1.25rem;
    }
    
    .video-caption p {
        font-size: 0.875rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 48px;
        height: 48px;
    }
    
    .video-overlay {
        padding: 2rem 1.5rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .video-wrapper video {
        max-height: 300px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .carousel-indicators {
        margin-bottom: 1rem;
    }
}

/* ============================================
   SAV PULSE CRM - ANIMATED SVG ILLUSTRATIONS
   ============================================ */

/* Feature 1: Gestión de Contactos 360° */
.pulse-contacts-illustration {
    width: 100%;
    height: auto;
    max-width: 600px;
}

/* Connection lines draw animation */
.contacts-line {
    animation: dashDraw 1.5s ease-out forwards;
}
.contacts-line-1 { animation-delay: 0.3s; }
.contacts-line-2 { animation-delay: 0.4s; }
.contacts-line-3 { animation-delay: 0.5s; }
.contacts-line-4 { animation-delay: 0.6s; }
.contacts-line-5 { animation-delay: 0.7s; }
.contacts-line-6 { animation-delay: 0.8s; }

@keyframes dashDraw {
    from { stroke-dashoffset: 200; }
    to { stroke-dashoffset: 0; }
}

/* Satellite cards appear staggered */
.contacts-satellite {
    animation: satelliteAppear 0.6s ease-out forwards;
}
.contacts-satellite-1 { animation-delay: 0.5s; }
.contacts-satellite-2 { animation-delay: 0.7s; }
.contacts-satellite-3 { animation-delay: 0.9s; }
.contacts-satellite-4 { animation-delay: 1.1s; }
.contacts-satellite-5 { animation-delay: 1.3s; }
.contacts-satellite-6 { animation-delay: 1.5s; }

@keyframes satelliteAppear {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

/* Center card pulse */
.contacts-center-pulse {
    animation: centerPulse 3s ease-in-out infinite;
}

@keyframes centerPulse {
    0%, 100% { opacity: 1; filter: drop-shadow(0 0 8px rgba(14, 207, 200, 0.3)); }
    50% { opacity: 0.9; filter: drop-shadow(0 0 20px rgba(14, 207, 200, 0.6)); }
}

/* Data particles flow inward */
.contacts-particle-1 {
    animation: particleFlow1 3s ease-in-out infinite;
    animation-delay: 0s;
}
.contacts-particle-2 {
    animation: particleFlow2 3s ease-in-out infinite;
    animation-delay: 0.5s;
}
.contacts-particle-3 {
    animation: particleFlow3 3s ease-in-out infinite;
    animation-delay: 1s;
}
.contacts-particle-4 {
    animation: particleFlow4 3s ease-in-out infinite;
    animation-delay: 1.5s;
}
.contacts-particle-5 {
    animation: particleFlow5 3s ease-in-out infinite;
    animation-delay: 2s;
}
.contacts-particle-6 {
    animation: particleFlow6 3s ease-in-out infinite;
    animation-delay: 2.5s;
}

@keyframes particleFlow1 {
    0% { cx: 150; cy: 100; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { cx: 300; cy: 225; opacity: 0; }
}
@keyframes particleFlow2 {
    0% { cx: 450; cy: 100; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { cx: 300; cy: 225; opacity: 0; }
}
@keyframes particleFlow3 {
    0% { cx: 150; cy: 225; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { cx: 300; cy: 225; opacity: 0; }
}
@keyframes particleFlow4 {
    0% { cx: 450; cy: 225; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { cx: 300; cy: 225; opacity: 0; }
}
@keyframes particleFlow5 {
    0% { cx: 150; cy: 350; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { cx: 300; cy: 225; opacity: 0; }
}
@keyframes particleFlow6 {
    0% { cx: 450; cy: 350; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { cx: 300; cy: 225; opacity: 0; }
}

/* Feature 2: Pipeline de Ventas Visual */
.pulse-pipeline-illustration {
    width: 100%;
    height: auto;
    max-width: 600px;
}

/* Stages appear left to right */
.pipeline-stage {
    animation: stageAppear 0.6s ease-out forwards;
}
.pipeline-stage-1 { animation-delay: 0.2s; }
.pipeline-stage-2 { animation-delay: 0.4s; }
.pipeline-stage-3 { animation-delay: 0.6s; }
.pipeline-stage-4 { animation-delay: 0.8s; }

@keyframes stageAppear {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Deal cards fade in */
.pipeline-card {
    animation: cardFadeIn 0.5s ease-out forwards;
}
.pipeline-card-1 { animation-delay: 1s; }
.pipeline-card-2 { animation-delay: 1.2s; }
.pipeline-card-3 { animation-delay: 1.4s; }
.pipeline-card-4 { animation-delay: 1.8s; }
.pipeline-card-5 { animation-delay: 2s; }

@keyframes cardFadeIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

/* Moving card slides across stages */
.pipeline-card-moving {
    animation: cardMove 4s ease-in-out 1.6s infinite;
}

@keyframes cardMove {
    0%, 20% { transform: translate(0, 0); }
    40%, 60% { transform: translate(140px, 0); }
    80%, 100% { transform: translate(0, 0); }
}

/* Counter counts up */
.pipeline-counter {
    animation: counterBlink 2s ease-in-out infinite;
}

@keyframes counterBlink {
    0%, 80%, 100% { opacity: 1; }
    85%, 95% { opacity: 0.6; }
}

/* Feature 3: Automatización Inteligente */
.pulse-automation-illustration {
    width: 100%;
    height: auto;
    max-width: 600px;
}

/* Workflow nodes appear sequentially */
.automation-node {
    animation: nodeAppear 0.6s ease-out forwards;
}
.automation-node-1 { animation-delay: 0.3s; }
.automation-node-2 { animation-delay: 0.7s; }
.automation-node-3 { animation-delay: 1.5s; }
.automation-node-4 { animation-delay: 1.5s; }
.automation-node-5 { animation-delay: 2.3s; }

@keyframes nodeAppear {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

/* Connection lines draw */
.automation-line {
    animation: lineDraw 0.8s ease-out forwards;
}
.automation-line-1 { animation-delay: 0.5s; }
.automation-line-2 { animation-delay: 1.1s; }
.automation-line-3 { animation-delay: 1.1s; }
.automation-line-4 { animation-delay: 1.9s; }
.automation-line-5 { animation-delay: 1.9s; }

@keyframes lineDraw {
    from { stroke-dasharray: 0, 100; }
    to { stroke-dasharray: 100, 0; }
}

/* Particles flow through connections */
.automation-particle-1 {
    animation: autoParticle1 3s ease-in-out 1s infinite;
}
.automation-particle-2 {
    animation: autoParticle2 3s ease-in-out 1.5s infinite;
}
.automation-particle-3 {
    animation: autoParticle3 3s ease-in-out 2s infinite;
}

@keyframes autoParticle1 {
    0% { cx: 140; cy: 225; opacity: 0; }
    10% { opacity: 1; }
    45% { cx: 250; cy: 225; opacity: 1; }
    50% { cx: 260; cy: 220; opacity: 1; }
    90% { opacity: 1; }
    100% { cx: 380; cy: 165; opacity: 0; }
}
@keyframes autoParticle2 {
    0% { cx: 340; cy: 225; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { cx: 500; cy: 165; opacity: 0; }
}
@keyframes autoParticle3 {
    0% { cx: 300; cy: 265; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { cx: 380; cy: 345; opacity: 0; }
}

/* Checkmark draws */
.automation-checkmark {
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
    animation: checkDraw 0.6s ease-out 2.5s forwards;
}

@keyframes checkDraw {
    to { stroke-dashoffset: 0; }
}

/* Badge pulse */
.automation-badge-pulse {
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { filter: drop-shadow(0 0 8px rgba(40, 167, 69, 0.4)); }
    50% { filter: drop-shadow(0 0 16px rgba(40, 167, 69, 0.8)); }
}

.automation-badge-dot {
    animation: dotBlink 1.5s ease-in-out infinite;
}

@keyframes dotBlink {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0.3; }
}

/* Feature 4: Email Marketing Integrado */
.pulse-email-illustration {
    width: 100%;
    height: auto;
    max-width: 600px;
}

/* Email blocks stack */
.email-block {
    animation: blockStack 0.5s ease-out forwards;
}
.email-block-1 { animation-delay: 0.3s; }
.email-block-2 { animation-delay: 0.6s; }
.email-block-3 { animation-delay: 0.9s; }
.email-block-4 { animation-delay: 1.2s; }

@keyframes blockStack {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Envelopes fly out */
.email-envelope {
    animation: envelopeFly 3s ease-out 1.5s infinite;
}
.email-envelope-1 { animation-delay: 1.5s; }
.email-envelope-2 { animation-delay: 2s; }
.email-envelope-3 { animation-delay: 2.5s; }

@keyframes envelopeFly {
    0% { transform: translate(0, 0) scale(1); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translate(80px, -20px) scale(0.5); opacity: 0; }
}

/* Analytics metrics appear */
.email-metric {
    animation: metricAppear 0.6s ease-out forwards;
}
.email-metric-1 { animation-delay: 0.5s; }
.email-metric-2 { animation-delay: 0.8s; }
.email-metric-3 { animation-delay: 1.1s; }

@keyframes metricAppear {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Gauges fill */
.email-gauge-1 {
    animation: gaugeFill1 2s ease-out 1s forwards;
}
.email-gauge-2 {
    animation: gaugeFill2 2s ease-out 1.3s forwards;
}

@keyframes gaugeFill1 {
    from { width: 0; }
    to { width: 84px; }
}
@keyframes gaugeFill2 {
    from { width: 0; }
    to { width: 36px; }
}

/* Counter counts up */
.email-sends-counter {
    animation: counterCount 2s ease-out 1.5s forwards;
}

@keyframes counterCount {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Tags pulse */
.email-tag {
    animation: tagPulse 0.5s ease-out forwards;
}
.email-tag-1 { animation-delay: 1.8s; }
.email-tag-2 { animation-delay: 2s; }
.email-tag-3 { animation-delay: 2.2s; }

@keyframes tagPulse {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

/* Feature 5: Reportes y Analytics Avanzado */
.pulse-analytics-illustration {
    width: 100%;
    height: auto;
    max-width: 600px;
}

/* Bars grow */
.analytics-bar-1 {
    animation: barGrow1 1s ease-out 0.5s forwards;
}
.analytics-bar-2 {
    animation: barGrow2 1s ease-out 0.7s forwards;
}
.analytics-bar-3 {
    animation: barGrow3 1s ease-out 0.9s forwards;
}
.analytics-bar-4 {
    animation: barGrow4 1s ease-out 1.1s forwards;
}
.analytics-bar-5 {
    animation: barGrow5 1s ease-out 1.3s forwards;
}

@keyframes barGrow1 {
    from { height: 0; y: 280; }
    to { height: 80px; y: 200; }
}
@keyframes barGrow2 {
    from { height: 0; y: 280; }
    to { height: 140px; y: 140; }
}
@keyframes barGrow3 {
    from { height: 0; y: 280; }
    to { height: 120px; y: 160; }
}
@keyframes barGrow4 {
    from { height: 0; y: 280; }
    to { height: 180px; y: 100; }
}
@keyframes barGrow5 {
    from { height: 0; y: 280; }
    to { height: 160px; y: 120; }
}

/* Line draws */
.analytics-line-path {
    animation: lineDraw2 2s ease-out 1s forwards;
}

@keyframes lineDraw2 {
    to { stroke-dashoffset: 0; }
}

/* Dots appear */
.analytics-dot {
    animation: dotAppear 0.3s ease-out forwards;
}
.analytics-dot-1 { animation-delay: 1.2s; }
.analytics-dot-2 { animation-delay: 1.4s; }
.analytics-dot-3 { animation-delay: 1.6s; }
.analytics-dot-4 { animation-delay: 1.8s; }
.analytics-dot-5 { animation-delay: 2s; }

@keyframes dotAppear {
    from { opacity: 0; r: 2; }
    to { opacity: 1; r: 5; }
}

/* Donut fills */
.analytics-donut-fill {
    animation: donutFill 2s ease-out 0.8s forwards;
}

@keyframes donutFill {
    from { stroke-dasharray: 0 314; }
    to { stroke-dasharray: 210 314; }
}

/* KPI cards appear staggered */
.analytics-kpi {
    animation: kpiAppear 0.6s ease-out forwards;
}
.analytics-kpi-1 { animation-delay: 1.5s; }
.analytics-kpi-2 { animation-delay: 1.7s; }
.analytics-kpi-3 { animation-delay: 1.9s; }

@keyframes kpiAppear {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* AI badge pulse */
.analytics-ai-badge {
    animation: aiBadgePulse 2s ease-in-out infinite;
}

@keyframes aiBadgePulse {
    0%, 100% { fill: #0ECFC8; }
    50% { fill: #28a745; }
}

/* Live dot pulse */
.analytics-live-dot {
    animation: liveDotPulse 1.5s ease-in-out infinite;
}

@keyframes liveDotPulse {
    0%, 100% { opacity: 1; r: 8; }
    50% { opacity: 0.4; r: 10; }
}

/* ============================================
   REDUCED MOTION SUPPORT - Accessibility
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .float-element,
    .floating-mockup,
    .parallax {
        animation: none !important;
    }
    
    /* Disable SVG animations */
    .pulse-contacts-illustration *,
    .pulse-pipeline-illustration *,
    .pulse-automation-illustration *,
    .pulse-email-illustration *,
    .pulse-analytics-illustration * {
        animation: none !important;
        transition: none !important;
    }
}