:root {
    --brand-navy-900: #063F52;
    --brand-navy-800: #07556B;
    --brand-teal-500: #11B7BE;
    --brand-teal-400: #26C3C7;
    --brand-orange-500: #F28C00;
    --bg-page: #F2F2F2;
    --bg-surface: #FFFFFF;
    --text-main: #063F52;
    --text-body: #35515D;
    --text-muted: #7E9098;
    --text-on-dark: #FFFFFF;
    --radius-lg: 24px;
    --shadow-premium: 0 12px 35px rgba(6, 63, 82, 0.08);
    --gradient-dark: linear-gradient(135deg, #063F52 0%, #07556B 100%);
}

/* Page Title Area */
.page-header { padding: 4rem 0 3rem; text-align: center; background: white; border-bottom: 1px solid #e2e8f0; margin-bottom: 4rem; }
.page-header h1 { font-weight: 800; font-size: 2.5rem; color: var(--brand-navy-900); margin-bottom: 0.75rem; }
.page-header p  { font-size: 1.1rem; color: var(--text-muted); max-width: 600px; margin: 0 auto; line-height: 1.7; font-weight: 500; }

/* Form Card Styling */
.form-card {
    background: var(--bg-surface); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    max-width: 960px; margin: 0 auto 5rem;
    border: 1px solid #e2e8f0; overflow: hidden;
}
.form-card-header {
    background: var(--gradient-dark); padding: 2rem 3rem; color: white;
    display: flex; align-items: center; gap: 1.5rem;
}
.form-card-header .header-icon {
    width: 54px; height: 54px; border-radius: 16px;
    background: rgba(255,255,255,0.15); color: white;
    display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.2);
}
.form-card-header h2 { font-size: 1.25rem; font-weight: 800; margin: 0; color: white; }
.form-card-header p  { font-size: 0.9rem; color: rgba(255,255,255,0.7); margin: 0; font-weight: 500; }

.form-card-body { padding: 3.5rem 3rem; }

/* Inputs & Labels */
.form-label { font-weight: 700; font-size: 0.9rem; color: var(--brand-navy-900); margin-bottom: 8px; display: block; opacity: 0.95; }
.req-star { color: var(--brand-orange-500); margin-inline-start: 3px; }
.form-control, .form-select {
    border-radius: 14px; padding: 0.8rem 1.2rem;
    border: 1px solid #e2e8f0; background: #f8fafc;
    font-size: 1rem; color: var(--brand-navy-900); font-weight: 600;
    transition: all 0.2s ease;
}
.form-control:focus, .form-select:focus {
    border-color: var(--brand-teal-500); background: white;
    box-shadow: 0 0 0 4px rgba(17, 183, 190, 0.1);
    outline: none;
}

/* Section Separators */
.section-heading { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.section-heading .ico {
    width: 42px; height: 42px; background: rgba(17, 183, 190, 0.1); color: var(--brand-teal-500);
    border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0;
}
.section-heading .txt { font-weight: 800; font-size: 1.1rem; color: var(--brand-navy-900); }

/* Custom Upload */
.upload-wrapper {
    border: 2px dashed #cbd5e1; border-radius: 16px;
    padding: 3rem 2rem; text-align: center; cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); background: #fdfdfe; display: block;
}
.upload-wrapper:hover { border-color: var(--brand-teal-500); background: rgba(17, 183, 190, 0.03); transform: scale(1.01); }
.upload-wrapper i { font-size: 3rem; color: var(--brand-teal-500); margin-bottom: 1rem; display: block; }
.upload-wrapper .lead { font-weight: 800; color: var(--brand-navy-900); font-size: 1.1rem; margin-bottom: 0.5rem; }

/* Submit Row */
.btn-submit {
    background: var(--brand-teal-500); border: none; color: white;
    border-radius: 999px; padding: 1rem 4rem;
    font-weight: 800; font-size: 1.1rem;
    display: inline-flex; align-items: center; gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(17, 183, 190, 0.3);
    cursor: pointer;
}
.btn-submit:hover { background: var(--brand-teal-400); transform: translateY(-3px); box-shadow: 0 15px 35px rgba(17, 183, 190, 0.45); }

/* Feedback Specific */
.card-survey {
    border: none;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.question-box {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 1.25rem;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.question-box:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
}

.label-q {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    display: block;
}
.label-q[data-required="1"]::after {
    content: " *";
    color: #ef4444;
    margin-inline-start: 4px;
}

.rating-grid-10 {
    display: grid;
    grid-template-columns: repeat(11, 1fr);
    gap: 4px;
}
@media (max-width: 576px) {
    .rating-grid-10 { grid-template-columns: repeat(4, 1fr); gap: 6px; }
}

.rating-option input { display: none; }
.rating-option label {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    width: 100%;
    border: 2px solid #f1f5f9;
    border-radius: 0.75rem;
    background: #fff;
    color: #64748b;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}
.rating-option input:checked + label {
    background: var(--brand-navy-900);
    border-color: var(--brand-navy-900);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.faces-scale label {
    height: 70px;
    flex-direction: column;
    gap: 2px;
    font-size: 1.1rem;
}
.faces-scale .emoji { font-size: 1.5rem; line-height: 1; }

.modern-input {
    border: 2px solid #f1f5f9;
    border-radius: 1rem;
    background: #f8fafc;
    padding: 1rem;
    transition: all 0.2s;
}
.modern-input:focus {
    background: #fff;
    border-color: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.fade-up {
    animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(20px);
}
@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

.lang-pills {
    background: rgba(255, 255, 255, 0.5);
    padding: 0.25rem;
    border-radius: 2rem;
    display: inline-flex;
    border: 1px solid rgba(0, 0, 0, 0.05);
}
.lang-pills a {
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    color: #64748b;
    transition: all 0.2s;
}
.lang-pills a.active {
    background: #fff;
    color: #0f172a;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.section-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #f1f5f9;
    color: #64748b;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

/* ── Topbar ──────────────────────────────────────────── */
.pub-topbar {
    background: var(--gradient-dark);
    padding: 1rem 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
    position: sticky; top: 0; z-index: 1000;
}
.topbar-brand { text-decoration: none; display: flex; align-items: center; gap: 0.75rem; }
.topbar-logo  { height: 40px; max-width: 140px; object-fit: contain; }
.btn-topbar {
    background: rgba(255,255,255,0.1); color: white;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 999px; padding: 0.45rem 1.25rem;
    font-size: 0.85rem; font-weight: 700;
    text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem;
    transition: all 0.2s;
}
.btn-topbar:hover { background: white; color: var(--brand-navy-900); }

/* ── Hero ────────────────────────────────────────────── */
.hero-section {
    background: white;
    border-bottom: 1px solid #e2e8f0;
    padding: 4rem 0 3rem;
    text-align: center;
}
.hero-section h1 {
    font-weight: 900; font-size: 2.2rem;
    color: var(--brand-navy-900); margin-bottom: 0.5rem;
}
.hero-section p {
    color: var(--text-muted); font-size: 1rem; font-weight: 500;
}

/* ── Track Card ──────────────────────────────────────── */
.track-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    border: 1px solid #e2e8f0;
    max-width: 680px;
    margin: 2.5rem auto;
    overflow: hidden;
}
.track-card-header {
    background: var(--gradient-dark);
    color: white;
    padding: 1.75rem 2.5rem;
    display: flex; align-items: center; gap: 1rem;
}
.track-card-header i { font-size: 1.75rem; opacity: 0.85; }
.track-card-header h2 { font-size: 1.25rem; font-weight: 800; margin: 0; }
.track-card-header p  { font-size: 0.875rem; margin: 0; opacity: 0.75; }
.track-card-body { padding: 2.5rem; }

/* ── Form elements ───────────────────────────────────── */
.form-label-secure {
    font-size: 0.8rem; font-weight: 800;
    color: var(--text-muted); text-transform: uppercase;
    letter-spacing: 0.5px; margin-bottom: 0.5rem; display: block;
}
.form-control-secure {
    border: 2px solid #e2e8f0; border-radius: 12px;
    padding: 0.85rem 1.25rem; font-size: 1rem; font-weight: 600;
    color: var(--brand-navy-900); transition: all 0.25s;
    width: 100%;
}
.form-control-secure:focus {
    outline: none; border-color: var(--brand-teal-500);
    box-shadow: 0 0 0 4px rgba(17, 183, 190, 0.12);
}
.btn-track-submit {
    background: var(--brand-navy-900); color: white;
    border: none; border-radius: 12px;
    padding: 0.9rem 2.5rem; font-size: 1rem; font-weight: 800;
    width: 100%; cursor: pointer; transition: all 0.2s;
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
}
.btn-track-submit:hover { background: var(--brand-navy-800); transform: translateY(-1px); }

/* ── Divider ─────────────────────────────────────────── */
.alt-divider {
    display: flex; align-items: center; gap: 1rem;
    color: var(--text-muted); font-size: 0.85rem; font-weight: 700;
    margin: 1.5rem 0;
}
.alt-divider::before, .alt-divider::after {
    content: ''; flex: 1; height: 1px; background: #e2e8f0;
}

/* ── Alert ───────────────────────────────────────────── */
.alert-track-error {
    background: #fff5f5; border: 1.5px solid #f87171;
    border-radius: 12px; padding: 1rem 1.5rem;
    color: #b91c1c; font-weight: 700; font-size: 0.95rem;
    display: flex; align-items: center; gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.helper-text {
    background: rgba(17, 183, 190, 0.07); border: 1px solid rgba(17, 183, 190, 0.25);
    border-radius: 12px; padding: 1rem 1.5rem;
    color: var(--brand-navy-900); font-size: 0.875rem; font-weight: 600;
    display: flex; align-items: flex-start; gap: 0.75rem;
    margin-top: 1.5rem;
}

/* ── Result Card ─────────────────────────────────────── */
.result-card {
    background: white; border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    max-width: 960px; margin: 0 auto 3rem; overflow: hidden;
}
.result-header {
    padding: 2.5rem 3rem; border-bottom: 1px solid #f1f5f9;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 1.5rem; background: #fafbfc;
}
.ticket-id { font-weight: 900; font-size: 2rem; color: var(--brand-navy-900); font-family: monospace; letter-spacing: 1px; }
.status-pill {
    padding: 0.7rem 1.8rem; border-radius: 999px; font-size: 0.95rem; font-weight: 800;
    display: flex; align-items: center; gap: 0.75rem; text-transform: uppercase;
}
.data-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; padding: 3rem; }
.data-item .label { font-size: 0.8rem; font-weight: 800; color: var(--text-muted); text-transform: uppercase; margin-bottom: 0.5rem; display: block; letter-spacing: 0.5px; }
.data-item .val   { font-weight: 800; font-size: 1.15rem; color: var(--brand-navy-900); }
@media(max-width: 576px) { .data-grid { grid-template-columns: 1fr; padding: 2rem; } }

/* ── Timeline ────────────────────────────────────────── */
.timeline-section { padding: 3rem; border-top: 1px solid #f1f5f9; background: #fdfdfe; }
.section-title { font-weight: 800; font-size: 1.35rem; margin-bottom: 3.5rem; color: var(--brand-navy-900); display: flex; align-items: center; gap: 1rem; }
.tl-item { position: relative; padding-inline-start: 4rem; margin-bottom: 3.5rem; }
.tl-item:not(:last-child)::after {
    content: ''; position: absolute; inset-inline-start: 19px; top: 45px; bottom: -35px;
    width: 3px; background: #f1f5f9;
}
.tl-icon {
    position: absolute; inset-inline-start: 0; top: 0;
    width: 42px; height: 42px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    background: white; border: 2.5px solid #e2e8f0; font-size: 1.2rem; z-index: 1;
    transition: all 0.3s;
}
.tl-item.active .tl-icon { border-color: var(--brand-teal-500); color: var(--brand-teal-500); background: rgba(17, 183, 190, 0.05); }
.tl-info .title { font-weight: 800; font-size: 1.1rem; color: var(--brand-navy-900); margin-bottom: 0.3rem; }
.tl-info .date  { font-size: 0.85rem; color: var(--text-muted); font-weight: 700; margin-bottom: 1rem; }
.tl-body {
    background: white; border: 1.5px solid #e2e8f0; border-radius: 16px;
    padding: 1.5rem; font-size: 1rem; color: var(--text-body); font-weight: 500;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

/* ── Footer ──────────────────────────────────────────── */
footer { background: var(--brand-navy-900); color: white; padding: 4rem 0; margin-top: auto; }
.footer-link { color: rgba(255,255,255,0.7); text-decoration: none; font-weight: 700; margin: 0 1.5rem; font-size: 0.9rem; }
.footer-link:hover { color: var(--brand-teal-500); }

/* ── Utils ───────────────────────────────────────────── */
.fw-800 { font-weight: 800; }
.fw-900 { font-weight: 900; }
.text-teal { color: var(--brand-teal-500) !important; }
.main-content { flex: 1; padding: 2rem 0 4rem; }

/* ── Landing Page Extensions ────────────────────────── */
.page-hero {
    background: white; border-bottom: 1px solid #e2e8f0;
    padding: 5rem 0 4rem; text-align: center;
}
.page-hero h1 {
    font-weight: 900; font-size: 2.75rem; color: var(--brand-navy-900);
    margin-bottom: 1rem; letter-spacing: -0.5px;
}
.page-hero p {
    color: var(--text-muted); font-size: 1.15rem; font-weight: 500;
    max-width: 600px; margin: 0 auto;
}

.choice-card {
    background: white; border: 1px solid #e2e8f0; border-radius: var(--radius-lg);
    padding: 3.5rem 2.5rem; text-align: center; text-decoration: none !important;
    display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%; box-shadow: var(--shadow-premium);
    position: relative; overflow: hidden;
}
.choice-card:hover {
    transform: translateY(-10px);
    border-color: var(--brand-teal-500);
    box-shadow: 0 20px 50px rgba(6, 63, 82, 0.12);
}
.choice-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 6px;
    background: var(--gradient-dark); opacity: 0; transition: opacity 0.3s;
}
.choice-card:hover::before { opacity: 1; }

.choice-icon {
    width: 80px; height: 80px; background: rgba(17, 183, 190, 0.08);
    color: var(--brand-teal-500); border-radius: 24px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem; transition: all 0.3s;
}
.choice-card:hover .choice-icon {
    background: var(--brand-teal-500); color: white;
    transform: scale(1.1) rotate(5deg);
}

.choice-title { font-weight: 800; font-size: 1.5rem; color: var(--brand-navy-900); margin: 0; }
.choice-desc  { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; margin: 0; font-weight: 500; }

.badge-special {
    position: absolute; top: 1.5rem; right: 1.5rem;
    background: var(--brand-orange-500); color: white;
    padding: 0.35rem 1rem; border-radius: 999px;
    font-size: 0.7rem; font-weight: 800; text-transform: uppercase;
    letter-spacing: 1px; box-shadow: 0 4px 12px rgba(242, 140, 0, 0.3);
}

.trust-section { margin-top: 6rem; padding-top: 4rem; border-top: 1px solid #e2e8f0; }
.trust-item { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; color: var(--brand-navy-900); font-weight: 700; font-size: 0.9rem; }
.trust-item i { transition: transform 0.3s; }
.trust-item:hover i { transform: scale(1.2); }
