/* ===== 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 ===== */
/* Dark Theme (Default) */
:root {
    --primary-color: #8fbc8f;
    --primary-hover: #7a9d7a;
    --secondary-color: #9fb3d3;
    --accent-color: #b8d8b8;
    --accent-hover: #a8c8a8;
    --whatsapp-color: #25d366;
    --whatsapp-hover: #1da851;
    --text-dark: #f8fafc;
    --text-medium: #cbd5e1;
    --text-light: #94a3b8;
    --text-muted: #64748b;
    --bg-white: #0f172a;
    --bg-gray: #1e293b;
    --bg-light-gray: #334155;
    --bg-cream: #0f172a;
    --border-light: #334155;
    --border-medium: #475569;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --transition: all 0.4s ease;
}

/* Light Theme (Activated via user preference) */
@media (prefers-color-scheme: light) {
    :root {
        --primary-color: #4a6741;
        --primary-hover: #3d5536;
        --secondary-color: #5a7c9a;
        --accent-color: #6b8e6b;
        --accent-hover: #5a7a5a;
        --whatsapp-color: #25d366;
        --whatsapp-hover: #1da851;
        --text-dark: #1a202c;
        --text-medium: #4a5568;
        --text-light: #718096;
        --text-muted: #a0aec0;
        --bg-white: #ffffff;
        --bg-gray: #f7fafc;
        --bg-light-gray: #edf2f7;
        --bg-cream: #fefcf8;
        --border-light: #cbd5e0;
        --border-medium: #a0aec0;
        --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
        --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    }
}

/* ===== 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-medium);
    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(15, 23, 42, 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, #475569 0%, #64748b 50%, #94a3b8 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;
    color: rgba(255, 255, 255, 0.92);
    animation: fadeInUp 0.8s ease-out 0.2s both;
    font-weight: 400;
    line-height: 1.5;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.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-medium);
    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);
}

/* Improve subtitle contrast in How It Works section (dark theme default) */
.how-it-works .section-subtitle {
    color: var(--text-dark);
}

.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-dark);
    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-medium);
}

.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-light);
    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-medium);
    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-medium);
    font-size: 0.875rem;
}

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

/* Improve subtitle contrast in Features section (dark theme default) */
.features .section-subtitle {
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.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-medium);
    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-medium);
    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-medium);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    font-weight: 400;
}

/* ===== FOOTER ===== */
.footer {
    background-color: #020617;
    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: #e5e7eb;
    line-height: 1.7;
    font-weight: 400;
}

/* 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 */
/* Clean, minimal styling - no background or border needed */

.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;
    }
}

/* ===== PRIVACY POLICY PAGE ===== */
.legal-page {
    background-color: var(--bg-cream);
}

.page-hero {
    position: relative;
    padding: 7rem 0 4rem;
    overflow: hidden;
}

.privacy-hero {
    background: radial-gradient(circle at top, rgba(120, 179, 182, 0.35), transparent 55%),
                linear-gradient(135deg, rgba(10, 19, 38, 0.95), rgba(22, 45, 63, 0.92));
    color: #f8fafc;
}

.terms-hero {
    background: radial-gradient(circle at 15% 20%, rgba(143, 188, 143, 0.25), transparent 55%),
                linear-gradient(135deg, rgba(10, 17, 40, 0.95), rgba(26, 47, 64, 0.9));
    color: #f8fafc;
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(159, 179, 211, 0.25), transparent 40%);
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    max-width: 800px;
    z-index: 1;
}

.hero-eyebrow {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    display: inline-block;
}

.page-hero h1 {
    font-size: 3rem;
    color: #f8fafc;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.page-hero-description {
    color: #e2e8f0;
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 720px;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.policy-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    margin-bottom: 2rem;
    color: #edf2f7;
    font-size: 0.95rem;
    backdrop-filter: blur(4px);
}

