:root {
    /* Modern Color Palette - Enhanced */
    --primary: #28a745;  
    --primary-dark: #218838; 
    --primary-light: #d4edda; 
    --secondary: #17a2b8; 
    --secondary-light: #d1ecf1; 
    --accent: #6EE7B7;    
    --accent-dark: #4ade80; 
    --dark: #212529;      
    --dark-light: #495057; 
    --light: #f8f9fa;     
    --light-dark: #e9ecef; 
    --gray: #6c757d;      
    --light-gray: #e9ecef; 
    
    /* Additional Colors */
    --whatsapp: #25D366;
    --whatsapp-dark: #1da851;
    --error: #dc3545; 
    --success: #28a745;
    --warning: #ffc107;
    --info: #17a2b8;
    
    /* Gradient Colors */
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-accent: linear-gradient(135deg, var(--accent), var(--accent-dark));
    --gradient-hero: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(23, 162, 184, 0.1) 100%);
    
    /* Shadows - More pronounced and modern */
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-md: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.175);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 1.5rem 4rem rgba(0, 0, 0, 0.25);
    --shadow-colored: 0 0.5rem 1rem rgba(40, 167, 69, 0.2);
    
    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.2s ease;
    --transition-slow: all 0.6s ease;
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --dark: #f8f9fa;
    --dark-light: #e9ecef;
    --light: #212529;
    --light-dark: #343a40;
    --gray: #adb5bd;
    --light-gray: #495057;
    --primary-light: #1e3a1e;
    --secondary-light: #1a3a3e;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 9999;
    transition: width 0.1s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    background-color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

section {
    padding: 7rem 0;
}

h1, h3, h4, h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

h1 {
    font-size: 3.8rem;
    margin-bottom: 1.8rem;
}

h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.8rem;
    margin-bottom: 4rem;
    position: relative;
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 0.5rem;
    font-weight: 400;
    text-align: center;
}

h2:after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    width: 70px;
    height: 5px;
    background: var(--primary);
    border-radius: 3px;
}

h3 {
    font-size: 1.85rem;
    margin-bottom: 1.25rem;
}

h4 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

p {
    color: var(--gray);
    margin-bottom: 1.6rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Policy Pages */
.policy-page {
    padding-top: 8rem;
    padding-bottom: 4rem;
}

.policy-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.policy-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 1.6rem;
    box-shadow: var(--shadow);
}

.policy-subtitle {
    color: var(--gray);
    font-size: 1rem;
}

.policy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
}

.policy-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.75rem 1.75rem 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-dark);
}

.policy-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.policy-card h3 i {
    color: var(--primary);
}

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

.policy-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--gray);
    font-size: 0.98rem;
}

.policy-list li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0.05rem;
    color: var(--primary);
    font-size: 0.85rem;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 0.75rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.2rem;
    border-radius: 0.65rem;
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: linear-gradient(to right, var(--primary-dark), #1e7e34);
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-md);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
    transition: all 0.1s ease;
}

.btn-secondary {
    background-color: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow);
}

.btn-secondary:active {
    transform: translateY(-1px) scale(0.98);
    transition: all 0.1s ease;
}

.btn-whatsapp {
    background-color: var(--whatsapp);
    color: white;
    box-shadow: var(--shadow);
}

.btn-whatsapp:hover {
    background-color: var(--whatsapp-dark);
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-md);
}

.btn-lg {
    padding: 1.15rem 2.8rem;
    font-size: 1.15rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow);
    padding: 0.75rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
}

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

.logo {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--dark);
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--primary);
}

.logo-icon {
    margin-right: 0.6rem;
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.2rem;
}

.nav-links a {
    font-weight: 500;
    position: relative;
    color: var(--dark);
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-links a:hover:after {
    width: 100%;
}

.nav-links a.btn {
    margin-left: 1.5rem;
}

.search-btn,
.theme-toggle,
.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--dark);
    cursor: pointer;
    border-radius: 50%;
    transition: var(--transition);
}

.search-btn:hover,
.theme-toggle:hover,
.mobile-menu-btn:hover {
    background: var(--light);
    color: var(--primary);
    transform: scale(1.1);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.6rem;
}

