/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Paleta de colores azulados */
    --primary-blue: #011068;        /* Azul principal */
    --secondary-blue: #3b82f6;      /* Azul secundario */
    --light-blue: #60a5fa;          /* Azul claro */
    --dark-blue: #1e3a8a;           /* Azul oscuro */
    --accent-blue: #2563eb;         /* Azul acento */
    --navy-blue: #1e293b;           /* Azul marino */
    
    /* Verde mantenido */
    --primary-green: #10b981;       /* Verde principal */
    --dark-green: #059669;          /* Verde oscuro */
    
    /* Colores neutros */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    backdrop-filter: none;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: none;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 800;
}

.nav-logo-img {
    height: 36px;
    width: auto;
    display: inline-block;
    transition: opacity 0.2s ease;
}

.nav-logo-img.logo-dark {
    display: none;
}

.logo-text {
    color: white;
    transition: color 0.3s ease;
    text-decoration: none;
    letter-spacing: 2px;
    font-family: 'Century Gothic', 'Nunito', 'Futura', 'Avant Garde', sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
    text-transform: uppercase;
}

/* SmartGym Brand Typography */
.smartgym-brand, .smartgym-text {
    font-family: 'Century Gothic', 'Nunito', 'Futura', 'Avant Garde', sans-serif !important;
    font-weight: 700;
    letter-spacing: 1px;
}

.navbar.scrolled .logo-text {
    color: var(--primary-blue);
}

.navbar.scrolled .nav-logo-img.logo-light {
    display: none;
}

.navbar.scrolled .nav-logo-img.logo-dark {
    display: inline-block;
}

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

.nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.navbar.scrolled .nav-link {
    color: var(--gray-700);
}

.nav-link:hover {
    color: white;
}

.navbar.scrolled .nav-link:hover {
    color: var(--primary-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: white;
    transition: width 0.3s ease;
}

.navbar.scrolled .nav-link::after {
    background: var(--primary-blue);
}

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

/* Dropdown */
.dropdown {
    position: relative;
    
}

.dropdown-toggle::after {
    content: ' \f107';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-left: 6px;
    font-size: 0.8rem;
}

.dropdown-menu {
    position: absolute;
    text-decoration: none;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 12px;
    min-width: 220px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.06);
    padding: 8px;
    display: none;
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 10px 12px;
    color: var(--gray-700);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
}

.dropdown-item:hover {
    background: var(--gray-100);
    color: var(--primary-blue);
}

/* Mobile dropdown behavior */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        display: none;
        padding: 0.25rem 0;
    }
    .dropdown.open .dropdown-menu {
        display: block;
    }
}

.cta-btn {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white !important;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.4);
}

.cta-btn::after {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

.navbar.scrolled .bar {
    background: var(--gray-700);
}

/* Hero Section */
.hero {
    background: linear-gradient(0deg, rgba(60, 146, 238, 0.22),rgba(11, 31, 52, 0.511)), linear-gradient(135deg, rgba(30, 64, 175, 0.80) 0%, rgba(15, 23, 42, 0.75) 50%, rgba(32, 49, 90, 0.6) 100%), url('../assets/gymfondo.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    color: white;
    padding: 120px 0 64px;
    position: relative;
    overflow: hidden;
    min-height: 88vh;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.2rem, 3.5vw + 0.5rem, 3.2rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.highlight {
    background: linear-gradient(135deg, var(--light-blue), var(--secondary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: clamp(1rem, 0.9vw + 0.8rem, 1.2rem);
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

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

/* Hero Visual Mosaic */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Collage grid replacing chips */
.collage-grid {
    display: grid;
    grid-template-areas:
        'a a b'
        'c d b';
    grid-template-columns: 1.2fr 0.8fr 1fr;
    grid-template-rows: 170px 170px;
    gap: 14px;
    width: 100%;
    max-width: 520px;
}

.collage-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(86, 85, 85, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.collage-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: none;
}

.collage-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}

.collage-item.large { grid-area: a; }   
.collage-item.tall { grid-area: b; }
.collage-item.wide { grid-area: c; }
.collage-item.small { grid-area: d; }

/* Label over collage images */
.collage-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    color: #fff;
    padding: 0;
    border-radius: 0;
    font-size: 1rem;
    font-weight: 800;
    text-align: center;
    width: 100%;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

/* Dark overlay covering entire image */
.collage-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: 1;
    pointer-events: none;
}
/* Hero chips - minimal navigation to audiences */
.hero-chips {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    width: 100%;
    max-width: 520px;
}

.chip {
    display: grid;
    grid-template-columns: 48px 1fr 20px;
    align-items: center;
    gap: 1rem;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 14px;
    text-decoration: none;
    color: var(--gray-800);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    backdrop-filter: blur(6px);
}

.chip:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(0,0,0,0.18);
}

.chip-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.chip-text {
    font-weight: 700;
}

.chip i {
    color: var(--gray-500);
}

.mosaic-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 160px);
    gap: 1rem;
    max-width: 520px;
    width: 100%;
}

.mosaic-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mosaic-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.mosaic-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.75rem 1rem;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.55) 100%);
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mosaic-overlay i { opacity: 0.9; }

