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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Increased paragraph size for better readability */
p {
    font-size: 1.2rem;
    line-height: 1.8;
}

/* OneMore International brand styling */
.brand-name {
    font-weight: 700;
}

/* Ultra highlighted "TOTALMENTE GRATIS" */
.highlight-free {
    background: linear-gradient(45deg, #ffd700, #ffed4a, #ffd700);
    background-size: 200% 200%;
    animation: gradientShift 2s ease-in-out infinite;
    color: #1e3a8a;
    font-weight: 900;
    font-size: 1.3em;
    text-decoration: underline;
    text-decoration-color: #1e3a8a;
    text-decoration-thickness: 3px;
    text-underline-offset: 3px;
    padding: 0.2rem 0.4rem;
    margin: 0 0.2rem;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.5);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    border: 2px solid #ffd700;
    display: inline-block;
    position: relative;
    white-space: nowrap;
}

.highlight-free::before {
    content: '🎁';
    margin-right: 0.3rem;
}

.highlight-free::after {
    content: '🎁';
    margin-left: 0.3rem;
}

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

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

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

/* Header Styles */
.header {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    transform: translateY(0);
    transition: transform 0.3s ease-in-out;
    border-bottom: 3px solid #ffd700;
}

.header.header-hidden {
    transform: translateY(-100%);
}

.header.header-visible {
    transform: translateY(0);
}

.navbar {
    padding: 1rem 0;
    position: relative;
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #ffd700 0%, #ffed4a 50%, #ffd700 100%);
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

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

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

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

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #ffd700;
}

/* Google Translate Styles */
#google_translate_element {
    margin-left: 1rem;
}

#google_translate_element .goog-te-combo {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    color: white;
    padding: 5px 10px;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

#google_translate_element .goog-te-combo:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffd700;
}

#google_translate_element .goog-te-combo option {
    background: #333;
    color: white;
}

/* Ocultar el banner de Google Translate */
.goog-te-banner-frame {
    display: none !important;
}

.goog-te-menu-value {
    color: white !important;
}

.goog-te-gadget {
    font-family: 'Montserrat', sans-serif !important;
}

.goog-te-gadget .goog-te-combo {
    margin: 0 !important;
}

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 120px 0 60px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-title .highlight {
    color: #ffd700;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: #ffd700;
    color: #333;
}

.btn-primary:hover {
    background: #ffed4a;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #333;
}

.btn-large {
    padding: 20px 40px;
    font-size: 1.1rem;
}

.hero-video-container {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    background: #000;
}

.hero-video-container video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffd700;
    margin-bottom: 0.5rem;
}

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

/* Section Styles */
section {
    padding: 80px 0;
}

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

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

.section-header p {
    font-size: 1.3rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Company Section */
.company {
    background: #f8f9fa;
}

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

.company-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.card-icon {
    font-size: 3rem;
    color: #2563eb;
    margin-bottom: 1rem;
}

.company-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.company-card p {
    color: #666;
    line-height: 1.6;
}

.leadership {
    margin-bottom: 4rem;
}

.leadership h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

/* CEO Highlight Section */
.ceo-highlight {
    margin-bottom: 3rem;
}

.ceo-container {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    align-items: center;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 3rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.ceo-container::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,215,0,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.ceo-image {
    position: relative;
    flex-shrink: 0;
}

.ceo-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ffd700;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.ceo-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: #ffd700;
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.ceo-badge i {
    color: #2563eb;
}

.ceo-info {
    position: relative;
}

.ceo-info h4 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #ffd700;
}

.ceo-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
    opacity: 0.9;
}

.ceo-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.ceo-achievements {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.achievement-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.2);
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
}

.achievement-badge i {
    color: #ffd700;
    font-size: 1.2rem;
}