/* Hero Section */
.hero {
    padding: 12rem 0 8rem;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%2328a745" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%2317a2b8" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%2328a745" opacity="0.05"/><circle cx="10" cy="60" r="0.5" fill="%2317a2b8" opacity="0.05"/><circle cx="90" cy="40" r="0.5" fill="%2328a745" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
}

.hero-badge i {
    color: #ffc107;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: var(--dark-light);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Poppins', sans-serif;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: 500;
}

.hero-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--success);
    font-weight: 600;
    font-size: 1.1rem;
}

.hero-guarantee i {
    font-size: 1.3rem;
}

/* Progress Section */
.progress-section {
    padding: 6rem 0;
    background: white;
}

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

.progress-item {
    text-align: center;
}

.progress-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    box-shadow: var(--shadow);
}

.progress-circle::before {
    content: '';
    position: absolute;
    inset: 8px;
    background: white;
    border-radius: 50%;
}

.progress-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    position: relative;
    z-index: 1;
}

.progress-label {
    font-size: 1.1rem;
    color: var(--dark);
    font-weight: 600;
}

/* Integration Features Section */
.integration-features {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.03) 0%, rgba(23, 162, 184, 0.03) 100%);
}

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

.integration-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--light-gray);
    position: relative;
    overflow: hidden;
}

.integration-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

.integration-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

/* Unified Green Gradient for All Integration Cards */
.integration-card {
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
    border: 2px solid #4caf50;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.2);
}

.integration-card::before {
    background: linear-gradient(90deg, #4caf50, #388e3c);
    height: 6px;
}

.integration-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
}


.integration-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    background: rgba(40, 167, 69, 0.1);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.integration-card:hover .integration-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

/* Addon Card Styles */
.addon-card {
    position: relative;
    border: 2px solid var(--warning);
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.05) 0%, rgba(255, 193, 7, 0.1) 100%);
}

.addon-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--warning), #ff8c00);
}

.addon-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--warning);
    color: var(--dark);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow);
    animation: pulse 2s infinite;
}

/* Make addon badge display nicely when used inline inside list items */
.pricing-features li {
    position: relative;
}

.pricing-features li .addon-badge {
    position: static;
    display: inline-block;
    margin-left: 0.5rem;
    vertical-align: middle;
    background: var(--warning);
    color: var(--dark);
    padding: 0.18rem 0.5rem;
    border-radius: 0.5rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    box-shadow: none;
    animation: none;
}

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

.addon-card:hover .addon-badge {
    animation: none;
    transform: scale(1.1);
}

.integration-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--dark);
    font-weight: 600;
}

.integration-card p {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Features Section - Modern Redesign */
.features {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(40,167,69,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
    z-index: 0;
}

.features .container {
    position: relative;
    z-index: 1;
}

/* Features Header */
.features-header {
    text-align: center;
    margin-bottom: 4rem;
}

.features-header h2 {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.features-header p {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.features-divider {
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 0 auto;
    border-radius: 2px;
}

/* Features Showcase */
.features-showcase {
    margin-bottom: 4rem;
}

/* Main Feature Grid */
.feature-main-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.feature-main-card {
    background: white;
    border-radius: 2rem;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border: 1px solid var(--light-gray);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-main-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-primary);
}

.feature-main-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.feature-visual {
    position: relative;
    margin-bottom: 2rem;
    text-align: center;
}

.feature-icon-large {
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 3rem;
    color: white;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
}

.feature-main-card:hover .feature-icon-large {
    transform: scale(1.1) rotate(10deg);
}

.feature-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--warning);
    color: var(--dark);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow);
}

.feature-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.feature-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.feature-content p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.tag {
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition);
}

.tag:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Secondary Features Grid */
.feature-secondary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-secondary-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--light-gray);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.feature-secondary-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.feature-icon-small {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    flex-shrink: 0;
}

.feature-secondary-card:hover .feature-icon-small {
    transform: scale(1.1);
}

.feature-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.feature-info p {
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

/* Feature Stats */
.feature-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--light-gray);
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    color: var(--gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

/* Statistics Section */
.statistics-section {
    padding: 5rem 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.statistics-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--dark);
    font-family: 'Poppins', sans-serif;
}