.mosaic-link { text-decoration: none; display: block; }

.mosaic-gym {
    background-image: linear-gradient(120deg, rgba(30,64,175,0.15), rgba(15,23,42,0.25)), url('../assets/gym.jpg');
}
.mosaic-yoga {
    background-image: linear-gradient(120deg, rgba(30,64,175,0.15), rgba(15,23,42,0.25)), url('../assets/yoga.jpg');
}
.mosaic-club {
    background-image: linear-gradient(120deg, rgba(30,64,175,0.15), rgba(15,23,42,0.25)), url('../assets/clubfitness.jpg');
}
.mosaic-office {
    background-image: linear-gradient(120deg, rgba(30,64,175,0.15), rgba(15,23,42,0.25)), url('../assets/pilates.jpg');
}

.btn {
    padding: 14px 28px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(16, 185, 129, 0.4);
}

.btn-primary-blue{
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.btn-primary-blue:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(30, 64, 175, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

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

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

.hero-stats {
    display: flex;
    gap: 2rem;
}
/* Hero features under collage */
.key-features {
    margin-top: 50px;
    padding: 24px 0 0;
}

.key-features-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 0;
    padding: 0 20px;
}

.key-features-grid li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: white !important;
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.key-features-grid i { color: var(--primary-green); }
.key-features-grid span { color: var(--gray-700); font-weight: 600;  }

/* Responsive adjustments for key features */
@media (max-width: 1024px) {
    .key-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .key-features-grid {
        grid-template-columns: 1fr;
        padding: 0 16px;
    }
    .key-features-grid li {
        padding: 12px 14px;
    }
    .key-features-grid li i {
        flex-shrink: 0;
        font-size: 1rem;
    }
    .key-features-grid li span {
        font-size: 0.95rem;
        line-height: 1.2;
        word-break: break-word;
    }
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--light-blue);
}

.stat p {
    opacity: 0.8;
    font-size: 0.9rem;
}

.hero-benefits {
    display: flex;
    justify-content: center;
    align-items: center;
}

.benefits-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
    width: 200px;
    height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.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; }
.benefit-card:nth-child(5) { animation-delay: 0.5s; }
.benefit-card:nth-child(6) { animation-delay: 0.6s; }

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--light-blue), var(--secondary-blue));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
}

.benefit-icon i {
    font-size: 1.5rem;
    color: white;
}

.benefit-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
    flex-shrink: 0;
}

.benefit-card p {
    font-size: 0.85rem;
    opacity: 0.9;
    line-height: 1.4;
    margin: 0;
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: #f8fafc;
}

/* Benefits Section */
.benefits-section {
    padding: 100px 0;
    background: #f8fafc;
}

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

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

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

.benefit {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.benefit:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.benefit-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-direction: column;
    align-items: center;
}

.benefit-icon {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 10px 24px rgba(30,64,175,0.25);
    margin-bottom: 0.25rem;
}

.benefit-icon i { font-size: 1.8rem; }

.benefit-category {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1f2937;
    letter-spacing: 0.3px;
    margin-top: 0.25rem;
}

.benefit-emoji { font-size: 1.25rem; }

.benefit-body {
    color: #6b7280;
    line-height: 1.7;
    margin: 0.25rem 0 0.5rem;
}

.benefit-quote {
    color: var(--accent-blue);
    font-weight: 700;
    margin: 0;
}

/* Audiences Section */
.audiences {
    padding: 100px 0;
}

.audiences-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.audience-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 200px;
    height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.audience-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    cursor: pointer;
}

.audience-media {
    height: 160px;
    background-size: cover;
    background-position: center;
}

.media-gym { background-image: linear-gradient(120deg, rgba(30,64,175,0.15), rgba(15,23,42,0.25)), url('../assets/gym.jpg'); }
.media-yoga { background-image: linear-gradient(120deg, rgba(59,130,246,0.15), rgba(16,185,129,0.25)), url('../assets/yoga.jpg'); }
.media-club { background-image: linear-gradient(120deg, rgba(234,88,12,0.2), rgba(30,64,175,0.25)), url('../assets/clubfitness.jpg'); }
.media-office { background-image: linear-gradient(120deg, rgba(99,102,241,0.2), rgba(2,132,199,0.25)), url('../assets/pilates.jpg'); }
.media-pilates { background-image: linear-gradient(120deg, rgba(16,185,129,0.2), rgba(30,64,175,0.2)), url('../assets/pilates.jpg'); }
.media-personaltrainer { background-image: linear-gradient(120deg, rgba(16,185,129,0.2), rgba(30,64,175,0.2)), url('../assets/personaltrainer.jpg'); }
.audience-body {
    padding: 1.25rem;
}

.audience-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.audience-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.35rem;
}

.audience-body p {
    color: #6b7280;
    font-size: 0.95rem;
}

.audience-list {
    list-style: none;
    padding: 0;
    margin: 0.25rem 0 0;
    display: grid;
    gap: 0.35rem;
}

.audience-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4b5563;
    font-size: 0.95rem;
}

.audience-list i {
    color: var(--primary-green);
    font-size: 0.9rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #1f2937;
}

