/* =========================================================
   ePostcode signup + thank-you pages
   Brand: #EC2E5E → #8B1538 / #1A1A1A
   ========================================================= */

.signup-page {
    background: #f8fafc;
}

/* ----- Hero strip ----- */
.signup-hero {
    padding: clamp(5.5rem, 10vw, 6.5rem) 0 1.5rem;
    background:
        linear-gradient(115deg, rgba(18, 12, 16, 0.9) 0%, rgba(26, 10, 16, 0.72) 50%, rgba(236, 46, 94, 0.45) 100%),
        #1a1a1a;
    color: #fff;
    text-align: center;
}

.signup-hero .container {
    max-width: min(920px, 100%);
}

.signup-hero-badge {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 0.75rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.signup-hero h1 {
    font-size: clamp(1.85rem, 4.5vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0 0 0.75rem;
    color: #fff;
}

.signup-hero h1 .highlight {
    color: #ff8fab;
}

.signup-hero p {
    margin: 0 auto;
    max-width: 38rem;
    font-size: clamp(1rem, 2.2vw, 1.15rem);
    line-height: 1.6;
    opacity: 0.95;
    color: #fff;
}

/* ----- Main layout ----- */
.signup-main {
    padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 6vw, 4.5rem);
}

.signup-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: start;
    max-width: min(1120px, 100%);
    margin: 0 auto;
}

/* Reasons panel */
.signup-reasons {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: clamp(1.25rem, 3vw, 1.75rem);
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.05);
}

.signup-reasons h2 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 0.35rem;
    letter-spacing: -0.02em;
}

.signup-reasons .lead {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0 0 1.25rem;
}

.reason-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.reason-item {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}

.reason-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #EC2E5E 0%, #8B1538 100%);
    color: #fff;
    font-size: 1rem;
}

.reason-item h3 {
    margin: 0 0 0.2rem;
    font-size: 0.98rem;
    font-weight: 800;
    color: #1a1a1a;
}

.reason-item p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.5;
    color: #6b7280;
}

.signup-trust {
    margin-top: 1.35rem;
    padding-top: 1.15rem;
    border-top: 1px solid #eef0f3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}

.trust-pill {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.7rem;
    background: #f8fafc;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #374151;
}

.trust-pill i {
    color: #EC2E5E;
}

/* Form card */
.signup-form-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: clamp(1.35rem, 3vw, 2rem);
    box-shadow: 0 14px 40px rgba(16, 24, 40, 0.07);
}

.signup-form-card .form-intro {
    text-align: center;
    margin-bottom: 1.5rem;
}

.signup-form-card .form-intro h2 {
    margin: 0 0 0.35rem;
    font-size: 1.4rem;
    font-weight: 800;
    color: #1a1a1a;
}

.signup-form-card .form-intro p {
    margin: 0;
    color: #6b7280;
    font-size: 0.95rem;
}

.signup-perks {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem;
    margin-bottom: 1.35rem;
}

.signup-perks span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: rgba(236, 46, 94, 0.08);
    color: #8B1538;
    font-size: 0.78rem;
    font-weight: 700;
}

.signup-perks span i {
    color: #EC2E5E;
}

.signup-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.signup-form .form-group {
    margin-bottom: 1rem;
}

.signup-form label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: #1a1a1a;
}

.signup-form label .req {
    color: #EC2E5E;
}

.signup-form input[type="text"],
.signup-form input[type="email"],
.signup-form input[type="tel"] {
    width: 100%;
    padding: 0.85rem 0.95rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
    background: #fff;
    color: #1a1a1a;
}

.signup-form input:focus {
    outline: none;
    border-color: #EC2E5E;
    box-shadow: 0 0 0 3px rgba(236, 46, 94, 0.12);
}

.signup-form .check-group {
    margin-bottom: 0.9rem;
}

.signup-form .check-group label {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    cursor: pointer;
    font-weight: 500;
    color: #374151;
    line-height: 1.5;
    font-size: 0.9rem;
}

.signup-form .check-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 0.2rem;
    flex-shrink: 0;
    accent-color: #EC2E5E;
    cursor: pointer;
}

