.about-hero {
    position: relative;
    width: 100%;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: transparent;
    border-bottom: 3px solid var(--nav-border);
    transition: background 0.4s ease, border-color 0.4s ease;
}

body.light-mode .about-hero {
    background: transparent;
}

.about-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: url('../images/Banner1.jpg') center center / cover no-repeat;
    opacity: 0.15;
    transition: opacity 0.2s ease;
}

.about-hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    max-width: 800px;
    padding: 4rem 2rem;
}

.about-hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.05em;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5), 0 0 40px rgba(26, 35, 126, 0.8);
    transition: color 0.4s ease, text-shadow 0.4s ease;
}

.about-hero-content p {
    font-size: 1.3rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.03em;
    transition: color 0.4s ease;
}

body.light-mode .about-hero-content h1 {
    color: #000000;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.3), 0 0 40px rgba(100, 181, 246, 0.5);
}

body.light-mode .about-hero-content p {
    color: #000000;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 2rem 6rem 2rem;
}

.content-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.about-section h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
    position: relative;
    padding-bottom: 1rem;
    transition: color 0.4s ease;
}

.about-section:focus-visible h2 {
    border-left: 4px solid #b71c1c;
    padding-left: 1rem;
}

body.light-mode .about-section:focus-visible h2 {
    border-left: 4px solid #64B5F6;
}

.about-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #b71c1c 0%, transparent 100%);
    border-radius: 2px;
}

body.light-mode .about-section h2::after {
    background: linear-gradient(90deg, #64B5F6 0%, transparent 100%);
}

.about-section p {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    transition: color 0.4s ease;
}

.sell-form-section {
    background: transparent;
    padding: 6rem 2rem;
    margin-top: 4rem;
    transition: background 0.4s ease;
}

.form-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.form-container h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: 0.02em;
    transition: color 0.4s ease;
}

.sell-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.08);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background 0.4s ease, border-color 0.4s ease;
}

body.light-mode .sell-form {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.02em;
    transition: color 0.4s ease;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    padding: 1rem;
    border: 2px solid #b71c1c;
    border-radius: 8px;
    background: var(--nav-bg);
    color: var(--text-primary);
    transition: border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}

body.light-mode .form-group input,
body.light-mode .form-group select,
body.light-mode .form-group textarea {
    border-color: var(--nav-border);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #b71c1c;
    box-shadow: 0 0 0 3px rgba(183, 28, 28, 0.1);
}

body.light-mode .form-group input:focus,
body.light-mode .form-group select:focus,
body.light-mode .form-group textarea:focus {
    border-color: #64B5F6;
    box-shadow: 0 0 0 3px rgba(100, 181, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 400;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #b71c1c;
}

body.light-mode .checkbox-group input[type="checkbox"] {
    accent-color: #64B5F6;
}

body.light-mode .checkbox-group a {
    color: #1976D2 !important;
}

.submit-btn {
    background-color: #b71c1c;
    color: #ffffff;
    border: none;
    padding: 1.25rem 3rem;
    font-size: 1.2rem;
    font-weight: bold;
    font-family: 'Orbitron', sans-serif;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 8px 16px rgba(183, 28, 28, 0.4), 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: background-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
    align-self: center;
    min-width: 250px;
}

.submit-btn:hover {
    background-color: #d32f2f;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(183, 28, 28, 0.5), 0 6px 12px rgba(0, 0, 0, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 8px rgba(183, 28, 28, 0.3);
}

body.light-mode .submit-btn {
    background-color: #64B5F6;
    color: #000000;
    box-shadow: 0 8px 16px rgba(100, 181, 246, 0.4), 0 4px 8px rgba(0, 0, 0, 0.2);
}

body.light-mode .submit-btn:hover {
    background-color: #42A5F5;
    box-shadow: 0 12px 24px rgba(100, 181, 246, 0.5), 0 6px 12px rgba(0, 0, 0, 0.3);
}

body.light-mode .submit-btn:active {
    box-shadow: 0 4px 8px rgba(100, 181, 246, 0.3);
}

@media (max-width: 768px) {
    .about-hero-content h1 {
        font-size: 3rem;
    }

    .about-hero-content p {
        font-size: 1.1rem;
    }

    .about-content {
        padding: 4rem 1.5rem;
    }

    .content-container {
        gap: 3rem;
    }

    .about-section h2 {
        font-size: 2rem;
    }

    .about-section p {
        font-size: 1rem;
    }

    .sell-form-section {
        padding: 4rem 1.5rem;
    }

    .form-container h2 {
        font-size: 1.8rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .submit-btn {
        width: 100%;
        min-width: auto;
    }
}

.modal {
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    transition: opacity 0.3s ease, backdrop-filter 0.3s ease;
}

body.light-mode .modal {
    background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
    background: var(--nav-bg);
    margin: 5% auto;
    padding: 3rem;
    border: 2px solid var(--nav-border);
    border-radius: 16px;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: translateY(-20px);
    transition: background 0.4s ease, transform 0.3s ease, border-color 0.4s ease;
}

body.light-mode .modal-content {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
    transition: color 0.4s ease;
}

.modal-body {
    margin-bottom: 2rem;
}

.modal-body p {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    transition: color 0.4s ease;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    color: var(--text-primary);
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    color: #b71c1c;
}

body.light-mode .modal-close:hover {
    color: #64B5F6;
}

.modal-agree-btn {
    background-color: #b71c1c;
    color: #ffffff;
    border: none;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: bold;
    font-family: 'Orbitron', sans-serif;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 8px 16px rgba(183, 28, 28, 0.4);
    transition: background-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
    display: block;
    margin: 0 auto;
    min-width: 200px;
}

.modal-agree-btn:hover {
    background-color: #d32f2f;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(183, 28, 28, 0.5);
}

body.light-mode .modal-agree-btn {
    background-color: #64B5F6;
    color: #000000;
    box-shadow: 0 8px 16px rgba(100, 181, 246, 0.4);
}

body.light-mode .modal-agree-btn:hover {
    background-color: #42A5F5;
    box-shadow: 0 12px 24px rgba(100, 181, 246, 0.5);
}

.modal-content::-webkit-scrollbar {
    width: 10px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--nav-border);
    border-radius: 5px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #b71c1c;
}

body.light-mode .modal-content::-webkit-scrollbar-thumb:hover {
    background: #64B5F6;
}