.section-header p {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

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

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.8rem;
    color: white;
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.service-card p {
    color: #6b7280;
    line-height: 1.7;
}

/* Management Features Section */
.management-features {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--navy-blue) 0%, var(--gray-900) 100%);
    color: white;
}

.features-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.features-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.features-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.features-list {
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

.feature-item i {
    color: var(--primary-green);
    margin-right: 1rem;
    font-size: 1.2rem;
    min-width: 20px;
}

.feature-item span {
    font-size: 1rem;
    line-height: 1.4;
}

/* Mobile Dashboard */
.mobile-dashboard {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    border-radius: 20px;
    padding: 2rem;
    color: white;
    max-width: 400px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.3);
}

.mobile-dashboard::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(30px, -30px);
}

.dashboard-header {
    text-align: center;
    margin-bottom: 2rem;
}

.dashboard-brand {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    color: white;
}

.dashboard-greeting {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.greeting-text {
    color: white;
}

.help-button {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
}

.dashboard-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.metric-card {
    border-radius: 12px;
    padding: 1.5rem;
    color: white;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.metric-blue {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
}

.metric-orange {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.metric-red {
    background: linear-gradient(135deg, #ef4444, #b91c1c);
}

.metric-yellow {
    background: linear-gradient(135deg, #60a5fa, #2563eb);
}

.bandera-item{
    width: 30px;
    height: 30px;
    object-fit: contain;
    border-radius: 50%;
    margin: 0 10px;
}

/* Flags container and states */
.banderas-container{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    padding: 6px 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.bandera-item{
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, outline 0.15s ease;
}

.bandera-item:hover{
    transform: translateY(-2px) scale(1.05);
}

.bandera-item.active{
    box-shadow: 0 0 0 3px rgba(59,130,246,0.25), 0 6px 14px rgba(0,0,0,0.12);
}

.bandera-item:focus{
    outline: 3px solid rgba(30,64,175,0.35);
    outline-offset: 2px;
}

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

.metric-green-money {
    background: linear-gradient(135deg, #22c55e, #059669);
}

.metric-red-expense {
    background: linear-gradient(135deg, #f43f5e, #be123c);
}

.metric-number {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.metric-icon {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
}

.metric-icon i {
    font-size: 1.2rem;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: var(--white);
}

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

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.testimonial-logo {
    margin-bottom: 1.5rem;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo {
    max-height: 80px;
    max-width: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.testimonial-card:hover .client-logo {
    filter: grayscale(0%);
}

.client-logo-placeholder {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.testimonial-card .stars {
    margin-bottom: 1rem;
}

.testimonial-card .stars i {
    color: #fbbf24;
    margin: 0 2px;
}

.testimonial-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--gray-800);
}

.testimonial-card p {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-blue);
}

/* Logos Marquee under Testimonials */
.logos-marquee {
    margin-top: 3rem;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.logos-track {
    display: flex;
    align-items: center;
    gap: 48px;
    width: max-content;
    animation: marqueeScroll 80s linear infinite;
}

.logos-item {
    height: 70px;
    width: auto;
    filter: grayscale(20%);
    object-fit: contain;
    transition: opacity 0.2s ease, filter 0.2s ease, transform 0.2s ease;
}

.logos-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

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

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: var(--gray-50);
}

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

.faq-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--gray-200);
}

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

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

.faq-question i {
    color: var(--primary-blue);
    transition: transform 0.3s ease;
}

.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: 1.5rem 2rem;
    max-height: 200px;
}

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

/* App Download Section */
.app-download {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: white;
}

.app-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.app-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.app-text h5 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--light-blue);
    font-weight: 600;
}

.app-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.app-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.app-button {
    display: block;
    transition: all 0.3s ease;
}

.app-button:hover {
    transform: scale(1.05);
}

.store-badge {
    height: 60px;
    width: auto;
}

.cta-section-contact {
    margin-top: 2rem;
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    z-index: 1;
}

/* Pricing Tabs */
.pricing-tabs {
    margin: 3rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.tab-buttons {
    display: flex;
    background: white;
    border-radius: 12px;
    padding: 0.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    gap: 0.25rem;
}

.tab-button {
    background: transparent;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-600);
}

.tab-button:hover {
    background: var(--light-blue);
    color: white;
}

.tab-button.active {
    background: var(--primary-blue);
    color: white;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.tab-button i {
    font-size: 1rem;
}

/* Billing Toggle */
.billing-toggle {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.toggle-label {
    font-weight: 600;
    color: var(--gray-700);
}

.discount {
    color: var(--primary-green);
    font-weight: 700;
    font-size: 0.9rem;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--gray-300);
    transition: 0.4s;
    border-radius: 30px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary-blue);
}

input:checked + .slider:before {
    transform: translateX(30px);
}

/* Pricing Cards Container */
.pricing-cards-container {
    position: relative;
    min-height: auto;
}

.pricing-region {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    min-height: auto;
}

.pricing-region.active {
    opacity: 1;
    visibility: visible;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    border: 2px solid var(--primary-blue);
    transform: scale(1.02);
    color: white;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
}

.pricing-card.featured .price .amount,
.pricing-card.featured .price .currency,
.pricing-card.featured .price .period {
    color: white;
}

.pricing-card.featured .pricing-header h3 {
    color: white;
}

/* Improve savings visibility on featured card */
.pricing-card.featured .price { text-shadow: 0 1px 2px rgba(0,0,0,0.25); }
.pricing-card.featured .annual-savings { color: #fff; gap: 8px; flex-wrap: wrap; }
.pricing-card.featured .discount-pill {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
}
.pricing-card.featured .billing-note { color: rgba(255, 255, 255, 0.95); }

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

.popular-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    padding: 8px 45px;
    font-size: 0.8rem;
    font-weight: 700;
    transform: rotate(45deg);
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

/* Improve badge contrast on featured (blue) card */
.pricing-card.featured .popular-badge {
    background: linear-gradient(135deg, #ffffff, #f1f5f9);
    color: var(--primary-blue);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

/* Gold Plan Styles */
.pricing-card.gold {
    border: 2px solid transparent;
    background: white;
    position: relative;
    overflow: hidden;
}

.pricing-card.gold::before { display: none; }

/* @keyframes goldShimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
} */

.gold-badge {
    position: absolute;
    top: 10px;
    right: -35px;
    background: linear-gradient(135deg, #ffd700, #ffed4a);
    color: #8b4513;
    padding: 8px 60px;
    font-size: 0.9rem;
    font-weight: 700;
    transform: rotate(45deg);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.pricing-card.gold:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 70px rgba(255, 215, 0, 0.3);
    border-color: #ffed4a;
}

.pricing-card.gold .pricing-header h3 { color: var(--gray-800); text-shadow: none; }
.pricing-card.gold .amount { color: var(--primary-blue); text-shadow: none; }
.pricing-card.gold .currency { color: var(--gray-400); }
.pricing-card.gold .period { color: var(--gray-300); }

/* .btn-gold {
    background: linear-gradient(135deg, #ffd700, #ffed4a);
    color: #8b4513;
    border: 2px solid #ffd700;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
} */

.btn-gold:hover {
    background: linear-gradient(135deg, #ffed4a, #ffd700);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    color: #6b3410;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--gray-800);
    font-weight: 700;
}

.price {
    margin-bottom: 1.5rem;
    padding: 0.5rem 0;
}

/* Smooth price transitions when switching billing */
.price .amount,
.price .period,
.annual-savings {
    transition: opacity 0.22s ease, transform 0.22s ease;
    will-change: opacity, transform;
}
.switch-out {
    opacity: 0;
    transform: translateY(-6px);
}
.switch-in {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .price .amount,
    .price .period,
    .annual-savings {
        transition: none !important;
    }
}

.currency {
    font-size: 1.2rem;
    vertical-align: top;
    color: var(--gray-400);
    font-weight: 600;
}

.amount {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin: 0 0.1rem;
}

.period {
    font-size: 1rem;
    color: var(--gray-300);
    font-weight: 500;
}

/* Annual billing emphasis */
.price.annual-active .amount {
    font-size: 2.3rem;
    color: var(--dark-blue);
}

.annual-savings {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
}

.original-annual {
    color: var(--gray-400);
    text-decoration: line-through;
    font-weight: 600;
}

/* Original monthly price (strikethrough) shown above note in annual mode */
.original-monthly {
    color: var(--gray-400);
    text-decoration: line-through;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Improve contrast for original price on featured card */
.pricing-card.featured .original-monthly { color: rgba(255,255,255,0.9); }

/* Billing note shown for annual mode with monthly billing */
.billing-note {
    color: var(--gray-500);
    font-weight: 600;
    font-size: 0.8rem;
    display: block;
    text-align: center;
}

.discount-pill {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    letter-spacing: 0.2px;
}

.pricing-features {
    list-style: none;
    margin: 1.5rem 0;
    text-align: left;
    padding: 0;
}

.pricing-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Ensure the choose plan button sticks to the bottom of the card */
.pricing-card .btn,
.pricing-card .btn-outline,
.pricing-card .btn-primary,
.pricing-card .btn-secondary {
    margin-top: auto;
}

.pricing-features .fa-check {
    color: var(--primary-green);
    font-size: 1rem;
    min-width: 16px;
}

.pricing-features .fa-times {
    color: var(--gray-400);
    font-size: 1rem;
    min-width: 16px;
}

/* Access Control Section */
.access-control {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.access-control::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M30 30c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10zm10 0c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    opacity: 0.1;
}

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

.access-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.access-text h2 .smartgym-brand {
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.access-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
}

.access-features {
    margin: 2rem 0;
}

.access-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.access-feature:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(10px);
}

.access-feature .fa-check-circle {
    color: #fff;
    font-size: 1.2rem;
    margin-top: 2px;
    min-width: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.access-feature span {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
}

.access-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.access-image-container {
    position: relative;
    max-width: 400px;
    width: 100%;
}

.molinete-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}
.arrow-icon {
    width: 100%;
    color: white;
}

.arrow-icon-down {
    width: 100%;
    color: white;
    transform: scaleY(-1);
}

.molinete-image:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
}

.access-notification {
    position: absolute;
    top: -10px;
    right: -20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-width: 200px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: float 3s ease-in-out infinite;
}

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

.notification-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.notification-content {
    display: flex;
    flex-direction: column;
}

.notification-title {
    font-size: 0.85rem;
    color: var(--gray-600);
    font-weight: 500;
}

.notification-status {
    font-size: 0.95rem;
    color: var(--gray-800);
    font-weight: 700;
}

/* Responsive Design for Access Control */
@media (max-width: 1024px) {
    .access-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .access-text h2 {
        font-size: 2.2rem;
    }
    
    .access-notification {
        right: 0;
        position: relative;
        margin: 2rem auto 0;
        max-width: 250px;
    }
}

@media (max-width: 768px) {
    .access-control {
        padding: 80px 0;
    }
    
    .access-content {
        gap: 2rem;
    }
    
    .access-text h2 {
        font-size: 1.8rem;
    }
    
    .access-text p {
        font-size: 1rem;
    }
    
    .access-feature {
        padding: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .access-feature span {
        font-size: 0.9rem;
    }
    
    .access-image-container {
        max-width: 300px;
    }
    
    .access-notification {
        padding: 0.8rem 1rem;
        min-width: 180px;
    }
}

@media (max-width: 480px) {
    .access-text h2 {
        font-size: 1.6rem;
    }
    
    .access-feature {
        flex-direction: column;
        text-align: left;
        gap: 0.5rem;
    }
    
    .access-image-container {
        max-width: 250px;
    }
    
    .notification-content {
        font-size: 0.8rem;
    }
}

/* Electronic Billing Section */
.electronic-billing {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--navy-blue) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.electronic-billing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M30 30c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10zm10 0c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    opacity: 0.1;
}

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

.billing-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.billing-text h2 .smartgym-brand {
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.billing-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.billing-header {
    margin-bottom: 1.5rem;
}

.billing-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
}

.billing-features {
    margin: 2rem 0;
}

.billing-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.billing-feature:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.billing-feature i {
    color: #fff;
    font-size: 1.2rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.billing-feature span {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    line-height: 1.6;
}

.billing-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.billing-image-container {
    position: relative;
    max-width: 400px;
    width: 100%;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.dgi-logo {
    width: 100%;
    height: auto;
    object-fit: contain;
}

@media (max-width: 1024px) {
    .billing-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .billing-text h2 {
        font-size: 2.2rem;
    }
    
    .billing-image-container {
        max-width: 350px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .electronic-billing {
        padding: 80px 0;
    }
    
    .billing-content {
        gap: 2rem;
    }
    
    .billing-text h2 {
        font-size: 1.8rem;
    }
    
    .billing-text p {
        font-size: 1rem;
    }
    
    .billing-feature {
        padding: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .billing-feature span {
        font-size: 0.9rem;
    }
    
    .billing-image-container {
        max-width: 300px;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .billing-text h2 {
        font-size: 1.6rem;
    }
    
    .billing-feature {
        flex-direction: column;
        text-align: left;
        gap: 0.5rem;
    }
    
    .billing-image-container {
        max-width: 250px;
        padding: 1rem;
    }
}

/* Billing Page Styles */
.billing-hero {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--navy-blue) 100%);
    color: white;
    text-align: center;
}

.billing-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.billing-hero-logo {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dgi-logo-hero {
    max-width: 250px;
    width: 100%;
    height: auto;
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    object-fit: contain;
}

.billing-hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.billing-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.billing-hero-description {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
}

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

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

.hero-feature-item i {
    color: #fff;
    font-size: 1.1rem;
}

.hero-feature-item span {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
}

.billing-hero-cta-text {
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 1.5rem;
    text-decoration: underline;
}

.billing-problem,
.billing-solution,
.billing-how-it-works,
.billing-benefits,
.billing-target,
.billing-compliance {
    padding: 80px 0;
}

.billing-problem {
    background: #f8fafc;
}

.billing-solution {
    background: white;
}

.billing-how-it-works {
    background: #f8fafc;
}

.billing-benefits {
    background: white;
}

.billing-target {
    background: #f8fafc;
}

.billing-compliance {
    background: white;
}

.billing-section-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
}

.billing-section-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--gray-800);
}

.section-intro {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--gray-600);
}

.problem-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.problem-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.problem-item i {
    color: #ef4444;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.problem-item span {
    font-size: 1.1rem;
    color: var(--gray-800);
    font-weight: 500;
}

.problem-solution {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2rem;
    color: var(--gray-800);
}

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

.solution-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--navy-blue) 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.solution-grid {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 1.25rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.solution-card {
    background: white;
    padding: 1.75rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    flex: 1;
    max-width: 240px;
}

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

.solution-card i {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 0.75rem;
    flex-shrink: 0;
}

.solution-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    line-height: 1.4;
    margin: 0;
}

.solution-note {
    text-align: center;
    margin-top: 2rem;
    padding: 1rem;
    background: #eff6ff;
    border-radius: 12px;
    color: var(--primary-blue);
    font-weight: 600;
}

.solution-note i {
    margin-right: 0.5rem;
}

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

.step-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.step-number {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gray-800);
    line-height: 1.5;
}

.steps-conclusion {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 2rem;
    color: var(--gray-800);
    text-decoration: underline;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 220px;
    border: 1px solid #e2e8f0;
}

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

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--gray-800);
    line-height: 1.3;
    flex-grow: 0;
}

.benefit-card p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.target-list {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 1.25rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.target-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.75rem 1.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    min-width: 180px;
    flex: 1;
    max-width: 220px;
    text-align: center;
}

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

.target-item i {
    color: var(--primary-blue);
    font-size: 2rem;
    flex-shrink: 0;
    margin-bottom: 0.25rem;
}

.target-item span {
    font-size: 1rem;
    color: var(--gray-800);
    font-weight: 600;
    line-height: 1.4;
}

.compliance-list {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 1.25rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.compliance-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.75rem 1.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    min-width: 200px;
    flex: 1;
    max-width: 280px;
    text-align: center;
}

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

.compliance-item i {
    color: var(--primary-blue);
    font-size: 2rem;
    flex-shrink: 0;
    margin-bottom: 0.25rem;
}

.compliance-item span {
    font-size: 1rem;
    color: var(--gray-800);
    font-weight: 600;
    line-height: 1.4;
}

.compliance-message {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 2rem;
    color: var(--gray-800);
    line-height: 1.8;
}

.billing-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--navy-blue) 100%);
    color: white;
    text-align: center;
}

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

.billing-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

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

.cta-note {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 1.5rem;
}

@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .benefit-card {
        min-height: 200px;
        padding: 1.75rem;
    }
    
    .benefit-icon {
        font-size: 2.25rem;
        margin-bottom: 0.875rem;
    }
    
    .benefit-card h3 {
        font-size: 1.1rem;
    }
    
    .benefit-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .billing-hero {
        padding: 120px 0 80px;
    }

    .billing-hero h1 {
        font-size: 2rem;
    }
    
    .billing-hero-description {
        font-size: 1.1rem;
    }
    
    .billing-hero-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .dgi-logo-hero {
        max-width: 200px;
        padding: 1rem;
    }
    
    .billing-hero-logo {
        margin-bottom: 1.5rem;
    }
    
    .billing-section-content h2 {
        font-size: 2rem;
    }
    
    .problem-list {
        grid-template-columns: 1fr;
    }
    
    .solution-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .solution-card {
        max-width: 100%;
        width: 100%;
        min-width: auto;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .benefit-card {
        min-height: auto;
        padding: 1.5rem;
    }
    
    .benefit-icon {
        font-size: 2rem;
        margin-bottom: 0.75rem;
        min-height: 40px;
    }
    
    .benefit-card h3 {
        font-size: 1.05rem;
        margin-bottom: 0.625rem;
    }
    
    .benefit-card p {
        font-size: 0.875rem;
    }
    
    .target-list {
        flex-direction: column;
        align-items: center;
    }
    
    .target-item {
        max-width: 100%;
        width: 100%;
        min-width: auto;
    }
    
    .compliance-list {
        flex-direction: column;
        align-items: center;
    }
    
    .compliance-item {
        max-width: 100%;
        width: 100%;
        min-width: auto;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .billing-cta h2 {
        font-size: 1.8rem;
    }
}

/* Area Pages Styles */
.area-hero {
    padding: 150px 0 100px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    position: relative;
}

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

.area-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.area-hero-description {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
}

.area-about,
.area-benefits {
    padding: 80px 0;
}

.area-about {
    background: white;
}

.area-benefits {
    background: #f8fafc;
}

.area-section-content {
    max-width: 1200px;
    margin: 0 auto;
}

.area-section-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--gray-800);
}

