* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --glow: rgba(98, 163, 255, 0.5);
}

body {
    background: #0b0b0b;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    padding-top: 70px;
}

/* =========================
   TOP BAR / NAVIGATION
========================= */

body {
    background: #0b0b0b;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    padding-top: 90px;
}

.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background: #000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    z-index: 1000;
}

.top-bar-inner {
    width: 100%;
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo-only {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-logo-only {
    height: 52px;
    width: auto;
    display: block;
}

.top-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    flex-wrap: wrap;
}

.nav-link {
    position: relative;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    padding: 6px 8px;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #00ccff;
}

.nav-link.active {
    color: #00ccff;
}

.nav-link.active::after {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: -6px;
    height: 2px;
    background: #00ccff;
    border-radius: 999px;
}
/* =========================
   GENERAL LAYOUT
========================= */

.page {
    width: 100%;
    min-height: 135vh;
}

.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 28px 90px;
}

.hero {
    width: 100%;
}

.hero-image {
    width: 100%;
    height: 520px;
    background:
        linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.60)),
        url("/static/images/Background-Image.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 20px 50px;
}

.hero-text {
    max-width: 1100px;
    width: 100%;
}

.hero-heading {
    font-size: 3.8rem;
    font-weight: 900;
    margin-bottom: 10px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.hero-subtext {
    font-size: 2.3rem;
    color: #d0d0d0;
    max-width: 600px;
}

/* =========================
   FORMS / INPUTS
========================= */

.upload-form {
    width: 100%;
}

.intro-text {
    margin-bottom: 34px;
}

.intro-text h2 {
    font-size: 4.3rem;
    margin-bottom: 12px;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.intro-text p {
    font-size: 1.08rem;
    color: #c8c8cd;
    max-width: 760px;
    line-height: 1.6;
}

.top-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    margin-bottom: 26px;
}

.field-group,
.notes-section {
    display: flex;
    flex-direction: column;
}

label {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #f1f1f1;
    letter-spacing: 0.2px;
}

input[type="text"],
select,
textarea {
    width: 100%;
    background: linear-gradient(180deg, #2b2b2f 0%, #232326 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #f5f5f5;
    padding: 17px 18px;
    font-size: 1.02rem;
    outline: none;
    border-radius: 14px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.04),
        0 6px 18px rgba(0,0,0,0.18);
}

input[type="text"]::placeholder,
textarea::placeholder {
    color: #9b9b9f;
}

input[type="text"]:focus,
select:focus,
textarea:focus {
    border-color: rgba(98, 163, 255, 0.7);
    box-shadow:
        0 0 0 3px rgba(98, 163, 255, 0.15),
        0 0 14px rgba(98, 163, 255, 0.35);
}

textarea {
    resize: none;
    min-height: 160px;
    line-height: 1.5;
}

.notes-section {
    margin-bottom: 38px;
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background:
        linear-gradient(180deg, #2b2b2f 0%, #232326 100%);
    color: #f5f5f5;
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5 7l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

select option {
    background-color: #1e1e22;
    color: #f5f5f5;
}

.file-name {
    margin-top: 12px;
    font-size: 0.9rem;
    color: #bdbdc2;
    min-height: 22px;
    word-break: break-word;
}

/* =========================
   BUTTONS
========================= */

.select-btn,
.analyze-btn,
.main-btn {
    display: inline-block;
    cursor: pointer;
    border: none;
    text-decoration: none;
    font-weight: 900;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.select-btn,
.analyze-btn {
    letter-spacing: 0.4px;
    border-radius: 14px;
}

.select-btn {
    background: linear-gradient(180deg, #ffffff 0%, #e8e8e8 100%);
    color: #111;
    padding: 14px 28px;
    min-width: 140px;
    border: 1px solid rgba(255,255,255,0.35);
    font-size: 0.98rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.22);
}

.select-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 14px rgba(98, 163, 255, 0.35),
        0 14px 28px rgba(0,0,0,0.30);
}

.select-btn.large {
    padding: 16px 30px;
    min-width: 220px;
}

.analyze-btn {
    background: linear-gradient(180deg, #6aa8ff 0%, #4b84f3 100%);
    color: white;
    padding: 18px 42px;
    font-size: 1.02rem;
    border: 1px solid rgba(255,255,255,0.35);
    box-shadow: 0 12px 26px rgba(0,0,0,0.24);
}

.analyze-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 20px rgba(98, 163, 255, 0.45),
        0 18px 34px rgba(44, 94, 201, 0.42);
}

.final-step .analyze-btn {
    min-width: 220px;
}

.main-btn {
    padding: 12px 24px;
    background: #1e88ff;
    color: white;
    border-radius: 10px;
    font-weight: 600;
    transition: 0.2s ease;
}

.main-btn:hover {
    background: #42a1ff;
    transform: translateY(-1px);
}

/* =========================
   CARDS / UPLOADS
========================= */

.card-grid {
    display: grid;
    gap: 30px;
    margin-top: 18px;
}

.two-cards {
    grid-template-columns: repeat(2, minmax(280px, 360px));
    justify-content: center;
}

.upload-card {
    background: linear-gradient(180deg, #202125 0%, #1a1b1f 100%);
    border: 1px solid rgba(255,255,255,0.07);
    padding: 18px 18px 22px;
    text-align: center;
    border-radius: 22px;
    overflow: hidden;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.04),
        0 18px 35px rgba(0,0,0,0.28);
}

.card-image {
    width: 100%;
    height: 250px;
    margin-bottom: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.telemetry-placeholder {
    background:
        linear-gradient(rgba(255,255,255,0.65), rgba(255,255,255,0.65)),
        url("/static/images/telemetry.png");
    background-size: cover;
    background-position: center;
}

.setup-placeholder {
    background:
        linear-gradient(rgba(255,255,255,0.25), rgba(255,255,255,0.25)),
        url("/static/images/setup.png");
    background-size: cover;
    background-position: center;
}

.card-title {
    font-size: 1.65rem;
    font-weight: 900;
    color: #111;
    background: linear-gradient(180deg, #f1f1f1 0%, #dcdcdc 100%);
    padding: 12px 10px;
    margin-bottom: 16px;
    border-radius: 12px;
}

/* =========================
   SUBMISSION FLOW
========================= */

.submission-flow {
    margin-top: 60px;
}

.flow-intro {
    text-align: left;
    margin-bottom: 28px;
}

.flow-intro h2 {
    font-size: 2.1rem;
    font-weight: 900;
    margin-bottom: 10px;
    letter-spacing: -0.4px;
}

.flow-intro p {
    font-size: 1.02rem;
    color: #bfc5d0;
    max-width: 700px;
    line-height: 1.6;
}

.flow-steps {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.flow-step {
    position: relative;
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 24px;
    align-items: start;
    padding: 26px 28px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(26, 27, 32, 0.98) 0%, rgba(18, 19, 24, 0.98) 100%);
    border: 1px solid rgba(98, 163, 255, 0.14);
    box-shadow:
        0 0 0 1px rgba(98, 163, 255, 0.05),
        0 0 18px rgba(98, 163, 255, 0.08),
        0 18px 40px rgba(0,0,0,0.28),
        inset 0 1px 0 rgba(255,255,255,0.03);
    transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.flow-step:hover {
    border-color: rgba(98, 163, 255, 0.24);
    box-shadow:
        0 0 0 1px rgba(98, 163, 255, 0.08),
        0 0 24px rgba(98, 163, 255, 0.12),
        0 20px 42px rgba(0,0,0,0.30),
        inset 0 1px 0 rgba(255,255,255,0.03);
}

.flow-step .top-fields {
    margin-top: 8px;
    margin-bottom: 20px;
}

.flow-step .notes-section {
    margin-bottom: 0;
}

.step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(106, 168, 255, 0.12);
    color: #7db4ff;
    font-size: 0.95rem;
    font-weight: 800;
    border: 1px solid rgba(106, 168, 255, 0.18);
}

.step-main h3 {
    font-size: 1.45rem;
    font-weight: 900;
    margin-bottom: 10px;
    letter-spacing: -0.2px;
}

.step-description {
    font-size: 1rem;
    color: #b9c0cc;
    line-height: 1.6;
    margin-bottom: 18px;
    max-width: 700px;
}

.submit-wrap {
    display: flex;
    justify-content: center;
    margin-top: 42px;
    margin-bottom: 300px;
}

/* =========================
   HOMEPAGE
========================= */

.home-page {
    background: #0b0b0b;
}

.home-hero {
    position: relative;
    height: 100vh;
    min-height: 760px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.home-hero-bg {
    position: absolute;
    inset: -4% -2% 0 -2%;
    background:
        linear-gradient(to right, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.28) 22%, rgba(0,0,0,0.18) 52%, rgba(0,0,0,0.58) 100%),
        linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.18) 35%, rgba(0,0,0,0.20) 100%),
        url("/static/images/Background-Image.png");
    background-size: cover;
    background-position: center center;
    transform: scale(1.08);
    will-change: transform;
    z-index: 1;
}

.home-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(90, 160, 255, 0.08), transparent 45%);
    z-index: 2;
    pointer-events: none;
}

.home-hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px 68px;
}

