:root {
    --primary-color: #6D28D9;
    --primary-dark: #5B21B6;
    --primary-light: #8B5CF6;
    --secondary-color: #EDE9FE;
    --secondary-dark: #DDD6FE;
    --accent-color: #F59E0B;
    --success-color: #10B981;
    --error-color: #EF4444;
    --warning-color: #F59E0B;

    --dark-color: #1F2937;
    --darker-color: #111827;
    --light-color: #F9FAFB;
    --lighter-color: #FFFFFF;
    --text-color: #374151;
    --text-light: #6B7280;
    --text-lighter: #9CA3AF;
    --border-color: #E5E7EB;
    --white: #FFFFFF;

    --border-radius: 8px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.15);

    --transition-fast: 0.15s ease-out;
    --transition-normal: 0.3s ease-out;
    --transition-slow: 0.5s ease-out;

    --container-max-width: 1400px;
    --section-padding: 4rem 0;
    --content-max-width: 900px;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--white);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    scroll-behavior: smooth;
    width: 100%;
    box-sizing: border-box;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

.container-fluid {
    width: 100%;
    padding: 0 1rem;
}

.container-full {
    width: 100%;
    padding: 0;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.hidden { display: none !important; }
.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 Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 14px;
    z-index: 10000;
    transition: top var(--transition-normal);
}

.skip-link:focus {
    top: 6px;
    outline: 2px solid var(--white);
    outline-offset: 2px;
}

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

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-8px) rotate(1deg); }
    50% { transform: translateY(-15px) rotate(0deg); }
    75% { transform: translateY(-8px) rotate(-1deg); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* AOS (Animate On Scroll) Alternative */
[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--dark-color);
    font-weight: 700;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-weight: 600;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

p {
    margin: 0 0 1rem 0;
    color: var(--text-color);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: var(--content-max-width);
    margin: 0 auto 3rem auto;
    text-align: center;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.5;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--dark-color);
}

.main-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 2rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all var(--transition-normal);
}

.main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    padding: 0.5rem 2rem;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform var(--transition-normal);
}

.logo:hover {
    transform: scale(1.05);
    color: var(--dark-color);
}

.logo-img {
    height: 40px;
    margin-right: 0.5rem;
    transition: transform var(--transition-normal);
}

.logo:hover .logo-img {
    transform: rotate(5deg);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-color);
    text-decoration: none;
    position: relative;
    padding: 0.5rem;
    transition: color var(--transition-normal);
}

.nav-links a:not(.btn):hover {
    color: var(--primary-color);
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-normal);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

/* Additional Utility Classes */
.privacy-policy-container {
    padding: 3rem 0;
}

/* Performance Optimizations */
.hero-image,
.floating-elements,
.device-mockup {
    will-change: transform;
}

/* Accessibility Improvements */
@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;
    }
}

/* Enhanced Focus Styles for Accessibility */
.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 1px var(--white), 0 0 0 4px var(--primary-color);
}

/* Remove default focus styles for mouse users */
.btn:focus:not(:focus-visible),
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: none;
    box-shadow: none;
}

