* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.hero {
    min-height: 100vh;
    background:
        linear-gradient(
        90deg,
        rgba(2,13,32,0.95) 0%,
        rgba(2,13,32,0.75) 35%,
        rgba(2,13,32,0.30) 100%
        ),
    url("/static/landing/hero.png");
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 60px;
}

.nav-right {
    display: flex;
    gap: 16px;
    align-items: center;
}

.nav-right .btn {
    min-width: 140px;
    text-align: center;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 40px;
    margin-left: auto;
    margin-right: 40px;
    align-items: center;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: 0.2s;
}

.nav-menu a:hover {
    color: #ff8c00;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    line-height: 1.2;
    transition: .2s;
}

.btn-dark {
    border: 1px solid rgba(255,255,255,0.25);
    color: white;
    background: rgba(255,255,255,0.03);
    border-radius: 10px;
    text-decoration: none;
    padding: 12px 24px;
    transition: .2s;
}

.btn-dark:hover {
    background: rgba(255,255,255,0.08);
}

.btn-orange {
    background: #ff8c00;
    color: white;
    border-radius: 10px;
    text-decoration: none;
    padding: 12px 24px;
    transition: .2s;
}

.btn-orange:hover {
    background: #ff9d22;
}

.hero-content h1 {
    font-size: 78px;
    margin-bottom: 15px;
}

.hero-content h1 span {
    color: #ff8c00;
}

.hero-content h2 {
    font-size: 52px;
    margin-bottom: 25px;
}

.hero-content p {
    font-size: 26px;
    color: #c8d2e8;
    margin-bottom: 40px;
}

.actions {
    display: flex;
    gap: 15px;
}

.hero-layout {
    display: flex;

    justify-content: space-between;
    align-items: flex-start;

    flex: 1;

    width: 100%;

    padding: 60px 60px 0 60px;

    gap: 60px;
}

.hero-content {
    flex: 1;
    max-width: 700px;
}

.auth-card {
    display: none;
    flex-shrink: 0;
    width: 520px;
    min-height: 620px;

    padding: 40px;

    border-radius: 24px;

    background: rgba(18, 28, 48, 0.65);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border: 1px solid rgba(255,255,255,0.10);

    box-shadow:
        0 20px 50px rgba(0,0,0,0.35);

    color: white;
}

.auth-tabs {
    display: flex;
    gap: 12px;

    margin-bottom: 30px;
}

.auth-tab {
    flex: 1;

    padding: 14px;

    border: 0;
    border-radius: 12px;

    cursor: pointer;

    color: white;

    background: rgba(255,255,255,0.08);

    transition: .2s;
}

.auth-tab:hover {
    background: rgba(255,255,255,0.15);
}

.auth-tab-active {
    background: #ff8c00;
}

.auth-panel h3 {
    font-size: 32px;
    margin-bottom: 10px;
}

.auth-panel p {
    margin-bottom: 25px;
    color: #c8d2e8;
}

.auth-panel label {
    display: block;

    margin-bottom: 8px;
    margin-top: 18px;

    color: white;

    font-weight: 600;
}

.auth-panel input {
    width: 100%;

    padding: 14px;

    border-radius: 12px;

    border: 1px solid rgba(255,255,255,0.15);

    background: rgba(255,255,255,0.05);

    color: white;
}

.auth-panel input::placeholder {
    color: #9fb0ce;
}

.auth-submit-btn {
    width: 100%;

    margin-top: 30px;

    padding: 16px;

    border: 0;
    border-radius: 12px;

    cursor: pointer;

    background: #ff8c00;
    color: white;

    font-size: 16px;
    font-weight: 700;

    transition: .2s;
}

.auth-submit-btn:hover {
    background: #ff9d22;
}

.auth-panel select {
    width: 100%;

    padding: 14px;

    border-radius: 12px;

    border: 1px solid rgba(255,255,255,0.15);

    background: rgba(255,255,255,0.05);

    color: white;

    margin-bottom: 8px;
}

.form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 16px;

    margin-top: 14px;
}

.form-col {
    display: flex;
    flex-direction: column;
}

.legal-card {
    max-width: 900px;
    margin: 140px auto 60px auto;

    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(16px);

    border: 1px solid rgba(255,255,255,0.12);

    border-radius: 24px;

    padding: 40px;

    color: white;

    box-shadow:
        0 20px 50px rgba(0,0,0,0.35);
}

.legal-card h1 {
    color: #ff8c00;
    margin-bottom: 25px;
}