.hero-kicker {
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #9ec4ff;
    margin-bottom: 14px;
}

.home-hero-title {
    font-size: clamp(3rem, 6vw, 5.6rem);
    line-height: 0.95;
    font-weight: 900;
    color: #f7f7f8;
    margin-bottom: 16px;
    text-shadow: 0 6px 28px rgba(0,0,0,0.38);
    max-width: 900px;
}

.home-hero-subtext {
    font-size: clamp(1.15rem, 2vw, 1.9rem);
    line-height: 1.2;
    color: rgba(245,245,245,0.9);
    max-width: 580px;
    text-shadow: 0 3px 18px rgba(0,0,0,0.28);
    margin-bottom: 28px;
}

.home-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.home-section {
    position: relative;
    padding: 100px 28px;
    background: #0b0b0b;
}

.alt-section {
    background: linear-gradient(180deg, #0d1017 0%, #0b0b0b 100%);
}

.home-section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-eyebrow {
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 1.8px;
    color: #88b6ff;
    margin-bottom: 12px;
}

.section-copy h2,
.split-copy h2,
.centered-cta h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1;
    margin-bottom: 16px;
    font-weight: 900;
    color: #f3f5f9;
}

.section-copy p,
.split-copy p,
.centered-cta p {
    font-size: 1.08rem;
    line-height: 1.7;
    color: #bcc4d0;
    max-width: 760px;
}

