/* Modern Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 50%, #003d82 100%);
    background-attachment: fixed;
    color: #ffffff;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.container-custom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

#logo {
    display: inline-block;
    text-decoration: none;
}

#logo-img {
    height: 35px;
    width: auto;
    transition: transform 0.3s ease;
}

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

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

nav ul li a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

/* Hero Section */
#hero {
    text-align: center;
    padding: 100px 20px 80px;
    max-width: 1200px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease;
}

#hero h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #ffffff;
}

#hero p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    padding: 18px 48px;
    background: #ffffff;
    color: #007bff;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    color: #0056b3;
}

/* Stats Section */
#stats {
    padding: 40px 20px 80px;
    margin-top: -40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ffffff;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* How It Works Section */
#how-it-works {
    padding: 80px 20px;
    background: rgba(255, 255, 255, 0.05);
}

#how-it-works h2 {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 60px;
    color: #ffffff;
}

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

.step-card {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    margin: 0 auto 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.step-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #ffffff;
}

.step-card p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

/* Features Section */
#features {
    padding: 80px 20px;
}

#features h2 {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 60px;
    color: #ffffff;
}

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

.feature-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.feature-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #ffffff;
}

.feature-item p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    font-size: 16px;
}

/* CTA Section */
#cta-section {
    padding: 100px 20px;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
}

#cta-section h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #ffffff;
}

#cta-section p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

/* Contact Section */
#contact {
    padding: 80px 20px 100px;
    text-align: center;
}

#contact h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #ffffff;
}

#contact p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.contact-link-inline {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.contact-link-inline:hover {
    opacity: 0.8;
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.3);
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    padding: 30px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer p {
    margin: 0;
    font-size: 14px;
}

/* Modal Styles */
.modal-content {
    background: #ffffff;
    border-radius: 20px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border-bottom: none;
    border-radius: 0;
    padding: 20px 25px;
}

.modal-header .modal-title {
    font-weight: 700;
    font-size: 1.5em;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.modal-header .btn-close:hover {
    opacity: 1;
}

.modal-body {
    padding: 30px;
    background: #ffffff;
}

.modal-body .form-group {
    margin-bottom: 20px;
}

.modal-body label {
    color: #333;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.modal-body .form-control {
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    padding: 12px 15px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.modal-body .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    outline: none;
}

.modal-body textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.modal-footer {
    border-top: none;
    padding: 20px 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.modal-footer .btn {
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.modal-footer .btn-success {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
}

.modal-footer .btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.modal-footer .btn-danger {
    background: #dc3545;
    color: white;
}

.modal-footer .btn-danger:hover {
    background: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

.modal-footer .btn-secondary {
    background: #6c757d;
    color: white;
}

.modal-footer .btn-secondary:hover {
    background: #5a6268;
}

.modal-body a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.modal-body a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.modal-body .text-center {
    margin-top: 20px;
    color: #666;
}

.modal-body .text-success {
    color: #28a745;
}

.modal-body .text-danger {
    color: #dc3545;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 15px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    #hero h1 {
        font-size: 36px;
    }

    #hero p {
        font-size: 18px;
    }

    #hero {
        padding: 60px 20px 60px;
    }

    #how-it-works h2,
    #features h2,
    #contact h2,
    #cta-section h2 {
        font-size: 32px;
    }

    #cta-section {
        padding: 60px 20px;
    }

    #cta-section p {
        font-size: 18px;
    }

    .steps-grid,
    .features-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .feature-item,
    .step-card {
        padding: 30px;
    }

    #how-it-works,
    #features,
    #contact,
    #stats {
        padding: 60px 20px;
    }

    .modal-dialog {
        margin: 10px;
    }

    .modal-body {
        padding: 20px;
    }

    .cta-button {
        padding: 15px 35px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    #hero h1 {
        font-size: 28px;
    }

    #hero p {
        font-size: 16px;
    }

    #how-it-works h2,
    #features h2,
    #contact h2,
    #cta-section h2 {
        font-size: 26px;
    }

    #cta-section p {
        font-size: 16px;
    }

    .feature-item h3,
    .step-card h3 {
        font-size: 20px;
    }

    nav ul {
        gap: 10px;
    }

    nav ul li a {
        padding: 6px 12px;
        font-size: 14px;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    .stat-number {
        font-size: 36px;
    }
}