/* Ensure focus is visible on interactive elements */
.faq-question:focus-visible {
    background: var(--secondary-color);
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.nav-links a:focus-visible {
    background: var(--secondary-color);
    border-radius: var(--border-radius);
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Form Field Validation Styles */
.field-error {
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

input.error,
textarea.error {
    border-color: var(--error-color);
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}

input.valid,
textarea.valid {
    border-color: var(--success-color);
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

/* Screen Reader Announcements */
.sr-announcement {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        background: var(--dark-color);
        border: 3px solid var(--white);
        color: var(--white);
    }

    .btn-outline {
        border-width: 3px;
    }

    .feature-item,
    .testimonial-card,
    .pricing-card {
        border: 2px solid var(--dark-color);
    }

    .text-light {
        color: var(--text-color) !important;
    }

    /* Ensure sufficient contrast for all text */
    .hero-subtitle,
    .section-subtitle,
    .cta-note {
        color: var(--text-color);
    }
}

/* Print styles */
@media print {
    .main-header,
    .hamburger,
    .nav-links,
    .floating-elements,
    .final-cta {
        display: none !important;
    }

    .hero {
        min-height: auto;
        padding: 2rem;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    min-height: 48px;
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(109, 40, 217, 0.3);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white) !important;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: var(--shadow);
}

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

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

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

.btn-outline-white {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-lg {
    font-size: 1.125rem;
    padding: 1rem 2rem;
    min-height: 56px;
}

.btn-xl {
    font-size: 1.25rem;
    padding: 1.25rem 2.5rem;
    min-height: 64px;
    font-weight: 700;
}

main {
    padding-top: 80px; /* Account for fixed header */
    width: 100%;
    overflow-x: hidden;
}

.hero {
    background: linear-gradient(135deg, rgba(109, 40, 217, 0.08) 0%, rgba(139, 92, 246, 0.05) 50%, rgba(245, 158, 11, 0.03) 100%);
    min-height: 95vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 3rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(109, 40, 217, 0.15) 0%, rgba(139, 92, 246, 0.1) 40%, transparent 70%);
    animation: float 8s ease-in-out infinite;
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 40%;
    height: 40%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 60%);
    animation: float 10s ease-in-out infinite reverse;
    border-radius: 50%;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    align-items: center;
    gap: 4rem;
    z-index: 1;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-content {
    animation: fadeInLeft 1s ease-out;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-color) 50%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin: 2.5rem 0;
    padding: 2rem;
    justify-content: flex-start;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-sm);
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--border-color), transparent);
}

.stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.hero-cta {
    margin: 2.5rem 0;
}

.hero-cta .btn {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(109, 40, 217, 0.25);
    position: relative;
    overflow: hidden;
}

.hero-cta .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.hero-cta .btn:hover::before {
    left: 100%;
}

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

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-image {
    position: relative;
    animation: fadeInRight 1s ease-out;
}

.device-mockup {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-app-image {
    max-width: 100%;
    max-height: 600px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--border-radius-xl);
    box-shadow: 0 25px 60px rgba(109, 40, 217, 0.2), 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-slow);
    border: 3px solid rgba(255, 255, 255, 0.8);
    margin: 0 auto;
    display: block;
}

.hero-app-image:hover {
    transform: scale(1.02) rotate(1deg);
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-receipt,
.floating-chart,
.floating-check {
    position: absolute;
    font-size: 2.5rem;
    animation: float 4s ease-in-out infinite;
    background: linear-gradient(135deg, var(--white) 0%, rgba(109, 40, 217, 0.05) 100%);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 35px rgba(109, 40, 217, 0.15), 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.floating-receipt {
    top: 15%;
    left: -5%;
    animation-delay: 0s;
    z-index: 2;
}

.floating-chart {
    top: 65%;
    right: -5%;
    animation-delay: 1.5s;
    z-index: 2;
}

.floating-check {
    bottom: 15%;
    left: 15%;
    animation-delay: 3s;
    z-index: 2;
}

.download-buttons {
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: rgba(249, 250, 251, 0.6);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
}

.download-buttons h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.app-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.app-button {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    background-color: var(--dark-color);
    color: var(--white);
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: all var(--transition-normal);
    border: 2px solid var(--dark-color);
    min-width: 140px;
}

.app-button:hover {
    background-color: var(--darker-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    color: var(--white);
}

.app-icon {
    width: 24px;
    height: 24px;
    margin-right: 0.5rem;
}

.app-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.app-store-text {
    font-size: 0.75rem;
    opacity: 0.8;
}

.app-name {
    font-size: 0.875rem;
    font-weight: 600;
}

/* Problem Solution Section */
.problem-solution {
    padding: var(--section-padding);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.05) 0%, rgba(245, 158, 11, 0.05) 100%);
    width: 100%;
}

.problem-solution .container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.problem-content {
    max-width: var(--content-max-width);
    margin: 0 auto;
    text-align: center;
}

.problem-content h2 {
    color: var(--dark-color);
    margin-bottom: 2rem;
}

.problem-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.problem-point {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--error-color);
}