.feature-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card,
.info-panel,
.result-card,
.result-error-card {
    background: linear-gradient(180deg, rgba(26, 27, 32, 0.98) 0%, rgba(18, 19, 24, 0.98) 100%);
    border: 1px solid rgba(98, 163, 255, 0.12);
    border-radius: 24px;
    box-shadow:
        0 0 0 1px rgba(98, 163, 255, 0.04),
        0 0 18px rgba(98, 163, 255, 0.06),
        0 18px 40px rgba(0,0,0,0.22);
}

.feature-card,
.info-panel {
    padding: 28px;
}

.feature-card h3,
.info-panel h3 {
    font-size: 1.3rem;
    font-weight: 900;
    margin-bottom: 16px;
    color: #f4f6fa;
}

.feature-card p {
    color: #b9c0cc;
    line-height: 1.65;
    font-size: 1rem;
}

.split-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
    align-items: start;
}

.info-panel ul {
    padding-left: 18px;
}

.info-panel li {
    color: #b9c0cc;
    line-height: 1.8;
    margin-bottom: 6px;
}

.centered-cta {
    text-align: center;
}

.centered-cta p {
    margin: 0 auto 24px;
}

/* =========================
   RESULTS PAGE
========================= */

.results-page {
    min-height: 100vh;
    background: #0b0b0b;
}

.results-hero {
    padding: 130px 28px 40px;
    background:
        radial-gradient(circle at top center, rgba(98, 163, 255, 0.10), transparent 40%),
        linear-gradient(180deg, #0d1017 0%, #0b0b0b 100%);
}

.results-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.results-hero h1 {
    font-size: clamp(2.6rem, 5vw, 4.4rem);
    line-height: 1;
    font-weight: 900;
    color: #f4f6fa;
    margin-bottom: 12px;
}

.results-subtext {
    font-size: 1.15rem;
    color: #b9c0cc;
    line-height: 1.5;
}

.results-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 28px 120px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 24px;
}

.result-card,
.result-error-card {
    overflow: hidden;
}