.achievement-badge span {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Leadership Grid (para otros líderes) */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.leader {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    height: 100%;
}

.leader-image {
    flex-shrink: 0;
}

.leader-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.leader-image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.leader-info h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.leader-info .title {
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 1rem;
}

.leader-info p {
    color: #666;
    line-height: 1.6;
}

.achievements h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

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

.achievement {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.achievement i {
    font-size: 3rem;
    color: #ffd700;
    margin-bottom: 1rem;
}

.achievement h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.achievement p {
    color: #666;
    line-height: 1.6;
}

/* Technology Section */
.technology {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
}

.technology .section-header h2,
.technology .section-header p {
    color: white;
}

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

.tech-explanation h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #ffd700;
}

.tech-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.step-number {
    background: #ffd700;
    color: #333;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #ffd700;
}

.step-content p {
    opacity: 0.9;
    line-height: 1.6;
}

.tech-benefits h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #ffd700;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.benefits-list i {
    color: #ffd700;
    font-size: 1.2rem;
}

/* Products Section */
.products {
    background: #f8f9fa;
}

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

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-content {
    padding: 2rem;
}

.product-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.product-content p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.product-benefits {
    list-style: none;
    padding: 0;
}

.product-benefits li {
    color: #2563eb;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.product-benefits li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ffd700;
    font-weight: 700;
}

/* Opportunity Section */
.opportunity {
    background: white;
}

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

.opportunity-card {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.opportunity-card .card-icon {
    font-size: 3rem;
    color: #ffd700;
    margin-bottom: 1rem;
}

.opportunity-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.opportunity-card p {
    opacity: 0.9;
    line-height: 1.6;
}

.income-levels {
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 20px;
}

.income-levels h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

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

.level {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.level h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.level .income {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 1rem;
}

.level p {
    color: #666;
    line-height: 1.6;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4a 100%);
    color: #333;
    text-align: center;
}

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

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
    position: relative;
}

.cta-content p::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #ffd700 0%, #ffed4a 50%, #ffd700 100%);
    border-radius: 2px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

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

.cta-buttons .btn-primary {
    background: #333;
    color: white;
}

.cta-buttons .btn-primary:hover {
    background: #555;
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: #333;
    border: 2px solid #333;
}

.cta-buttons .btn-secondary:hover {
    background: #333;
    color: white;
}

