/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    max-width: 100vw;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
    overflow-x: hidden;
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
}

/* Header */
.header {
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    min-height: 72px;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.nav-logo i {
    font-size: 1.6rem;
    color: #00B04F;
}

.nav-logo span {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333333;
    line-height: 1.2;
}

.nav-menu {
    display: none;
    gap: 30px;
}

.nav-link {
    color: #666666;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #00B04F;
}

.nav-toggle {
    display: block;
    font-size: 1.2rem;
    cursor: pointer;
    color: #333333;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 40px 0 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    min-height: 80vh;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.hero-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 12px;
    line-height: 1.2;
}

.highlight {
    color: #00B04F;
    display: block;
}

.hero-subtitle {
    font-size: 1rem;
    color: #666666;
    margin-bottom: 32px;
    line-height: 1.5;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #00B04F;
    color: #ffffff;
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    min-height: 48px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

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

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

.cta-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.1) 100%
    );
    border-radius: 50px;
    pointer-events: none;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    background: #008A3D;
}

.cta-button:active {
    transform: translateY(0);
}

.cta-button span,
.cta-button svg,
.cta-button i {
    position: relative;
    z-index: 1;
}

.cta-button.large {
    padding: 22px 45px;
    font-size: 1.3rem;
    min-height: 72px;
}

/* Animation de pulsation subtile */
@keyframes ctaPulse {
    0% {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1), 0 0 0 0 rgba(0, 176, 79, 0.3);
    }
    50% {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1), 0 0 0 4px rgba(0, 176, 79, 0.1);
    }
    100% {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1), 0 0 0 0 rgba(0, 176, 79, 0);
    }
}

.cta-button {
    animation: ctaPulse 3s infinite;
}

.cta-button:hover {
    animation: none;
}

.cta-subtext {
    font-size: 1rem;
    color: #666666;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cta-subtext i {
    color: #00B04F;
}

/* Phone Mockup */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: #333333;
    border-radius: 35px;
    padding: 15px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 25px;
    overflow: hidden;
    position: relative;
}

.app-interface {
    padding: 25px 20px;
    height: 100%;
    background: #ffffff;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.app-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: #00B04F;
}

.location-pin {
    font-size: 0.9rem;
    color: #666666;
    display: flex;
    align-items: center;
    gap: 5px;
}

.parking-spots {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.spot {
    background: #ffffff;
    padding: 18px;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
}

.spot.available {
    border-left: 5px solid #00B04F;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.spot-price {
    font-weight: 700;
    color: #00B04F;
    font-size: 1.1rem;
}

.spot-distance {
    font-size: 0.85rem;
    color: #666666;
}

.paybyphone-button {
    background: #00B04F;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 20px;
    width: 100%;
}

/* Trust Section */
.trust-section {
    background: #ffffff;
    padding: 32px 0 40px;
    border-bottom: 1px solid #f0f0f0;
}

.trust-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #f0f0f0;
}

.trust-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.trust-badge i {
    font-size: 1.2rem;
    color: #00B04F;
    flex-shrink: 0;
}

.trust-badge span {
    font-size: 0.875rem;
    font-weight: 600;
    color: #333333;
}

/* Section Styles */
.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    color: #333333;
    margin-bottom: 32px;
}

.section-subtitle {
    font-size: 1rem;
    text-align: center;
    color: #666666;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

/* How It Works */
.how-it-works {
    padding: 60px 0;
    background: #ffffff;
}

.steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    text-align: center;
    padding: 24px 20px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #f0f0f0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: #00B04F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: white;
    font-size: 1.5rem;
}

.step-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 8px;
}

.step-description {
    font-size: 0.9rem;
    color: #666666;
    line-height: 1.5;
}

/* Coverage */
.coverage {
    padding: 60px 0;
    background: #f8f9fa;
}

.cities-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.city-group {
    text-align: center;
}

.country-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333333;
}