.result-card-header {
    padding: 22px 24px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.result-card-header h2 {
    font-size: 1.45rem;
    font-weight: 900;
    color: #f3f5f9;
    letter-spacing: -0.2px;
}

.result-card-body,
.result-error-card {
    padding: 22px 24px 24px;
}

.result-fields,
.nested-fields {
    display: flex;
    flex-direction: column;
}

.result-fields {
    gap: 14px;
}

.nested-fields {
    gap: 10px;
}

.result-field {
    padding: 14px 16px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
}

.field-label,
.nested-label {
    font-size: 0.92rem;
    font-weight: 800;
    color: #88b6ff;
    margin-bottom: 6px;
    display: block;
}

.field-value,
.nested-value,
.single-value {
    font-size: 1.02rem;
    color: #edf1f7;
    line-height: 1.55;
    word-break: break-word;
}

.nested-field {
    padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.nested-field:first-child {
    border-top: none;
    padding-top: 0;
}

.result-error-card h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #f3f5f9;
}

.result-error-card p {
    color: #c6ccd7;
    line-height: 1.6;
}

.json-block {
    margin-top: 16px;
    background: #11151d;
    border: 1px solid rgba(98, 163, 255, 0.12);
    color: #dfe6f1;
    border-radius: 16px;
    padding: 16px;
    overflow-x: auto;
    white-space: pre-wrap;
}

.results-actions {
    display: flex;
    justify-content: center;
    margin-top: 34px;
}

/* =========================
   ABOUT PAGE
========================= */

.about-page {
    max-width: 900px;
    margin: 40px auto;
    padding: 35px;
}

.about-section {
    margin-bottom: 32px;
}

.about-section h2 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.about-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: #d6d6d6;
}

.subtitle {
    color: #a8b3c7;
    margin-top: 8px;
    font-size: 1rem;
}

.about-actions {
    margin-top: 30px;
    text-align: center;
}

.site-footer {
    margin-top: 120px;
    padding: 48px 28px 70px;
    background: linear-gradient(180deg, rgba(10,10,12,1) 0%, rgba(6,6,8,1) 100%);
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
}

.footer-brand h3 {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 12px;
}

.footer-brand p {
    color: #b7bec9;
    line-height: 1.6;
    max-width: 520px;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #f2f4f8;
}

.footer-column p {
    color: #aeb6c2;
    margin-bottom: 10px;
}
.coming-soon {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70vh;
}

.coming-box {
    text-align: center;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(0, 200, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 200, 255, 0.1);
    max-width: 500px;
}

.coming-title {
    font-size: 48px;
    margin-bottom: 15px;
    color: #00ccff;
}

.coming-subtitle {
    font-size: 20px;
    margin-bottom: 10px;
}

.coming-description {
    font-size: 16px;
    opacity: 0.8;
    margin-bottom: 30px;
}

.coming-btn {
    display: inline-block;
    padding: 12px 24px;
    background: #00ccff;
    color: black;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.2s ease;
}

.coming-btn:hover {
    background: #00aacc;
}
/* FULL PAGE COMING SOON */
.coming-full {
    position: relative;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* BACKGROUND IMAGE */
.coming-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    /* PLACEHOLDER IMAGE */
    background: url('/static/images/coming-bg.jpg') center/cover no-repeat;

    transform: scale(1.05);
    z-index: 1;
}

/* DARK OVERLAY */
.coming-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 2;
}

/* CONTENT */
.coming-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 600px;
    padding: 20px;
}

/* TEXT STYLING */
.coming-title {
    font-size: 56px;
    color: #00ccff;
    margin-bottom: 15px;
}

.coming-subtitle {
    font-size: 20px;
    margin-bottom: 10px;
}

.coming-description {
    font-size: 16px;
    opacity: 0.8;
    margin-bottom: 30px;
}

/* BUTTON */
.coming-btn {
    display: inline-block;
    padding: 14px 28px;
    background: #00ccff;
    color: black;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.2s ease;
}

.coming-btn:hover {
    background: #00aacc;
}
.contact-page {
    padding: 60px 20px 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-hero {
    text-align: center;
    margin-bottom: 50px;
}

.contact-hero h1 {
    font-size: 48px;
    margin-bottom: 12px;
}

.contact-subtext {
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.85;
    font-size: 18px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
    align-items: start;
}

.contact-info-card,
.contact-form-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 200, 255, 0.18);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 0 18px rgba(0, 200, 255, 0.08);
}

.contact-info-card h2,
.contact-form-card h2 {
    margin-bottom: 16px;
}

.contact-details {
    margin-top: 24px;
    display: grid;
    gap: 18px;
}

.contact-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.65;
}

.contact-value {
    font-size: 17px;
}

