
:root {
    /* Colors */
    --primary-color: #E91E63;
    --primary-dark: #C2185B;
    --primary-light: #F8BBD0;
    --secondary-color: #FFC107;
    --secondary-dark: #FFA000;
    --secondary-light: #FFECB3;
    --accent-color: #00BCD4;
    --success-color: #4CAF50;
    --warning-color: #FF9800;
    --error-color: #F44336;
    
    /* Light Theme Colors (Default) */
    --background-color: #ffffff;
    --text-color: #333333;
    --text-light: #666666;
    --dark-color: #212121;
    --light-color: #f8f9fa;
    --border-color: #e0e0e0;
    
    /* Typography */
    --font-family: 'Poppins', sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Border Radius */
    --border-radius: 15px;
    --border-radius-sm: 8px;
    --border-radius-lg: 25px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 35px rgba(0, 0, 0, 0.2);
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

/* ========== DARK MODE VARIABLES ========== */
[data-theme="dark"] {
    --background-color: #1a1a1a;
    --text-color: #e0e0e0;
    --text-light: #b0b0b0;
    --dark-color: #0a0a0a;
    --light-color: #2a2a2a;
    --border-color: #3a3a3a;
}

/* ========== RESET & BASE STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: var(--font-size-base);
}

body {
    font-family: var(--font-family);
    line-height: var(--line-height-base);
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--text-color);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: 5rem 2rem;
}

/* ========== HEADER & NAVIGATION ========== */
.main-header {
    background: var(--background-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="dark"] .main-header {
    background: var(--background-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.main-nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

/* Theme Toggle Button */
.theme-toggle {
    background: var(--light-color);
    border: 2px solid var(--border-color);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    transition: var(--transition);
}

[data-theme="dark"] .theme-toggle {
    background: var(--light-color);
    border-color: var(--border-color);
}

.theme-toggle:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: rotate(20deg) scale(1.1);
}

.theme-icon {
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    border-radius: 3px;
    transition: var(--transition);
}

[data-theme="dark"] .menu-toggle span {
    background: var(--text-color);
}

/* ========== THEME TOGGLE BUTTON ========== */
.theme-toggle {
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.5rem;
    position: relative;
    overflow: hidden;
}

.theme-toggle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--primary-color);
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.theme-toggle:hover::before {
    width: 100%;
    height: 100%;
}

.theme-toggle:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: rotate(20deg);
}

.theme-toggle:hover .theme-icon {
    filter: brightness(0) invert(1);
}

.theme-icon {
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

/* ========== MENU TOGGLE ANIMATION ========== */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ========== HERO SECTION ========== */
.hero {
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.1) 0%, rgba(255, 193, 7, 0.1) 100%),
                url('https://images.unsplash.com/photo-1519791928193-98a42b834337?q=80&w=2070') no-repeat center center/cover;
    min-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(233, 30, 99, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 193, 7, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
    animation: pulse 2s infinite;
}

.hero-content h1 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.hero-content > p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 2rem;
}

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

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
}

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

.cta-button.secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

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

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

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

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* ========== SECTION HEADERS ========== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.section-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}


/* ========== BENEFITS SECTION - ¿Por qué elegir Regalapp? ========== */
.benefits-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .benefits-section {
    background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
}

.benefits-section::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(233, 30, 99, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.benefits-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.benefit-card {
    background: var(--background-color);
    padding: 3rem 2.5rem;
    border-radius: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    text-align: center;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(233, 30, 99, 0.05), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.benefit-card:hover::after {
    width: 500px;
    height: 500px;
}

.benefit-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

[data-theme="dark"] .benefit-card {
    background: #2a2a2a;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .benefit-card:hover {
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
}

.benefit-icon-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 1;
}

.benefit-icon-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    border-radius: 50%;
    transition: all 0.4s ease;
}