/* Contact Section */
.contact {
    background: #f8f9fa;
}

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

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.contact-icon {
    font-size: 3rem;
    color: #2563eb;
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.consultant-full-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

.consultant-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.consultant-name #consultantUsername {
    color: #1e40af;
    font-weight: 700;
    background: linear-gradient(135deg, #e7f3ff 0%, #bfdbfe 100%);
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
    border: 1px solid #3b82f6;
    font-family: 'Courier New', monospace;
}


.contact-card p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.contact-card .btn {
    margin: 0.5rem;
}

.btn-success {
    background: #25d366;
    color: white;
}

.btn-success:hover {
    background: #1da851;
}

.contact-benefits {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-benefits h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

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

.benefit-item {
    text-align: center;
    padding: 1.5rem;
}

.benefit-item i {
    font-size: 2.5rem;
    color: #2563eb;
    margin-bottom: 1rem;
}

.benefit-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.benefit-item p {
    color: #666;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 3rem 0 1rem;
    box-shadow: 0 -8px 32px rgba(0,0,0,0.25);
    border-top: 3px solid #ffd700;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #ffd700;
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

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

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

.footer-section ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
}


.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    opacity: 0.8;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.footer-bottom a {
    color: #ffd700;
    text-decoration: none;
}

.disclaimer {
    font-size: 0.9rem;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: linear-gradient(135deg, rgba(30, 58, 138, 0.95) 0%, rgba(59, 130, 246, 0.95) 100%);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 8px 32px rgba(0,0,0,0.25);
        padding: 2rem 0;
        backdrop-filter: blur(10px);
        border-bottom: 3px solid #ffd700;
    }

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

    .nav-toggle {
        display: flex;
    }
    
    #google_translate_element {
        margin: 1rem 0;
    }
    
    #google_translate_element .goog-te-combo {
        padding: 8px 15px;
        font-size: 16px;
        border-radius: 25px;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

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

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

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

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

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-content {
        grid-template-columns: 1fr;
    }

    .leader {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .leadership-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .leader-image img {
        width: 80px;
        height: 80px;
    }
    
    .leader-info h4 {
        font-size: 1.1rem;
    }
    
    .leader-info .title {
        font-size: 0.9rem;
    }
    
    .leader-info p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* Business For Home responsive */
    .bfh-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1rem;
        text-align: center;
    }
    
    .bfh-badge {
        min-width: auto;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .bfh-info h3 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .bfh-description {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .bfh-achievements {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .achievement-item {
        padding: 0.8rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .achievement-icon {
        font-size: 1.5rem;
    }
    
    .achievement-text h4 {
        font-size: 0.9rem;
    }
    
    .achievement-text p {
        font-size: 0.8rem;
    }
    
    .bfh-quote {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .bfh-quote blockquote {
        font-size: 1rem;
    }
    
    /* Products responsive */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-card {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .product-content {
        padding: 1.5rem;
    }
    
    .product-content h3 {
        font-size: 1.3rem;
        line-height: 1.3;
    }
    
    .product-content p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .product-benefits li {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }

    .stat {
        padding: 1rem;
    }

    .stat h3 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .cta-content h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .btn-large {
        padding: 15px 25px;
        font-size: 0.95rem;
    }
    
    /* Fix leadership section for very small screens */
    .leadership-grid {
        gap: 1rem;
    }
    
    .leader {
        padding: 1rem;
        gap: 0.8rem;
    }
    
    .leader-info h4 {
        font-size: 1rem;
        line-height: 1.3;
    }
    
    .leader-info .title {
        font-size: 0.85rem;
    }
    
    .leader-info p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    /* CEO section adjustments */
    .ceo-container {
        padding: 1rem;
        gap: 1rem;
    }
    
    .ceo-info h4 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .ceo-description {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    /* General text adjustments for very small screens */
    p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .highlight-free {
        font-size: 1.1em;
        padding: 0.15rem 0.3rem;
        margin: 0 0.1rem;
        border-radius: 4px;
    }
    
    /* Product cards */
    .product-card {
        padding: 1rem;
    }
    
    .product-content h3 {
        font-size: 1.2rem;
    }
    
    /* Testimonials */
    .testimonial-card {
        padding: 1rem;
    }
    
    .testimonial-content p {
        font-size: 0.95rem;
        padding-left: 1.5rem;
    }
    
    /* Business For Home mobile */
    .bfh-content {
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .bfh-info h3 {
        font-size: 1.5rem;
    }
    
    .bfh-achievements {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .achievement-item {
        padding: 1rem;
    }
    
    .achievement-text h4 {
        font-size: 1rem;
    }
    
    .achievement-text p {
        font-size: 0.85rem;
    }
    
    /* Products mobile */
    .product-content {
        padding: 1rem;
    }
    
    .product-content h3 {
        font-size: 1.1rem;
    }
    
    .product-content p {
        font-size: 0.9rem;
    }
    
    .product-benefits li {
        font-size: 0.85rem;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .leader-info h4 {
        font-size: 0.95rem;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .leader-info .title {
        font-size: 0.8rem;
    }
    
    .leader-info p {
        font-size: 0.8rem;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .ceo-info h4 {
        font-size: 1.3rem;
        word-wrap: break-word;
    }
    
    .ceo-description {
        font-size: 0.8rem;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    /* Force text to wrap */
    * {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .nav-logo img {
        height: 30px;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    /* Business For Home very small screens */
    .bfh-content {
        padding: 1rem;
    }
    
    .bfh-info h3 {
        font-size: 1.3rem;
        line-height: 1.3;
    }
    
    .bfh-description {
        font-size: 0.85rem;
    }
    
    .achievement-text h4 {
        font-size: 0.9rem;
    }
    
    .achievement-text p {
        font-size: 0.8rem;
    }
    
    /* Products very small screens */
    .product-content h3 {
        font-size: 1rem;
    }
    
    .product-content p {
        font-size: 0.85rem;
    }
    
    .product-benefits li {
        font-size: 0.8rem;
    }
}

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

.company-card,
.product-card,
.opportunity-card,
.achievement,
.leader {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading state */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-top: 2px solid #2563eb;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
}

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

/* Legal Pages */
.legal-page {
    padding: 120px 0 60px;
    background: #f8f9fa;
    min-height: 100vh;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.legal-content h1 {
    color: #333;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.last-updated {
    text-align: center;
    color: #666;
    font-style: italic;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e0e0e0;
}

.legal-section {
    margin-bottom: 2rem;
}

.legal-section h2 {
    color: #2563eb;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.legal-section h3 {
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    margin-top: 1.5rem;
}

.legal-section p {
    color: #444;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.legal-section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-section li {
    color: #444;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.legal-section a {
    color: #2563eb;
    text-decoration: none;
}

.legal-section a:hover {
    text-decoration: underline;
}

.back-to-home {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e0e0e0;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

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

.testimonial-content {
    position: relative;
}

.quote-icon {
    position: absolute;
    top: -10px;
    left: -10px;
    font-size: 3rem;
    color: #2563eb;
    opacity: 0.3;
}

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

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.2rem;
}

.author-info span {
    font-size: 0.9rem;
    color: #666;
}

.author-rating {
    display: flex;
    gap: 0.2rem;
}

.author-rating i {
    color: #ffd700;
    font-size: 1rem;
}

.testimonials-highlight {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.testimonials-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.highlight-container {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: center;
}

.highlight-icon {
    font-size: 4rem;
    color: #2563eb;
    text-align: center;
}

.highlight-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.highlight-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 2rem;
}

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

.testimonial-stats .stat-item {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.testimonial-stats .stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #2563eb;
}

.testimonial-stats .stat-item strong {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.testimonial-stats .stat-item span {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonials-highlight {
        padding: 2rem;
    }
    
    .highlight-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .highlight-icon {
        font-size: 3rem;
    }
    
    .highlight-content h3 {
        font-size: 1.5rem;
    }
    
    .testimonial-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .testimonial-stats .stat-item {
        padding: 1rem;
    }
    
    .testimonial-stats .stat-item strong {
        font-size: 2rem;
    }
}

/* Chat Welcome Bubble */
.chat-welcome-bubble {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    padding: 0;
    max-width: 280px;
    z-index: 10000;
    display: none;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    transition: all 0.3s ease;
    cursor: pointer;
}

.chat-welcome-bubble.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.bubble-content {
    padding: 20px;
    position: relative;
}

.bubble-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    font-weight: bold;
    line-height: 1;
}

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

.bubble-content p {
    margin: 0 0 8px 0;
    color: #333;
    font-size: 14px;
    line-height: 1.4;
}

.bubble-content p:first-of-type {
    font-weight: 600;
    margin-bottom: 5px;
}

.bubble-content p:last-of-type {
    color: #2563eb;
    font-size: 13px;
    margin-bottom: 0;
}

.bubble-cta {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white !important;
    padding: 8px 12px;
    border-radius: 15px;
    font-size: 12px !important;
    font-weight: 600;
    text-align: center;
    margin-top: 10px !important;
    margin-bottom: 0 !important;
}

.bubble-arrow {
    position: absolute;
    bottom: -8px;
    right: 30px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid white;
}

@media (max-width: 768px) {
    .chat-welcome-bubble {
        right: 20px;
        bottom: 80px;
        max-width: 250px;
    }
    
    .bubble-content {
        padding: 15px;
    }
    
    .bubble-content p {
        font-size: 13px;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    color: white;
    padding: 20px;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text h4 {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.cookie-text p {
    margin: 0;
    line-height: 1.4;
    font-size: 0.9rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-buttons .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    white-space: nowrap;
}

.cookie-link {
    color: #ffd700;
    text-decoration: none;
    font-size: 0.9rem;
    white-space: nowrap;
}

.cookie-link:hover {
    text-decoration: underline;
}

/* Distributor Info Section */
.distributor-info {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    padding: 40px 0;
    color: white;
}

.distributor-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem 3rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 800px;
    margin: 0 auto;
}

.distributor-icon {
    font-size: 3rem;
    color: #ffd700;
    flex-shrink: 0;
}

.distributor-content {
    flex: 1;
    text-align: center;
}

.distributor-text {
    font-size: 1.2rem;
    margin: 0;
    line-height: 1.5;
}

.distributor-name {
    font-weight: 700;
    color: #ffd700;
    font-size: 1.3rem;
}

.distributor-id {
    font-weight: 600;
    color: #ffd700;
    font-family: 'Courier New', monospace;
    background: rgba(255, 215, 0, 0.2);
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
}

.distributor-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 215, 0, 0.2);
    padding: 1rem;
    border-radius: 15px;
    border: 2px solid #ffd700;
    flex-shrink: 0;
}

.distributor-badge i {
    font-size: 2rem;
    color: #ffd700;
}

.distributor-badge span {
    font-weight: 600;
    font-size: 0.9rem;
    color: #ffd700;
}

/* Business For Home Rating Section */
.bfh-rating {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4a 100%);
    padding: 60px 0;
    color: #333;
}

.bfh-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    align-items: center;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.bfh-badge {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    border-radius: 15px;
    min-width: 200px;
}

.bfh-logo {
    font-size: 3rem;
    color: #ffd700;
    margin-bottom: 1rem;
}

.bfh-stars {
    display: flex;
    justify-content: center;
    gap: 0.2rem;
    font-size: 1.5rem;
    color: #ffd700;
    margin-bottom: 1rem;
}

.bfh-rating-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.rating-score {
    font-size: 1.5rem;
    font-weight: 700;
}

.rating-reviews {
    font-size: 0.9rem;
    opacity: 0.9;
}

.bfh-info h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1rem;
}

.bfh-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.bfh-achievements {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.achievement-icon {
    font-size: 2rem;
    color: #2563eb;
}

.achievement-text h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: #333;
}

.achievement-text p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.bfh-quote {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #2563eb;
    margin-bottom: 2rem;
}

.bfh-quote blockquote {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0 0 1rem 0;
    color: #444;
}

.bfh-quote cite {
    font-weight: 600;
    color: #2563eb;
}

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

/* Certifications Section */
.certifications {
    background: white;
    padding: 80px 0;
}

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

.certification-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.certification-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.2);
    border-color: #2563eb;
}

.cert-logo {
    font-size: 3.5rem;
    color: #2563eb !important;
    margin-bottom: 1rem;
    text-align: center;
}

.cert-logo i {
    color: #2563eb !important;
    display: block;
}

.certification-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.certification-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.cert-features {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cert-tag {
    background: #2563eb;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 500;
}

.certifications-highlight {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 3rem;
    border-radius: 20px;
}

.highlight-container {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: center;
}

.certifications-highlight .highlight-icon {
    font-size: 4rem;
    color: #ffd700;
    flex-shrink: 0;
}

.certifications-highlight .highlight-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #ffd700;
}

.certifications-highlight .highlight-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: white;
    opacity: 0.9;
}

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

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.stat-item strong {
    display: block;
    font-size: 1.5rem;
    color: #ffd700;
    margin-bottom: 0.3rem;
}

.stat-item span {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Countries Section */
.countries {
    background: #f8f9fa;
    padding: 80px 0;
}

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

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.stat-icon {
    font-size: 3rem;
    color: #2563eb;
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffd700;
    margin-bottom: 0.5rem;
}

.stat-card p {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.stat-card small {
    color: #666;
    font-size: 0.9rem;
}

.countries-highlight {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.highlight-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.highlight-icon {
    font-size: 4rem;
    color: #2563eb;
    flex-shrink: 0;
}

.highlight-text h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.highlight-text p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

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

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.feature i {
    color: #2563eb;
    font-size: 1.2rem;
}

.feature span {
    color: #333;
    font-weight: 500;
}

/* Grid improvements for 3x2 layout */
.opportunity-grid,
.levels-grid,
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 1024px) {
    .opportunity-grid,
    .levels-grid,
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bfh-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .countries-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .highlight-content {
        flex-direction: column;
        text-align: center;
    }
    
    .distributor-banner {
        flex-direction: column;
        gap: 1rem;
        padding: 2rem;
    }
    
    .ceo-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .ceo-achievements {
        justify-content: center;
    }
    
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .highlight-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .quality-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .opportunity-grid,
    .levels-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .countries-stats {
        grid-template-columns: 1fr;
    }
    
    .countries-features {
        grid-template-columns: 1fr;
    }
    
    .bfh-content {
        padding: 1.5rem 1rem;
        gap: 1.5rem;
    }
    
    .bfh-badge {
        padding: 1.5rem;
        min-width: auto;
    }
    
    .bfh-logo {
        font-size: 2.5rem;
    }
    
    .bfh-stars {
        font-size: 1.3rem;
    }
    
    .rating-score {
        font-size: 1.3rem;
    }
    
    .bfh-info h3 {
        font-size: 1.3rem;
    }
    
    .bfh-description {
        font-size: 0.95rem;
    }
    
    .bfh-achievements {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .bfh-rating {
        padding: 40px 0;
    }
    
    .bfh-content {
        padding: 1rem;
        gap: 1rem;
    }
    
    .bfh-badge {
        padding: 1rem;
        min-width: auto;
        width: 100%;
    }
    
    .bfh-logo {
        font-size: 2rem;
    }
    
    .bfh-stars {
        font-size: 1.2rem;
    }
    
    .rating-score {
        font-size: 1.2rem;
    }
    
    .bfh-info h3 {
        font-size: 1.2rem;
        line-height: 1.3;
    }
    
    .bfh-description {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .bfh-achievements {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .achievement-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem 0.5rem;
        gap: 0.5rem;
    }
    
    .achievement-icon {
        font-size: 1.3rem;
    }
    
    .achievement-text h4 {
        font-size: 0.85rem;
    }
    
    .achievement-text p {
        font-size: 0.75rem;
    }
    
    .bfh-quote {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .bfh-quote blockquote {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    /* Products mobile fixes */
    .products {
        padding: 60px 0 40px;
    }
    
    .products-grid {
        gap: 1rem;
    }
    
    .product-card {
        margin: 0;
        border-radius: 12px;
    }
    
    .product-image {
        height: 160px;
    }
    
    .product-content {
        padding: 1rem;
    }
    
    .product-content h3 {
        font-size: 1.1rem;
        line-height: 1.3;
        margin-bottom: 0.8rem;
    }
    
    .product-content p {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 0.8rem;
    }
    
    .product-benefits {
        margin-top: 0.8rem;
    }
    
    .product-benefits li {
        font-size: 0.8rem;
        margin-bottom: 0.2rem;
        line-height: 1.3;
        padding-left: 1.2rem;
    }
    
    .countries-highlight {
        padding: 2rem 1rem;
    }
    
    .distributor-banner {
        padding: 1.5rem 1rem;
    }
    
    .distributor-text {
        font-size: 1rem;
    }
    
    .distributor-name {
        font-size: 1.2rem;
    }
    
    .ceo-container {
        padding: 1.5rem 1rem;
        gap: 1.5rem;
    }
    
    .ceo-info h4 {
        font-size: 1.8rem;
    }
    
    .ceo-title {
        font-size: 1rem;
    }
    
    .ceo-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .ceo-image img {
        width: 100px;
        height: 100px;
        max-width: 100px;
    }
    
    
    .ceo-image img {
        width: 150px;
        height: 150px;
    }
    
    .achievement-badge {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
    }
    
    .certifications-highlight {
        padding: 2rem 1rem;
    }
    
    .highlight-content h3 {
        font-size: 1.5rem;
    }
    
    .highlight-content p {
        font-size: 1rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .legal-content {
        padding: 2rem 1rem;
    }
    
    .legal-content h1 {
        font-size: 2rem;
    }
}

/* Extra small mobile devices (360px and below) */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }
    
    /* Business For Home ultra mobile */
    .bfh-rating {
        padding: 30px 0;
    }
    
    .bfh-content {
        padding: 0.8rem;
        gap: 1rem;
        border-radius: 15px;
    }
    
    .bfh-badge {
        padding: 0.8rem;
        border-radius: 10px;
    }
    
    .bfh-logo {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    
    .bfh-stars {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .rating-score {
        font-size: 1.1rem;
    }
    
    .rating-reviews {
        font-size: 0.8rem;
    }
    
    .bfh-info h3 {
        font-size: 1.1rem;
        line-height: 1.2;
        margin-bottom: 0.8rem;
    }
    
    .bfh-description {
        font-size: 0.85rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .bfh-achievements {
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .achievement-item {
        padding: 0.8rem 0.3rem;
        gap: 0.3rem;
        border-radius: 8px;
    }
    
    .achievement-icon {
        font-size: 1.2rem;
    }
    
    .achievement-text h4 {
        font-size: 0.8rem;
        margin-bottom: 0.1rem;
    }
    
    .achievement-text p {
        font-size: 0.7rem;
        line-height: 1.2;
    }
    
    .bfh-quote {
        padding: 0.8rem;
        margin-bottom: 0.8rem;
        border-radius: 10px;
    }
    
    .bfh-quote blockquote {
        font-size: 0.85rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }
    
    .bfh-quote cite {
        font-size: 0.8rem;
    }
    
    /* Products ultra mobile */
    .products {
        padding: 50px 0 30px;
    }
    
    .products-grid {
        gap: 0.8rem;
    }
    
    .product-card {
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    }
    
    .product-image {
        height: 140px;
    }
    
    .product-content {
        padding: 0.8rem;
    }
    
    .product-content h3 {
        font-size: 1rem;
        line-height: 1.2;
        margin-bottom: 0.6rem;
    }
    
    .product-content p {
        font-size: 0.8rem;
        line-height: 1.3;
        margin-bottom: 0.6rem;
    }
    
    .product-benefits {
        margin-top: 0.6rem;
    }
    
    .product-benefits li {
        font-size: 0.75rem;
        margin-bottom: 0.15rem;
        line-height: 1.2;
        padding-left: 1rem;
    }
    
    .product-benefits li:before {
        font-size: 0.7rem;
    }
}

/* Dify Chatbot Positioning Fix */
/* Asegurar que el chatbot flote correctamente */
.dify-chatbot-container,
[data-testid="chat-app"],
#dify-chatbot-bubble-window,
.dify-chatbot-bubble-window {
    position: fixed !important;
    z-index: 10001 !important;
    bottom: 20px !important;
    right: 20px !important;
}

/* Botón del chatbot */
.dify-chatbot-bubble,
[data-testid="chat-bubble"],
#dify-chatbot-bubble-button {
    position: fixed !important;
    z-index: 10001 !important;
    bottom: 20px !important;
    right: 20px !important;
}

/* Ventana del chat abierta */
.dify-chatbot-window,
[data-testid="chat-window"],
#dify-chatbot-window {
    position: fixed !important;
    z-index: 10002 !important;
    bottom: 80px !important;
    right: 20px !important;
    width: 360px !important;
    height: 600px !important;
    max-height: 80vh !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3) !important;
}

/* Iframe del chatbot */
iframe[src*="dify"],
iframe[src*="chatbot"] {
    position: fixed !important;
    z-index: 10002 !important;
    border-radius: 12px !important;
}

/* Mobile responsive para chatbot */
@media (max-width: 768px) {
    .dify-chatbot-window,
    [data-testid="chat-window"],
    #dify-chatbot-window {
        width: calc(100vw - 40px) !important;
        max-width: 350px !important;
        height: 500px !important;
        bottom: 70px !important;
        right: 20px !important;
    }
    
    .dify-chatbot-bubble,
    [data-testid="chat-bubble"],
    #dify-chatbot-bubble-button {
        bottom: 15px !important;
        right: 15px !important;
    }
}

@media (max-width: 480px) {
    .dify-chatbot-window,
    [data-testid="chat-window"],
    #dify-chatbot-window {
        width: calc(100vw - 30px) !important;
        height: 450px !important;
        bottom: 60px !important;
        right: 15px !important;
    }
}