.signup-form .check-group a {
    color: #EC2E5E;
    font-weight: 700;
    text-decoration: underline;
}

.signup-note {
    margin: 0 0 1rem;
    padding: 0.75rem 0.9rem;
    background: rgba(236, 46, 94, 0.05);
    border-left: 3px solid #EC2E5E;
    border-radius: 8px;
    font-size: 0.84rem;
    color: #555;
    line-height: 1.5;
}

.signup-note a {
    color: #EC2E5E;
    font-weight: 700;
}

.signup-form .btn-submit {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    background: linear-gradient(145deg, #EC2E5E 0%, #8B1538 100%);
    color: #fff;
    box-shadow: 0 10px 24px rgba(236, 46, 94, 0.28);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: inherit;
}

.signup-form .btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(236, 46, 94, 0.35);
}

.signup-form-footer {
    margin-top: 1.35rem;
    padding-top: 1.25rem;
    border-top: 1px solid #eef0f3;
    text-align: center;
}

.signup-form-footer p {
    margin: 0 0 0.45rem;
    font-size: 0.88rem;
    color: #6b7280;
    line-height: 1.5;
}

.signup-form-footer a {
    color: #EC2E5E;
    font-weight: 700;
}

.signup-form-footer .secure {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    color: #374151;
}

.signup-form-footer .secure i {
    color: #059669;
}

/* Bottom steps strip on signup */
.signup-next {
    padding: clamp(2.5rem, 5vw, 3.5rem) 0;
    background: #fff;
    border-top: 1px solid #eef0f3;
}

.signup-next .section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.signup-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    max-width: min(1000px, 100%);
    margin: 0 auto;
}

.signup-step {
    text-align: center;
    padding: 1.25rem 1rem;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
}

.signup-step .num {
    width: 40px;
    height: 40px;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #EC2E5E, #8B1538);
    color: #fff;
    font-weight: 800;
}

.signup-step h3 {
    margin: 0 0 0.35rem;
    font-size: 0.98rem;
    color: #1a1a1a;
}

.signup-step p {
    margin: 0;
    font-size: 0.86rem;
    color: #6b7280;
    line-height: 1.45;
}

/* =========================================================
   Thank-you page
   ========================================================= */