.benefit-card:hover .benefit-icon-bg {
    transform: translate(-50%, -50%) scale(1.2) rotate(180deg);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.benefit-icon {
    position: relative;
    font-size: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotate(-10deg);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
}

.benefit-card h3 {
    color: var(--text-color);
    margin-bottom: 1.2rem;
    font-size: 1.6rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.benefit-card:hover h3 {
    color: var(--primary-color);
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.benefit-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0 0;
    text-align: left;
    position: relative;
    z-index: 1;
}

.benefit-features li {
    padding: 0.8rem 0;
    color: var(--text-light);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .benefit-features li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.benefit-features li:last-child {
    border-bottom: none;
}

.benefit-features li::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border-radius: 50%;
    margin-right: 1rem;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(233, 30, 99, 0.3);
}

.benefit-card:hover .benefit-features li::before {
    transform: scale(1.2) rotate(360deg);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.5);
}

.benefit-features li:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

.benefit-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
    z-index: 2;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-badge {
    opacity: 1;
    transform: translateY(0);
}

/* Animación de entrada para los benefit cards */
.benefit-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.benefit-card:nth-child(1) {
    animation-delay: 0.1s;
}

.benefit-card:nth-child(2) {
    animation-delay: 0.2s;
}

.benefit-card:nth-child(3) {
    animation-delay: 0.3s;
}

.benefit-card:nth-child(4) {
    animation-delay: 0.4s;
}

/* Efecto de brillo en hover */
.benefit-card .shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.benefit-card:hover .shine {
    left: 100%;
}

/* Responsive */
@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }
    
    .benefit-card {
        padding: 2.5rem 2rem;
    }
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .benefit-card {
        padding: 2rem 1.5rem;
    }
    
    .benefit-icon-wrapper {
        width: 80px;
        height: 80px;
    }
    
    .benefit-icon {
        font-size: 3rem;
    }
    
    .benefit-card h3 {
        font-size: 1.4rem;
    }
    
    .benefit-features li {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .benefit-icon-wrapper {
        width: 70px;
        height: 70px;
    }
    
    .benefit-icon {
        font-size: 2.5rem;
    }
    
    .benefit-card h3 {
        font-size: 1.3rem;
    }
    
    .benefit-card p {
        font-size: 1rem;
    }
}

/* ========== FEATURES SECTION ========== */
.features {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.features::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(78, 205, 196, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.feature-item {
    background: #fff;
    border-radius: 20px;
    padding: 3rem 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-item:hover::before {
    transform: scaleX(1);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.feature-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), #ff8787);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
    transition: all 0.3s ease;
}

.feature-item:hover .feature-number {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 12px 30px rgba(255, 107, 107, 0.4);
}

.feature-item h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    font-weight: 700;
}

.feature-item > p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0 0;
}

.feature-list li {
    padding: 0.8rem 0;
    color: #555;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

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

.feature-list li::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--secondary-color), #5dd9c1);
    color: #fff;
    border-radius: 50%;
    margin-right: 0.8rem;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-list li::before {
    transform: scale(1.2);
}

.feature-list li:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

/* Animación de entrada para los feature items */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-item {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.feature-item:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-item:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-item:nth-child(3) {
    animation-delay: 0.3s;
}

/* Responsive */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-item {
        padding: 2rem 1.5rem;
    }

    .feature-number {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    .feature-item h3 {
        font-size: 1.4rem;
    }

    .feature-list li {
        font-size: 0.9rem;
    }
}

/* ========== CATEGORIES SECTION ========== */
.categories-section {
    background: var(--background-color);
}

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

.category-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 400px;
    cursor: pointer;
}

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

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover img {
    transform: scale(1.15);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
    transition: var(--transition);
}

.category-card:hover .category-overlay {
    background: linear-gradient(to top, rgba(233, 30, 99, 0.8) 0%, transparent 60%);
}

.category-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    color: white;
    z-index: 2;
}