.section-intro {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--gray-600);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.area-image-container {
    margin: 3rem auto;
    max-width: 1000px;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.area-image-container:hover {
    transform: scale(1.02);
}

.area-main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.area-secondary-image {
    width: 100%;
    min-height: 550px;
    object-fit: cover;
    object-position:top;
    /* alinear arriba */

}

.area-video-features-wrapper {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    margin: 3rem 0;
}

.area-image-features-wrapper {
    display: block;
    margin: 5rem 0rem;
}
.area-image-features-wrapper img {
    width: 100% !important;
    height: auto !important;
}

.area-video-container {
    display: flex;
    align-items: center;
    justify-content: left;
    flex-direction: column;
    min-height: 400px;
    padding: 2rem;
    flex: 0 0 400px;
    border-radius: 20px;
    position: sticky;
    top: 100px;
    align-self: flex-start;
}

.area-main-video {
    width: 100%;
    max-width: 350px;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    display: block;
    border-radius: 20px;
}

.area-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.area-video-features-wrapper .area-features-grid {
    flex: 1;
    grid-template-columns: repeat(2, 1fr);
    margin: 0;
}

.access-advanced {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
}

.access-advanced-content {
    text-align: center;
}

.access-advanced-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.access-advanced-intro {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 auto 3rem;
    max-width: 800px;
    line-height: 1.6;
}

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

.access-option-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 18px;
    padding: 2rem;
    text-align: left;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
}