.cities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.city {
    background: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    color: #333333;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
    font-weight: 500;
}

.city:hover {
    background: #00B04F;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 176, 79, 0.3);
}

/* Features */
.features {
    padding: 60px 0;
    background: #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.feature {
    text-align: center;
    padding: 24px 20px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #f0f0f0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: #00B04F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: white;
    font-size: 1.2rem;
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 8px;
}

.feature-description {
    font-size: 0.9rem;
    color: #666666;
    line-height: 1.5;
}

/* Testimonials */
.testimonials {
    padding: 60px 0;
    background: #f8f9fa;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    background: #ffffff;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid #e9ecef;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonial:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    margin-bottom: 16px;
}

.stars {
    color: #fbbf24;
    font-size: 1rem;
    margin-bottom: 12px;
}

.testimonial-content p {
    color: #333333;
    line-height: 1.6;
    font-style: italic;
    font-size: 0.9rem;
}

.testimonial-author strong {
    color: #333333;
    font-weight: 600;
    font-size: 0.9rem;
}

.testimonial-author span {
    color: #666666;
    font-size: 0.8rem;
    display: block;
    margin-top: 4px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #00B04F 0%, #008A3D 100%);
    padding: 60px 0;
    color: #ffffff;
}

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

.cta-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 1rem;
    margin-bottom: 32px;
    opacity: 0.9;
    line-height: 1.4;
}

.cta-note {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 16px;
}

/* Footer */
.footer {
    background: #f8f9fa;
    padding: 48px 0 32px;
    border-top: 1px solid #e9ecef;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-section h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #333333;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    color: #00B04F;
    margin-bottom: 12px;
}

.footer-logo i {
    font-size: 1.3rem;
}

.footer-description {
    color: #666666;
    line-height: 1.6;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 36px;
    height: 36px;
    background: #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666666;
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-link:hover {
    background: #00B04F;
    color: white;
    transform: translateY(-2px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #666666;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #00B04F;
}

.footer-bottom {
    border-top: 1px solid #e9ecef;
    padding-top: 24px;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.footer-bottom-content p {
    color: #666666;
    font-size: 0.875rem;
}

.payment-methods {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.payment-methods i {
    font-size: 1.2rem;
    color: #666666;
    transition: color 0.2s ease;
}

.payment-methods i:hover {
    color: #00B04F;
}

/* Responsive Design - Tablet */
@media (min-width: 768px) {
    .container {
        padding: 0 32px;
    }
    
    .nav-container {
        padding-left: 32px;
        padding-right: 32px;
    }
    
    .nav-menu {
        display: flex;
    }
    
    .nav-toggle {
        display: none;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-container {
        flex-direction: row;
        text-align: left;
    }
    
    .hero-content {
        flex: 1;
        text-align: left;
    }
    
    .hero-image {
        flex: 1;
    }
    
    .trust-badges {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
    
    .trust-badge {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
    
    .cities-grid {
        flex-direction: row;
        gap: 60px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
    
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 40px;
    }
    
    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* Responsive Design - Desktop */
@media (min-width: 1024px) {
    .hero {
        padding: 80px 0 100px;
    }
    
    .hero-title {
        font-size: 3.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .how-it-works,
    .coverage,
    .features,
    .testimonials,
    .cta-section {
        padding: 80px 0;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
    
    .phone-mockup {
        width: 320px;
        height: 640px;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-subtitle {
        font-size: 1.2rem;
    }
}

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

/* Focus styles for accessibility */
.cta-button:focus,
.nav-link:focus,
.social-link:focus,
.footer-links a:focus {
    outline: 2px solid #00B04F;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .trust-badge,
    .step,
    .feature,
    .testimonial {
        border: 2px solid #333333;
    }
    
    .cta-button {
        border: 2px solid #00B04F;
    }
}

/* Loading animation for better UX */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.hero-image,
.features-grid,
.cta-content {
    animation: fadeIn 0.6s ease-out;
}