.problem-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.solution-arrow {
    font-size: 3rem;
    color: var(--primary-color);
    margin: 2rem 0;
    animation: bounce 2s infinite;
}

.solution-content {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--success-color);
}

.solution-content h3 {
    color: var(--success-color);
    margin-bottom: 1rem;
}

/* Brand Validation Section */
.brand-validation {
    padding: calc(var(--section-padding) * 1.5) 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--white) 50%, var(--light-color) 100%);
    width: 100%;
    position: relative;
}

.brand-validation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.brand-validation .container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.brand-validation h2 {
    text-align: center;
    color: var(--dark-color);
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.brand-validation .section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

/* Vision & Mission Container */
.vision-mission-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.vision-mission-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border-top: 4px solid var(--primary-color);
    transition: all var(--transition-normal);
    text-align: center;
}

.vision-mission-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.vm-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.vision-mission-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.vision-mission-card p {
    color: var(--text-color);
    line-height: 1.7;
}

/* Value Proposition */
.value-proposition {
    max-width: 900px;
    margin: 4rem auto;
    padding: 3rem;
    background: var(--white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--secondary-dark);
    position: relative;
    overflow: hidden;
}

.value-proposition::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light), var(--accent-color));
}

.value-prop-content h3 {
    color: var(--dark-color);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.value-prop-quote {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--secondary-color);
    border-radius: var(--border-radius-lg);
    border-left: 4px solid var(--primary-color);
    font-style: italic;
}

.value-prop-content p {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1.125rem;
    text-align: center;
}

/* Brand Pillars */
.brand-pillars {
    margin: 4rem 0;
}

.pillars-title {
    text-align: center;
    color: var(--dark-color);
    font-size: 2rem;
    margin-bottom: 3rem;
}

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

.pillar-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.pillar-card:hover::before {
    transform: scaleX(1);
}

.pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.pillar-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.pillar-card h4 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.pillar-card p {
    color: var(--text-color);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Proof Points */
.proof-points {
    margin: 4rem 0 2rem;
    padding: 3rem;
    background: var(--white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
}

.proof-points h4 {
    text-align: center;
    color: var(--dark-color);
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    text-align: center;
}

.proof-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: var(--border-radius-lg);
    transition: all var(--transition-fast);
}

.proof-item:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

.proof-metric {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.proof-label {
    font-size: 0.875rem;
    color: var(--text-light);
    display: block;
}

/* Responsive styles for Brand Validation */
@media (max-width: 768px) {
    .brand-validation {
        padding: 3rem 0;
    }

    .brand-validation .container {
        padding: 0 1rem;
    }

    .vision-mission-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .vision-mission-card {
        padding: 2rem;
    }

    .value-proposition {
        padding: 2rem;
        margin: 2rem 0;
    }

    .value-prop-quote {
        font-size: 1.25rem;
        padding: 1rem;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .proof-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .proof-item {
        padding: 1rem;
    }

    .proof-metric {
        font-size: 1.5rem;
    }

    .proof-points {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .proof-grid {
        grid-template-columns: 1fr;
    }

    .brand-validation h2 {
        font-size: 1.75rem;
    }

    .pillars-title {
        font-size: 1.5rem;
    }
}

/* Features Section */
.features {
    padding: var(--section-padding);
    background-color: var(--light-color);
    position: relative;
    width: 100%;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.features .container {
    text-align: center;
}

.features h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.feature-item {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: all var(--transition-normal);
    text-align: left;
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--primary-color);
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transition: left var(--transition-slow);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-item:hover::before {
    left: 0;
}

.feature-icon-container {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform var(--transition-normal);
}

.feature-item:hover .feature-icon-container {
    transform: scale(1.1) rotate(5deg);
}

.feature-icon {
    width: 24px;
    height: 24px;
    color: var(--white);
    stroke-width: 2;
}

.feature-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

.feature-item p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.feature-benefit {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--success-color);
    padding: 0.25rem 0.75rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 20px;
    display: inline-block;
}

/* Legacy feature icon styles - removed as we now use SVG icons */

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

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Color Scheme Support */
@media (prefers-color-scheme: dark) {
    /* Optional: Add dark mode support */
    /* This would require implementing a complete dark theme */
}

/* Large Text Support */
@media screen and (min-width: 1px) {
    html {
        font-size: 16px;
    }
}

@media screen and (min-width: 1px) and (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Focus indicators that work with Windows High Contrast Mode */
@media screen and (-ms-high-contrast: active) {
    .btn:focus,
    a:focus,
    button:focus {
        outline: 2px solid;
    }

    .skip-link:focus {
        outline: 2px solid;
    }
}

/* Ensure interactive elements meet minimum size requirements (44px) */
.btn,
.app-button,
.faq-question,
.toggle-switch {
    min-height: 44px;
    min-width: 44px;
}

/* Improve text spacing for readability */
p,
li {
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
}

/* Ensure sufficient color contrast ratios */
:root {
    /* WCAG AA compliant color combinations */
    --text-contrast-ratio: 4.5; /* AA standard */
    --large-text-contrast-ratio: 3; /* AA standard for large text */
}

/* Status and error messages */
[role="alert"],
[role="status"] {
    padding: 0.75rem;
    border-radius: var(--border-radius);
    margin: 0.5rem 0;
}

[role="alert"] {
    background: rgba(239, 68, 68, 0.1);
    border-left: 4px solid var(--error-color);
    color: var(--error-color);
}

[role="status"] {
    background: rgba(16, 185, 129, 0.1);
    border-left: 4px solid var(--success-color);
    color: var(--success-color);
}

/* This section is now handled in the consolidated feature-item styles above */

/* How It Works Section */
.how-it-works {
    padding: var(--section-padding);
    background: var(--white);
    position: relative;
    width: 100%;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-top: 4rem;
}

.step-item {
    display: grid;
    grid-template-columns: 80px 1fr 300px;
    gap: 2rem;
    align-items: center;
    position: relative;
}

.step-item.reverse {
    grid-template-columns: 300px 1fr 80px;
}

.step-item.reverse .step-content {
    order: 2;
}

.step-item.reverse .step-number {
    order: 3;
}

.step-item.reverse .step-visual {
    order: 1;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.step-content {
    text-align: left;
}

.step-content h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.step-content p {
    color: var(--text-light);
    line-height: 1.6;
}

.step-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    background: var(--light-color);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    position: relative;
}

.scan-animation {
    font-size: 2rem;
    animation: pulse 2s infinite;
}

.categories-visual {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.category-tag {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    text-align: center;
    animation: fadeInRight 1s ease-out;
}

.category-tag:nth-child(2) { animation-delay: 0.2s; }
.category-tag:nth-child(3) { animation-delay: 0.4s; }

.chart-visual {
    display: flex;
    align-items: end;
    gap: 0.5rem;
    height: 100px;
}

.chart-bar {
    background: linear-gradient(180deg, var(--primary-light), var(--primary-color));
    width: 20px;
    border-radius: 4px 4px 0 0;
    animation: fadeInUp 1s ease-out;
}

.chart-bar:nth-child(2) { animation-delay: 0.2s; }
.chart-bar:nth-child(3) { animation-delay: 0.4s; }
.chart-bar:nth-child(4) { animation-delay: 0.6s; }

/* Detailed Features Section */
.detailed-features {
    padding: var(--section-padding);
    background: var(--light-color);
    width: 100%;
}

.feature-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 3rem;
    padding: 2.5rem;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    min-height: 300px;
}

.feature-detail.reverse {
    grid-template-columns: 1fr 1fr;
}

.feature-detail.reverse .feature-detail-content {
    order: 2;
}

.feature-detail.reverse .feature-detail-image {
    order: 1;
}

.feature-detail-content h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.feature-detail-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.feature-benefits li {
    color: var(--text-color);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.feature-benefits li::before {
    content: '\2713';
    color: var(--success-color);
    font-weight: bold;
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.feature-detail-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform var(--transition-slow);
}

.feature-detail:hover .feature-detail-image img {
    transform: scale(1.02);
}

/* Social Proof Section */
.social-proof {
    padding: var(--section-padding);
    background: var(--white);
    text-align: center;
    width: 100%;
}

.social-proof h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0 4rem 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: all var(--transition-normal);
    text-align: left;
    border-top: 4px solid var(--primary-color);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.stars {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-card blockquote {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
    font-style: italic;
}

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

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.author-info cite {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-color);
    font-style: normal;
    display: block;
}

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

.trust-indicators {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    padding: 2rem;
    background: var(--light-color);
    border-radius: var(--border-radius-lg);
}

.trust-item {
    text-align: center;
}

.trust-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    line-height: 1;
}

.trust-label {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    display: block;
}

.company-logos {
    margin-top: 3rem;
}

.company-logos p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.logos-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    justify-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.logo-placeholder {
    padding: 0.75rem 1rem;
    background: var(--white);
    border-radius: var(--border-radius);
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid var(--border-color);
    transition: all var(--transition-normal);
    text-align: center;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.logo-placeholder:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Legacy testimonial styles - now using testimonial-card */
/* Keeping for backwards compatibility if needed */
.testimonial {
    max-width: 650px;
    margin: 0 auto 2rem auto;
    padding: 1.5rem;
    background: var(--light-color);
    border-left: 4px solid var(--primary-color);
    border-radius: var(--border-radius);
}

.testimonial blockquote {
    font-size: 1.1rem;
    font-style: italic;
    margin: 0 0 0.5rem 0;
    color: var(--text-color);
    line-height: 1.5;
}

.testimonial cite {
    font-weight: 600;
    color: var(--text-light);
    font-style: normal;
}

/* Pricing Section */
.pricing {
    padding: var(--section-padding);
    background: var(--white);
    text-align: center;
    width: 100%;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0 3rem 0;
}

.toggle-label {
    font-weight: 500;
    color: var(--text-color);
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border-color);
    transition: var(--transition-normal);
    border-radius: 30px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: var(--transition-normal);
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: var(--primary-color);
}

input:checked + .toggle-slider:before {
    transform: translateX(30px);
}

.discount {
    background: var(--success-color);
    color: var(--white);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    position: relative;
    transition: all var(--transition-normal);
    text-align: left;
}

.pricing-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
}

.plan-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem 0;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.period {
    color: var(--text-light);
    font-size: 1rem;
}

.plan-header p {
    color: var(--text-light);
    margin-bottom: 0;
}

.plan-features {
    margin-bottom: 2rem;
}

.plan-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    color: var(--text-color);
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features li[data-available="false"] {
    color: var(--text-lighter);
}

.pricing-faq {
    margin-top: 4rem;
    text-align: center;
}

.pricing-faq h4 {
    margin-bottom: 2rem;
    color: var(--dark-color);
}

.pricing-faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    text-align: left;
}

.pricing-faq .faq-item {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.pricing-faq .faq-item strong {
    color: var(--dark-color);
    display: block;
    margin-bottom: 0.5rem;
}

.pricing-faq .faq-item p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
}

/* FAQ Section */
.faq {
    padding: var(--section-padding);
    background: var(--light-color);
    width: 100%;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 3rem;
}

.faq-item {
    background: var(--white);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.faq-item:hover {
    box-shadow: var(--shadow);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-color);
    transition: all var(--transition-normal);
}

.faq-question:hover {
    background: var(--light-color);
}

.faq-question:focus {
    outline: none;
    background: var(--light-color);
}

.faq-icon {
    width: 20px;
    height: 20px;
    stroke: var(--text-light);
    stroke-width: 2;
    fill: none;
    transition: transform var(--transition-normal);
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Final CTA Section */
.final-cta {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--darker-color) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(109, 40, 217, 0.1) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-benefits {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.benefit-icon {
    font-size: 1.2rem;
}

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

.cta-apps {
    margin-top: 2rem;
}

.cta-apps p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

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

.app-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    transition: all var(--transition-normal);
    font-size: 0.9rem;
}

.app-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.cta-guarantee {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 2rem;
    font-style: italic;
}

/* Legacy CTA section styles - now using final-cta */
/* Keeping for backwards compatibility if needed */
.cta-section {
    background-color: var(--dark-color);
    color: var(--white);
    text-align: center;
    padding: 5rem 2rem;
    border-radius: var(--border-radius);
    margin: 4rem 0;
}

.cta-section h2 {
    font-size: 2.5rem;
    color: var(--white);
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.main-footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 4rem 0 2rem 0;
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

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

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-normal);
    font-size: 0.95rem;
}

.footer-section ul li a:hover {
    color: var(--white);
}

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

.footer-logo-img {
    height: 32px;
    margin-right: 0.5rem;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

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

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-decoration: none;
    transition: all var(--transition-normal);
    font-size: 1.2rem;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.9rem;
}

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

.certification {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    font-weight: 500;
}

/* This is now handled in the consolidated footer-content styles above */

/* This is now handled in the footer-section styles above */

/* Responsive Design */
@media (max-width: 1024px) {
    :root {
        --container-max-width: 100%;
        --section-padding: 3rem 0;
    }

    .container {
        padding: 0 1.5rem;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        padding: 0 1.5rem;
    }

    .hero {
        min-height: 80vh;
        padding: 1.5rem 0;
    }

    .hero-stats {
        justify-content: center;
        gap: 1.5rem;
    }

    .hero-app-image {
        max-width: 100%;
        max-height: 500px;
    }

    .step-item,
    .step-item.reverse {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }

    .step-item.reverse .step-content,
    .step-item.reverse .step-number,
    .step-item.reverse .step-visual {
        order: initial;
    }

    .feature-detail,
    .feature-detail.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }

    .feature-detail.reverse .feature-detail-content,
    .feature-detail.reverse .feature-detail-image {
        order: initial;
    }

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

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

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

@media (max-width: 768px) {
    :root {
        --section-padding: 2.5rem 0;
    }

    .container {
        padding: 0 1rem;
        width: 100%;
    }

    .main-header {
        padding: 1rem 1.5rem;
    }

    .main-header.scrolled {
        padding: 0.5rem 1.5rem;
    }

    .hero {
        min-height: 85vh;
        padding: 2rem 0;
    }

    .hero-content h1 {
        font-size: clamp(2rem, 8vw, 2.8rem) !important;
        margin-bottom: 1rem;
        text-align: center;
    }

    .hero-content p {
        text-align: center;
        font-size: 1.1rem;
    }

    .hero-app-image {
        max-width: 100%;
        max-height: 400px;
    }

    .download-buttons {
        text-align: center;
        padding: 1rem !important;
        background: rgba(249, 250, 251, 0.8) !important;
    }

    .download-buttons h3 {
        text-align: center;
        margin-bottom: 1rem;
    }

    .hero .container {
        padding: 0 1rem;
        gap: 2rem;
    }

    .hero-stats {
        flex-direction: row;
        justify-content: space-around;
        gap: 1rem;
        margin: 1.5rem 0;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.8);
    }

    .stat-item:not(:last-child)::after {
        display: none;
    }

    .stat-item {
        flex: 1;
        min-width: 0;
    }

    .stat-number {
        font-size: 1.25rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .app-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .app-button {
        justify-content: flex-start;
        min-width: auto;
        width: 100%;
        padding: 0.875rem 1rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-item {
        padding: 2rem 1.5rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pricing-card {
        padding: 1.5rem;
    }

    .pricing-card.featured {
        transform: none;
        order: -1;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .trust-indicators {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1.5rem;
    }

    .cta-benefits {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

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

    .problem-content {
        padding: 0 1rem;
    }

    .problem-points {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .steps-container {
        gap: 2.5rem;
    }

    .feature-detail {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .faq-container {
        margin-top: 2rem;
    }

    h1 {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }

    h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .floating-receipt,
    .floating-chart,
    .floating-check {
        display: none;
    }

    @media (min-width: 480px) {
        .floating-receipt,
        .floating-chart,
        .floating-check {
            display: flex;
        }
    }

    .hero-content h1 {
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    background: transparent;
    border: none;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.bar {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--dark-color);
    transition: all 0.3s ease;
    transform-origin: center center;
    border-radius: 2px;
    position: absolute;
    left: 0;
}

.bar:nth-child(1) {
    top: 4px;
}

.bar:nth-child(2) {
    top: 12.5px;
}

.bar:nth-child(3) {
    top: 21px;
}

/* Mobile Navigation - moved to separate media query to avoid duplication */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        left: -100%;
        top: 80px;
        gap: 0;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: left var(--transition-normal);
        padding: 2rem 0;
        border-top: 1px solid var(--border-color);
        box-shadow: var(--shadow);
        z-index: 999;
        box-sizing: border-box;
    }

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

    .nav-links a {
        padding: 1rem;
        display: block;
        margin: 0;
    }

    .nav-links a:not(.btn) {
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .nav-links .btn {
        margin: 0.75rem 1.5rem;
        display: block;
        width: calc(100% - 3rem);
        justify-content: center;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        border-width: 2px;
    }

    .nav-links .btn-secondary {
        margin-top: 1.5rem;
    }

    .nav-links .btn-primary {
        margin-bottom: 1rem;
    }

    .hamburger {
        display: block;
        z-index: 1001;
    }

    .hamburger.active .bar:nth-child(1) {
        top: 12.5px;
        transform: rotate(45deg);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }

    .hamburger.active .bar:nth-child(3) {
        top: 12.5px;
        transform: rotate(-45deg);
    }

    /* Prevent scrolling when menu is open */
    body.menu-open {
        overflow: hidden;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: var(--white) !important;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4), 0 2px 4px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    z-index: 9999 !important;
    transition: all var(--transition-normal);
    animation: pulse 2s infinite;
    cursor: pointer;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6), 0 4px 8px rgba(0, 0, 0, 0.3);
    color: var(--white);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px !important;
        right: 20px !important;
        width: 56px;
        height: 56px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

@media print {
    .whatsapp-float {
        display: none !important;
    }
}

/* ============================================
   LEGAL PAGES STYLES
   ============================================ */

/* Legal Pages Container */
.privacy-policy-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 6rem 2rem 4rem;
    background: var(--white);
}

.privacy-policy-container h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--dark-color);
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.privacy-policy-container h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    margin: 1.5rem auto;
    border-radius: 2px;
}

.privacy-policy-container > p:first-of-type {
    text-align: center;
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 3rem;
    font-weight: 500;
}

.privacy-policy-container h2 {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    color: var(--dark-color);
    margin-top: 3rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary-color);
    font-weight: 700;
}

.privacy-policy-container h3 {
    font-size: 1.375rem;
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.privacy-policy-container h4 {
    font-size: 1.125rem;
    color: var(--text-color);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.privacy-policy-container p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1.25rem;
}

.privacy-policy-container ul,
.privacy-policy-container ol {
    margin: 1.25rem 0;
    padding-left: 1.5rem;
    color: var(--text-color);
}

.privacy-policy-container li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
    font-size: 1rem;
}

.privacy-policy-container li::marker {
    color: var(--primary-color);
    font-weight: 600;
}

.privacy-policy-container strong {
    color: var(--dark-color);
    font-weight: 600;
}

.privacy-policy-container a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: all var(--transition-fast);
}

.privacy-policy-container a:hover {
    color: var(--primary-dark);
    border-bottom-color: var(--primary-dark);
}

.privacy-policy-container a:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Tables for Cookie Policy */
.privacy-policy-container table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: var(--white);
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.privacy-policy-container table thead {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
}

.privacy-policy-container table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.025em;
}

.privacy-policy-container table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

.privacy-policy-container table tbody tr:last-child td {
    border-bottom: none;
}

.privacy-policy-container table tbody tr:nth-child(even) {
    background: var(--light-color);
}

.privacy-policy-container table tbody tr:hover {
    background: var(--secondary-color);
    transition: background var(--transition-fast);
}

.privacy-policy-container table code {
    background: var(--secondary-dark);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-family: 'Courier New', monospace;
    color: var(--primary-dark);
}

/* Blockquotes for Important Information */
.privacy-policy-container blockquote {
    background: var(--secondary-color);
    border-left: 4px solid var(--primary-color);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: var(--border-radius);
    font-style: italic;
    color: var(--text-color);
}

/* Information Boxes */
.info-box {
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    border-left: 4px solid #3B82F6;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: var(--border-radius);
}

.warning-box {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    border-left: 4px solid var(--warning-color);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: var(--border-radius);
}

.success-box {
    background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
    border-left: 4px solid var(--success-color);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: var(--border-radius);
}

/* Contact Section within Legal Pages */
.legal-contact {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    margin: 3rem 0;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.legal-contact h3 {
    margin-top: 0;
    color: var(--primary-color);
}

/* Footer adjustments for legal pages */
.privacy-policy-container + .main-footer {
    margin-top: 4rem;
}

/* Responsive Design for Legal Pages */
@media (max-width: 768px) {
    .privacy-policy-container {
        padding: 4rem 1.5rem 3rem;
    }

    .privacy-policy-container h1 {
        font-size: 2rem;
    }

    .privacy-policy-container h2 {
        font-size: 1.5rem;
        margin-top: 2rem;
    }

    .privacy-policy-container h3 {
        font-size: 1.25rem;
    }

    .privacy-policy-container table {
        font-size: 0.875rem;
    }

    .privacy-policy-container table th,
    .privacy-policy-container table td {
        padding: 0.75rem 0.5rem;
    }

    .privacy-policy-container ul,
    .privacy-policy-container ol {
        padding-left: 1.25rem;
    }
}

/* Print Styles for Legal Pages */
@media print {
    .privacy-policy-container {
        max-width: 100%;
        padding: 1rem;
    }

    .main-header,
    .main-footer {
        display: none;
    }

    .privacy-policy-container a {
        color: var(--dark-color);
        text-decoration: underline;
    }

    .privacy-policy-container h1::after {
        display: none;
    }

    .privacy-policy-container table {
        box-shadow: none;
        border: 1px solid var(--border-color);
    }
}

/* Accessibility: Focus styles for links in legal pages */
.privacy-policy-container a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Table of Contents (if needed in future) */
.legal-toc {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    margin: 2rem 0;
    border: 1px solid var(--border-color);
}

.legal-toc h3 {
    margin-top: 0;
    font-size: 1.25rem;
    color: var(--primary-color);
}

.legal-toc ul {
    list-style: none;
    padding-left: 0;
}

.legal-toc li {
    margin-bottom: 0.5rem;
}

.legal-toc a {
    color: var(--text-color);
    text-decoration: none;
    display: block;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    transition: all var(--transition-fast);
}

.legal-toc a:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Last updated badge */
.last-updated {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin: 1rem 0;
}

/* ==========================================
   Language Selector Styles
   ========================================== */
.language-selector {
    position: relative;
    display: inline-block;
    margin: 0 1rem;
}

.language-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.language-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-fast);
    z-index: 1000;
    overflow: hidden;
}

.language-selector:hover .language-dropdown,
.language-dropdown:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-color);
    text-decoration: none;
    transition: all var(--transition-fast);
    border-left: 3px solid transparent;
}

.language-option:hover {
    background: var(--secondary-color);
    border-left-color: var(--primary-color);
}

.language-option.active {
    background: var(--secondary-color);
    color: var(--primary-color);
    font-weight: 600;
    border-left-color: var(--primary-color);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .language-selector {
        margin: 0.5rem 0;
        width: 100%;
    }

    .language-btn {
        width: 100%;
        justify-content: center;
    }

    .language-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        margin-top: 0.5rem;
        box-shadow: none;
        border: 1px solid var(--border-color);
    }

    .language-selector.open .language-dropdown {
        display: block;
    }
}
