/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rubik', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Padding */
.section-padding {
    padding: 80px 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.gradient-text {
    background: linear-gradient(135deg, #e53935, #ff9800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: 2px solid transparent;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 14px;
    gap: 8px;
}

.btn-primary {
    background: #e53935;
    color: white;
    border-color: #e53935;
}

.btn-primary:hover {
    background: #c62828;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(229, 57, 53, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #374151;
    border-color: #D1D5DB;
}

.btn-secondary:hover {
    background: #F3F4F6;
    border-color: #9CA3AF;
    transform: translateY(-2px);
}

.btn-accent {
    background: #ff9800;
    color: white;
    border-color: #ff9800;
}

.btn-accent:hover {
    background: #f57c00;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 152, 0, 0.3);
}

.btn-light {
    background: white;
    color: #e53935;
    border-color: white;
}

.btn-light:hover {
    background: #F8FAFC;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #E5E7EB;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

.nav-brand .brand-text {
    font-size: 28px;
    font-weight: 800;
    color: #333;
}

.brand-highlight {
    color: #e53935;
}

.brand-link {
    text-decoration: none;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: #6B7280;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #e53935;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle i {
    font-size: 20px;
    color: #374151;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 120px 0 80px;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(229, 57, 53, 0.1);
    color: #e53935;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 32px;
    border: 1px solid rgba(229, 57, 53, 0.2);
}

.hero-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-description {
    font-size: 20px;
    color: #6B7280;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: #e53935;
    margin-bottom: 8px;
}

.stat-label {
    color: #6B7280;
    font-weight: 500;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.section-description {
    font-size: 18px;
    color: #6B7280;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Services Section */
.services {
    background: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.service-card {
    background: white;
    border: 2px solid #F1F5F9;
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #e53935;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(229, 57, 53, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-icon.accent {
    background: rgba(255, 152, 0, 0.1);
}

.service-icon.security {
    background: rgba(66, 133, 244, 0.1);
}

.service-icon i {
    font-size: 24px;
    color: #e53935;
}

.service-icon.accent i {
    color: #ff9800;
}

.service-icon.security i {
    color: #4285F4;
}

.service-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1F2937;
}

.service-description {
    color: #6B7280;
    line-height: 1.7;
    margin-bottom: 24px;
}

.service-features {
    list-style: none;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: #374151;
    font-size: 14px;
}

.service-features i {
    color: #e53935;
    font-size: 12px;
    flex-shrink: 0;
}

/* Check Fines Section */
.check-fines-container {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 40px;
    border: 2px solid #F1F5F9;
}

.check-options-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 1px solid #F1F5F9;
    padding-bottom: 15px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #6B7280;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.tab-btn:hover {
    background: #F1F5F9;
    color: #374151;
}

.tab-btn.active {
    background: #e53935;
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: #374151;
    font-size: 15px;
}

.form-input, .form-select {
    padding: 12px 16px;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-input:focus, .form-select:focus {
    border-color: #e53935;
    outline: none;
}

/* Fines Table Section */
.fines-table {
    max-width: 900px;
    margin: 0 auto;
}

.table-container {
    overflow-x: auto;
    margin-bottom: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

thead {
    background: #e53935;
    color: white;
}

th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

td {
    padding: 15px;
    border-top: 1px solid #F1F5F9;
}

tbody tr:hover {
    background: #F9FAFB;
}

.table-note {
    color: #6B7280;
    font-size: 14px;
    text-align: center;
}

/* Payment Methods */
.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.payment-method {
    background: white;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid #F1F5F9;
}

.payment-method:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #e53935;
}

.method-icon {
    font-size: 36px;
    color: #e53935;
    margin-bottom: 20px;
}

.method-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1F2937;
}

.method-description {
    color: #6B7280;
    font-size: 15px;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
    border: 2px solid #F1F5F9;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #e53935;
}

.benefit-icon {
    font-size: 32px;
    color: #e53935;
    margin-bottom: 20px;
    width: 80px;
    height: 80px;
    background: rgba(229, 57, 53, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1F2937;
}

.benefit-description {
    color: #6B7280;
}

/* Call to Action */
.call-to-action {
    background: linear-gradient(135deg, #e53935, #ff9800);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-icon {
    margin-bottom: 32px;
}

.cta-icon i {
    font-size: 60px;
    opacity: 0.8;
}

.cta-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 24px;
}

.cta-description {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: #1F2937;
    color: #D1D5DB;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .brand-text {
    font-size: 28px;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    display: block;
}

.footer-brand .brand-highlight {
    color: #e53935;
}

.footer-description {
    line-height: 1.7;
    margin-bottom: 24px;
    color: #9CA3AF;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(229, 57, 53, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e53935;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #e53935;
    color: white;
    transform: translateY(-2px);
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #e53935;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-item i {
    color: #e53935;
    font-size: 16px;
    margin-top: 4px;
    flex-shrink: 0;
}

.contact-title {
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
}

.contact-details {
    color: #9CA3AF;
    line-height: 1.6;
}

.support-note {
    color: #ff9800;
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 30px;
    text-align: center;
}

.footer-disclaimer {
    background: #374151;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}

.footer-disclaimer p {
    font-size: 13px;
    line-height: 1.6;
    color: #D1D5DB;
}

.footer-copyright {
    color: #9CA3AF;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 16px;
    }
    
    .nav-menu {
        gap: 20px;
    }
    
    .nav-links {
        gap: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 1024px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 20px;
        border-top: 1px solid #E5E7EB;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 16px;
        margin-bottom: 20px;
    }
    
    .nav-cta {
        width: 100%;
    }
    
    .nav-cta .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    
    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 16px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .payment-methods-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .check-options-tabs {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .check-fines-container {
        padding: 20px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-up {
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.6s ease;
}

.slide-up.visible {
    transform: translateY(0);
    opacity: 1;
}

/* Smooth scrolling for older browsers */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus {
    outline: 2px solid #e53935;
    outline-offset: 2px;
}

/* Loading animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
