/* CSS Reset & Variables */
:root {
    --font-family: 'Ubuntu', sans-serif;
    --color-dark: #091a2c;
    --color-black: #000000;
    --color-white: #ffffff;
    --color-text: #1b1f28;
    --color-bg-light: #e5e7eb;
    --color-highlight: #e5ff51;
    --color-accent: #ff9f1c;
    --color-gray-dark: #363636;
    --color-gray-border: #dfe3ea;
    --color-input-bg: #f4f6fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-white);
    color: var(--color-text);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    padding: 15px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 45px;
    width: auto;
}

.nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav a {
    text-decoration: none;
    color: var(--color-white);
    font-size: 18px;
    font-weight: 500;
    transition: opacity 0.2s;
}

.nav a:hover {
    opacity: 0.8;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-dark) !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: 2px solid white;
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: white;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--color-white);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #000000e6, #000000b3 40%, #00000033 60%, #00000080), url('./images/bg.png') center/cover no-repeat;
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 50px;
    width: 100%;
    margin-top: 80px;
    /* Offset for header */
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content .highlight {
    color: var(--color-highlight);
    font-size: 4.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    opacity: 0.9;
}

/* Card Form */
.hero-form-card {
    background-color: var(--color-bg-light);
    border-radius: 16px;
    padding: 35px;
    color: var(--color-black);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.hero-card-title {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 25px;
    line-height: 1.4;
}

.hero-card-title strong {
    font-weight: 800;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-label {
    display: none;
}

.input-placa {
    width: 100%;
    padding: 16px;
    border-radius: 8px;
    border: none;
    background: #f4f6fa;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-black);
    outline: none;
}

.input-placa::placeholder {
    color: #a3adbb;
}

.input-placa:focus {
    box-shadow: 0 0 0 2px #d0d7e5;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.custom-checkbox {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 15px;
    cursor: pointer;
}

.custom-checkbox input {
    width: 22px;
    height: 22px;
    margin-top: 2px;
    accent-color: var(--color-black);
    border: 1px solid #ccc;
    border-radius: 4px;
}

.custom-checkbox span {
    line-height: 1.4;
}

.custom-checkbox a {
    color: #6b7280;
    text-decoration: underline;
}

.btn-submit {
    background-color: var(--color-black);
    color: var(--color-white);
    border: none;
    padding: 18px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 15px;
    transition: transform 0.2s, background 0.2s;
}

.btn-submit:disabled {
    background-color: #d5dae2;
    color: #ffffff;
    cursor: not-allowed;
}

.btn-submit:not(:disabled):hover {
    transform: translateY(-2px);
    background-color: #111;
}

.login-link {
    text-align: center;
    margin-top: 5px;
}

.login-link a {
    color: var(--color-black);
    text-decoration: underline;
    font-weight: 500;
}

/* FAQ Accordion Section */
.faq {
    background: var(--color-black);
    color: var(--color-white);
}

.faq-toggle {
    width: 100%;
    background: #111;
    color: white;
    border: none;
    border-top: 1px solid #333;
    padding: 20px 0;
    cursor: pointer;
}

.faq-toggle-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
}

.faq-content {
    background: var(--color-bg-light);
    color: var(--color-black);
    padding: 20px 0;
}

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.faq-q {
    width: 100%;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    padding: 10px 0;
}

.faq-a {
    padding: 10px 0;
    font-size: 16px;
    color: #444;
}

.chevron {
    transition: transform 0.3s ease;
}

[aria-expanded="true"] .chevron {
    transform: rotate(180deg);
}

/* Footer */
.footer {
    background: var(--color-gray-dark);
    padding: 30px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo img {
    height: 35px;
}

.footer-partners {
    display: flex;
    gap: 30px;
}

.footer-partners img {
    height: 25px;
    filter: grayscale(1);
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content .highlight {
        font-size: 3.5rem;
    }

    .nav {
        display: none;
    }

    .nav.active {
        display: block;
        position: absolute;
        top: 70px;
        left: 20px;
        right: 20px;
        background: white;
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    .nav.active ul {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav.active a {
        color: var(--color-black);
    }

    .mobile-menu-btn {
        display: flex;
    }

    .btn-primary {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }
}