.success-hero {
    background: linear-gradient(135deg, #EC2E5E 0%, #8B1538 100%) !important;
    padding: clamp(4.5rem, 9vw, 5.5rem) 1.25rem 2.75rem !important;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.success-hero::before {
    opacity: 0.25 !important;
}

.success-content {
    position: relative;
    z-index: 1;
    max-width: min(720px, 100%);
    margin: 0 auto;
}

.success-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.15rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    border: 2px solid rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem !important;
    color: #fff;
    animation: scaleIn 0.5s ease-out;
}

.success-title {
    font-size: clamp(1.85rem, 4vw, 2.5rem) !important;
    font-weight: 800;
    margin-bottom: 0.65rem !important;
    color: #fff;
}

.success-subtitle {
    font-size: clamp(1.05rem, 2.2vw, 1.2rem) !important;
    opacity: 0.96;
    margin: 0;
    line-height: 1.55;
    color: #fff;
}

.info-section {
    padding: clamp(2rem, 5vw, 3rem) clamp(1rem, 3vw, 1.5rem) clamp(3rem, 6vw, 4rem) !important;
    max-width: min(1040px, 100%) !important;
    margin: 0 auto;
}

.info-box {
    background: #fff;
    border-radius: 16px !important;
    padding: clamp(1.35rem, 3vw, 1.85rem) !important;
    box-shadow: 0 8px 28px rgba(16, 24, 40, 0.06) !important;
    margin-bottom: 1.25rem !important;
    border: 1px solid #e5e7eb;
}

.info-box h2 {
    color: #1a1a1a !important;
    font-size: 1.35rem !important;
    margin-bottom: 0.75rem !important;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.info-box h2 i {
    color: #EC2E5E !important;
    font-size: 1.25rem !important;
}

.info-box p {
    color: #4b5563 !important;
    line-height: 1.7;
}

.info-box ul li i {
    color: #EC2E5E !important;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
    gap: 0.85rem !important;
    margin: 1.25rem 0 0 !important;
}

.step-card {
    background: #f8fafc !important;
    border-radius: 14px !important;
    padding: 1.15rem 0.9rem !important;
    text-align: center;
    border: 1px solid #e5e7eb !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.step-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(236, 46, 94, 0.1) !important;
    border-color: rgba(236, 46, 94, 0.25) !important;
}

.step-number {
    width: 42px !important;
    height: 42px !important;
    background: linear-gradient(145deg, #EC2E5E 0%, #8B1538 100%) !important;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem !important;
    font-weight: 800;
    margin: 0 auto 0.75rem !important;
}

.step-card h3 {
    color: #1a1a1a !important;
    font-size: 0.98rem !important;
    margin-bottom: 0.35rem !important;
}

.step-card p {
    color: #6b7280 !important;
    font-size: 0.86rem !important;
    margin: 0 !important;
    line-height: 1.45;
}

.resources-grid {
    gap: 0.85rem !important;
    margin: 1.15rem 0 0 !important;
}

.resource-card {
    border: 1px solid #e5e7eb !important;
    border-radius: 14px !important;
    padding: 1.15rem !important;
    transition: all 0.2s ease !important;
}

.resource-card:hover {
    border-color: rgba(236, 46, 94, 0.35) !important;
    box-shadow: 0 10px 24px rgba(236, 46, 94, 0.1) !important;
    transform: translateY(-2px) !important;
}

.resource-card i {
    color: #EC2E5E !important;
    font-size: 1.5rem !important;
    margin-bottom: 0.65rem !important;
}

.resource-card h3 {
    font-size: 1.05rem !important;
}

.sister-services {
    background: #f8fafc !important;
    border: 1px solid #e5e7eb;
    border-radius: 16px !important;
    padding: 1.5rem !important;
}

.sister-services h3 {
    color: #1a1a1a !important;
    font-size: 1.2rem !important;
}

.service-link {
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
}

.service-link:hover {
    border-color: rgba(236, 46, 94, 0.35) !important;
    box-shadow: 0 8px 20px rgba(236, 46, 94, 0.1) !important;
}

.service-link i {
    color: #EC2E5E !important;
}

.cta-section {
    background: linear-gradient(135deg, #EC2E5E 0%, #8B1538 100%) !important;
    border-radius: 16px !important;
    padding: clamp(1.75rem, 4vw, 2.5rem) !important;
    margin: 1.5rem 0 !important;
}

.cta-section h2,
.cta-section p {
    color: #fff !important;
}

.cta-section .btn-white {
    background: #fff !important;
    color: #EC2E5E !important;
    border: none !important;
    border-radius: 999px !important;
    font-weight: 700 !important;
    padding: 0.85rem 1.35rem !important;
}

.cta-section .btn-outline {
    background: transparent !important;
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.75) !important;
    border-radius: 999px !important;
    font-weight: 700 !important;
    padding: 0.8rem 1.25rem !important;
}

.cta-section .btn-outline:hover {
    background: rgba(255, 255, 255, 0.12) !important;
}

.response-note {
    text-align: center;
    background: rgba(236, 46, 94, 0.05) !important;
    border: 1px solid rgba(236, 46, 94, 0.12);
}

.response-note h2 {
    justify-content: center;
}

/* Responsive */
@media (max-width: 900px) {
    .signup-layout {
        grid-template-columns: 1fr;
    }

    .signup-reasons {
        order: 2;
    }

    .signup-form-card {
        order: 1;
    }

    .signup-steps {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .signup-form .form-row {
        grid-template-columns: 1fr;
    }

    .signup-trust {
        grid-template-columns: 1fr;
    }

    .signup-steps {
        grid-template-columns: 1fr;
    }

    .signup-hero-badge {
        font-size: 0.72rem;
    }

    .steps-grid {
        grid-template-columns: 1fr 1fr !important;
    }
}

@media (max-width: 420px) {
    .steps-grid {
        grid-template-columns: 1fr !important;
    }
}
