/* ===================================================
   EKM SEO Landing Page Styles
   =================================================== */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');

/* ---------- Variables ---------- */
:root {
    --ekm-blue:   #0B256A;
    --ekm-green:  #24C47E;
    --ekm-cyan:   #00C6DC;
    --ekm-dark:   #191E2A;
    --ekm-gray-bg:#F4F4F4;
    --ekm-white:  #FFFFFF;
    --ekm-nav-bg: #0B256A;
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Inter', 'Clear Sans', sans-serif;
    color: var(--ekm-blue);
    background: #fff;
    margin: 0;
}

/* ---------- Navbar ---------- */
.ekm-nav {
    background-color: transparent;
    padding: 0.75rem 0;
    z-index: 1030;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    transition: background-color 0.4s ease;
}

.ekm-nav--scrolled {
    background-color: #113DA6;
}

@media (max-width: 991.98px) {
    .ekm-nav .navbar-collapse {
        background-color: #0E71C4;
        padding: 0.75rem 1rem 1rem;
        border-radius: 0 0 8px 8px;
        margin-top: 0.5rem;
    }
}

.ekm-nav .navbar-brand img { height: 40px; }

.ekm-nav .nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}
.ekm-nav .nav-link:hover { color: #fff !important; }

.btn-outline-nav {
    border: 2px solid #fff;
    color: #fff;
    background: transparent;
    border-radius: 8px;
    padding: 0.45rem 1.1rem;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
}
.btn-outline-nav:hover { background: rgba(255,255,255,0.15); color: #fff; }

.btn-primary-nav {
    background: var(--ekm-green);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.45rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 700;
    transition: background 0.2s;
}
.btn-primary-nav:hover { background: #1cae6d; color: #fff; }

/* ---------- Hero ---------- */
.ekm-hero {
    min-height: 680px;
    display: flex;
    align-items: center;
}

.ekm-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.ekm-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(270deg, rgba(17,58,166,0.2) 0%, rgba(17,58,166,0.7) 68%);
    z-index: 1;
}

.ekm-hero .container-xl { z-index: 2; position: relative; padding-top: 5rem; padding-bottom: 3rem; }

.ekm-hero__content { color: #fff; }

.ekm-hero__headline {
    font-family: 'Inter', 'Clear Sans', sans-serif;
    font-weight: 700;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    line-height: 1.2;
    color: #fff;
    margin-bottom: 1.2rem;
}

.ekm-hero__body {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.92);
    margin-bottom: 0.75rem;
}

.ekm-hero__screenshot {
    width: 100%;
    max-width: 680px;
    border-radius: 12px;
}

/* ---------- Buttons ---------- */
.btn-cta-green {
    background: var(--ekm-green);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.6rem 1.5rem;
    font-weight: 700;
    font-size: 1rem;
    transition: background 0.2s;
    display: inline-block;
}
.btn-cta-green:hover { background: #1cae6d; color: #fff; }

.btn-cta-cyan {
    background: var(--ekm-cyan);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.6rem 1.5rem;
    font-weight: 700;
    font-size: 1rem;
    display: inline-block;
    transition: background 0.2s;
}
.btn-cta-cyan:hover { background: #00aec4; color: #fff; }

.btn-outline-dark-brand {
    border: 2px solid var(--ekm-blue);
    color: var(--ekm-blue);
    background: transparent;
    border-radius: 6px;
    padding: 0.6rem 1.5rem;
    font-weight: 700;
    font-size: 1rem;
    display: inline-block;
    transition: background 0.2s;
}
.btn-outline-dark-brand:hover { background: var(--ekm-blue); color: #fff; }

/* ---------- Guarantee badges ---------- */
.ekm-guarantees { flex-wrap: wrap; }

.ekm-guarantee {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.ekm-guarantee--dark { color: var(--ekm-blue); }

.ekm-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: var(--ekm-green);
    color: #fff;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
}
.ekm-check--dark { background: var(--ekm-green); color: #fff; }

/* ---------- Sections ---------- */
.ekm-section {
    padding: 5rem 0;
}
.ekm-section--white { background: var(--ekm-white); }
.ekm-section--gray  { background: var(--ekm-gray-bg); }

.ekm-section__heading {
    font-family: 'Inter', 'Clear Sans', sans-serif;
    font-weight: 700;
    font-size: clamp(1.6rem, 3vw, 2rem);
    color: var(--ekm-blue);
    margin-bottom: 0.75rem;
}

.ekm-section__subheading {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ekm-blue);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.ekm-section__body {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ekm-blue);
    margin-bottom: 0.9rem;
}

/* ---------- Meet SEB ---------- */
.ekm-label-meet {
    font-weight: 700;
    font-size: 2rem;
    color: var(--ekm-blue);
    margin-bottom: 0;
}
.ekm-seb-big {
    font-weight: 700;
    font-size: 5rem;
    color: var(--ekm-blue);
    line-height: 1;
}
.ekm-seb-icon { width: 64px; height: 64px; }

/* ---------- Cards ---------- */
.ekm-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(11,37,106,0.07);
    overflow: hidden;
}

/* Step cards */
.ekm-step-card { padding: 1.75rem; }
.ekm-step-number { display: flex; margin-bottom: 0.75rem; }
.ekm-step-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--ekm-green);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
}
.ekm-step-circle--green { background: var(--ekm-green); }
.ekm-step-circle--cyan  { background: var(--ekm-cyan); }

.ekm-step-img {
    width: 100%;
    border-radius: 8px;
}

.ekm-card__title {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--ekm-blue);
    margin-bottom: 0.5rem;
}
.ekm-card__body {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--ekm-blue);
}

