/* ============================================================
   Marshanam — Help Whatsapp number during Registration
   File: public/css/help-wa-number-reg.css
   ============================================================ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --m-primary: #16B6B4;
    --m-primary-dark: #0F7E73;
    --m-bg: #F5FAFA;
    --m-hover: #E6F3F1;
    --m-active: #D9ECE9;
    --m-border: #D7E5E3;
    --m-text-dark: #214B49;
    --m-text: #4E7D7A;
    --m-card: #FFFFFF;

    --success: #00C875;
    --error: #F44336;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-500: #6B7280;
    --gray-700: #374151;
    --gray-900: #111827;
    --radius: 12px;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    min-height: 100vh;
    background: linear-gradient(135deg, #F5FAFA 0%, #E6F3F1 50%, #D9ECE9 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 16px 48px;
    position: relative;
    overflow-x: hidden;
}

body::before,
body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

body::before {
    width: 380px;
    height: 380px;
    background: var(--m-primary);
    opacity: .13;
    top: -90px;
    right: 70px;
}

body::after {
    width: 280px;
    height: 280px;
    background: var(--m-active);
    opacity: .75;
    bottom: -50px;
    left: -50px;
}

/* Topbar */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    display: flex;
    align-items: center;
    padding: 0 32px;
    z-index: 100;
    background: rgba(255, 255, 255, .86);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--m-border);
    gap: 12px;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 48px;
    width: auto;
    display: block;
}

.breadcrumb {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--m-text);
}

.breadcrumb a {
    color: var(--m-primary-dark);
    text-decoration: none;
    font-weight: 600;
}

.breadcrumb a:hover {
    color: var(--m-primary);
    text-decoration: underline;
}

.breadcrumb span {
    color: var(--m-text-dark) !important;
    font-weight: 600;
}

.breadcrumb svg {
    flex-shrink: 0;
}

/* Page */
.page {
    width: 100%;
    max-width: 620px;
    position: relative;
    z-index: 1;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    color: var(--m-primary-dark);
    text-decoration: none;
    margin-bottom: 20px;
    font-weight: 700;
}

.back-link:hover {
    color: var(--m-primary);
}

/* Cards */
.card {
    background: var(--m-card);
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 14px;
    border: 1px solid var(--m-border);
    box-shadow: 0 20px 60px rgba(15, 126, 115, .12);
}

/* Hero */
.hero {
    padding: 24px 26px 20px;
}

.hero-top {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}

.hero-icon {
    width: 44px;
    height: 44px;
    background: var(--m-active);
    border: 1px solid var(--m-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-icon svg {
    stroke: var(--m-primary-dark);
}

.hero h1 {
    font-size: 18px;
    font-weight: 800;
    color: var(--m-text-dark);
    margin-bottom: 4px;
}

.hero p {
    font-size: 13px;
    color: var(--m-text);
    line-height: 1.65;
}

.hero-divider {
    border: none;
    border-top: 1px solid var(--m-border);
    margin: 14px 0;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--m-hover);
    color: var(--m-primary-dark);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 11px;
    border-radius: 20px;
    border: 1px solid var(--m-border);
}

/* Info banner */
.info-banner {
    background: var(--m-hover);
    border: 1px solid var(--m-border);
    border-radius: var(--radius);
    padding: 12px 16px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 14px;
    box-shadow: 0 8px 24px rgba(15, 126, 115, .08);
}

.info-banner svg {
    flex-shrink: 0;
    margin-top: 1px;
    stroke: var(--m-primary-dark);
}

.info-banner p {
    font-size: 12.5px;
    color: var(--m-text-dark);
    line-height: 1.55;
}

/* Sections */
.section {
    padding: 20px 24px;
}

.section + .section {
    border-top: 1px solid var(--m-border);
}

.section-title {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 800;
    color: var(--m-text-dark);
    margin-bottom: 14px;
}

.section-title svg {
    color: var(--m-primary-dark);
    flex-shrink: 0;
}

/* Steps */
.steps-list {
    list-style: none;
}

.steps-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
}

.steps-list li:last-child {
    margin-bottom: 0;
}

.step-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--m-primary-dark);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.step-body {
    font-size: 13px;
    color: var(--m-text);
    line-height: 1.6;
}

.step-body strong {
    color: var(--m-text-dark);
    font-weight: 700;
    display: block;
    margin-bottom: 2px;
}

/* Email preview */
.email-preview {
    border: 1px solid var(--m-border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-top: 4px;
}

.email-header {
    background: linear-gradient(160deg, var(--m-primary), var(--m-primary-dark));
    padding: 14px 18px 12px;
}

.email-header h3 {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 3px;
}

.email-header span {
    color: rgba(255, 255, 255, .78);
    font-size: 11px;
}

.email-trial-badge {
    display: inline-block;
    margin-top: 8px;
    background: #FFFFFF;
    color: var(--m-primary-dark) !important;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
}

.email-body {
    background: var(--m-bg);
    padding: 16px 18px;
}

.email-body p {
    font-size: 12.5px;
    color: var(--m-text);
    line-height: 1.6;
    margin-bottom: 10px;
}

.code-box {
    background: #FFFFFF;
    border: 1.5px dashed var(--m-primary-dark);
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    margin: 10px 0;
}

.code-box .code {
    font-size: 20px;
    font-weight: 800;
    color: var(--m-primary-dark);
    letter-spacing: 1.5px;
}

.code-box .code-hint {
    font-size: 11px;
    color: var(--m-text);
    margin-top: 4px;
}

.email-steps {
    list-style: none;
    margin-top: 10px;
}

.email-steps li {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-size: 12px;
    color: var(--m-text);
    margin-bottom: 6px;
    line-height: 1.5;
}

.email-steps li:last-child {
    margin-bottom: 0;
}

.email-step-n {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--m-primary-dark);
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* FAQ */
.faq dt {
    font-size: 13px;
    font-weight: 800;
    color: var(--m-text-dark);
    margin-bottom: 4px;
}

.faq dd {
    font-size: 13px;
    color: var(--m-text);
    line-height: 1.6;
    margin: 0 0 14px;
}

.faq dd:last-child {
    margin-bottom: 0;
}

.faq a {
    color: var(--m-primary-dark) !important;
    font-weight: 700;
    text-decoration: none;
}

.faq a:hover {
    color: var(--m-primary) !important;
    text-decoration: underline;
}

/* CTA */
.cta-card {
    background: linear-gradient(160deg, var(--m-primary), var(--m-primary-dark));
    border-radius: 18px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
    box-shadow: 0 18px 44px rgba(15, 126, 115, .16);
}

.cta-card p {
    font-size: 13px;
    color: #FFFFFF;
    font-weight: 800;
    margin-bottom: 2px;
}

.cta-card span {
    font-size: 12px;
    color: rgba(255, 255, 255, .82);
}

.btn-back-reg {
    background: #FFFFFF;
    color: var(--m-primary-dark);
    border: none;
    border-radius: 50px;
    padding: 10px 18px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
    transition: .15s ease;
}

.btn-back-reg:hover {
    background: var(--m-hover);
    color: var(--m-primary-dark);
}

/* Responsive */
@media (max-width: 500px) {
    body {
        padding: 74px 12px 32px;
    }

    .topbar {
        height: 58px;
        padding: 0 18px;
    }

    .logo-img {
        height: 42px;
    }

    .breadcrumb {
        display: none;
    }

    .hero {
        padding: 20px 18px;
    }

    .section {
        padding: 18px;
    }

    .cta-card {
        flex-direction: column;
        align-items: flex-start;
    }
}