/* SMSBulk PRO - Estilos principales */

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #34495e;
    --accent-color: #f39c12;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --background: #ffffff;
    --background-secondary: #f8fafc;
    --border-color: #e2e8f0;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--background);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

/* Main content spacing for fixed header */


.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.navbar-brand .logo {
    height: 40px;
    width: auto;
}

.navbar-brand .brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
}

.navbar-brand:hover .brand-text {
    color: var(--primary-dark);
}

.navbar-nav {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.navbar-nav a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s;
}

.navbar-nav a:hover {
    color: var(--primary-color);
}

.navbar-actions {
    display: flex;
    gap: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-lg {
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-success {
    background: var(--success-color);
    color: white;
}

.btn-success:hover {
    background: #059669;
    transform: translateY(-2px);
}

/* Demo Grid */
.demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .demo-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .demo-hero-content h1 {
        font-size: 2rem;
    }
    
    .country-flag {
        justify-content: center;
    }
    
    .hero-benefits {
        justify-content: center;
    }
    
    .demo-badges {
        gap: 0.5rem;
    }
    
    .demo-controls {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .phone-mockup {
        width: 200px;
        height: 350px;
        padding: 1.5rem 0.75rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .legal-content {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .faq-content {
        margin: 0 1rem;
    }
    
    .code-example {
        font-size: 0.8rem;
        padding: 1rem;
    }
    
    .demo-stats {
        grid-template-columns: 1fr;
    }
    
    .navbar .container {
        flex-wrap: wrap;
    }
    
    .navbar-menu {
        display: none;
        width: 100%;
        order: 3;
        margin-top: 1rem;
    }
    
    .navbar-menu.active {
        display: block;
    }
    
    .navbar-nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0;
        border-top: 1px solid var(--border-color);
    }
    
    .navbar-actions {
        gap: 0.5rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        max-width: 100%;
    }
    
    .hero-content {
        max-width: 100%;
        padding-right: 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .hero-image {
        padding: 0.5rem;
        border-radius: 1rem;
        margin-top: 2rem;
    }
    
    .hero-image:hover {
        transform: none;
    }
    
    .dashboard-preview {
        border-radius: 0.75rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
        justify-content: center;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .features h2,
    .pricing h2,
    .testimonials h2,
    .cta h2 {
        font-size: 2rem;
    }
}

/* Clase para iconos */
.icon-download {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: middle;
}

/* Clase alternativa para Bootstrap Icons */
.bi-download::before {
    content: "\f1c6";
}

/* Custom Icon Classes */
.icon-check::before {
    content: "\f26a"; /* Bootstrap Icons check circle */
    font-family: "bootstrap-icons";
}

.icon-email::before {
    content: "\f32f"; /* Bootstrap Icons envelope */
    font-family: "bootstrap-icons";
}

.icon-phone::before {
    content: "\f4e4"; /* Bootstrap Icons telephone */
    font-family: "bootstrap-icons";
}

.icon-clock::before {
    content: "\f292"; /* Bootstrap Icons clock */
    font-family: "bootstrap-icons";
}

/* Font Awesome Icon Styles */
.fas, .fab, .far {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

/* Icon spacing in lists */
ul li .fas, ul li .fab, ul li .far {
    margin-right: 0.75rem;
    width: 1.2em;
    text-align: center;
}

/* Feature icons */
.feature-icon .fas {
    font-size: 2.5rem;
    color: white;
    margin-right: 0;
}

/* Contact icons */
.contact-icon .fas {
    font-size: 2rem;
    color: white;
    margin-right: 0;
}

/* Benefit icons */
.benefit-icon .fas {
    font-size: 2.5rem;
    color: white;
    margin-right: 0;
}

/* Stats icons */
.stat .fas {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

/* FAQ icons */
.faq-item h4 .fas {
    margin-right: 0.75rem;
    color: var(--primary-color);
}

/* Hero stats icons */
.hero-stats .stat-item .fas {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: block;
}

/* Main stats section icons */
.stats .stat-item .fas {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

/* Responsive icon adjustments */
@media (max-width: 768px) {
    .feature-icon .fas {
        font-size: 2rem;
    }
    
    .contact-icon .fas {
        font-size: 1.5rem;
    }
    
    .benefit-icon .fas {
        font-size: 2rem;
    }
    
    .hero-stats .stat-item .fas {
        font-size: 1.2rem;
    }
    
    ul li .fas, ul li .fab, ul li .far {
        margin-right: 0.5rem;
        width: 1em;
    }
}

@media (max-width: 480px) {
    .feature-icon .fas {
        font-size: 1.8rem;
    }
    
    .contact-icon .fas {
        font-size: 1.3rem;
    }
    
    .benefit-icon .fas {
        font-size: 1.8rem;
    }
}

/* Hero visual con banderas */
.country-hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.country-flag-large {
    width: 120px;
    height: 80px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    object-fit: cover;
}

.country-flag-large:hover {
    transform: scale(1.05) rotate(2deg);
}

.sms-hero-image {
    max-width: 300px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
}

@media (max-width: 768px) {
    .country-hero-visual {
        flex-direction: column;
        gap: 1rem;
    }
    
    .country-flag-large {
        width: 80px;
        height: 53px;
    }
    
    .sms-hero-image {
        max-width: 200px;
    }
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-medium {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
}



.btn-accent {
    background: var(--accent-color);
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-accent:hover {
    background: #e67e22;
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background: #2c3e50;
}

/* Hero Section */
.hero {
    padding: 4rem 0 4rem;
    background: var(--primary-color);
    color: white;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
    max-width: 1400px;
    padding-top: 0;
}

.hero-content {
    max-width: 700px;
    padding-right: 1rem;
    padding-top: 0;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.hero h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    opacity: 0.9;
    line-height: 1.4;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
}

.secondary-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.trial-info {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-image {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 480px;
    margin: 0 auto;
    align-self: start;
}

.hero-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 35px 60px -12px rgba(0, 0, 0, 0.35);
}

.dashboard-preview {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    object-fit: cover;
    transition: transform 0.3s ease;
    filter: brightness(1.05) contrast(1.1);
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: var(--background-secondary);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);  /* Esto crea el círculo azul */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

/* Pricing Section */
.pricing {
    padding: 4rem 0;
}

.pricing h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.pricing-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    position: relative;
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'Más Popular';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin: 1rem 0;
}

.price .amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price .currency,
.price .period {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.savings {
    background: var(--success-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-top: 0.5rem;
}

.features-list {
    list-style: none;
    margin: 2rem 0;
}

.features-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.features-list li:last-child {
    border-bottom: none;
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 0;
    background: white;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--background-secondary);
    padding: 2rem;
    border-radius: 1rem;
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-primary);
    margin: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.author-info h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--text-primary);
}

.author-info span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.testimonial-stats {
    display: flex;
    gap: 1rem;
}

.testimonial-stats .stat {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Stats Section */
.stats {
    padding: 3rem 0;
    background: var(--accent-color);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    background: var(--background-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.benefits-list {
    margin-bottom: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.benefit-item i {
    color: var(--success-color);
    font-size: 1.2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
    width: 20px;
}



.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
    line-height: 1.4;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.btn-full {
    width: 100%;
}

.form-disclaimer {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 1rem;
    line-height: 1.4;
}

/* CTA Section */
.cta {
    padding: 4rem 0;
    background: var(--primary-color);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.guarantee {
    font-size: 0.9rem;
    margin-top: 1rem;
    opacity: 0.8;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Responsive */
@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .navbar-menu {
        display: block !important;
    }
    
    .navbar-nav {
        flex-direction: row !important;
        gap: 2rem !important;
        padding: 0 !important;
        border-top: none !important;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        flex-wrap: wrap;
    }
    
    .navbar-menu {
        display: none;
        width: 100%;
        order: 3;
        margin-top: 1rem;
    }
    
    .navbar-menu.active {
        display: block;
    }
    
    .navbar-nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0;
        border-top: 1px solid var(--border-color);
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form {
        order: -1;
    }
    
    .features h2,
    .pricing h2,
    .testimonials h2,
    .cta h2 {
        font-size: 2rem;
    }
}

.author-avatar.female {
    background: linear-gradient(135deg, #e91e63, #f06292);
}

.author-avatar.male {
    background: linear-gradient(135deg, #2196f3, #64b5f6);
}

/* Responsive - Additional Rules */

@media (max-width: 480px) {
    .hero {
        padding: 6rem 0 3rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 1.3rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.75rem;
    }
}

/* Sección duplicada eliminada - mantener solo la primera declaración */

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1400px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.trial-info {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: var(--background-secondary);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

/* Pricing Section */
.pricing {
    padding: 4rem 0;
}

.pricing h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    position: relative;
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'Más Popular';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin: 1rem 0;
}

.price .amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price .currency,
.price .period {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.savings {
    background: var(--success-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-top: 0.5rem;
}

.features-list {
    list-style: none;
    margin: 2rem 0;
}

.features-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.features-list li:last-child {
    border-bottom: none;
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 0;
    background: white;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--background-secondary);
    padding: 2rem;
    border-radius: 1rem;
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-primary);
    margin: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.author-info h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--text-primary);
}

.author-info span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.testimonial-stats {
    display: flex;
    gap: 1rem;
}

.testimonial-stats .stat {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Stats Section */
.stats {
    padding: 3rem 0;
    background: var(--accent-color);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    background: var(--background-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.benefits-list {
    margin-bottom: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.benefit-item i {
    color: var(--success-color);
    font-size: 1.2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
    width: 20px;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
    line-height: 1.4;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.btn-full {
    width: 100%;
}

.form-disclaimer {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 1rem;
    line-height: 1.4;
}

/* CTA Section */
.cta {
    padding: 4rem 0;
    background: var(--primary-color);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.guarantee {
    font-size: 0.9rem;
    margin-top: 1rem;
    opacity: 0.8;
}




/* Contact Page Styles */
.contact-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.contact-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contact-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-badges .badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.contact-form-section {
    padding: 4rem 0;
}

.contact-form-container {
    width: 100%;
    max-width: 600px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form-container h2 {
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.char-counter {
    text-align: right;
    font-size: 0.875rem;
    color: #666;
    margin-top: 0.25rem;
}

.checkbox-group {
    margin: 2rem 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    width: auto;
    max-width: 300px;
}

.btn-loading {
    opacity: 0.7;
}

.alert {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
}

.alert-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.alert-success h3 {
    margin: 0 0 0.5rem 0;
    color: #155724;
}

.alert-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.contact-info {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 1rem;
    height: fit-content;
}

.contact-info h3 {
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e1e8ed;
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-details h4 {
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
    font-size: 1rem;
}

.contact-details p {
    margin: 0.25rem 0;
    color: #666;
    font-size: 0.9rem;
}

.contact-social {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e1e8ed;
}

.contact-social h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.social-links {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.social-link {
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #e1e8ed;
    border-radius: 0.5rem;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.875rem;
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.contact-faq {
    background: #f8f9fa;
    padding: 4rem 0;
}

.contact-faq h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.faq-item h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.faq-cta {
    text-align: center;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Responsive Design for Contact Page */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-hero-content h1 {
        font-size: 2rem;
    }
    
    .contact-badges {
        justify-content: center;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Country Pages Styles */
.country-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.country-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.country-flag {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.country-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.country-benefits {
    padding: 5rem 0;
    background: #f8f9fa;
}

.country-benefits h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--text-primary);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.benefit-card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1.3rem;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
}

.country-use-cases {
    padding: 5rem 0;
}

.country-use-cases h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--text-primary);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.use-case {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--primary-color);
}

.use-case-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.use-case-header h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.2rem;
}

.industry {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 500;
}

.use-case p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.use-case-stats {
    display: flex;
    gap: 1rem;
}

.use-case-stats span {
    background: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
}

.country-pricing {
    padding: 5rem 0;
    background: #f8f9fa;
}

.country-pricing h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    color: var(--text-primary);
}

.pricing-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    color: #666;
}

.pricing-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-header h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1.5rem;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.currency {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.period {
    font-size: 1rem;
    color: #666;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.5rem 0;
    color: #666;
    border-bottom: 1px solid #f0f0f0;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-footer {
    text-align: center;
}

.sms-price {
    display: block;
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 1rem;
}

.pricing-note {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.pricing-note p {
    margin: 0.5rem 0;
    color: #666;
}

.country-local-info {
    padding: 5rem 0;
}

.country-local-info h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--text-primary);
}

.local-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.info-card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1.2rem;
}

.info-card p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.country-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.cta-contact {
    opacity: 0.9;
}

.cta-contact p {
    margin: 0.5rem 0;
    font-size: 1rem;
}

/* Country-specific hero backgrounds */
.mx-hero {
    background: linear-gradient(135deg, #006847, #ce1126);
}

.co-hero {
    background: linear-gradient(135deg, #fcdd09, #003893);
}

.ar-hero {
    background: linear-gradient(135deg, #74acdf, #ffffff, #74acdf);
    color: #333;
}

.cl-hero {
    background: linear-gradient(135deg, #0039a6, #ffffff, #d52b1e);
}

.pe-hero {
    background: linear-gradient(135deg, #d91023, #ffffff, #d91023);
    color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .country-hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .benefits-grid,
    .use-cases-grid,
    .pricing-grid,
    .local-info-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .use-case-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .use-case-stats {
        flex-wrap: wrap;
    }
}

/* Action Buttons Section */
.action-buttons {
    padding: 3rem 0;
    background: var(--background-secondary);
    text-align: center;
}

.action-buttons h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.action-buttons p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Accesibilidad y SEO */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip links para accesibilidad */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 9999;
}

.skip-link:focus {
    top: 6px;
}

/* Mejoras de contraste para accesibilidad */
.high-contrast {
    filter: contrast(150%);
}

/* Focus visible mejorado */
*:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Animaciones respetan preferencias del usuario */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Mejoras para lectores de pantalla */
[aria-hidden="true"] {
    display: none !important;
}

/* Action Buttons Section */
.action-buttons {
    padding: 3rem 0;
    background: var(--background-secondary);
    text-align: center;
}

.action-buttons h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.action-buttons p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Estilos para datos estructurados */
.structured-data {
    display: none;
}

/* Legal Pages */
.legal-page {
    padding: 6rem 0 4rem;
    background: #f8fafc;
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
}

.legal-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: 1rem;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.legal-section p {
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Country Hero Sections */
.hero-country {
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.country-flag {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.flag-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.flag-emoji {
    font-size: 2.5rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    transition: transform 0.3s ease;
}

.flag-emoji:hover {
    transform: scale(1.1);
}

.country-name {
    font-size: 1.5rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Iconos SVG de banderas como alternativa */
.flag-icon {
    width: 40px;
    height: 30px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
    display: inline-block;
    background-size: cover;
    background-position: center;
}

.flag-icon:hover {
    transform: scale(1.05);
}

.flag-icon.mx {
    background: linear-gradient(to bottom, #006847 33%, #ffffff 33%, #ffffff 66%, #ce1126 66%);
}

.flag-icon.co {
    background: linear-gradient(to bottom, #fcdd09 50%, #003893 50%, #ce1126 75%);
}

.flag-icon.ar {
    background: linear-gradient(to bottom, #74acdf 33%, #ffffff 33%, #ffffff 66%, #74acdf 66%);
    position: relative;
}

.flag-icon.ar::after {
    content: '☀';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #f6b40e;
    font-size: 12px;
}

.flag-icon.cl {
    background: linear-gradient(to right, #0039a6 40%, #ffffff 40%);
    position: relative;
}

.flag-icon.cl::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 50%;
    background: #d52b1e;
}

.flag-icon.cl::after {
    content: '★';
    position: absolute;
    top: 25%;
    left: 20%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 10px;
}

.flag-icon.pe {
    background: linear-gradient(to right, #d91023 33%, #ffffff 33%, #ffffff 66%, #d91023 66%);
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.pricing-country {
    padding: 4rem 0;
    background: #f8fafc;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-align: left;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-align: left;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
    text-align: left;
    padding-left: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
    text-align: left;
}

.footer-section ul li a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    text-align: left;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-section p {
    color: #cbd5e0;
    margin-bottom: 0.5rem;
    text-align: left;
    line-height: 1.6;
}

.footer-section .social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: flex-start;
}

.footer-section .social-links a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s;
    padding: 0.5rem 0;
}

.footer-section .social-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #4a5568;
    padding-top: 1rem;
    text-align: center;
    color: #a0aec0;
}

/* FAQ Pages */
.legal-page {
    padding: 6rem 0 4rem;
    background: #f8fafc;
}

.faq-header {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-top: 1rem;
}

.faq-content {
    max-width: 900px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 3rem;
}

.faq-category h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.faq-item {
    background: white;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Demo Pages */
.demo-hero {
    padding: 6rem 0 4rem; /* Aumentado de 4rem a 6rem */
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
}

.demo-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.demo-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.demo-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.demo-interactive {
    padding: 4rem 0;
    background: #f8fafc;
}

.demo-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s;
}

.demo-card:hover {
    transform: translateY(-5px);
}

.demo-card-header {
    padding: 1.5rem;
    background: var(--primary-color);
    color: white;
}

.demo-card-header h3 {
    margin: 0;
    font-size: 1.3rem;
}

.demo-card-header p {
    margin: 0.5rem 0 0;
    opacity: 0.9;
}

.demo-card-content {
    padding: 2rem;
}

/* SMS Simulator */
.sms-simulator {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 250px;
    height: 450px;
    background: #1a202c;
    border-radius: 2rem;
    padding: 2rem 1rem;
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #f7fafc;
    border-radius: 1rem;
    padding: 1rem;
    overflow-y: auto;
}

.sms-message {
    margin-bottom: 1rem;
}

.message-bubble {
    background: var(--primary-color);
    color: white;
    padding: 0.75rem;
    border-radius: 1rem 1rem 0.25rem 1rem;
    max-width: 80%;
    margin-left: auto;
    word-wrap: break-word;
}

.message-time {
    font-size: 0.7rem;
    color: #a0aec0;
    text-align: right;
    margin-top: 0.25rem;
}

.message-controls {
    margin-top: 1rem;
}

.char-counter {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

/* Bulk Demo */
.bulk-demo {
    max-width: 400px;
    margin: 0 auto;
}

.contact-list {
    background: #f8fafc;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
    max-height: 200px;
    overflow-y: auto;
}

.contact-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    background: white;
    border-radius: 0.25rem;
    font-size: 0.9rem;
}

.contact-name {
    font-weight: 500;
    color: var(--text-primary);
}

.contact-phone {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.status {
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.7rem;
    font-weight: 500;
}

.status.pending {
    background: #fef3c7;
    color: #92400e;
}

.status.sent {
    background: #d1fae5;
    color: #065f46;
}

.status.failed {
    background: #fee2e2;
    color: #991b1b;
}

.demo-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.demo-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.demo-stats .stat-item {
    text-align: center;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 0.5rem;
}

.demo-stats .stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.demo-stats .stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

/* API Demo */
.api-demo {
    max-width: 500px;
    margin: 0 auto;
}

.code-example {
    background: #1a202c;
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    overflow-x: auto;
}

.code-example pre {
    margin: 0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
}

.api-response {
    margin-bottom: 1rem;
}

.response-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 1rem;
    min-height: 100px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    white-space: pre-wrap;
}

.demo-cta {
    padding: 4rem 0;
    background: var(--primary-color);
    color: white;
    text-align: center;
}

.cta-content h2 {
    margin-bottom: 1rem;
}

.cta-content p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Benefits and Use Cases */
.hero-benefits {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.hero-benefits .benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.benefits-country {
    padding: 4rem 0;
    background: white;
}

.use-cases-country {
    padding: 4rem 0;
    background: #f8fafc;
}

.use-case-item {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.use-case-item h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.local-info {
    padding: 4rem 0;
    background: white;
}

.cta-country {
    padding: 4rem 0;
    background: var(--primary-color);
    color: white;
}

/* Section Subtitle */
.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Contact */
.hero-contact {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    margin-top: 80px;
}

.hero-contact .hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1.3fr;
    gap: 3rem;
    align-items: start;
    max-width: 1300px;
    margin: 0 auto;
}

.hero-contact .hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-contact .hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-contact .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.hero-contact .stat-item {
    text-align: center;
    padding: 1rem;
}

.hero-contact .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.hero-contact .stat-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 400;
}

.contact-form-container {
    background: #ffffff;
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    color: #1f2937;
    max-width: 600px;
    width: 100%;
    border: 1px solid #e5e7eb;
    min-width: 480px;
}



.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.contact-form .form-row .form-group {
    margin-bottom: 0;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #d1d5db;
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background: #ffffff;
    color: #1f2937;
    line-height: 1.5;
    font-weight: 500;
}

.contact-form input::placeholder,
.contact-form select::placeholder,
.contact-form textarea::placeholder {
    color: #6b7280;
    font-weight: 400;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    transform: translateY(-1px);
    color: #111827;
}

.contact-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 1rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 3rem;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.contact-form .btn {
    width: 100%;
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.contact-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.3);
}

.contact-form .btn:active {
    transform: translateY(0);
}

.contact-form .btn i {
    font-size: 1rem;
}

/* Contact Info Section */
.contact-info {
    padding: 4rem 0;
    background: var(--background-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info .contact-item {
    text-align: center;
    padding: 2.5rem 2rem;
    background: white;
    border-radius: 1.2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contact-info .contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 1.2rem 1.2rem 0 0;
}

.contact-info .contact-item:hover {
    transform: translateY(-5px);
}

.contact-info .contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.6rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.contact-info h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: -0.02em;
    flex-shrink: 0;
}

.contact-info p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.contact-info p br {
    line-height: 2;
}

/* Action Buttons Section */
.action-buttons {
    padding: 4rem 0;
    background: white;
}

.action-buttons h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.action-buttons p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Contact FAQ Section */
.contact-faq {
    padding: 4rem 0;
    background: var(--background-secondary);
}

.contact-faq h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 3rem;
    text-align: center;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.faq-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.faq-item h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Alert Messages */
.alert {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid transparent;
}

.alert-success {
    background-color: #d1fae5;
    border-color: #10b981;
    color: #065f46;
}

.alert-error {
    background-color: #fee2e2;
    border-color: #ef4444;
    color: #991b1b;
}

/* Responsive Design for Contact Page */
@media (max-width: 768px) {
    .hero-contact {
        padding: 6rem 0 3rem;
        margin-top: 60px;
    }
    
    .hero-contact .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .hero-contact .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-contact .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-contact .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .hero-contact .stat-number {
        font-size: 2rem;
    }
    
    .hero-contact .stat-label {
        font-size: 0.8rem;
    }
    
    .contact-form-container {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
        border-radius: 1rem;
        max-width: 550px;
        min-width: 320px;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 1.5rem;
    }
    
    .contact-form .form-row .form-group {
        margin-bottom: 1.5rem;
    }
    
    .contact-form .form-row .form-group:last-child {
        margin-bottom: 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .contact-info .contact-item {
        height: 260px;
        padding: 2rem 1.5rem;
        margin: 0;
    }
    
    .contact-info .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
        margin-bottom: 1.2rem;
    }
    
    .contact-info h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .contact-info p {
        font-size: 0.95rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-contact {
        padding: 5rem 0 2rem;
    }
    
    .hero-contact .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-contact .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-form-container {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem;
        border-radius: 1rem;
        min-width: 300px;
        max-width: 100%;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .contact-info .contact-item {
        height: 240px;
        padding: 1.5rem 1rem;
        margin: 0;
        border-radius: 1rem;
    }
    
    .contact-info .contact-icon {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .contact-info h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .contact-info p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
    
    .contact-form .btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .contact-faq h2 {
        font-size: 2rem;
    }
    
    .faq-item {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr !important;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .checkbox-group {
        margin: 1rem 0;
    }
    
    .checkbox-label {
        font-size: 0.85rem;
    }
}