/* Feature cards */
.ekm-feature-card { display: flex; flex-direction: column; background: #F4F4F4; }

/* SEO Strategy: text left, image right */
.ekm-feature-card--horizontal { flex-direction: row; align-items: stretch; }
.ekm-feature-card--horizontal .ekm-feature-body { flex: 1; }
.ekm-feature-img-side {
    width: 45%;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 0 12px 12px 0;
}

/* Standard image at top of card */
.ekm-feature-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}
/* Image at bottom of card (text above) */
.ekm-feature-img--bottom {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 0 0 12px 12px;
    margin-top: auto;
}
/* Standalone image beside Local Directory card */
.ekm-feature-img-standalone {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    border-radius: 12px;
}
.ekm-feature-body { padding: 2rem; }

/* Who cards */
.ekm-who-card { display: flex; flex-direction: column; width: 345px; flex-shrink: 0; }
.ekm-who-card > div { padding: 1.9rem; }
.ekm-who-img { max-width: 100%; height: auto; max-height: 180px; object-fit: contain; border-radius: 8px; }
.ekm-who-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin: 0 auto;
}
.ekm-who-icon--green { background: var(--ekm-green); }
.ekm-who-icon--cyan  { background: var(--ekm-cyan); }
.ekm-who-step { margin-bottom: 0.5rem; }

