/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* WhatsApp-inspired color palette with improved contrast */
    --primary-green: #25D366;
    --dark-green: #0F7B6B;
    --darker-green: #064E3B;
    --light-green: #DCF8C6;
    --accent-blue: #34B7F1;
    --dark-blue: #1E3A8A;
    --text-dark: #111827;
    --text-medium: #374151;
    --text-light: #4B5563;
    --text-muted: #6B7280;
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-white);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
}

p {
    margin-bottom: 1.25rem;
    color: var(--text-medium);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-cta {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: var(--white);
    font-size: 1.1rem;
    padding: 1.25rem 2.5rem;
    box-shadow: var(--shadow-lg);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-whatsapp {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: var(--white);
    font-size: 1.2rem;
    padding: 1.5rem 3rem;
    border-radius: 50px;
    box-shadow: var(--shadow-xl);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-whatsapp:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 25px 50px -12px rgba(37, 211, 102, 0.4);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--gray-200);
    transition: transform 0.3s ease;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand h1 {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2rem;
    margin: 0;
}

/* Hero Section */
.hero {
    padding: 10rem 2rem 6rem;
    background: linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding-top: 10rem;
    padding-bottom: 6rem;
}

.hero * {
    box-sizing: border-box;
}

/* Force hero visibility */
.hero {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Ensure hero content is properly displayed */
.hero-content {
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.hero-text,
.hero-visual {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #111827;
    text-align: left;
}

.highlight {
    background: linear-gradient(135deg, #25D366, #34B7F1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: #374151;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    font-weight: 500;
    text-align: left;
}

.hero-cta {
    margin-top: 2rem;
}

.hero-text {
    width: 100%;
    max-width: 100%;
}

.hero-text h1,
.hero-text p {
    margin-left: 0;
    margin-right: 0;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.floating-card {
    background: #FFFFFF;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 350px;
    width: 100%;
    border: 1px solid #E5E7EB;
    position: relative;
    overflow: hidden;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Add subtle animation to floating card */
.floating-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(37, 211, 102, 0.1), transparent);
    animation: shimmer 3s infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: #25D366;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.status-indicator {
    width: 12px;
    height: 12px;
    background: #25D366;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.chat-bubble {
    background: #DCF8C6;
    padding: 1rem;
    border-radius: 15px;
    position: relative;
    z-index: 2;
}

.chat-bubble::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #DCF8C6;
}

/* Sections */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--text-dark), var(--dark-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Services Section */
.services {
    padding: 8rem 2rem;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease;
    border: 1px solid var(--gray-200);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-green);
}

.service-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: var(--white);
    font-size: 2.2rem;
    box-shadow: var(--shadow-md);
}

.service-card h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.service-card p {
    color: var(--text-medium);
    font-size: 1.1rem;
    line-height: 1.7;
    flex-grow: 1;
}

/* Features Section */
.features {
    padding: 8rem 2rem;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    border-left: 5px solid var(--primary-green);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-blue));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-size: 1.8rem;
    box-shadow: var(--shadow-sm);
}

.feature-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-medium);
    font-size: 1.1rem;
    line-height: 1.7;
    flex-grow: 1;
}

/* Quote Section */
.quote {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--dark-green), var(--darker-green));
    color: var(--white);
}

.quote blockquote {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.quote p {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--white);
}

.quote cite {
    font-size: 1rem;
    opacity: 0.8;
    color: var(--white);
}

/* Special Features */
.special-features {
    padding: 6rem 2rem;
    background: var(--white);
}

.special-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.special-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 2px solid var(--gray-200);
}

.special-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.special-card.highlight-card {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: var(--white);
    border-color: var(--primary-green);
}

.special-card.highlight-card h3,
.special-card.highlight-card p {
    color: var(--white);
}

.special-icon {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-green);
    font-size: 2rem;
    box-shadow: var(--shadow-md);
}

.highlight-card .special-icon {
    background: var(--white);
    color: var(--primary-green);
}

/* Integrations */
.integrations {
    padding: 6rem 2rem;
    background: var(--bg-light);
}

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.integration-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
}

