* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #0d0d0d;
    color: #f0f0f0;
}

a {
    text-decoration: none;
    color: inherit;
}

/* NAVBAR */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 40px;
    border-bottom: 1px solid #1c1c1c;
    background-color: #0d0d0d;
}

.logo {
    font-weight: 700;
    font-size: 20px;
    color: #c9a45c;
}

.navbar nav {
    display: flex;
    gap: 26px;
}

.navbar nav a {
    font-size: 14px;
    color: #d6d6d6;
    transition: 0.2s;
}

.navbar nav a:hover {
    color: #c9a45c;
}

.navbar nav a:visited {
    color: #f5f5f5;
}

/* HERO */

.hero {
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    background: linear-gradient(
        rgba(5, 5, 5, 0.7),
        rgba(5, 5, 5, 0.9)
    ),
    url("https://images.unsplash.com/photo-1511884642898-4c92249e20b6?auto=format&fit=crop&w=1600&q=80");

    background-size: cover;
    background-position: center;
}

.hero-overlay {
    max-width: 650px;
}

.hero h1 {
    font-size: 64px;
    margin-bottom: 10px;
}

.hero-sub {
    font-size: 20px;
    color: #bdbdbd;
    margin-bottom: 30px;
}

/* BUTTONS */

.btn {
    padding: 12px 26px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    transition: 0.2s;
    display: inline-block;
    cursor: pointer;
    border: none;
}

.btn.primary {
    background: #c9a45c;
    color: #111;
}

.btn.primary:hover {
    background: #ddb76a;
}

.btn.secondary {
    border: 1px solid #c9a45c;
    color: #c9a45c;
}

.btn.secondary:hover {
    background: #c9a45c;
    color: #111;
}

.btn.small {
    display: inline-block;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    background-color: #c9a45c;
    color: #111111;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.btn.small:hover {
    background-color: #ddb76a;
    transform: translateY(-1px);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
}

/* CONTAINERS */

.container,
.section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 20px;
}

.content-block,
.intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.content-block h2 {
    font-size: 32px;
    color: #c9a45c;
}

.content-block p {
    margin-top: 15px;
    color: #cfcfcf;
    line-height: 1.7;
}

/* CARDS */

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.card,
.feature-card {
    padding: 25px;
    border: 1px solid #1f1f1f;
    background: #141414;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.card:hover {
    border-color: #c9a45c;
    transform: translateY(-3px);
}

.card h3,
.feature-card h3 {
    color: #c9a45c;
    margin-bottom: 10px;
}

.card p,
.feature-card p {
    color: #cfcfcf;
}

/* CTA */

.cta {
    text-align: center;
}

.cta h2 {
    color: #c9a45c;
}

.cta p {
    margin: 15px auto 30px;
    max-width: 500px;
    color: #cfcfcf;
}

/* FOOTER */

.footer {
    text-align: center;
    padding: 30px;
    border-top: 1px solid #1c1c1c;
    color: #777;
}

/* APPLY PAGE */

.apply-header {
    padding-top: 55px;
    padding-bottom: 25px;
}

.apply-header .content-block {
    margin: 0 auto;
}

.apply-header .content-block h2 {
    font-size: 42px;
    margin-bottom: 14px;
}

.apply-header .content-block p {
    font-size: 16px;
    color: #b8b8b8;
    max-width: 560px;
    margin: 0 auto;
}

.apply-form-wrap {
    padding-top: 10px;
    padding-bottom: 90px;
}

.application-form {
    max-width: 820px;
    margin: 0 auto;
    background-color: #141414;
    border: 1px solid #242424;
    padding: 34px;
    border-radius: 8px;
}

.form-section {
    margin-top: 30px;
    padding-top: 28px;
    border-top: 1px solid #2b2b2b;
}

.form-section:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.form-section h3 {
    color: #c9a45c;
    margin: 0 0 22px;
    font-size: 22px;
}

.application-form label {
    display: block;
    margin: 0 0 8px;
    font-weight: 600;
    color: #c9a45c;
}

.application-form input,
.application-form textarea,
.application-form select {
    width: 100%;
    display: block;
    margin-bottom: 18px;
    padding: 14px;
    background-color: #101010;
    border: 1px solid #2c2c2c;
    border-radius: 4px;
    color: #f0f0f0;
    font-size: 14px;
    font-family: Arial, sans-serif;
}

.application-form textarea {
    min-height: 130px;
    resize: vertical;
}

.application-form input::placeholder,
.application-form textarea::placeholder {
    color: #7d7d7d;
}

.application-form input:focus,
.application-form textarea:focus,
.application-form select:focus {
    outline: none;
    border-color: #c9a45c;
}

.application-form button {
    width: 100%;
    margin-top: 10px;
}

/* DASHBOARD */