/* Testimonials */
.ekm-testimonial { padding: 1.75rem; height: 100%; }
.ekm-testimonial__text {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--ekm-blue);
    margin-bottom: 1.25rem;
}
.ekm-testimonial__author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.ekm-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.ekm-avatar--photo { object-fit: cover; }
.ekm-author-name { font-weight: 400; font-size: 0.9rem; color: var(--ekm-blue); }
.ekm-stars { color: #000; font-size: 2.8rem; margin-bottom: 0.75rem; letter-spacing: 0.05em; line-height: 1; }
.ekm-star-empty { opacity: 0.25; }

/* ---------- Billing Toggle ---------- */
.ekm-billing-toggle {
    background: #e5e5e5;
    border-radius: 6px;
    padding: 3px;
    width: fit-content;
    margin: 0 auto;
    display: flex;
    align-items: center;
}
.ekm-toggle-btn {
    background: transparent;
    border: none;
    padding: 0.45rem 1.5rem;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ekm-blue);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.ekm-toggle-btn--active {
    background: #000;
    color: #fff;
}

/* ---------- Price Card ---------- */
.ekm-price-card { overflow: hidden; }
.ekm-price-card__left { padding: 2.5rem 2rem; border-right: 1px solid #e5e5e5; }
.ekm-price-card__right { padding: 2.5rem 2rem; display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 991px) {
    .ekm-price-card__left { border-right: none; border-bottom: 1px solid #e5e5e5; }
}
.ekm-price-label { font-weight: 700; font-size: 1.1rem; color: var(--ekm-blue); margin-bottom: 1rem; }
.ekm-price-amount { font-weight: 700; font-size: 3.5rem; color: var(--ekm-green); }
.ekm-price-period { font-size: 1rem; color: var(--ekm-blue); }
.ekm-price-billing { font-size: 0.9rem; color: var(--ekm-blue); margin-top: 0.4rem; }

/* ---------- FAQ ---------- */
.ekm-faq-wrap {
    box-shadow: 0 2px 12px rgba(11, 37, 106, 0.20);
    border-radius: 12px;
    padding: 30px;
}
.ekm-faq-wrap > div {
    margin-top:0;
}

/* ---------- Accordion (FAQ) ---------- */
.ekm-accordion .accordion-item {
    border: none;
    border-bottom: 1px solid #d9d9d9;
    background: transparent;
}
.ekm-accordion .accordion-button {
    background: transparent;
    color: var(--ekm-blue);
    font-weight: 400;
    font-size: 0.95rem;
    box-shadow: none;
    padding: 1rem 0;
}
.ekm-accordion .accordion-button:not(.collapsed) { color: var(--ekm-blue); background: transparent; }
.ekm-accordion .accordion-button::after { filter: none; }
.ekm-accordion .accordion-body { padding: 0 0 1rem; font-size: 0.95rem; color: var(--ekm-blue); line-height: 1.6; }

/* ---------- Cookie Banner ---------- */
.ekm-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #121617;
    color: #fff;
    padding: 1rem;
    z-index: 9999;
    font-size: 0.875rem;
}
.ekm-cookie-banner p { color: #fff; }
.ekm-cookie-link { color: #aad4ff; }
.btn-cookie-ok {
    background: #fff;
    color: #121617;
    border: none;
    border-radius: 4px;
    padding: 0.35rem 1.2rem;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .ekm-hero { min-height: auto; padding: 5rem 0 4rem; }
    .ekm-seb-big { font-size: 3.5rem; }
    .ekm-feature-img,
    .ekm-feature-img--bottom { height: 180px; }
    .ekm-feature-card--horizontal { flex-direction: column; }
    .ekm-feature-img-side { width: 100%; height: 220px; border-radius: 0 0 12px 12px; }
    .ekm-price-amount { font-size: 2.8rem; }
}

@media (max-width: 767px) {
    .ekm-section { padding: 3rem 0; }
    .ekm-hero__headline { font-size: 1.6rem; }
    .ekm-seb-big { font-size: 3rem; }
}

/* ===================================================
   Get Started / Registration Page
   =================================================== */

.gs-page {
    min-height: 100vh;
    background-image: url('/images/get-started-bg-11f7db.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 16px 60px;
}

.gs-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(10, 49, 154, 0.7);
    pointer-events: none;
}

.gs-header,
.gs-card {
    position: relative;
    z-index: 1;
}

.gs-header {
    margin-bottom: 20px;
}

.gs-logo {
    height: 50px;
}

.gs-card {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 600px;
    overflow: hidden;
}

.gs-card__body {
    padding: 48px 50px 32px;
}

.gs-card__title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.5;
    color: #242628;
    text-align: center;
    margin-bottom: 32px;
}

.gs-field {
    margin-bottom: 20px;
}

.gs-field__label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #111827;
    margin-bottom: 8px;
}

.gs-field__input {
    display: block;
    width: 100%;
    padding: 16px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #6B7280;
    background: #fff;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s, color 0.2s;
}

.gs-field__input:focus {
    border-color: #13C47B;
    color: #111827;
}

.gs-field__input--select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236B7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M9 5l7 7-7 7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 20px;
    cursor: pointer;
    color: #111928;
}

.gs-field__error {
    display: block;
    font-size: 13px;
    color: #dc3545;
    margin-top: 4px;
    min-height: 20px;
}

.gs-btn-submit {
    display: block;
    width: 100%;
    padding: 18px 20px;
    background-color: #13C47B;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 8px;
}

.gs-btn-submit:hover {
    background-color: #10ad6c;
}

.gs-divider {
    border: none;
    border-top: 1px solid #E6E8EB;
    margin: 0;
}

.gs-existing {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 50px;
    background: #F9FAFB;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #1F2937;
}

.gs-existing__icon {
    flex-shrink: 0;
}

.gs-existing__link {
    color: #0B256A;
    text-decoration: underline;
}

.gs-existing__link:hover {
    color: #13C47B;
}

@media (max-width: 640px) {
    .gs-card__body { padding: 32px 24px 24px; }
    .gs-existing { padding: 16px 24px; }
    .gs-card__title { font-size: 20px; }
}

/* ============================================================
   PAYMENT DETAILS PAGE  (.pd-)
   ============================================================ */

.pd-page {
    min-height: 100vh;
    background-image: url('/images/get-started-bg-11f7db.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 16px 60px;
}

.pd-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(10, 49, 154, 0.7);
    pointer-events: none;
}

/* Floating "Safe & Secure" badge – top right */
.pd-safe-badge {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 2px solid #E8870A;
    border-radius: 999px;
    padding: 6px 14px 6px 10px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #111827;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.pd-header,
.pd-card {
    position: relative;
    z-index: 1;
}

.pd-header {
    margin-bottom: 20px;
}

.pd-logo {
    height: 50px;
}

/* Two-panel card */
.pd-card {
    width: 100%;
    max-width: 980px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.18);
}

.pd-card > form {
    display: flex;
    width: 100%;
    min-height: 600px;
}

/* ── Payment error banner ───────────────────────────────────── */
.pd-payment-error {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff1f1;
    border-left: 4px solid #dc3545;
    color: #8b0000;
    font-size: 14px;
    font-weight: 500;
    padding: 14px 20px;
    border-radius: 4px 4px 0 0;
}

.pd-payment-error svg {
    flex-shrink: 0;
    color: #dc3545;
}

/* ── Left panel ─────────────────────────────────────────────── */
.pd-panel--left {
    flex: 1;
    background: #fff;
    padding: 40px 44px 48px;
    min-width: 0;
}

/* ── Right panel ────────────────────────────────────────────── */
.pd-panel--right {
    width: 340px;
    flex-shrink: 0;
    background: #F3F7FF;
    display: flex;
    flex-direction: column;
}

/* ── Section layout ─────────────────────────────────────────── */
.pd-section {
    margin-bottom: 36px;
}

.pd-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.pd-section__header--payment {
    margin-bottom: 16px;
}

.pd-section__title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #111827;
    margin: 0;
}