.access-option-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.access-option-header i {
    font-size: 1.6rem;
    color: var(--primary-green);
}

.access-option-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.access-option-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: grid;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
}

.access-option-list li {
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.5;
}

.access-option-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-green);
    position: absolute;
    left: 0;
    top: 0.55rem;
}

.access-option-note {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.access-option-pill {
    background: rgba(16, 185, 129, 0.18);
    color: var(--primary-green);
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85rem;
}

.access-option-price {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
}

.access-advanced-footnote {
    margin-top: 2.5rem;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.16);
    color: rgba(255, 255, 255, 0.9);
    display: inline-flex;
    gap: 0.6rem;
    align-items: center;
    font-weight: 600;
}

.access-advanced-footnote i {
    color: var(--primary-green);
}

.access-options-layout {
    display: grid;
    grid-template-columns: minmax(200px, 260px) 1fr;
    gap: 2.5rem;
    align-items: start;
    margin: 2.5rem 0;
}

.access-options-media {
    display: flex;
    justify-content: center;
}

.access-options-image {
    width: 100%;
    max-width: 440px;
    height: auto;
    max-height: 520px;
    object-fit: contain;
    display: block;
    border-radius: 10px;
}

.access-options-image-molinete {
    width: 100%;
    max-width: 340px;
    object-fit: contain;
    display: block;
    border-radius: 1rem;
    margin: 2rem 0 ;
}

