* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: Arial, Helvetica, sans-serif;

    background: #f6f8fc;

    color: #172033;
}


/* =========================
   NAVBAR
========================= */

.navbar {

    height: 70px;

    padding: 0 8%;

    display: flex;

    justify-content: space-between;

    align-items: center;

    background: white;

    border-bottom: 1px solid #e5e7eb;

    position: sticky;

    top: 0;

    z-index: 100;
}


.logo {

    font-size: 26px;

    font-weight: 800;
}


.logo span {

    color: #2563eb;
}


.nav-links {

    display: flex;

    align-items: center;

    gap: 25px;
}


.nav-links a {

    color: #475569;

    text-decoration: none;

    font-weight: 600;
}


.nav-links a:hover {

    color: #2563eb;
}


.admin-link {

    background: #eff6ff;

    padding: 9px 14px;

    border-radius: 7px;
}


/* =========================
   HERO
========================= */

.hero {

    min-height: 540px;

    display: flex;

    align-items: center;

    padding: 80px 8%;

    background:
        linear-gradient(
            135deg,
            #eff6ff,
            #ffffff
        );
}


.hero-content {

    max-width: 720px;
}


.tag {

    color: #2563eb;

    font-size: 13px;

    font-weight: bold;

    letter-spacing: 2px;

    margin-bottom: 18px;
}


.hero h1 {

    font-size: 62px;

    line-height: 1.08;

    color: #0f172a;

    margin-bottom: 22px;
}


.hero h1 span {

    color: #2563eb;
}


.hero-text {

    max-width: 620px;

    color: #64748b;

    font-size: 19px;

    line-height: 1.7;

    margin-bottom: 35px;
}


.primary-button,
.secondary-button {

    display: inline-block;

    padding: 14px 24px;

    border-radius: 8px;

    text-decoration: none;

    font-weight: bold;

    margin-right: 10px;
}


.primary-button {

    background: #2563eb;

    color: white;
}


.primary-button:hover {

    background: #1d4ed8;
}


.secondary-button {

    background: white;

    color: #2563eb;

    border: 1px solid #2563eb;
}


/* =========================
   SECTION TITLE
========================= */

.section-title {

    text-align: center;

    margin-bottom: 35px;
}


.section-title > p {

    color: #2563eb;

    font-size: 13px;

    font-weight: bold;

    letter-spacing: 2px;

    margin-bottom: 10px;
}


.section-title h2 {

    font-size: 36px;

    color: #0f172a;

    margin-bottom: 10px;
}


.section-title span {

    color: #64748b;
}


/* =========================
   HOW IT WORKS
========================= */

.how-section {

    padding: 80px 8%;
}


.steps {

    max-width: 1000px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}


.step-card {

    background: white;

    padding: 30px;

    border-radius: 12px;

    text-align: center;

    box-shadow:
        0 5px 20px
        rgba(0, 0, 0, 0.05);
}


.step-number {

    width: 45px;

    height: 45px;

    margin: 0 auto 18px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #2563eb;

    color: white;

    font-weight: bold;
}


.step-card h3 {

    margin-bottom: 10px;
}


.step-card p {

    color: #64748b;

    line-height: 1.6;
}


/* =========================
   REPORT
========================= */

.report-section {

    max-width: 950px;

    margin: auto;

    padding: 80px 20px;
}


form {

    background: white;

    padding: 35px;

    border-radius: 14px;

    box-shadow:
        0 8px 30px
        rgba(0, 0, 0, 0.06);
}


.form-row {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 20px;
}


.form-group {

    display: flex;

    flex-direction: column;

    margin-bottom: 20px;
}


label {

    font-weight: 600;

    color: #334155;

    margin-bottom: 8px;
}


input,
select,
textarea {

    width: 100%;

    padding: 13px 14px;

    border: 1px solid #cbd5e1;

    border-radius: 8px;

    outline: none;

    background: white;

    font-family: inherit;

    font-size: 15px;
}


input:focus,
select:focus,
textarea:focus {

    border-color: #2563eb;

    box-shadow:
        0 0 0 3px
        rgba(37, 99, 235, 0.1);
}


textarea {

    resize: vertical;
}


.submit-button {

    width: 100%;

    padding: 14px;

    background: #2563eb;

    color: white;

    border: none;

    border-radius: 8px;

    font-size: 16px;

    font-weight: bold;

    cursor: pointer;
}


.submit-button:hover {

    background: #1d4ed8;
}


/* =========================
   SUCCESS
========================= */

.success-message {

    display: none;

    margin-top: 25px;

    padding: 30px;

    background: #ecfdf5;

    border: 1px solid #a7f3d0;

    border-radius: 12px;

    text-align: center;

    color: #047857;
}


.success-icon {

    width: 50px;

    height: 50px;

    margin: auto;

    display: flex;

    justify-content: center;

    align-items: center;

    border-radius: 50%;

    background: #10b981;

    color: white;

    font-size: 25px;

    margin-bottom: 15px;
}