.category-info h3 {
    margin: 0 0 0.5rem 0;
    font-size: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.category-info p {
    margin: 0 0 0.5rem 0;
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
}


.category-count {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ========== SPECIAL SERVICES SECTION ========== */
.special-services {
    background: var(--light-color);
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--background-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.service-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.service-content h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-content > p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    flex: 1;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

.service-price {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials-section {
    background: var(--light-color);
}

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

.testimonial-card {
    background: var(--background-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.testimonial-content {
    flex: 1;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-color);
    line-height: 1.8;
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0;
}

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

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

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

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

.author-info p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.85rem;
}

/* ========== DOWNLOAD SECTION ========== */
.download-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-align: center;
}

.download-section .section-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.download-section h2,
.download-section h3,
.download-section .section-subtitle,
.download-section p {
    color: white;
}

.download-content {
    max-width: 800px;
    margin: 0 auto;
}

.download-info {
    margin-bottom: 3rem;
}

.download-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.download-info p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

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

.download-button {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    color: var(--dark-color);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

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

.download-button .icon {
    font-size: 2rem;
}

.download-button .text {
    font-size: 1.1rem;
}

.download-button.apple:hover {
    background: #000;
    color: white;
}

.download-button.google:hover {
    background: #34A853;
    color: white;
}

.email-form {
    max-width: 500px;
    margin: 0 auto;
}

.email-form form {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.email-form input[type="email"] {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 1rem;
    font-family: var(--font-family);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.email-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.email-form input[type="email"]:focus {
    outline: none;
    border-color: white;
    background: rgba(255, 255, 255, 0.2);
}

.email-form button {
    padding: 1rem 2.5rem;
    background: white;
    color: var(--primary-color);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.email-form button:hover {
    background: var(--secondary-color);
    color: var(--dark-color);
    transform: translateY(-2px);
}

/* ========== FOOTER ========== */
.main-footer {
    background: var(--dark-color);
    color: white;
    padding: 3rem 2rem 1rem;
    transition: background-color 0.3s ease;
}

[data-theme="dark"] .main-footer {
    background: #0a0a0a;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .footer-content {
    border-bottom: 1px solid var(--border-color);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.footer-logo img {
    height: 40px;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    font-size: 0.95rem;
}

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

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

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

[data-theme="dark"] .footer-social a {
    background: var(--light-color);
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding-top: 2rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 0.9rem;
}

[data-theme="dark"] .footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
}

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

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

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

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
    section {
        padding: 4rem 1.5rem;
    }
    
    .categories-grid,
    .services-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero {
        min-height: 70vh;
        padding: 2rem 1rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cta-button {
        width: 100%;
    }
    
    section {
        padding: 3rem 1rem;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .benefits-grid,
    .features-grid,
    .categories-grid,
    .services-container,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .category-card {
        height: 350px;
    }
    
    .service-image {
        height: 200px;
    }
    
    .email-form form {
        flex-direction: column;
    }
    
    .email-form input[type="email"] {
        width: 100%;
    }
    
    .email-form button {
        width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero-content > p {
        font-size: 1rem;
    }
    
    .benefit-icon,
    .service-icon {
        font-size: 2.5rem;
    }
    
    .feature-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .category-info h3 {
        font-size: 1.5rem;
    }
    
    
    .download-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .download-button {
        width: 100%;
        justify-content: center;
    }
}

/* ========== UTILITY CLASSES ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.text-primary {
    color: var(--primary-color);
}

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

.bg-primary {
    background-color: var(--primary-color);
}

.bg-secondary {
    background-color: var(--secondary-color);
}

.bg-light {
    background-color: var(--light-color);
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.pt-1 { padding-top: 0.5rem; }
.pt-2 { padding-top: 1rem; }
.pt-3 { padding-top: 1.5rem; }
.pt-4 { padding-top: 2rem; }
.pt-5 { padding-top: 3rem; }

.pb-1 { padding-bottom: 0.5rem; }
.pb-2 { padding-bottom: 1rem; }
.pb-3 { padding-bottom: 1.5rem; }
.pb-4 { padding-bottom: 2rem; }
.pb-5 { padding-bottom: 3rem; }

/* ========== SCROLL ANIMATIONS ========== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* ========== LOADING SPINNER ========== */
.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--light-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* ========== CUSTOM SCROLLBAR ========== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ========== SELECTION ========== */
::selection {
    background: var(--primary-color);
    color: white;
}

::-moz-selection {
    background: var(--primary-color);
    color: white;
}

/* ========== FOCUS STYLES ========== */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

button:focus,
a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ========== PRINT STYLES ========== */
@media print {
    .main-header,
    .main-footer,
    .cta-button,
    .download-section {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: black;
    }
    
    section {
        page-break-inside: avoid;
    }
}

/* ========== ACCESSIBILITY ========== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-to-content:focus {
    top: 0;
}

/* ========== DARK MODE SUPPORT ========== */
@media (prefers-color-scheme: dark) {
    :root {
        --background-color: #1a1a1a;
        --text-color: #f0f0f0;
        --text-light: #b0b0b0;
        --light-color: #2a2a2a;
        --border-color: #3a3a3a;
    }
    
    .main-header {
        background: rgba(26, 26, 26, 0.95);
    }
    
    .nav-menu {
        background: #1a1a1a;
    }
    
    .benefit-card,
    .service-card,
    .testimonial-card {
        background: #2a2a2a;
    }
    
    .feature-item {
        background: #2a2a2a;
    }
    
    .category-card {
        box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    }
    
    .main-footer {
        background: #0a0a0a;
    }
}

/* ========== DARK MODE MANUAL TOGGLE ========== */
[data-theme="dark"] {
    --background-color: #1a1a1a;
    --text-color: #e0e0e0;
    --text-light: #b0b0b0;
    --light-color: #2a2a2a;
    --border-color: #3a3a3a;
}

[data-theme="dark"] .main-header {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

[data-theme="dark"] .nav-menu {
    background: #1a1a1a;
}

[data-theme="dark"] .menu-toggle span {
    background: var(--text-color);
}

[data-theme="dark"] .hero {
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.2) 0%, rgba(255, 193, 7, 0.2) 100%),
                url('https://images.unsplash.com/photo-1519791928193-98a42b834337?q=80&w=2070') no-repeat center center/cover;
}

[data-theme="dark"] .hero::before {
    background: radial-gradient(circle at 20% 50%, rgba(233, 30, 99, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 193, 7, 0.2) 0%, transparent 50%);
}

[data-theme="dark"] .hero-content h1 {
    color: var(--text-color);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

[data-theme="dark"] .benefits-section {
    background: #0f0f0f;
}

[data-theme="dark"] .benefit-card {
    background: #2a2a2a;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

[data-theme="dark"] .benefit-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.7);
}

[data-theme="dark"] .features {
    background: #1a1a1a;
}

[data-theme="dark"] .feature-item {
    background: #2a2a2a;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

[data-theme="dark"] .feature-item:hover {
    box-shadow: 0 6px 15px rgba(0,0,0,0.5);
}

[data-theme="dark"] .categories-section {
    background: #1a1a1a;
}

[data-theme="dark"] .category-card {
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

[data-theme="dark"] .category-card:hover {
    box-shadow: 0 20px 35px rgba(0,0,0,0.7);
}

[data-theme="dark"] .special-services {
    background: #0f0f0f;
}

[data-theme="dark"] .service-card {
    background: #2a2a2a;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

[data-theme="dark"] .service-card:hover {
    box-shadow: 0 20px 35px rgba(0,0,0,0.7);
}

[data-theme="dark"] .testimonials-section {
    background: #0f0f0f;
}

[data-theme="dark"] .testimonial-card {
    background: #2a2a2a;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

[data-theme="dark"] .testimonial-card:hover {
    box-shadow: 0 6px 15px rgba(0,0,0,0.5);
}

[data-theme="dark"] .main-footer {
    background: #0a0a0a;
    border-top: 1px solid #2a2a2a;
}

[data-theme="dark"] .email-form input[type="email"] {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
}

[data-theme="dark"] .email-form input[type="email"]:focus {
    background: rgba(255, 255, 255, 0.25);
    border-color: white;
}

[data-theme="dark"] .cta-button.secondary {
    background: #2a2a2a;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

[data-theme="dark"] .cta-button.secondary:hover {
    background: var(--primary-color);
    color: white;
}

[data-theme="dark"] .download-button {
    background: #2a2a2a;
    color: var(--text-color);
}

[data-theme="dark"] .download-button:hover {
    background: white;
    color: var(--dark-color);
}

[data-theme="dark"] .back-to-top {
    background: var(--primary-color);
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.5);
}

[data-theme="dark"] .preloader {
    background: #1a1a1a;
}

[data-theme="dark"] ::-webkit-scrollbar-track {
    background: #2a2a2a;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
    background: var(--primary-color);
}

[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ========== RESPONSIVE DARK MODE ========== */
@media (max-width: 768px) {
    [data-theme="dark"] .nav-menu {
        background: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(10px);
    }
    
    [data-theme="dark"] .nav-menu.active {
        box-shadow: 0 10px 30px rgba(0,0,0,0.7);
    }
}

/* ========== TEXT COLORS FOR DARK MODE ========== */
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
    color: var(--text-color);
}

[data-theme="dark"] p {
    color: var(--text-light);
}

[data-theme="dark"] .benefit-card p,
[data-theme="dark"] .feature-item p,
[data-theme="dark"] .service-content p,
[data-theme="dark"] .testimonial-content p {
    color: var(--text-light);
}

[data-theme="dark"] .benefit-card h3,
[data-theme="dark"] .feature-item h3,
[data-theme="dark"] .service-content h3,
[data-theme="dark"] .testimonial-card h4 {
    color: var(--text-color);
}

[data-theme="dark"] .section-header h2 {
    color: var(--text-color);
}

[data-theme="dark"] .section-subtitle {
    color: var(--text-light);
}

[data-theme="dark"] .logo {
    color: var(--text-color);
}

[data-theme="dark"] .nav-menu a {
    color: var(--text-color);
}

[data-theme="dark"] .footer-links a {
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
}

/* ========== CATEGORY INFO DARK MODE ========== */
[data-theme="dark"] .category-info h3 {
    color: white;
}

[data-theme="dark"] .category-info p {
    color: rgba(255, 255, 255, 0.9);
}

/* ========== AUTHOR INFO DARK MODE ========== */
[data-theme="dark"] .author-info h4 {
    color: var(--text-color);
}

[data-theme="dark"] .author-info p {
    color: var(--text-light);
}

/* ========== STAT LABELS DARK MODE ========== */
[data-theme="dark"] .stat-label {
    color: var(--text-light);
}

/* ========== ADDITIONAL ENHANCEMENTS ========== */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-hover-effect {
    position: relative;
    overflow: hidden;
}

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

.card-hover-effect:hover::before {
    left: 100%;
}

/* ========== BADGE STYLES ========== */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-primary {
    background: var(--primary-color);
    color: white;
}

.badge-secondary {
    background: var(--secondary-color);
    color: var(--dark-color);
}

.badge-success {
    background: var(--success-color);
    color: white;
}

.badge-warning {
    background: var(--warning-color);
    color: var(--dark-color);
}

.badge-info {
    background: var(--accent-color);
    color: white;
}

/* ========== TOOLTIP ========== */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: var(--dark-color);
    color: white;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* ========== BACK TO TOP BUTTON ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

.back-to-top.visible {
    display: flex;
}

/* ========== PRELOADER ========== */
.preloader {
    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-out;
}

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

.preloader-content {
    text-align: center;
}

.preloader-logo {
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
    animation: pulse 1.5s infinite;
}

/* ========== TEXT COLORS ========== */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-color);
}

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

/* Asegurar que los textos en tarjetas blancas sean visibles */
.benefit-card p,
.feature-item p,
.service-content p,
.testimonial-content p {
    color: var(--text-color);
}

/* ========== END OF STYLES ========== */