.area-feature-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: all 0.3s ease;
}

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

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

.area-feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gray-800);
}

.area-feature-card p {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.area-feature-card .feature-description {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.5;
    margin-top: 0.5rem;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 900px;
    margin: 2rem auto;
}

.benefit-item {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-blue);
}

.benefit-item i {
    color: var(--primary-green);
    font-size: 1.8rem;
    flex-shrink: 0;
}

.benefit-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: var(--gray-800);
}

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

.area-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--navy-blue) 100%);
    color: white;
    text-align: center;
}

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

.area-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.area-cta p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.area-cta .cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Pain Points Section */
.area-pain-points {
    padding: 100px 0;
    background: #f8fafc;
}

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

.pain-points-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 2rem auto;
}

.pain-point-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-left: 4px solid #dc2626;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.pain-point-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

.pain-point-item i {
    color: #dc2626;
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.pain-point-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pain-point-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #991b1b;
    display: block;
}

.pain-point-description {
    font-size: 0.9rem;
    color: #7f1d1d;
    line-height: 1.5;
    margin: 0;
    opacity: 0.8;
}

/* How to Start Section */
.area-how-to-start {
    padding: 100px 0;
    background: #f8fafc;
}

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

.step-card {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid #bae6fd;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(30, 64, 175, 0.15);
    border-color: var(--primary-blue);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.3);
}

