/* ===========================================================================
   RoboKart public landing page (Meta ads lead capture)
   Brand theme: black + gold, mobile-first, single-column.
   =========================================================================== */
:root {
    --ink: #141414;
    --gold: #f4b71c;
    --gold-d: #d39a07;
    --line: #e6e6e6;
    --ok: #1c9b54;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    color: #1c1c1c;
    background: #0f0f0f;
    -webkit-font-smoothing: antialiased;
}

.land {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background:
        radial-gradient(1200px 500px at 50% -10%, rgba(244, 183, 28, 0.18), transparent 60%),
        #0f0f0f;
    padding: 24px 16px 40px;
}

/* ---- Hero / brand ---- */
.hero {
    width: 100%;
    max-width: 460px;
    text-align: center;
    color: #fff;
    margin-bottom: 18px;
}
.logo {
    font-size: 34px;
    font-weight: 900;
    letter-spacing: 1px;
}
.logo .k { color: var(--gold); }
.logo-img {
    height: 52px;
    width: auto;
    max-width: 80%;
    object-fit: contain;
}
.tagline {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
    border-top: 1px solid var(--gold);
    display: inline-block;
    padding-top: 6px;
    margin-top: 6px;
}
.tagline b { color: var(--gold); }
.hero h1 {
    font-size: 22px;
    margin: 18px 0 6px;
    line-height: 1.25;
}
.hero h1 span { color: var(--gold); }
.hero p {
    color: #c9c9c9;
    font-size: 14px;
    margin: 0;
}

/* ---- Card ---- */
.card {
    width: 100%;
    max-width: 460px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
    padding: 22px 20px 24px;
}

/* Faint brand watermark behind the registration form content. */
#regCard {
    position: relative;
    overflow: hidden;
}
#regCard::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("http://robokart.shop/assets/img/about/01.png") no-repeat center center;
    background-size: 85%;
    opacity: 0.16;
    pointer-events: none;
    z-index: 0;
}
#regCard > * {
    position: relative;
    z-index: 1;
}
.card h2 {
    margin: 0 0 4px;
    font-size: 18px;
}
.card .sub {
    margin: 0 0 16px;
    color: #666;
    font-size: 13px;
}

.field { margin-bottom: 14px; }
.field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}
.field input,
.field select {
    width: 100%;
    padding: 12px 13px;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    font-size: 15px;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
    background: #fff;
}
.field input:focus,
.field select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(244, 183, 28, 0.2);
}

.error {
    color: #c0392b;
    font-size: 13px;
    min-height: 16px;
    margin-bottom: 8px;
}

.btn {
    width: 100%;
    border: none;
    border-radius: 11px;
    padding: 14px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    background: var(--ink);
    color: var(--gold);
    transition: transform .05s, filter .15s;
}
.btn:hover { filter: brightness(1.12); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: default; }

/* ---- WhatsApp success view ---- */
.success { text-align: center; }
.success .tick {
    width: 64px; height: 64px; border-radius: 50%;
    background: rgba(28, 155, 84, 0.12);
    color: var(--ok);
    font-size: 34px; line-height: 64px;
    margin: 4px auto 12px;
}
.success h2 { margin: 0 0 6px; }
.success p { color: #555; font-size: 14px; margin: 0 0 18px; }

.btn-wa {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%;
    text-decoration: none;
    border-radius: 11px;
    padding: 14px;
    font-size: 16px;
    font-weight: 800;
    background: #25D366;
    color: #fff;
}
.btn-wa:hover { filter: brightness(1.05); }
.btn-wa svg { width: 22px; height: 22px; fill: #fff; }

/* Google Meet variant of the action button. */
.btn-meet { background: #00897b; }

/* Auto-redirect countdown under the Google Meet button. */
.countdown {
    margin: 14px 0 0;
    font-size: 13px;
    color: #555;
    text-align: center;
}
.countdown b { color: #00897b; font-size: 15px; }

/* Banner image on the Google Meet welcome card. */
.meet-banner {
    display: block;
    width: 100%;
    max-width: 260px;
    margin: 0 auto 14px;
    border-radius: 12px;
}

.note {
    margin-top: 16px;
    background: #fbf3dd;
    border: 1px solid #f0e2bb;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 13px;
    color: #6a5400;
    text-align: left;
}
.note b { color: var(--gold-d); }

.foot {
    color: #8a8a8a;
    font-size: 11px;
    margin-top: 22px;
    text-align: center;
}
.foot a { color: var(--gold); text-decoration: none; }
.foot-links { margin-top: 8px; }
.foot-links a { color: var(--gold); text-decoration: none; }
.disclaimer {
    color: #777;
    font-size: 10px;
    line-height: 1.5;
    margin: 12px auto 0;
    max-width: 560px;
    text-align: center;
}

.hidden { display: none !important; }