.application-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.application-card {
    background-color: #141414;
    border: 1px solid #1f1f1f;
    padding: 20px;
    border-radius: 6px;
}

.application-card h3 {
    color: #c9a45c;
}

.application-card p {
    color: #d0d0d0;
    line-height: 1.6;
    margin-bottom: 10px;
}

.application-card strong {
    color: #f0f0f0;
}

.application-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

/* ABOUT PAGE */

.about-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-content {
    max-width: 700px;
}

.about-content h2 {
    color: #c9a45c;
    font-size: 36px;
    margin-bottom: 20px;
}

.about-content p {
    color: #cfcfcf;
    line-height: 1.7;
    margin-bottom: 18px;
}

.about-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* SUPPORT PAGE */

.support-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

.support-content h2 {
    color: #c9a45c;
    font-size: 36px;
    margin-bottom: 20px;
}

.support-content p {
    color: #cfcfcf;
    line-height: 1.7;
    margin-bottom: 16px;
}

.support-box {
    margin-top: 30px;
    padding: 24px;
    border: 1px solid #3a3122;
    border-left: 4px solid #c9a45c;
    background-color: #141414;
    border-radius: 6px;
}

.support-box h3 {
    color: #c9a45c;
    margin-bottom: 10px;
}

.support-tiers {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.support-tiers .btn {
    margin-top: 12px;
}

/* APPLICATION DETAIL PAGE */

.detail-layout {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 24px;
    align-items: start;
}

.detail-card {
    background-color: #141414;
    border: 1px solid #1f1f1f;
    padding: 24px;
    border-radius: 6px;
}

.detail-card h3 {
    color: #c9a45c;
    margin-top: 0;
    margin-bottom: 16px;
}

.detail-card p {
    color: #d0d0d0;
    line-height: 1.6;
    margin-bottom: 12px;
}

.review-form select {
    width: 100%;
    padding: 12px;
    background-color: #101010;
    border: 1px solid #2c2c2c;
    border-radius: 4px;
    color: #f0f0f0;
    font-size: 14px;
    font-family: Arial, sans-serif;
}

.review-form select:focus {
    outline: none;
    border-color: #c9a45c;
}

/* TABLES */

.table-wrapper {
    width: 100%;
    max-height: 650px;
    overflow-x: auto;
    overflow-y: auto;
    background-color: #141414;
    border: 1px solid #1f1f1f;
    border-radius: 6px;
}

.app-table {
    min-width: 1250px;
    width: max-content;
    border-collapse: collapse;
    font-size: 14px;
}

.app-table thead {
    background-color: #1a1a1a;
}

.app-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background-color: #1a1a1a;
}

.app-table th {
    text-align: left;
    padding: 14px;
    color: #c9a45c;
    font-weight: 600;
    border-bottom: 1px solid #2a2a2a;
    white-space: nowrap;
}

.app-table td {
    padding: 14px;
    border-bottom: 1px solid #1f1f1f;
    color: #d0d0d0;
    white-space: nowrap;
}

.app-table tr:hover {
    background-color: #181818;
}

.app-table th:first-child,
.app-table td:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background-color: #141414;
}

.app-table thead th:first-child {
    z-index: 3;
    background-color: #1a1a1a;
}

/* STATUS */

.status.pending {
    color: #d6a84c;
}

.status.approved {
    color: #4cd67a;
}

.status.denied {
    color: #d64c4c;
}

.status-badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.status-badge.pending {
    background-color: rgba(201, 164, 92, 0.18);
    color: #d6a84c;
    border: 1px solid rgba(201, 164, 92, 0.35);
}

.status-badge.approved {
    background-color: rgba(76, 214, 122, 0.14);
    color: #4cd67a;
    border: 1px solid rgba(76, 214, 122, 0.35);
}

.status-badge.denied {
    background-color: rgba(214, 76, 76, 0.14);
    color: #d64c4c;
    border: 1px solid rgba(214, 76, 76, 0.35);
}

/* SEARCH */

.table-search-wrap {
    max-width: 420px;
}

.table-search {
    width: 100%;
    padding: 12px 14px;
    background-color: #101010;
    border: 1px solid #2c2c2c;
    border-radius: 4px;
    color: #f0f0f0;
    font-size: 14px;
    font-family: Arial, sans-serif;
}

.table-search:focus {
    outline: none;
    border-color: #c9a45c;
}

.table-search::placeholder {
    color: #7d7d7d;
}

/* MOBILE */

@media (max-width: 900px) {
    .about-layout,
    .support-layout,
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .about-cards,
    .support-tiers {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 14px;
        padding: 18px 20px;
    }

    .navbar nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .container,
    .section {
        padding: 55px 18px;
    }

    .application-form {
        padding: 24px;
    }

    .apply-header .content-block h2 {
        font-size: 34px;
    }
}