.statistics-section h2 .highlight {
    color: var(--primary);
}

.statistics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    background: white;
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--primary);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.stat-card:hover .stat-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Colorful cards with different gradients */
.stat-card:nth-child(1) {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border: 2px solid #2196f3;
}

.stat-card:nth-child(1) .stat-icon {
    background: linear-gradient(135deg, #2196f3, #1976d2);
}

.stat-card:nth-child(2) {
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
    border: 2px solid #4caf50;
}

.stat-card:nth-child(2) .stat-icon {
    background: linear-gradient(135deg, #4caf50, #388e3c);
}

.stat-card:nth-child(3) {
    background: linear-gradient(135deg, #fff3e0 0%, #ffcc80 100%);
    border: 2px solid #ff9800;
}

.stat-card:nth-child(3) .stat-icon {
    background: linear-gradient(135deg, #ff9800, #f57c00);
}

.stat-card:nth-child(4) {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
    border: 2px solid #9c27b0;
}

.stat-card:nth-child(4) .stat-icon {
    background: linear-gradient(135deg, #9c27b0, #7b1fa2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-family: 'Poppins', sans-serif;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--gray);
    font-weight: 500;
    line-height: 1.4;
}

/* Enhanced text colors for colorful cards */
.stat-card:nth-child(1) .stat-number {
    color: #1565c0;
}

.stat-card:nth-child(1) .stat-label {
    color: #1976d2;
}

.stat-card:nth-child(2) .stat-number {
    color: #2e7d32;
}

.stat-card:nth-child(2) .stat-label {
    color: #388e3c;
}

.stat-card:nth-child(3) .stat-number {
    color: #ef6c00;
}

.stat-card:nth-child(3) .stat-label {
    color: #f57c00;
}

.stat-card:nth-child(4) .stat-number {
    color: #7b1fa2;
}

.stat-card:nth-child(4) .stat-label {
    color: #8e24aa;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.03) 0%, rgba(23, 162, 184, 0.03) 100%);
}

.testimonials-carousel {
    position: relative;
    max-width: 1000px;
    margin: 3rem auto;
    overflow: hidden;
}

.testimonial-slider {
    position: relative;
    width: 100%;
    height: 400px;
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--light-gray);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.6s ease-in-out;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
}

.testimonial-card .quote-icon {
    color: var(--primary);
    font-size: 2rem;
    opacity: 0.3;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--gray);
    line-height: 1.8;
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: -10px;
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.2;
    font-family: serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: auto;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: var(--shadow);
}

.author-info h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--dark);
    font-weight: 600;
}

.author-info span {
    display: block;
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.testimonial-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.testimonial-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

.testimonial-btn:disabled {
    background: var(--light-gray);
    color: var(--gray);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.testimonial-dots {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--light-gray);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.dot.active {
    background: var(--primary);
    transform: scale(1.2);
    border-color: var(--primary-light);
}

.dot:hover {
    background: var(--primary);
    transform: scale(1.1);
}

/* Mobile-specific tweaks for testimonials */
@media (max-width: 768px) {
    .testimonials {
        padding: 4rem 0;
    }

    .testimonials-carousel {
        margin: 2rem auto;
    }

    .testimonial-slider {
        height: auto;
    }

    .testimonial-card {
        position: relative;
        padding: 1.75rem 1.5rem;
        font-size: 0.95rem;
        gap: 1rem;
    }

    .testimonial-text {
        font-size: 1rem;
        line-height: 1.6;
    }

    .author-avatar {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }

    .testimonial-navigation {
        gap: 1.25rem;
        margin-top: 1.5rem;
    }

    .testimonial-btn {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
}


/* Pricing Section */
.pricing {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.05) 0%, rgba(23, 162, 184, 0.05) 100%);
}

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

.pricing-card {
    background: white;
    border-radius: 1.5rem;
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-sm);
    text-align: center;
    position: relative;
    transition: var(--transition);
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: var(--shadow);
}

.pricing-header h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
    border: 2px solid #4caf50;
    border-radius: 1rem;
    padding: 1rem 1.5rem;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.2);
    position: relative;
    overflow: hidden;
}