.contact-form {
    display: grid;
    gap: 18px;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-field input,
.contact-field textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid rgba(0, 200, 255, 0.2);
    background: rgba(255, 255, 255, 0.03);
    color: white;
    font: inherit;
    outline: none;
}

.contact-field input:focus,
.contact-field textarea:focus {
    border-color: rgba(0, 200, 255, 0.6);
    box-shadow: 0 0 10px rgba(0, 200, 255, 0.15);
}
.nav-user {
    color: #00ccff;
    font-size: 14px;
    margin-left: 12px;
    margin-right: 8px;
    opacity: 0.9;
}
.logout-link {
    color: #ff4d4d;
}

.logout-link:hover {
    color: #ff1f1f;
}
.logout-link {
    color: #ff5a5a;
}

.logout-link:hover {
    color: #ff2f2f;
}

/* LOGOUT MODAL */
.logout-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
}

.logout-modal.show {
    display: block;
}

.logout-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(6px);
}

.logout-modal-box {
    position: relative;
    z-index: 2001;
    width: min(92%, 460px);
    margin: 18vh auto 0;
    padding: 30px 28px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(26, 27, 32, 0.98) 0%, rgba(18, 19, 24, 0.98) 100%);
    border: 1px solid rgba(98, 163, 255, 0.14);
    box-shadow:
        0 0 0 1px rgba(98, 163, 255, 0.05),
        0 0 24px rgba(98, 163, 255, 0.10),
        0 20px 50px rgba(0, 0, 0, 0.45);
    text-align: center;
}

.logout-modal-box h2 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 12px;
    color: #f4f6fa;
}

.logout-modal-box p {
    font-size: 1rem;
    line-height: 1.6;
    color: #bcc4d0;
    margin-bottom: 24px;
}

.logout-modal-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.logout-confirm-btn {
    background: linear-gradient(180deg, #ff5a5a 0%, #d83b3b 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
}

.logout-confirm-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 20px rgba(255, 90, 90, 0.30),
        0 18px 34px rgba(120, 20, 20, 0.35);
}

body.modal-open {
    overflow: hidden;
}
.account-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 28px 100px;
}

.account-hero {
    text-align: center;
    margin-bottom: 42px;
}

.account-hero h1 {
    font-size: clamp(2.6rem, 5vw, 4.2rem);
    font-weight: 900;
    margin-bottom: 12px;
}

.account-subtext {
    max-width: 760px;
    margin: 0 auto;
    color: #bcc4d0;
    font-size: 1.08rem;
    line-height: 1.7;
}

.account-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 36px;
}

.account-card {
    background: linear-gradient(180deg, rgba(26, 27, 32, 0.98) 0%, rgba(18, 19, 24, 0.98) 100%);
    border: 1px solid rgba(98, 163, 255, 0.12);
    border-radius: 24px;
    padding: 28px;
    box-shadow:
        0 0 0 1px rgba(98, 163, 255, 0.04),
        0 0 18px rgba(98, 163, 255, 0.06),
        0 18px 40px rgba(0,0,0,0.22);
}

.account-card h2 {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.account-info-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.account-info-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
}

.account-label {
    color: #88b6ff;
    font-weight: 700;
}

.account-value {
    color: #edf1f7;
    text-align: right;
}

.account-setups-section {
    margin-top: 10px;
}

.account-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.account-section-header h2 {
    font-size: 2rem;
    font-weight: 900;
}

.saved-setups-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 24px;
}

.saved-setup-card {
    background: linear-gradient(180deg, rgba(26, 27, 32, 0.98) 0%, rgba(18, 19, 24, 0.98) 100%);
    border: 1px solid rgba(98, 163, 255, 0.12);
    border-radius: 24px;
    padding: 24px;
    box-shadow:
        0 0 0 1px rgba(98, 163, 255, 0.04),
        0 0 18px rgba(98, 163, 255, 0.06),
        0 18px 40px rgba(0,0,0,0.22);
}

.saved-setup-card h3 {
    font-size: 1.3rem;
    font-weight: 900;
    margin-bottom: 16px;
}

.saved-setup-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #c7ced8;
    margin-bottom: 20px;
    line-height: 1.6;
}

.saved-setup-actions {
    display: flex;
    justify-content: flex-start;
}

.empty-setups {
    text-align: center;
}

.empty-setups h3 {
    margin-bottom: 10px;
    font-size: 1.35rem;
}

.empty-setups p {
    color: #bcc4d0;
}
.setup-viewer-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 28px 100px;
}