.legal-card h2 {
    font-size: 28px;
    color: #ffffff;

    margin-top: 35px;
    margin-bottom: 12px;

    border-left: 4px solid #ff8c00;
    padding-left: 12px;
}

.legal-card p {
    line-height: 1.8;
    font-size: 18px;
    color: #d8dee9;
}

.login-error {
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.4);
    color: #ffb3b8;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 600;
}

/* =========================================================
   drivePASSION Landing Logo - SVG LED Outline
   ========================================================= */

.logo {
    position: relative;
    display: inline-block;
    width: 420px;
    height: 85px;
}

.dp-wordmark-logo {
    width: 420px;
    height: 85px;
    overflow: visible;
    display: block;
}

.dp-wordmark-logo text {
    font-family: Segoe UI, Arial, sans-serif;
    font-weight: 800;
    font-size: 68px;
}

.dp-fill-drive {
    fill: #ffffff;
}

.dp-fill-passion {
    fill: #ff8c00;
}

.dp-led-outline {
    fill: none;
    stroke: #ffffff;
    stroke-width: 2.6px;
    stroke-linejoin: round;
    stroke-linecap: round;

    filter:
        drop-shadow(0 0 7px rgba(255,255,255,.95))
        drop-shadow(0 0 18px rgba(180,220,255,.8));

    stroke-dasharray: 980;
    stroke-dashoffset: 980;

    opacity: 0;

    animation: dpTraceWord 10s linear infinite;
}

.dp-word-glow {
    filter: blur(16px);
    opacity: 0;
    animation: dpWordBackGlow 10s linear infinite;
}

.dp-word-spark {
    opacity: 0;
    transform-origin: 500px 72px;
    animation: dpWordSpark 10s linear infinite;
}

@keyframes dpTraceWord {

    0% {
        opacity: 0;
        stroke-dashoffset: 980;
    }

    5% {
        opacity: 1;
        stroke-dashoffset: 980;
    }

    60% {
        opacity: 1;
        stroke-dashoffset: 0;
    }

    70% {
        opacity: 0;
        stroke-dashoffset: 0;
    }

    100% {
        opacity: 0;
        stroke-dashoffset: 0;
    }
}

@keyframes dpWordBackGlow {

    0%, 40% {
        opacity: 0;
    }

    60% {
        opacity: .75;
    }

    75% {
        opacity: .12;
    }

    100% {
        opacity: 0;
    }
}

@keyframes dpWordSpark {

    0%, 19% {
        opacity: 0;
        transform: scale(.25) rotate(0deg);
    }

    20% {
        opacity: 1;
        transform: scale(1.1) rotate(12deg);
    }

    26% {
        opacity: 0;
        transform: scale(1.9) rotate(45deg);
    }

    100% {
        opacity: 0;
        transform: scale(1.9) rotate(45deg);
    }
}

.forgot-password-row {
    text-align: center;
    margin-top: 14px;
}

.forgot-password-link {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.forgot-password-link:hover {
    color: #ff9500;
}

/* =========================
   FORGOT PASSWORD PAGE
   ========================= */

.forgot-page {
    flex: 1;

    display: flex;

    justify-content: center;
    align-items: center;

    padding: 24px;
}

.forgot-card {
    width: 520px;
    
    background: rgba(15,23,42,0.88);

    border: 1px solid rgba(255,255,255,0.12);

    border-radius: 28px;

    padding: 42px;

    box-shadow:
        0 28px 80px rgba(0,0,0,0.45);

    backdrop-filter: blur(18px);
}

.forgot-card h1 {
    margin: 0 0 14px 0;
    font-size: 34px;
}

.forgot-card h2 {
    margin: 0 0 14px 0;
    font-size: 34px;
}

.forgot-card p {
    color: rgba(255,255,255,0.72);
    line-height: 1.5;
    margin-bottom: 24px;
}

.forgot-card label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
}

.forgot-card input {
    width: 100%;
    box-sizing: border-box;

    padding: 14px 16px;

    border-radius: 14px;

    border: 1px solid rgba(255,255,255,0.18);

    background: rgba(255,255,255,0.08);

    color: white;

    margin-bottom: 22px;
}

.forgot-card input::placeholder {
    color: rgba(255,255,255,0.55);
}

.forgot-card button {
    width: 100%;
}

.forgot-card {
    display: block !important;
}

.login-success {
    background: rgba(34,197,94,0.15);
    border: 1px solid rgba(34,197,94,0.40);

    color: #b7ffca;

    padding: 12px;

    border-radius: 10px;

    margin-bottom: 20px;

    text-align: center;

    font-weight: 600;
}