/* ─── Landing Nav ─────────────────────────────────────────────────────────── */

.landing-nav {
    --landing-open-height: 72px;
    position: relative;
    width: 100%;
    z-index: 1001;
}

/* Collapsed bar — desktop only */
.landing-base {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    box-sizing: border-box;
    z-index: 999;
    background: linear-gradient(to bottom, #000, #121212);
    cursor: default;
}

.landing-base span {
    color: rgb(180, 180, 180);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Expanded nav panel */
.landing-extended {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 1000;
    height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: height 0.8s cubic-bezier(.2, .9, .2, 1),
                opacity 0.5s ease,
                transform 0.5s ease;
}

.landing-nav.is-open .landing-extended {
    height: var(--landing-open-height);
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Nav full wrapper — hidden on desktop by default.
   position:relative + z-index required: opacity creates a stacking context,
   and without z-index the wrapper paints below .landing-extended (z-index:1000). */
.landing-nav-full {
    position: relative;
    z-index: 1001;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

/* Pin .nav explicitly so it doesn't rely on static-position calculation */
#landingNavFull .nav {
    top: 0;
    left: 0;
    width: 100%;
}

/* Reveal nav when is-open toggled */
.landing-nav.is-open .landing-nav-full {
    opacity: 1;
    pointer-events: auto;
}

/* ─── Responsive: mobile ─────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .landing-base     { display: none; }
    .landing-extended { display: none !important; }

    .landing-nav-full {
        opacity: 1 !important;
        pointer-events: auto !important;
    }
}

/* ─── Hero ────────────────────────────────────────────────────────────────── */

.offer-hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    box-sizing: border-box;
    background: #0a0a0a;
    position: relative;
    overflow: hidden;
}

.offer-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    opacity: 0.3;
}

.offer-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 760px;
    gap: 24px;
}

.offer-hero-inner h1 {
    margin: 0;
    padding: 0;
    font-size: clamp(2rem, 5vw, 3.6rem);
    color: #ffffff;
    line-height: 1.15;
    font-weight: 700;
}

.offer-hero-inner p {
    margin: 0;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: rgb(199, 199, 199);
    line-height: 1.6;
    max-width: 560px;
}

.offer-cta {
    display: inline-block;
    margin-top: 8px;
    padding: 14px 36px;
    background: #fff;
    color: #000;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 25px;
    border: 1px solid transparent;
    letter-spacing: 0.04em;
    transition: background 0.6s ease, color 0.6s ease, border 0.6s ease;
}

.offer-cta:hover {
    background: #0a0a0a;
    color: white;
    border: 1px solid white;
}

.offer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 20px 100px;
    box-sizing: border-box;
}

.offer-section-content {
    max-width: 720px;
    font-size: 1.4rem;
}

.pain {
    background: #0a0a0a;
}

.dream {
    background: #0f0f0f;
}


/* ─── Form Section ────────────────────────────────────────────────────────── */

.offer-form-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 20px 100px;
    box-sizing: border-box;
    background: #121212;
}

.offer-form-header {
    text-align: center;
    margin-bottom: 40px;
}

.offer-form-header h2 {
    margin: 0 0 10px;
    font-size: 1.8rem;
    color: #ffffff;
    font-weight: 600;
}

.offer-form-header p {
    margin: 0;
    color: rgb(150, 150, 150);
    font-size: 0.95rem;
}

.offer-form-wrap {
    width: 100%;
    max-width: 520px;
    position: relative;
}

/* Form */
#offerForm {
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: opacity 0.5s ease;
}

#offerForm.fade-out {
    opacity: 0;
}

/* Two-column row */
.offer-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/* Individual field */
.offer-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.offer-field input,
.offer-field select {
    width: 100%;
    box-sizing: border-box;
    background: #1a1a1a;
    border: 1px solid #2e2e2e;
    color: #e0e0e0;
    padding: 11px 14px;
    font-size: 0.9rem;
    border-radius: 2px;
    outline: none;
    transition: border-color 0.25s ease;
    appearance: none;
}

.offer-field input::placeholder {
    color: rgb(100, 100, 100);
}

.offer-field input:focus,
.offer-field select:focus {
    border-color: #555;
}

.offer-field input.input-error,
.offer-field select.input-error {
    border-color: #c0392b;
}

/* Country select arrow */
.offer-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23888'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

.offer-field select option {
    background: #1a1a1a;
    color: #e0e0e0;
}

/* Terms */
.offer-terms {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 4px;
}

.offer-terms input[type="checkbox"] {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: #fff;
    cursor: pointer;
}

.offer-terms span {
    font-size: 0.8rem;
    color: rgb(130, 130, 130);
    line-height: 1.5;
}

.offer-terms span a {
    color: rgb(180, 180, 180);
    text-decoration: underline;
}

/* Submit */
.offer-submit {
    display: flex;
    justify-content: flex-end;
    margin-top: 6px;
}

#offerSubmitBtn {
    padding: 11px 32px;
    background: #fff;
    color: #000;
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 2px;
    cursor: pointer;
    letter-spacing: 0.04em;
    transition: background 0.25s ease, opacity 0.25s ease;
}

#offerSubmitBtn:hover {
    background: #d4d4d4;
}

#offerSubmitBtn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ─── Processing / Success ────────────────────────────────────────────────── */

.offer-form-text {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    margin-bottom: 20px;
}

.offer-form-text h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #fff;
    font-weight: 600;
}

.offer-form-text span {
    font-size: 0.85rem;
    color: rgb(140, 140, 140);
}

.offer-success {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 20px 0;
}

/* Checkmark */
.checkmark {
    width: 52px;
    height: 52px;
    stroke: #fff;
    stroke-width: 2;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke: #fff;
    fill: none;
}

.checkmark-check {
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke-width: 2.5;
    stroke: #fff;
    fill: none;
}

@keyframes draw-circle {
    to { stroke-dashoffset: 0; }
}

@keyframes draw-check {
    to { stroke-dashoffset: 0; }
}

@keyframes fade-in {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.offer-success-text {
    font-size: 1rem;
    color: #fff;
    opacity: 0;
}

/* ─── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .offer-hero-inner p {
        margin: 0 10%;
    }

    .offer-section {
        padding: 0 10%;
    }
}


@media (max-width: 560px) {
    .offer-field-row {
        grid-template-columns: 1fr;
    }

    .offer-hero-inner h1 {
        font-size: 1.9rem;
    }
}