.integration-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-green);
}

.integration-item i {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.integration-item span {
    font-weight: 600;
    color: var(--text-dark);
}

/* Pricing */
.pricing {
    padding: 8rem 2rem;
    background: var(--white);
}

.pricing-card {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 30px;
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
    border: 4px solid var(--primary-green);
    position: relative;
}

.pricing-header {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: var(--white);
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
}

.pricing-header h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-weight: 700;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
}

.amount {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.period {
    font-size: 1rem;
    opacity: 0.9;
}

.pricing-features {
    padding: 3rem;
    background: var(--white);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
    padding: 0.75rem 0;
    font-size: 1.1rem;
}

.feature-item i {
    color: var(--primary-green);
    font-size: 1.4rem;
    font-weight: 700;
}

.pricing-footer {
    padding: 3rem;
    background: var(--bg-light);
    text-align: center;
}

.monthly-fee {
    margin-bottom: 2rem;
}

.monthly-fee span {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-dark);
}

.monthly-fee small {
    display: block;
    color: var(--text-medium);
    margin-top: 0.75rem;
    font-size: 1rem;
}

/* Contact */
.contact {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, var(--dark-green), var(--darker-green));
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact .section-title {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-subtitle {
    font-size: 1.4rem;
    margin-bottom: 4rem;
    color: var(--white);
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 2rem 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.footer-brand h3 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.footer-info p {
    color: var(--gray-300);
    margin-bottom: 0.5rem;
}

/* Scroll to Top */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-content {
        gap: 4rem;
    }
    
    .services-grid,
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero {
        padding: 8rem 2rem 4rem;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-title,
    .hero-subtitle {
        text-align: center;
    }
    
    .services,
    .features,
    .special-features {
        padding: 6rem 2rem;
    }
    
    .services-grid,
    .features-grid,
    .special-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 1rem 1.5rem;
    }
    
    .nav-actions {
        display: none;
    }
    
    .hero {
        padding: 7rem 1rem 4rem;
        min-height: 90vh;
    }
    
    .hero-content {
        gap: 2rem;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        line-height: 1.5;
    }
    
    .services,
    .features,
    .special-features,
    .integrations,
    .pricing,
    .contact {
        padding: 4rem 1rem;
    }
    
    .quote {
        padding: 3rem 1rem;
    }
    
    .services-grid,
    .features-grid,
    .special-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .integrations-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }
    
    .btn-cta {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: auto;
    }
    
    .btn-whatsapp {
        padding: 1.25rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .service-card,
    .feature-card,
    .special-card {
        padding: 2rem;
    }
    
    .floating-card {
        max-width: 280px;
        padding: 2rem;
    }
    
    .pricing-card {
        margin: 0 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 6rem 1rem 3rem;
        min-height: 85vh;
    }
    
    .hero-title {
        font-size: clamp(2rem, 10vw, 2.8rem);
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .services,
    .features,
    .special-features,
    .integrations,
    .pricing,
    .contact {
        padding: 3rem 1rem;
    }
    
    .quote {
        padding: 2.5rem 1rem;
    }
    
    .quote p {
        font-size: 1.2rem;
    }
    
    .pricing-card {
        margin: 0 0.5rem;
    }
    
    .amount {
        font-size: 2.5rem;
    }
    
    .service-card,
    .feature-card,
    .special-card {
        padding: 1.5rem;
    }
    
    .service-icon,
    .special-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .floating-card {
        max-width: 250px;
        padding: 1.5rem;
    }
    
    .btn-whatsapp {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.feature-card,
.special-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Improve text rendering */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Better focus indicators */
*:focus {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}

/* Remove focus outline for mouse users */
*:focus:not(:focus-visible) {
    outline: none;
}

/* Focus states for accessibility */
.btn:focus-visible,
.scroll-top:focus-visible {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}

/* Skip to content link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-green);
    color: var(--white);
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1001;
}

.skip-link:focus {
    top: 6px;
}

/* Loading animation */
.loading {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}