.price::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4caf50, #388e3c);
}

.currency {
    font-size: 1.5rem;
    color: #2e7d32;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: #1b5e20;
    font-family: 'Poppins', sans-serif;
    position: relative;
    z-index: 1;
}

.price-description {
    color: var(--gray);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2.5rem;
    text-align: left;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--dark);
    font-weight: 500;
}

.pricing-features li i {
    color: var(--success);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.pricing-features strong {
    color: var(--dark);
    font-weight: 600;
}

/* Pricing Info Section */
.pricing-info {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.pricing-guarantee,
.pricing-features-all {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--light-gray);
}

.pricing-guarantee h3,
.pricing-features-all h3 {
    color: var(--dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-guarantee h3 i {
    color: var(--primary);
    font-size: 1.2rem;
}

.pricing-features-all h3 i {
    color: var(--warning);
    font-size: 1.2rem;
}

.pricing-guarantee p {
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--light);
    border-radius: 0.5rem;
    transition: var(--transition);
}

.feature-item:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.feature-item i {
    color: var(--primary);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.feature-item span {
    color: var(--dark);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: white;
}

.contact-grid {
    display: none;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--dark);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--light);
    border-radius: 1rem;
    transition: var(--transition);
}

.contact-item:hover {
    background: var(--primary-light);
    transform: translateX(10px);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary);
    width: 30px;
    text-align: center;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--dark);
}

.contact-item p {
    color: var(--gray);
    margin: 0;
}

.contact-form {
    display: none;
}

/* New simple contact cards */
.contact-cards {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: #f6f8f7;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-gray);
    transition: var(--transition);
}

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

.contact-card-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.contact-card-icon.whatsapp { background: rgba(37, 211, 102, 0.12); color: var(--whatsapp); }

.contact-card h3 { margin: 0.5rem 0 0.25rem 0; }
.contact-card p { margin: 0 0 0.75rem 0; }
.contact-card-link { color: var(--primary); font-weight: 700; }

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

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid var(--light-gray);
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: var(--transition);
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-group label {
    font-size: 0.9rem;
    color: var(--gray);
    cursor: pointer;
    margin: 0;
}

.form-error {
    color: var(--error);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: none;
}

.form-error.show {
    display: block;
}

.form-success {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--success);
    font-weight: 600;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(40, 167, 69, 0.1);
    border-radius: 0.5rem;
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.btn-loading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Search Modal */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.search-modal.active {
    display: flex;
    opacity: 1;
}

.search-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.search-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 10% auto;
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.search-header {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--light-gray);
}

.search-header input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1.2rem;
    padding: 0.5rem 0;
    background: transparent;
}

.search-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--transition);
}

.search-close:hover {
    background: var(--light);
    color: var(--dark);
}

.search-results {
    max-height: 400px;
    overflow-y: auto;
    padding: 1.5rem;
}