.pd-section__required {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #0B256A;
    text-decoration: underline;
    cursor: default;
}

.pd-section__safe-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #E8870A;
    background: #FFF8EE;
    border: 1.5px solid #E8870A;
    border-radius: 999px;
    padding: 4px 10px 4px 8px;
}

/* ── Fields ─────────────────────────────────────────────────── */
.pd-field {
    margin-bottom: 20px;
}

.pd-field--sub {
    margin-bottom: 12px;
}

.pd-field__label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: #111827;
    margin-bottom: 8px;
}

.pd-field__hint {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #6B7280;
    margin: 0 0 8px;
}

.pd-field__input {
    display: block;
    width: 100%;
    padding: 14px 18px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #6B7280;
    background: #fff;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s, color 0.2s;
    box-sizing: border-box;
}

.pd-field__input:focus {
    border-color: #13C47B;
    color: #111827;
}

.pd-field__input--search {
    padding-right: 40px;
}

.pd-field__input--disabled {
    opacity: 0.45;
    pointer-events: none;
}

.pd-field__error {
    display: block;
    font-size: 13px;
    color: #dc3545;
    margin-top: 4px;
    min-height: 18px;
}

/* ── Address search ─────────────────────────────────────────── */
.pd-address-search-input-wrap {
    position: relative;
}

.pd-address-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #6B7280;
    padding: 4px;
    line-height: 1;
    display: flex;
    align-items: center;
}

.pd-address-clear:hover {
    color: #374151;
}

.pd-address-manual-link {
    display: inline-block;
    margin-top: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #0B256A;
    text-decoration: underline;
}

.pd-address-manual-link:hover {
    color: #13C47B;
}

/* ── Confirm Address button ─────────────────────────────────── */
.pd-btn-confirm-address {
    display: block;
    width: 100%;
    padding: 14px 20px;
    background: #fff;
    color: #6B7280;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    border: 1.5px solid #D1D5DB;
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    margin-top: 4px;
}

.pd-btn-confirm-address--ready {
    border-color: #13C47B;
    color: #13C47B;
}

.pd-btn-confirm-address--confirmed {
    border-color: #13C47B;
    background: #F0FDF8;
    color: #0E9B60;
    cursor: default;
}

/* ── Info box ────────────────────────────────────────────────── */
.pd-info-box {
    background: #FFFBEB;
    border: 1px solid #FCD34D;
    border-radius: 6px;
    padding: 12px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #374151;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* ── Card form ───────────────────────────────────────────────── */
.pd-card-form {
    position: relative;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.pd-card-form__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid #E5E7EB;
}

.pd-card-form__header-text {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    line-height: 1.4;
}

.pd-card-logos {
    display: flex;
    align-items: center;
    gap: 5px;
}

.pd-card-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
}