.setup-viewer-hero {
    text-align: center;
    margin-bottom: 40px;
}

.setup-viewer-hero h1 {
    font-size: clamp(2.6rem, 5vw, 4.2rem);
    font-weight: 900;
    margin-bottom: 12px;
}

.setup-viewer-subtext {
    color: #bcc4d0;
    font-size: 1.08rem;
}

.setup-viewer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.setup-viewer-notes {
    color: #dbe1ea;
    line-height: 1.7;
    font-size: 1rem;
}

.setup-viewer-sections {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 24px;
}
.save-setup-box {
    margin-top: 34px;
    padding: 28px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(26, 27, 32, 0.98) 0%, rgba(18, 19, 24, 0.98) 100%);
    border: 1px solid rgba(98, 163, 255, 0.12);
    box-shadow:
        0 0 0 1px rgba(98, 163, 255, 0.04),
        0 0 18px rgba(98, 163, 255, 0.06),
        0 18px 40px rgba(0,0,0,0.22);
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.save-setup-box h2 {
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 18px;
    text-align: center;
}

.save-setup-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.car-picker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-top: 12px;
}

.car-picker-card {
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.04);
    border-radius: 16px;
    padding: 16px;
    text-align: left;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.car-picker-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0,255,200,0.4);
    box-shadow: 0 0 18px rgba(0,255,200,0.08);
}

.car-picker-card.selected {
    border-color: rgba(0,255,200,0.8);
    box-shadow: 0 0 20px rgba(0,255,200,0.16);
}

.car-picker-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.car-name {
    font-weight: 600;
    font-size: 1rem;
}

.car-status {
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.licensed-badge {
    background: rgba(0,255,170,0.12);
    border: 1px solid rgba(0,255,170,0.35);
}

.locked-badge {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.18);
}

.car-picker-subtext {
    margin-top: 10px;
    font-size: 0.92rem;
    opacity: 0.82;
}

.car-picker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-top: 12px;
}

.car-picker-card {
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.04);
    border-radius: 16px;
    padding: 16px;
    text-align: left;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    color: white;
    width: 100%;
}

.car-picker-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0,255,200,0.4);
    box-shadow: 0 0 18px rgba(0,255,200,0.08);
}

.car-picker-card.selected {
    border-color: rgba(0,255,200,0.8);
    box-shadow: 0 0 20px rgba(0,255,200,0.16);
}

.car-picker-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.car-name {
    font-weight: 600;
    font-size: 1rem;
}

.car-status {
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.licensed-badge {
    background: rgba(0,255,170,0.12);
    border: 1px solid rgba(0,255,170,0.35);
}

.locked-badge {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.18);
}

.car-picker-subtext {
    margin-top: 10px;
    font-size: 0.92rem;
    opacity: 0.82;
}
.floating-credits {
    position: fixed;
    bottom: 20px;
    right: 20px;

    padding: 10px 16px;
    border-radius: 14px;

    background: rgba(20, 20, 30, 0.9);
    border: 1px solid rgba(0, 255, 200, 0.35);

    color: #cafff3;
    font-weight: 500;
    font-size: 0.9rem;

    box-shadow: 0 0 18px rgba(0, 255, 200, 0.15);
    z-index: 999;
}
@media (max-width: 900px) {
    .setup-viewer-top,
    .setup-viewer-sections {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 900px) {
    .account-grid,
    .saved-setups-grid {
        grid-template-columns: 1fr;
    }

    .account-section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .account-info-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .account-value {
        text-align: left;
    }
}
@media (max-width: 900px) {
    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-hero h1 {
        font-size: 38px;
    }
}
/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {
    .results-grid,
    .feature-grid,
    .split-layout,
    .top-fields,
    .two-cards,
    .footer-inner,
    .footer-links,
    .flow-step {
        grid-template-columns: 1fr;
    }

    .results-hero {
        padding: 110px 22px 28px;
    }

    .results-content {
        padding: 20px 22px 90px;
    }

    .home-hero {
        min-height: 620px;
    }

    .home-hero-content {
        padding: 0 22px 42px;
    }

    .home-section {
        padding: 72px 22px;
    }

    .hero-image {
        height: 430px;
    }

    .hero-heading {
        font-size: 2.8rem;
    }

    .hero-subtext {
        font-size: 1.1rem;
    }

    .flow-step {
        gap: 16px;
    }
}