.search-suggestions h4 {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.suggestion-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.suggestion-tag {
    padding: 0.5rem 1rem;
    background: var(--light);
    color: var(--dark);
    border-radius: 2rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.suggestion-tag:hover {
    background: var(--primary);
    color: white;
}

.search-result-item {
    padding: 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.search-result-item:hover {
    background: var(--light);
    border-color: var(--primary);
}

.search-result-item h5 {
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.search-result-item p {
    color: var(--gray);
    margin: 0;
    font-size: 0.9rem;
}

/* Back to Top Button removed */

/* Pricing Page Specific Styles */
.pricing-hero {
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.pricing-hero .container {
    position: relative;
    z-index: 1;
}

.pricing-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    font-family: 'Poppins', sans-serif;
}

.pricing-hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-item i {
    color: #4caf50;
    font-size: 1.1rem;
}

/* Features Comparison Table */
.features-comparison {
    padding: 6rem 0;
    background: var(--light);
}

.comparison-table {
    margin-top: 3rem;
}

.table-wrapper {
    overflow-x: auto;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    background: white;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

table th {
    background: var(--primary);
    color: white;
    padding: 1.5rem 1rem;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
}

table th:first-child {
    text-align: left;
    background: var(--dark);
}

table td {
    padding: 1.25rem 1rem;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 500;
}

table td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--dark);
}

table tr:hover {
    background: #f8f9fa;
}

table i.fa-check {
    color: #4caf50;
    font-size: 1.2rem;
}

table i.fa-times {
    color: #f44336;
    font-size: 1.2rem;
}

/* Pricing FAQ */
.pricing-faq {
    padding: 6rem 0;
    background: white;
}

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

.faq-item {
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid #f0f0f0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

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

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
}

.faq-question i {
    color: var(--primary);
    transition: var(--transition);
}

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

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 2rem 1.5rem 2rem;
    max-height: 200px;
}

.faq-answer p {
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
}

/* Pricing CTA */
.pricing-cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-actions .btn {
    min-width: 180px;
}

/* Responsive Design for Pricing Page */
@media (max-width: 768px) {
    .pricing-hero h1 {
        font-size: 2.5rem;
    }
    
    .pricing-hero p {
        font-size: 1.1rem;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .feature-item {
        padding: 0.5rem 1rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 2rem 0;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-section p {
    color: var(--light-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: var(--light-gray);
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.contact-info i {
    color: var(--primary);
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: var(--light-gray);
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--light-gray);
    font-size: 0.9rem;
    transition: var(--transition);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-links a:not(:last-child)::after {
    content: "|";
    margin: 0 0.5rem;
    color: var(--light-gray);
}

/* Floating Buttons */
.call-btn,
.whatsapp-btn {
    position: fixed;
    bottom: 2.5rem;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 1000;
    animation: float 3s ease-in-out infinite;
}

.call-btn {
    left: 2.5rem;
    background: var(--primary);
}

.whatsapp-btn {
    right: 2.5rem;
    background: var(--whatsapp);
}

.call-btn:hover,
.whatsapp-btn:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.call-btn:hover {
    background: var(--primary-dark);
}

/* Mobile app-style bottom navigation */
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60px;
        background: #ffffff;
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
        display: flex;
        align-items: center;
        justify-content: space-around;
        z-index: 1200;
        border-top: 1px solid var(--light-gray);
    }

    .mobile-bottom-nav__item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        font-size: 0.75rem;
        color: var(--gray);
        text-decoration: none;
        gap: 0.15rem;
    }

    .mobile-bottom-nav__item i {
        font-size: 1.1rem;
        color: var(--primary);
    }

    .mobile-bottom-nav__item span {
        line-height: 1;
    }

    .mobile-bottom-nav__item:active,
    .mobile-bottom-nav__item:focus {
        color: var(--primary);
    }

    /* Hide floating buttons on mobile; WhatsApp will be in bottom nav */
    .call-btn,
    .whatsapp-btn {
        display: none;
    }
}

.whatsapp-btn:hover {
    background: var(--whatsapp-dark);
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--light-gray);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

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

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(40, 167, 69, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(40, 167, 69, 0.8);
    }
}

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

@keyframes progressFill {
    0% { 
        background: conic-gradient(var(--primary) 0deg, var(--primary-light) 0deg);
    }
    100% { 
        background: conic-gradient(var(--primary) var(--progress-percent, 0deg), var(--primary-light) var(--progress-percent, 0deg));
    }
}

.animate {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.animate-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease;
}

.animate-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease;
}

.animate.animated,
.animate-up.animated,
.animate-left.animated,
.animate-right.animated {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

.animate-bounce {
    animation: bounce 2s infinite;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-glow {
    animation: glow 2s ease-in-out infinite;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
.delay-5 { animation-delay: 1s; }
.delay-6 { animation-delay: 1.2s; }
.delay-7 { animation-delay: 1.4s; }
.delay-8 { animation-delay: 1.6s; }
.delay-9 { animation-delay: 1.8s; }
.delay-10 { animation-delay: 2s; }

/* Enhanced Animation Types */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.animated {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-left.animated {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-right.animated {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-in.animated {
    opacity: 1;
    transform: scale(1);
}

.rotate-in {
    opacity: 0;
    transform: rotate(-10deg) scale(0.8);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.rotate-in.animated {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.slide-in-bottom {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-bottom.animated {
    opacity: 1;
    transform: translateY(0);
}

.zoom-in {
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.zoom-in.animated {
    opacity: 1;
    transform: scale(1);
}

.flip-in {
    opacity: 0;
    transform: rotateY(-90deg);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.flip-in.animated {
    opacity: 1;
    transform: rotateY(0deg);
}

/* Continuous Animations */
.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.animate-shake {
    animation: shake 0.5s ease-in-out;
}

.animate-wiggle {
    animation: wiggle 1s ease-in-out infinite;
}

.animate-spin {
    animation: spin 2s linear infinite;
}

.animate-ping {
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* Keyframe Animations */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    75% {
        transform: translateX(5px);
    }
}

@keyframes wiggle {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(5deg);
    }
    75% {
        transform: rotate(-5deg);
    }
}

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

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.max-w-2xl { max-width: 42rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .header-container {
        padding: 1rem 0;
    }
    
    .nav-links {
        position: fixed;
        top: 64px; /* show menu just below fixed header */
        left: 0;
        right: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1.25rem 1.5rem 1.5rem;
        box-shadow: var(--shadow);
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 1100; /* above header */
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        display: flex;
    }
    
    .nav-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        padding: 0.7rem 0;
        border-bottom: 1px solid var(--light-gray);
        width: 100%;
        text-align: center;
        font-size: 0.98rem;
        line-height: 1.3;
    }
    
    .nav-links a:last-child {
        border-bottom: none;
    }

    /* Mobile nav icons using Font Awesome
       Order matches: Home, Features, Demo, Pricing, Testimonials, FAQ, Contact, Get Started */
    .nav-links a::before {
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 1rem;
        display: inline-block;
        color: var(--primary);
    }

    .nav-links a:nth-child(1)::before { content: "\f015"; } /* Home icon */
    .nav-links a:nth-child(2)::before { content: "\f005"; } /* Features (star) */
    .nav-links a:nth-child(3)::before { content: "\f04b"; } /* Demo (play) */
    .nav-links a:nth-child(4)::before { content: "\f02c"; } /* Pricing (tags) */
    .nav-links a:nth-child(5)::before { content: "\f086"; } /* Testimonials (comments) */
    .nav-links a:nth-child(6)::before { content: "\f059"; } /* FAQ (question circle) */
    .nav-links a:nth-child(7)::before { content: "\f0e0"; } /* Contact (envelope) */
    .nav-links a:nth-child(8)::before { content: "\f135"; } /* Get Started (rocket) */

    /* Make the primary CTA stand out slightly more and avoid extra border */
    .nav-links a.btn {
        border-bottom: none;
        margin-top: 0.25rem;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .header-actions {
        gap: 0.5rem;
    }
    
    .search-btn,
    .theme-toggle {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .hero {
        padding: 8rem 0 6rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .progress-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .integration-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Features Section Responsive */
    .features {
        padding: 4rem 0;
    }
    
    .features-header h2 {
        font-size: 2.5rem;
    }
    
    .features-header p {
        font-size: 1.1rem;
    }
    
    .feature-main-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-main-card {
        padding: 2rem;
    }
    
    .feature-icon-large {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
    
    .feature-content h3 {
        font-size: 1.5rem;
    }
    
    .feature-secondary-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-secondary-card {
        padding: 1.5rem;
    }
    
    .feature-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .pricing-info {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 3rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .statistics-section h2 {
        font-size: 2rem;
    }
    
    .statistics-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
    
    .stat-card {
        padding: 2rem 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .statistics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .testimonials-carousel {
        margin: 2rem auto;
    }
    
    .testimonial-slider {
        height: 350px;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
    
    .testimonial-navigation {
        gap: 1rem;
    }
    
    .testimonial-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .search-container {
        margin: 5% auto;
        max-width: 90%;
    }
    
    /* Back to Top Button removed */
    
    .call-btn,
    .whatsapp-btn {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
        bottom: 2rem;
    }
    
    .call-btn {
        left: 2rem;
    }
    
    .whatsapp-btn {
        right: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .progress-grid {
        grid-template-columns: 1fr;
    }
    
    .integration-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .call-btn,
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        bottom: 1.5rem;
    }
    
    .call-btn {
        left: 1.5rem;
    }
    
    .whatsapp-btn {
        right: 1.5rem;
    }
}

/* FAQ Section Styles */
.faq-section {
    padding: 5rem 0;
    background: var(--light);
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
    opacity: 0.3;
    z-index: 0;
}

.faq-section .container {
    position: relative;
    z-index: 1;
}

.faq-container {
    max-width: 1100px;
    margin: 0 auto;
    margin-top: 3rem;
}

.faq-search {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

/* FAQ search removed - styles cleared */

.faq-item {
    display: block;
    background: white;
    border-radius: 1rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-gray);
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item.open {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.faq-question {
    padding: 1.6rem 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    gap: 1rem;
}

.faq-question:before {
    content: 'Q';
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light);
    color: var(--primary);
    align-items: center;
    justify-content: center;
    font-weight: 800;
    border: 2px solid rgba(40,167,69,0.08);
    flex-shrink: 0;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--dark);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.faq-answer {
    padding: 0 1.75rem 1.4rem 1.75rem;
    color: var(--gray);
    font-family: 'Inter', sans-serif;
    line-height: 1.75;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.36s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
    opacity: 0;
}

.faq-item.open .faq-answer {
    max-height: 400px; /* enough for most answers */
    opacity: 1;
}

.faq-item .faq-question i {
    color: var(--primary);
    background: #fff7e6;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid rgba(40,167,69,0.12);
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    background: rgba(40,167,69,0.06);
}

@media (max-width: 768px) {
    .faq-question { padding: 1.1rem 1rem; }
    .faq-answer { padding: 0 1rem 1rem 1rem; }
    .faq-question:before { width: 34px; height: 34px; }
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .faq-question h3 { font-size: 1rem; }
    .faq-answer { font-size: 0.98rem; }
}

.faq-item {
    background: white;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--light-gray);
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.faq-question:hover {
    background: var(--light);
}

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

.faq-question i {
    font-size: 1rem;
    color: var(--primary);
    transition: var(--transition);
    transform: rotate(0deg);
}

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

.faq-item.active .faq-question {
    background: var(--primary-light);
    border-bottom-color: var(--light-gray);
}

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

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 2rem 1.5rem 2rem;
}

.faq-answer p {
    margin: 0;
    color: var(--gray);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Compact, modern FAQ card overrides */
.faq-container {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

/* FAQ two-column layout */
.faq-section .faq-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

@media (max-width: 768px) {
    .faq-section .faq-container {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

.faq-item {
    border-radius: 14px;
    margin-bottom: 1rem;
    box-shadow: 0 8px 24px rgba(16,24,40,0.06);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.04);
}

.faq-question {
    padding: 1.15rem 1.5rem;
    gap: 1rem;
    align-items: center;
}

.faq-question:before {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
}

.faq-question h3 {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    line-height: 1.15;
    color: var(--dark);
}

.faq-answer {
    background: linear-gradient(180deg, rgba(245,247,246,0.6), rgba(255,255,255,0.6));
    padding: 1rem 1.5rem 1.25rem 1.5rem;
    color: var(--dark-light);
    font-size: 1rem;
    border-top: 1px solid rgba(0,0,0,0.03);
}

.faq-item .fas.fa-chevron-down {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 0.95rem;
}

.faq-item .faq-answer p {
    color: var(--dark-light);
}

@media (max-width: 768px) {
    .faq-item { border-radius: 12px; }
    .faq-question h3 { font-size: 1rem; }
    .faq-answer { font-size: 0.98rem; }
}

/* FAQ Responsive Design */
@media (max-width: 768px) {
    .faq-section {
        padding: 3rem 0;
    }
    
    .faq-question {
        padding: 1.25rem 1.5rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
        padding-right: 0.75rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 1.5rem 1.25rem 1.5rem;
    }
    
    .faq-answer p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .faq-question {
        padding: 1rem 1.25rem;
    }
    
    .faq-question h3 {
        font-size: 0.95rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 1.25rem 1rem 1.25rem;
    }
}

/* FAQ compact height adjustments */
.faq-simple .faq-item { margin-bottom: 0.75rem; }
.faq-simple .faq-question { padding: 1rem 1.25rem; }
.faq-simple .faq-question h3 { font-size: 1rem; line-height: 1.4; }
.faq-simple .faq-question:before { width: 28px; height: 28px; }
.faq-simple .faq-item.active .faq-answer { padding: 0 1.25rem 1rem 1.25rem; }

/* Demo Section Styles */
.demo-section {
    padding: 5rem 0;
    background: var(--light);
    position: relative;
    overflow: hidden;
}

.demo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
    opacity: 0.2;
    z-index: 0;
}

.demo-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(76, 175, 80, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 75% 75%, rgba(33, 150, 243, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 50% 10%, rgba(255, 152, 0, 0.1) 0%, transparent 35%),
        radial-gradient(circle at 10% 60%, rgba(156, 39, 176, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 40%, rgba(244, 67, 54, 0.06) 0%, transparent 30%);
    background-size: 600px 600px, 500px 500px, 400px 400px, 700px 700px, 300px 300px;
    background-position: 0 0, 100% 100%, 50% 0, 0 50%, 100% 50%;
    animation: textureFloat 25s ease-in-out infinite;
    z-index: 0;
}

@keyframes textureFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }
    20% {
        transform: translateY(-15px) rotate(0.5deg) scale(1.02);
    }
    40% {
        transform: translateY(10px) rotate(-0.5deg) scale(0.98);
    }
    60% {
        transform: translateY(-8px) rotate(0.3deg) scale(1.01);
    }
    80% {
        transform: translateY(5px) rotate(-0.3deg) scale(0.99);
    }
}

.demo-section .container {
    position: relative;
    z-index: 1;
}

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

.demo-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border: 1px solid var(--light-gray);
    position: relative;
    overflow: hidden;
}

.demo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

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

.demo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.demo-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}

.demo-badge {
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.video-thumbnail-container {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.video-thumbnail-container:hover {
    transform: scale(1.02);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.video-thumbnail-container:hover .video-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.play-button i {
    font-size: 2rem;
    color: var(--primary);
    margin-left: 4px;
}

.video-thumbnail-container:hover .play-button {
    transform: scale(1.1);
    background: white;
}

.video-info {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    color: white;
    z-index: 2;
}

.video-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.video-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 11000;
    padding: 1rem;
}

.video-modal.open {
    display: flex;
}

.video-modal-content {
    width: 100%;
    max-width: 960px;
    background: #000;
    border-radius: 12px;
    position: relative;
    box-shadow: var(--shadow-xl);
}

.video-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
}

.video-modal-close i { font-size: 1.1rem; }

.video-responsive { position: relative; padding-bottom: 56.25%; height: 0; }
.video-responsive iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.video-duration {
    font-size: 0.9rem;
    opacity: 0.8;
}

.demo-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.demo-actions .btn {
    flex: 1;
    min-width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.75rem;
    transition: var(--transition);
}

.demo-actions .btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
}

.demo-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-colored);
}

.demo-actions .btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.demo-actions .btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.demo-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--light-gray);
}

.demo-feature {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.demo-feature:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.demo-feature i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.demo-feature h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
}

.demo-feature p {
    margin: 0;
    color: var(--gray);
    font-size: 0.9rem;
}

/* Demo Section Responsive Design */
@media (max-width: 768px) {
    .demo-section {
        padding: 3rem 0;
    }
    
    .demo-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .demo-card {
        padding: 1.5rem;
    }
    
    .demo-header h3 {
        font-size: 1.3rem;
    }
    
    .video-thumbnail {
        height: 200px;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
    }
    
    .play-button i {
        font-size: 1.5rem;
    }
    
    .demo-actions {
        flex-direction: column;
    }
    
    .demo-actions .btn {
        min-width: auto;
    }
    
    .demo-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .demo-card {
        padding: 1.25rem;
    }
    
    .demo-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .video-thumbnail {
        height: 180px;
    }
    
    .demo-feature {
        padding: 1.25rem;
    }
}