.pd-card-logo--visa {
    background: #1A1F71;
    color: #fff;
    padding: 0 6px;
    font-style: italic;
}

.pd-card-logo--mc {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #EB001B;
    margin-right: -8px;
}

.pd-card-logo--mc2 {
    background: #F79E1B;
    margin-right: 8px;
}

.pd-card-logo--amex {
    background: #2E77BC;
    color: #fff;
    padding: 0 5px;
}

.pd-card-form__field {
    padding: 12px 16px 0;
}

.pd-card-form__label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #6B7280;
    margin-bottom: 6px;
}

.pd-card-form__row {
    display: flex;
    gap: 12px;
    padding-bottom: 16px;
}

.pd-card-form__row .pd-card-form__field {
    flex: 1;
    padding-bottom: 0;
}

.pd-card-form__overlay,
.pd-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.pd-card-form__overlay p,
.pd-card-overlay p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    text-align: center;
    max-width: 220px;
    margin: 0;
}

/* ── ClearAccept hosted-field iframe containers ─────────────── */
.pd-ca-iframe-field {
    height: 46px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
}

.ca-field-wrapper.invalid .pd-ca-iframe-field {
    border-color: #dc2626;
}

.ca-field__validation-message {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #dc2626;
    margin-top: 4px;
    min-height: 16px;
}

/* ── Card error banner ──────────────────────────────────────── */
.pd-card-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 6px;
    color: #dc2626;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    padding: 10px 14px;
    margin-bottom: 16px;
}

/* ── Summary panel banner ───────────────────────────────────── */
.pd-summary-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #0B256A;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 12px 20px;
}

/* ── Summary content ─────────────────────────────────────────── */
.pd-summary {
    padding: 24px 24px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.pd-summary__title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: #111827;
    margin: 0 0 16px;
}

.pd-plan-select {
    width: 100%;
    padding: 12px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #374151;
    background: #fff;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236B7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    cursor: pointer;
    margin-bottom: 20px;
    outline: none;
}

.pd-plan-select:focus {
    border-color: #0B256A;
}

.pd-summary__product {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 4px;
}

.pd-summary__product-name {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #111827;
}

.pd-summary__product-price {
    display: flex;
    align-items: baseline;
    gap: 3px;
}

.pd-summary__price {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #111827;
}

.pd-summary__vat {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    color: #6B7280;
}

.pd-summary__subtext {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #6B7280;
    text-align: right;
    margin-bottom: 12px;
}

.pd-summary__desc {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #6B7280;
    line-height: 1.5;
    margin: 0 0 20px;
}

.pd-summary__total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.pd-summary__total-label {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #111827;
}

.pd-summary__total-amount {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

.pd-summary__billing-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 20px;
}

.pd-summary__billing-icon {
    flex-shrink: 0;
    margin-top: 1px;
}

.pd-summary__billing-note {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #374151;
    line-height: 1.5;
    margin: 0;
}

/* ── Create account button ──────────────────────────────────── */
.pd-btn-create {
    display: block;
    width: 100%;
    padding: 16px 20px;
    background-color: #13C47B;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 700;
    text-align: center;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-bottom: 14px;
}

.pd-btn-create:hover {
    background-color: #10ad6c;
}

.pd-summary__terms {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #6B7280;
    text-align: center;
    line-height: 1.5;
    margin: 0;
}

.pd-summary__terms-link {
    color: #0B256A;
    text-decoration: underline;
}

.pd-summary__terms-link:hover {
    color: #13C47B;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 860px) {
    .pd-card > form {
        flex-direction: column;
    }

    .pd-panel--left {
        padding: 32px 24px 36px;
    }

    .pd-panel--right {
        width: 100%;
    }

    .pd-safe-badge {
        position: absolute;
        top: 14px;
        right: 14px;
    }
}

@media (max-width: 480px) {
    .pd-page {
        padding: 40px 12px 40px;
    }

    .pd-card-form__row {
        flex-direction: column;
        gap: 0;
    }
}

/* =====================================================================
   LOGIN PAGE  (.lg-)
   ===================================================================== */
.lg-page {
    display: flex;
    min-height: 100vh;
}