.step-card i {
    color: var(--primary-blue);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.step-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

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

.help-box {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 16px;
    border: 2px solid #bae6fd;
}

.help-box i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.help-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.help-box p {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.help-box .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .area-hero {
        padding: 120px 0 80px;
    }
    
    .area-hero h1 {
        font-size: 2rem;
    }
    
    .area-hero-description {
        font-size: 1.1rem;
    }
    
    .area-section-content h2 {
        font-size: 2rem;
    }
    
    .section-intro {
        font-size: 1rem;
    }
    
    .area-features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .benefit-item {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .area-image-container {
        margin: 2rem auto;
        border-radius: 16px;
    }
    
    .area-main-image {
        height: 250px;
    }
    
    .area-secondary-image {
        height: 220px;
    }
    
    .area-video-features-wrapper {
        flex-direction: column;
        gap: 2rem;
    }
    
    .area-video-container {
        flex: 1;
        min-height: 300px;
        padding: 1.5rem;
        max-width: 100%;
        position: relative;
        top: auto;
    }
    
    .area-main-video {
        max-width: 100%;
        max-height: 500px;
    }
    
    .area-video-features-wrapper .area-features-grid {
        flex: 1;
        grid-template-columns: 1fr;
    }

    .area-image-features-wrapper {
        margin: 2rem 1rem;
        text-align: center;
    }

    .area-image-features-wrapper h2 {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .area-image-features-wrapper .area-secondary-image {
        min-height: 0;
        max-height: 320px;
        object-fit: contain;
    }

    .area-media-caption {
        margin: 1rem auto 0;
        max-width: 100%;
        text-align: left;
    }

    .access-options-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .access-options-image {
        max-width: 200px;
    }

    .access-advanced-content h2 {
        font-size: 2rem;
    }
    
    .area-cta h2 {
        font-size: 1.8rem;
    }
    
    .area-cta .cta-buttons {
        flex-direction: column;
    }
    
    .pain-points-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pain-point-item {
        padding: 1rem 1.25rem;
    }
    
    .pain-point-title {
        font-size: 1rem;
    }
    
    .pain-point-description {
        font-size: 0.85rem;
    }
    
    .benefit-item {
        padding: 1.25rem 1.5rem;
    }
    
    .benefit-content h3 {
        font-size: 1.1rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .step-card {
        padding: 2rem 1.5rem;
    }
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: white;
    position: relative;
    z-index: 2;
    clear: both;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #1f2937;
}

.contact-info p {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-item h4 {
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: #1f2937;
}

.contact-item p {
    color: #6b7280;
    margin: 0;
}

.contact-form {
    background: #f8fafc;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

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

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

/* Support Section */
.support {
    padding: 80px 0;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.support-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.support h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gray-800);
}

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

.support-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.support-logo {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    width: 250px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.support-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.support-logo-img {
    max-height: 80px;
    max-width: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(0%);
    transition: all 0.3s ease;
}

.support-logo:hover .support-logo-img {
    transform: scale(1.05);
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 800;
    justify-content: center;
    color: var(--light-blue);
}

.footer-logo-img {
    height: 150px;
    width: 150px;
    object-fit: contain;
}

.footer-section p {
    margin-bottom: 1.5rem;
    opacity: 0.8;
    line-height: 1.6;
}

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

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

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

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

/* Responsive Design - Tablets */
@media (max-width: 1024px) and (min-width: 769px) {
    .pricing-cards-container {
        min-height: 900px; /* Altura media para tablets */
    }

    .pricing-region {
        min-height: 900px;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu .nav-link {
        color: var(--gray-700);
    }

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

    .nav-menu.active {
        left: 0;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        justify-content: center;
    }

    /* Mobile background adjustments */
    .hero {
        background-attachment: scroll; /* Fixed attachment can cause issues on mobile */
        background-position: center right; /* Focus on equipment area */
    }

    .mosaic-grid {
        grid-template-rows: repeat(2, 120px);
        max-width: 380px;
    }

    .collage-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 140px 140px;
        grid-template-areas:
            'a b'
            'c d';
        max-width: 420px;
    }

    .benefits-grid {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        max-width: 300px;
    }

    .benefit-card {
        padding: 1.2rem;
        width: 100%;
        max-width: 300px;
        height: 200px;
    }

    .benefit-card h4 {
        font-size: 0.95rem;
    }

    .benefit-card p {
        font-size: 0.8rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .features-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .features-text h2 {
        font-size: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .tab-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .tab-button {
        padding: 0.8rem 1.5rem;
    }

    .billing-toggle {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    /* Mobile Pricing - Improved Grid */
    .pricing-tabs {
        margin: 2rem 0;
        gap: 1.5rem;
    }

    .tab-buttons {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    .tab-button {
        padding: 0.8rem 1.5rem;
        width: 100%;
        justify-content: center;
    }

    .billing-toggle {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        width: 100%;
        padding: 1rem;
    }

    .pricing-cards-container {
        min-height: auto;
        position: relative;
    }

    .pricing-region {
        min-height: auto;
    }

    .pricing-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0;
        margin-top: 1rem;
    }

    .pricing-card {
        min-width: auto;
        width: 100%;
        max-width: 100%;
        padding: 2rem 1.5rem;
        margin: 0;
    }

    .pricing-card.featured {
        transform: none;
        order: -1; /* Mostrar el plan destacado primero */
    }

    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }

    .pricing-card.gold {
        order: 1; /* Mostrar el plan gold al final */
    }

    .pricing-header h3 {
        font-size: 1.4rem;
    }

    .price {
        margin-bottom: 1rem;
    }

    .amount {
        font-size: 2rem;
    }

    .pricing-features {
        margin: 1rem 0;
    }

    .pricing-features li {
        padding: 0.4rem 0;
        font-size: 0.9rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .app-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .app-text h2 {
        font-size: 2rem;
    }

    .support-logos {
        gap: 2rem;
        flex-direction: column;
    }

    .support-logo {
        width: 280px;
        height: 140px;
    }

    .support h2 {
        font-size: 1.8rem;
    }

    .mobile-dashboard {
        max-width: 100%;
        padding: 1.5rem;
    }

    .dashboard-metrics {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .metric-card {
        min-height: 100px;
        padding: 1.2rem;
    }

    .metric-number {
        font-size: 1.5rem;
    }

    .metric-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .hero-buttons {
        gap: 0.5rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .service-card {
        padding: 2rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .support-logo {
        width: 260px;
        height: 130px;
        padding: 1.5rem;
    }

    .support h2 {
        font-size: 1.6rem;
    }

    .mobile-dashboard {
        padding: 1rem;
        margin: 0;
    }

    .dashboard-greeting {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .metric-number {
        font-size: 1.3rem;
    }

    .metric-label {
        font-size: 0.75rem;
    }

    /* Pricing for very small screens */
    .pricing-card {
        padding: 1.5rem 1rem;
    }

    .pricing-header h3 {
        font-size: 1.2rem;
    }

    .amount {
        font-size: 1.8rem;
    }

    .pricing-features li {
        font-size: 0.85rem;
        padding: 0.3rem 0;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
        width: 100%;
    }

    .popular-badge,
    .gold-badge {
        font-size: 0.7rem;
        padding: 6px 35px;
    }
}

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

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

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

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

.privacy-page .nav-link {
    color: white !important;
}

.privacy-page .nav-link:hover {
    color: var(--light-blue) !important;
}

.privacy-page  .nav-logo .logo-text{
    color: white !important;
}

.terms-page .nav-link {
    color: white !important;
}

.terms-page .nav-link:hover {
    color: var(--light-blue) !important;
}

@media (max-width: 768px) {
    .social-links {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
}

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

h3 i{
    font-size: 5px !important;
}
