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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: 0.01em;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ===== VARIABLES ===== */
:root {
    --primary-color: #7c9885;
    --primary-hover: #6b8574;
    --secondary-color: #8b9dc3;
    --accent-color: #a8c8a8;
    --accent-hover: #95b595;
    --whatsapp-color: #43cd66;
    --whatsapp-hover: #2db84d;
    --text-dark: #2d3748;
    --text-light: #718096;
    --text-muted: #a0aec0;
    --bg-white: #ffffff;
    --bg-gray: #f8fafc;
    --bg-light-gray: #f1f5f9;
    --bg-cream: #fefcf8;
    --border-light: #e2e8f0;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.03), 0 1px 2px 0 rgba(0, 0, 0, 0.02);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --transition: all 0.4s ease;
}

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

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

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    font-size: 0.9rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.btn svg {
    width: 1rem;
    height: 1rem;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: var(--border-radius-lg);
}

.btn-whatsapp {
    background-color: var(--whatsapp-color);
    color: white;
    font-weight: 600;
}

.btn-whatsapp:hover {
    background-color: var(--whatsapp-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-whatsapp svg {
    width: 1.125rem;
    height: 1.125rem;
}

.btn-whatsapp-contact {
    background-color: var(--whatsapp-color);
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.btn-whatsapp-contact:hover {
    background-color: var(--whatsapp-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-whatsapp-contact svg {
    width: 1rem;
    height: 1rem;
}

.btn-whatsapp-footer {
    background-color: var(--whatsapp-color);
    color: white;
    font-weight: 600;
}

.btn-whatsapp-footer {
    background-color: var(--whatsapp-color);
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.25rem; /* Reduced horizontal padding for narrower width */
}

.btn-whatsapp-footer:hover {
    background-color: var(--whatsapp-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.whatsapp-icon {
    flex-shrink: 0;
}

/* ===== HEADER ===== */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 1.25rem 0;
    gap: 2rem;
}

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

.logo-img {
    width: 44px;
    height: 44px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

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

.logo-text {
    display: flex;
    flex-direction: column;
}

.tagline {
    font-size: 1.25rem;
    color: var(--text-dark);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.nav-desktop {
    display: flex;
    justify-self: center;
}

.header-cta {
    justify-self: end;
    flex-shrink: 0;
}

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

.nav-link {
    font-weight: 400;
    color: var(--text-dark);
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

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

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

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


.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    justify-self: end;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text-dark);
    transition: var(--transition);
}

.nav-mobile {
    display: none;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    background: linear-gradient(135deg, #7c9885 0%, #8b9dc3 50%, #a8c8a8 100%);
    color: white;
    padding: 6rem 0;
    overflow: hidden;
}

.hero-background {
    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="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.92;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    font-weight: 400;
    line-height: 1.5;
}

.hero-features {
    margin-bottom: 3.5rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-features-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
}

.feature-check {
    color: var(--accent-color);
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* ===== INDUSTRIES SECTION ===== */
.industries {
    padding: 6rem 0;
    background-color: var(--bg-white);
}

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

.industry-card {
    background: var(--bg-gray);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    text-align: center;
}

.industry-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.industry-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    color: white;
}

.industry-icon svg {
    width: 24px;
    height: 24px;
}

.industry-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.industry-description {
    color: var(--text-light);
    line-height: 1.7;
    font-weight: 400;
}

/* ===== HOW IT WORKS SECTION ===== */
.how-it-works {
    padding: 6rem 0;
    background-color: var(--bg-gray);
}

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

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

.step-number {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.step-description {
    color: var(--text-light);
    line-height: 1.7;
    font-weight: 400;
}

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

/* ===== SOCIAL PROOF SECTION ===== */
.social-proof {
    padding: 6rem 0;
    background-color: var(--bg-white);
}

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

.stat-item {
    text-align: center;
    padding: 2.5rem;
    background: var(--bg-gray);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-light);
}

.stat-number {
    font-size: 3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.stat-label {
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.stat-source {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 400;
    font-style: italic;
}

.testimonial-placeholder {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem;
    background: var(--bg-gray);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-light);
    position: relative;
}

.testimonial-placeholder::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    position: absolute;
    top: -10px;
    left: 20px;
    opacity: 0.3;
}

.testimonial-text {
    font-size: 1.125rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-weight: 400;
    font-style: italic;
}

.testimonial-author {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: 6rem 0;
    background-color: var(--bg-gray);
}

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

.feature-item {
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    text-align: center;
}

.feature-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    color: white;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.feature-description {
    color: var(--text-light);
    line-height: 1.7;
    font-weight: 400;
}

/* ===== PRICING TEASER SECTION ===== */
.pricing-teaser {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--bg-white), var(--bg-light-gray));
}

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

.pricing-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.pricing-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    font-weight: 400;
}

/* ===== FOOTER ===== */
.footer {
    background-color: #2d3748;
    color: white;
    padding: 4rem 0 2rem;
}

/* Footer Header - Centered Logo Section */
.footer-header {
    text-align: center;
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #374151;
}

.footer-logo-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo-img-large {
    height: 50px;
    width: auto;
    max-width: 250px;
}

.footer-description-center {
    max-width: 500px;
    margin: 0 auto;
    color: #d1d5db;
    line-height: 1.7;
    font-weight: 400;
    opacity: 0.9;
}

/* Footer Content - Three Equal Columns */
.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

/* Center CTA Section Styling */
.footer-cta-section {
    /* Clean, minimal styling - no background or border */
}

.footer-cta-text {
    color: #d1d5db;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 32px;
    height: 32px;
    border-radius: var(--border-radius);
}

.footer-logo-text h3 {
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.footer-description {
    color: #d1d5db;
    line-height: 1.7;
    font-weight: 400;
    opacity: 0.9;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: #d1d5db;
    transition: var(--transition);
}

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

.contact-info p {
    color: #d1d5db;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d1d5db;
    transition: var(--transition);
}

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

.footer-social svg {
    width: 20px;
    height: 20px;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-legal a {
    color: #d1d5db;
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--accent-color);
}

.footer-legal p {
    color: #9ca3af;
    font-size: 0.875rem;
    margin: 0;
}

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

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: #2d3748 !important; /* Fixed dark background for both modes */
    color: #ffffff !important; /* Fixed white text for both modes */
    padding: 1rem !important;
    z-index: 1000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1), 0 -2px 4px -1px rgba(0, 0, 0, 0.06);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    max-width: 1200px;
    width: 100%;
    flex-wrap: wrap;
}

.cookie-content p {
    color: #ffffff !important; /* Fixed white text */
    margin: 0;
    flex: 1;
    min-width: 200px;
}

.cookie-content a {
    color: #a8c8a8 !important; /* Fixed accent color that works on dark background */
    text-decoration: underline;
}

.cookie-content a:hover {
    color: #ffffff !important;
}

.cookie-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-actions button {
    background: #7c9885 !important; /* Fixed primary color */
    color: #ffffff !important; /* Fixed white text */
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s ease;
}

.cookie-actions button:hover {
    background: #6b8574 !important; /* Fixed hover color */
    transform: translateY(-1px);
}

.cookie-actions button:last-child {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important; /* Fixed white text */
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
}

.cookie-actions button:last-child:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important; /* Fixed white text */
    border-color: rgba(255, 255, 255, 0.6) !important;
}

/* Mobile cookie banner */
@media (max-width: 767px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cookie-actions {
        justify-content: center;
        width: 100%;
    }
    
    .cookie-actions button {
        flex: 1;
        max-width: 120px;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

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

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --text-light: #000000;
        --border-light: #000000;
        --bg-gray: #ffffff;
    }
}