/* ── Left panel ─────────────────────────────────────────────────────── */
.lg-panel--form {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 640px;
    flex-shrink: 0;
    background: #fff;
    padding: 0;
}
.lg-form {
    width: 90%;
}

.lg-form-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 48px 40px;
    flex: 1;
}

.lg-logo {
    height: 44px;
    margin-bottom: 32px;
}

.lg-heading {
    font-size: 2rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 32px;
    text-align: center;
}

.lg-error-banner {
    width: 100%;
    background: #fff0f0;
    border: 1px solid #f5c2c7;
    color: #a00;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.875rem;
    margin-bottom: 20px;
}

/* ── Fields ─────────────────────────────────────────────────────────── */
.lg-field {
    width: 100%;
    margin-bottom: 20px;
}

.lg-field__label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #222;
    margin-bottom: 6px;
}

.lg-field__input {
    width: 100%;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 0.9375rem;
    color: #111;
    outline: none;
    transition: border-color 0.2s;
    background: #fff;
    box-sizing: border-box;
}

.lg-field__input:focus {
    border-color: var(--ekm-blue, #0B256A);
    box-shadow: 0 0 0 3px rgba(11,37,106,0.1);
}

.lg-field__input--password {
    padding-right: 70px;
}

.lg-field__password-wrap {
    position: relative;
}

.lg-field__show-btn {
    position: absolute;
    right: 1px;
    top: 1px;
    bottom: 1px;
    border: none;
    background: #fff;
    border-radius: 0 7px 7px 0;
    padding: 0 14px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #444;
    cursor: pointer;
    letter-spacing: 0.05em;
}

.lg-field__show-btn:hover {
    color: var(--ekm-blue, #0B256A);
}

.lg-field__error {
    display: block;
    font-size: 0.8125rem;
    color: #c00;
    margin-top: 4px;
}

/* ── Login button ───────────────────────────────────────────────────── */
.lg-btn-login {
    display: block;
    width: 100%;
    background: #00C6DC;
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 14px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: background 0.2s, transform 0.1s;
    margin-top: 4px;
}

.lg-btn-login:hover {
    background: #00afc5;
    transform: translateY(-1px);
}

.lg-btn-login:active {
    transform: translateY(0);
}

/* ── Forgot password ────────────────────────────────────────────────── */
.lg-forgot-link {
    display: inline-block;
    margin-top: 18px;
    font-size: 0.875rem;
    color: #111;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.lg-forgot-link:hover {
    color: var(--ekm-blue, #0B256A);
}

/* ── EKM customer bar ───────────────────────────────────────────────── */
.lg-ekm-bar {
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 14px 18px;
    margin: 0 48px 48px;
    font-size: 0.875rem;
    color: #444;
    background: #f8f8f8;
    text-align:center;
}

.lg-ekm-bar__icon {
    font-size: 1rem;
    color: #888;
    flex-shrink: 0;
}

.lg-ekm-bar__link {
    color: var(--ekm-blue, #0B256A);
    font-weight: 600;
    text-decoration: underline;
}

/* ── Right panel (hero) ─────────────────────────────────────────────── */
.lg-panel--hero {
    flex: 1;
    position: relative;
    background-color: var(--ekm-blue, #0B256A);
    background-image: url('/images/hero-bg.png');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.lg-panel--hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 37, 106, 0.55);
}

.lg-hero-inner {
    position: relative;
    z-index: 1;
    padding: 60px 0 60px 56px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

/* ── Hero content row (text + image side-by-side) ───────────────────── */
.lg-hero-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    flex: 1;
}

.lg-hero-text {
    flex: 1;
    min-width: 340px;
}

.lg-hero-logo {
    height: 60px;
    margin-bottom: 32px;
    display: block;
}

.lg-hero-heading {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    max-width: 520px;
    margin-bottom: 24px;
}
.lg-hero-body {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.9);
    max-width: 500px;
    line-height: 1.65;
    margin-bottom: 0;
}

.lg-hero-dashboard {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.lg-hero-dashboard__img {
    width: 800px;
    max-width: none;
    border-radius: 12px;
}

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .lg-page {
        flex-direction: column;
    }

    .lg-panel--form {
        width: 100%;
    }

    .lg-panel--hero {
        min-height: 380px;
    }

    .lg-hero-inner {
        padding: 40px 32px;
    }

    .lg-hero-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .lg-hero-heading {
        font-size: 1.75rem;
    }

    .lg-hero-dashboard {
        display: none;
    }
}

@media (max-width: 480px) {
    .lg-form-wrap {
        padding: 40px 24px 32px;
    }

    .lg-ekm-bar {
        margin: 0 24px 32px;
    }
}

/* =====================================================================
   FORGOT PASSWORD PAGE  (.fp-)
   ===================================================================== */
.fp-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--ekm-blue, #0B256A);
    background-image: url('/images/get-started-bg-11f7db.png');
    background-size: cover;
    background-position: center;
    padding: 24px 16px;
}

.fp-card {
    background: #fff;
    border-radius: 12px;
    width: 100%;
    max-width: 504px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0,0,0,0.25);
}

.fp-card__header {
    display: flex;
    justify-content: center;
    padding: 32px 40px 28px;
}

.fp-logo {
    height: 40px;
}

.fp-card__divider {
    height: 1px;
    background: #e5e7eb;
    margin: 0;
}

.fp-card__body {
    padding: 28px 40px 24px;
}

/* ── Success state ──────────────────────────────────────────────────── */
.fp-success {
    font-size: 0.9375rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* ── Field ──────────────────────────────────────────────────────────── */
.fp-field {
    width: 100%;
}

.fp-field__label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #222;
    margin-bottom: 8px;
}

.fp-field__input {
    width: 100%;
    border: 1px solid #d0d5dd;
    border-radius: 6px;
    padding: 11px 14px;
    font-size: 0.9375rem;
    color: #111;
    outline: none;
    transition: border-color 0.2s;
    background: #fff;
    box-sizing: border-box;
}

.fp-field__input:focus {
    border-color: var(--ekm-blue, #0B256A);
    box-shadow: 0 0 0 3px rgba(11,37,106,0.1);
}

.fp-field__error {
    display: block;
    font-size: 0.8125rem;
    color: #c00;
    margin-top: 5px;
}

/* ── Footer row ─────────────────────────────────────────────────────── */
.fp-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px 24px;
}

.fp-back-link {
    font-size: 0.875rem;
    color: var(--ekm-blue, #0B256A);
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.fp-back-link:hover {
    text-decoration: underline;
}

.fp-btn-reset {
    background: #00C6DC;
    color: #fff;
    border: none;
    border-radius: 24px;
    padding: 12px 24px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s, transform 0.1s;
}

.fp-btn-reset:hover {
    background: #00afc5;
    transform: translateY(-1px);
}

.fp-btn-reset:active {
    transform: translateY(0);
}

@media (max-width: 540px) {
    .fp-card__header,
    .fp-card__body,
    .fp-card__footer {
        padding-left: 24px;
        padding-right: 24px;
    }
}

/* ── Login success banner ───────────────────────────────────────────── */
.lg-success-banner {
    width: 100%;
    background: #edfaf3;
    border: 1px solid #86efac;
    color: #166534;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.875rem;
    margin-bottom: 20px;
}

/* ── ResetPassword extra states ─────────────────────────────────────── */
.fp-card__body--fields {
    padding-bottom: 28px;
}

.fp-field--spaced {
    margin-bottom: 20px;
}

.fp-field__password-wrap {
    position: relative;
}

.fp-field__input--password {
    padding-right: 70px;
}

.fp-field__show-btn {
    position: absolute;
    right: 1px;
    top: 1px;
    bottom: 1px;
    border: none;
    background: #fff;
    border-radius: 0 5px 5px 0;
    padding: 0 14px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #444;
    cursor: pointer;
    letter-spacing: 0.05em;
}

.fp-field__show-btn:hover {
    color: var(--ekm-blue, #0B256A);
}

.fp-expired__title {
    font-weight: 600;
    color: #111;
    margin-bottom: 8px;
    font-size: 1rem;
}

.fp-expired__body {
    color: #555;
    font-size: 0.9375rem;
    margin: 0;
}

.fp-card__footer--center {
    justify-content: center;
}

/* ---------- T&C Modal ---------- */
.ekm-tc-body { font-size: 0.9rem; line-height: 1.7; }
.ekm-tc-body h6 { font-weight: 700; margin-top: 1.5rem; margin-bottom: 0.5rem; }
.ekm-tc-section { padding-left: 2rem; margin-bottom: 1rem; }
.ekm-tc-section p { padding-left: 1.5rem; text-indent:-1.5rem; }
.ekm-tc-section h6 { margin-left: -1.25rem; }