.success-message h3 {

    margin-bottom: 10px;

    font-size: 24px;
}


.generated-ticket {

    display: inline-block;

    margin: 15px;

    padding: 12px 22px;

    background: white;

    border: 2px dashed #10b981;

    border-radius: 8px;

    color: #065f46;

    font-size: 25px;

    font-weight: bold;

    letter-spacing: 2px;
}


.save-warning {

    margin-bottom: 15px;
}


.copy-button {

    padding: 10px 18px;

    border: none;

    border-radius: 7px;

    background: #047857;

    color: white;

    cursor: pointer;

    font-weight: bold;
}


/* =========================
   TRACK
========================= */

.track-section {

    padding: 80px 8%;

    background: #eef2f7;

    min-height: 500px;
}


.track-box {

    max-width: 700px;

    margin: auto;

    padding: 30px;

    background: white;

    border-radius: 12px;

    box-shadow:
        0 5px 20px
        rgba(0, 0, 0, 0.05);
}


.track-box label {

    display: block;
}


.ticket-search {

    display: grid;

    grid-template-columns:
        1fr 120px;

    gap: 10px;
}


.ticket-search button {

    border: none;

    border-radius: 8px;

    background: #2563eb;

    color: white;

    font-weight: bold;

    cursor: pointer;
}


.ticket-search button:hover {

    background: #1d4ed8;
}


/* =========================
   TRACK RESULT
========================= */

#ticketResult {

    max-width: 700px;

    margin: 25px auto 0;
}


.ticket-card {

    background: white;

    padding: 28px;

    border-radius: 12px;

    box-shadow:
        0 5px 20px
        rgba(0, 0, 0, 0.05);
}


.ticket-top {

    display: flex;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 20px;
}


.ticket-number {

    color: #2563eb;

    font-size: 13px;

    font-weight: bold;

    margin-bottom: 6px;
}


.ticket-card h3 {

    font-size: 23px;

    color: #0f172a;
}


.ticket-details {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 12px;

    color: #64748b;

    margin-bottom: 20px;
}


.ticket-description {

    padding: 15px;

    background: #f8fafc;

    color: #475569;

    border-radius: 8px;

    line-height: 1.6;

    margin-bottom: 22px;
}


/* =========================
   STATUS
========================= */

.status {

    height: fit-content;

    padding: 8px 13px;

    border-radius: 20px;

    font-size: 12px;

    font-weight: bold;

    white-space: nowrap;
}


.status-pending {

    background: #fff7ed;

    color: #c2410c;
}


.status-progress {

    background: #eff6ff;

    color: #1d4ed8;
}


.status-resolved {

    background: #ecfdf5;

    color: #047857;
}


/* =========================
   PROGRESS TRACKER
========================= */

.progress-tracker {

    display: flex;

    align-items: center;

    margin-top: 25px;
}


.progress-step {

    flex: 1;

    text-align: center;

    font-size: 13px;

    color: #94a3b8;

    position: relative;
}


.progress-step::before {

    content: "";

    display: block;

    width: 16px;

    height: 16px;

    margin: 0 auto 8px;

    border-radius: 50%;

    background: #cbd5e1;
}


.progress-step.active {

    color: #2563eb;

    font-weight: bold;
}


.progress-step.active::before {

    background: #2563eb;
}


/* =========================
   NOT FOUND
========================= */

.not-found {

    background: white;

    padding: 30px;

    border-radius: 12px;

    text-align: center;

    color: #64748b;

    border: 1px solid #e2e8f0;
}


.not-found h3 {

    color: #dc2626;

    margin-bottom: 8px;
}


/* =========================
   FOOTER
========================= */

footer {

    padding: 45px 20px;

    background: #0f172a;

    color: #cbd5e1;

    text-align: center;
}


.footer-logo {

    color: white;

    font-size: 25px;

    font-weight: bold;

    margin-bottom: 10px;
}


.footer-logo span {

    color: #60a5fa;
}


footer small {

    display: block;

    margin-top: 10px;

    color: #64748b;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {

    .navbar {

        padding: 0 4%;
    }


    .nav-links {

        gap: 9px;
    }


    .nav-links a {

        font-size: 12px;
    }


    .hero {

        padding: 70px 6%;
    }


    .hero h1 {

        font-size: 42px;
    }


    .hero-text {

        font-size: 16px;
    }


    .steps {

        grid-template-columns: 1fr;
    }


    .form-row {

        grid-template-columns: 1fr;
    }


    form {

        padding: 25px 20px;
    }


    .ticket-search {

        grid-template-columns: 1fr;
    }


    .ticket-search button {

        padding: 13px;
    }


    .ticket-top {

        flex-direction: column;
    }


    .ticket-details {

        grid-template-columns: 1fr;
    }

}