.policy-meta span {
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(10, 19, 38, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #f1f5f9;
}

.privacy-hero .hero-eyebrow {
    color: #a5f3fc;
    letter-spacing: 0.25em;
}

.privacy-hero .btn-secondary {
    border-color: rgba(255, 255, 255, 0.8);
    color: #0f172a;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.privacy-hero .btn-secondary:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.privacy-hero .page-hero-content {
    color: #cbd5f5;
}

.privacy-hero .page-hero-description {
    color: #e2e8f0;
}

.privacy-hero .policy-meta span {
    background: rgba(15, 23, 42, 0.75);
}

.terms-hero .hero-eyebrow {
    color: #a5f3fc;
}

.terms-hero .page-hero h1,
.terms-hero .page-hero-content,
.terms-hero .page-hero-description {
    color: #f8fafc;
}

.terms-hero .page-hero-description {
    color: #e2e8f0;
}

.terms-hero .policy-meta span {
    background: rgba(12, 20, 38, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.terms-hero .btn-secondary {
    border-color: rgba(255, 255, 255, 0.8);
    color: #0f172a;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.terms-hero .btn-secondary:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.policy-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.policy-cta-inline {
    justify-content: center;
}

.policy-highlights {
    background: var(--bg-gray);
    padding: 4rem 0;
}

.policy-overview {
    background: var(--bg-white);
    padding: 4rem 0;
}

.policy-overview-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.policy-card-summary ul {
    margin: 0;
}

.policy-card-toc .policy-toc {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.policy-card-toc .policy-toc a {
    color: var(--primary-color);
    font-weight: 500;
}

.policy-pillars {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.policy-pillars span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0.75rem;
    border-radius: var(--border-radius);
    background: var(--bg-light-gray);
    color: var(--text-medium);
    font-size: 0.95rem;
}

.policy-lifecycle {
    background: var(--bg-gray);
    padding: 4rem 0;
}

.lifecycle-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

.lifecycle-step {
    padding: 1.75rem;
    border-radius: var(--border-radius-lg);
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    min-height: 210px;
}

.lifecycle-number {
    display: inline-block;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
}

.lifecycle-step h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.lifecycle-step p {
    color: var(--text-medium);
    line-height: 1.5;
}

.policy-highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

.policy-card {
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.policy-card h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.policy-card p {
    color: var(--text-medium);
    line-height: 1.6;
}

.policy-content {
    background: var(--bg-white);
    padding: 4rem 0;
}

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

.policy-section-card {
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    background: var(--bg-gray);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.policy-section-card h2 {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.policy-section-card p {
    color: var(--text-medium);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.policy-list {
    list-style: disc;
    margin-left: 1.25rem;
    color: var(--text-light);
    line-height: 1.6;
}

.policy-list li + li {
    margin-top: 0.5rem;
}

.policy-list.condensed li + li {
    margin-top: 0.35rem;
}

.policy-def-list {
    margin: 0;
    display: grid;
    gap: 1rem;
}

.policy-def-list dt {
    font-weight: 600;
    color: var(--text-dark);
}

.policy-def-list dd {
    margin: 0.25rem 0 0;
    color: var(--text-medium);
}

.policy-tag-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.policy-tag-grid span {
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--border-light);
    font-size: 0.85rem;
    color: var(--text-medium);
}

.policy-table {
    margin-top: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.policy-table-row {
    display: grid;
    grid-template-columns: 1.5fr 2fr 1.5fr;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
}

.policy-table-row:last-child {
    border-bottom: none;
}

.policy-table-head {
    background: var(--bg-light-gray);
    font-weight: 600;
    color: var(--text-dark);
}

.policy-table-row span {
    color: var(--text-medium);
}

.policy-note {
    margin-top: 1rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.policy-rights {
    background: var(--bg-gray);
    padding: 4rem 0;
}

.policy-rights-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.policy-rights-card {
    padding: 2rem;
    border-radius: var(--border-radius);
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.policy-rights-card h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.policy-rights-card p {
    color: var(--text-medium);
    line-height: 1.6;
}

.policy-contact {
    padding: 4rem 0 5rem;
    background: var(--bg-white);
}

.policy-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.policy-contact-card {
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    background: var(--bg-gray);
    border: 1px solid var(--border-light);
}

.policy-contact-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.policy-contact-card p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.contact-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-block;
    margin-top: 0.5rem;
}

.privacy-last-updated,
.legal-last-updated {
    text-align: center;
    color: var(--text-light);
    margin-top: 2rem;
}

/* ===== 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;
    }
}

/* ===== WHATSAPP FEEDBACK ANIMATIONS ===== */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

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

.whatsapp-feedback-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.whatsapp-feedback-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Mobile feedback adjustments */
@media (max-width: 767px) {
    .whatsapp-feedback {
        top: 10px !important;
        right: 10px !important;
        left: 10px !important;
        max-width: none !important;
        font-size: 13px !important;
    }
}

/* ===== CONTACT FALLBACK MODAL ===== */
.contact-fallback-content h4 {
    color: var(--text-dark);
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 600;
}

.contact-fallback-content p {
    color: var(--text-medium);
    margin-bottom: 20px;
    font-size: 14px;
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.contact-option {
    display: block;
    padding: 12px 16px;
    background: var(--bg-light);
    border-radius: 8px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid var(--border-medium);
}

.contact-option:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}

.close-fallback {
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.close-fallback:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

/* Mobile contact fallback */
@media (max-width: 767px) {
    .contact-fallback-content {
        padding: 20px !important;
    }
    
    .contact-options {
        gap: 10px;
    }
    
    .contact-option {
        padding: 10px 12px;
        font-size: 14px;
    }
}

/* ===== LIGHT THEME OVERRIDES ===== */
@media (prefers-color-scheme: light) {
    .hero {
        background: linear-gradient(135deg, #7c9885 0%, #8b9dc3 50%, #a8c8a8 100%);
        color: var(--text-dark);
    }
    
    .hero-title {
        color: var(--text-dark);
    }
    
    .hero-subtitle {
        color: var(--text-medium);
        text-shadow: none;
    }
    
    .hero-feature {
        color: var(--text-dark);
    }
    
    .features .section-subtitle {
        color: var(--text-medium);
        text-shadow: none;
    }
    
    .footer {
        background-color: #2d3748;
    }
    
    .header {
        background-color: rgba(255, 255, 255, 0.95);
    }
}
