/* ========================================
   LinkJobs — Global Design System
   Shared across all pages
   ======================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Frank+Ruhl+Libre:wght@400;700;900&family=Roboto:wght@300;400;500;700&display=swap');

/* ---- Design Tokens ---- */
:root {
    --primary: #1A8FE3;
    --primary-hover: #1478c4;
    --primary-light: rgba(26, 143, 227, 0.08);
    --teal: #0F5FA8;
    --teal-dark: #0A4580;
    --text-dark: #1a1a1a;
    --text-body: #46464E;
    --text-light: #6b7280;
    --surface: #f7f7f8;
    --white: #ffffff;
    --border: #e5e5e5;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --font-heading: 'Frank Ruhl Libre', Georgia, serif;
    --font-body: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: 0.25s ease;
    --max-width: 1100px;
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-body);
    background: var(--surface);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

ul,
ol {
    list-style: none;
}

/* ---- Typography ---- */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.2;
}

h1 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 900;
}

h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 900;
}

h3 {
    font-size: 1.15rem;
    font-weight: 700;
}

h4 {
    font-size: 1rem;
    font-weight: 700;
}

p {
    margin-bottom: 1rem;
}

.text-highlight {
    background: rgba(255, 255, 255, 0.12);
    padding: 0 6px;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px 24px;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 2px 2px 1px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 3px 3px 2px rgba(0, 0, 0, 0.25);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--teal);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 14px 36px;
    font-size: 1rem;
}

/* ---- Header ---- */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    overflow: hidden;
}

.logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.4rem;
    color: var(--text-dark);
}

.logo-text em {
    color: var(--primary);
    font-style: normal;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    transition: color var(--transition);
}

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

.header-link.active {
    color: var(--primary);
    font-weight: 700;
}

.mobile-menu {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* ---- Hero ---- */
.hero {
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 60%, #06403f 100%);
    padding: 56px 24px 80px;
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--surface);
    clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 320px;
    height: 320px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.hero-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.hero h1 {
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 14px;
    max-width: 650px;
}

.hero h1 .accent {
    background: rgba(255, 255, 255, 0.12);
    padding: 0 6px;
}

.hero-sub {
    font-size: 1.1rem;
    opacity: 0.85;
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 28px;
}

/* Search Bar */
.search-bar {
    display: flex;
    background: var(--white);
    border-radius: 4px;
    max-width: 600px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.search-bar input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    outline: none;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-dark);
}

.search-bar input::placeholder {
    color: #aaa;
}

.search-bar button {
    padding: 16px 32px;
    background: var(--primary);
    color: var(--white);
    border: none;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--transition);
    white-space: nowrap;
}

.search-bar button:hover {
    background: var(--primary-hover);
}

/* Filters Row (Hero) */
.filters-row {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.filter-pill {
    padding: 10px 22px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition);
    outline: none;
}

.filter-pill:hover {
    background: rgba(255, 255, 255, 0.18);
}

.filter-pill.active {
    background: var(--white);
    color: var(--teal-dark);
    font-weight: 700;
    border-color: var(--white);
}

/* Select variant */
.filter-pill option {
    background: var(--teal-dark);
    color: #fff;
}

select.filter-pill {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px;
    min-width: 180px;
}

.clear-btn {
    padding: 8px 14px;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-body);
    font-size: 0.85rem;
    cursor: pointer;
    border-radius: 4px;
    transition: all var(--transition);
}

.clear-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

/* ---- Quick Stats ---- */
.quick-stats {
    max-width: var(--max-width);
    margin: -30px auto 0;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.quick-stats-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

.qs-item {
    padding: 24px;
    text-align: center;
    border-right: 1px solid var(--border);
}

.qs-item:last-child {
    border-right: none;
}

.qs-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
}

.qs-label {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 2px;
}

/* ---- Results Area ---- */
.results {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 32px 24px 64px;
}

.results-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.results-count {
    font-size: 0.95rem;
    color: var(--text-light);
}

.results-count strong {
    color: var(--text-dark);
}

/* ---- Footer ---- */
.footer {
    background: #1a1a1a;
    color: rgba(255, 255, 255, 0.5);
    padding: 48px 24px 24px;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-brand .logo-text {
    font-size: 1.3rem;
    color: var(--white);
}

.footer-brand p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    margin: 0;
}

.footer-col h4 {
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 24px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
}

/* ---- Registration Modal ---- */
.reg-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 300;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.reg-overlay.open {
    display: flex;
}

.reg-modal {
    background: var(--white);
    width: 100%;
    max-width: 700px;
    /* Widened from 440px */
    padding: 40px 32px;
    animation: panelUp 0.3s ease;
    box-shadow: var(--shadow-lg);
    position: relative;
}

@media (max-width: 768px) {
    .reg-modal {
        max-width: 90%;
        padding: 24px 20px;
        width: auto;
    }
}

.reg-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--text-light);
}

.reg-modal h2 {
    font-size: 1.6rem;
    margin-bottom: 6px;
}

.reg-modal .reg-sub {
    color: var(--text-light);
    font-size: 0.92rem;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.form-group input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    outline: none;
    transition: border var(--transition);
}

.form-group input:focus {
    border-color: var(--primary);
}

.reg-modal .btn-primary {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    margin-top: 8px;
}

.reg-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    color: var(--text-light);
    font-size: 0.85rem;
}

.reg-divider::before,
.reg-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.reg-google {
    width: 100%;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--border);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all var(--transition);
}

.reg-google:hover {
    border-color: var(--text-dark);
    background: var(--surface);
}

.reg-terms {
    margin-top: 16px;
    font-size: 0.8rem;
    color: var(--text-light);
    text-align: center;
    line-height: 1.5;
}

.reg-terms a {
    color: var(--primary);
}

/* ---- Auth Tabs ---- */
.auth-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--border);
}

.auth-tab {
    flex: 1;
    padding: 12px 16px;
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all var(--transition);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.auth-tab:hover {
    color: var(--text-dark);
}

.auth-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* ---- Auth Error ---- */
.auth-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    padding: 10px 14px;
    font-size: 0.88rem;
    margin-bottom: 16px;
    border-radius: 4px;
    animation: panelUp 0.2s ease;
}

/* ---- User Info (Header) ---- */
.user-info {
    position: relative;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    overflow: hidden;
    transition: box-shadow var(--transition);
    border: 2px solid transparent;
}

.user-avatar:hover {
    box-shadow: 0 0 0 3px rgba(245, 102, 0, 0.2);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.user-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    min-width: 220px;
    padding: 16px;
    z-index: 500;
    animation: panelUp 0.2s ease;
}

.user-info.open .user-dropdown {
    display: block;
}

.user-dropdown-name {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.user-dropdown-email {
    font-size: 0.82rem;
    color: var(--text-light);
}

.user-dropdown hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 12px 0;
}

.user-dropdown-logout {
    width: 100%;
    padding: 8px 14px;
    background: none;
    border: 1px solid var(--border);
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
}

.user-dropdown-logout:hover {
    border-color: #dc2626;
    color: #dc2626;
    background: #fef2f2;
}

/* Google button SVG fix */
.reg-google svg {
    flex-shrink: 0;
}

/* ---- Animations ---- */
@keyframes panelUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cardIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- Utilities ---- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {

    /* Push CTA and Menu to the right */
    .logo {
        margin-right: auto;
    }

    .header-cta {
        margin-right: 12px;
    }

    .header-right {
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 0;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, box-shadow 0.3s ease;
        box-shadow: none;
        z-index: 999;
    }

    .header-right.open {
        max-height: 400px;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--border);
    }

    .header-right .header-link {
        display: block;
        padding: 16px 24px;
        border-bottom: 1px solid var(--border);
        font-size: 1rem;
    }

    .header-right .header-link:hover {
        background: var(--surface);
    }

    .header-cta {
        font-size: 0.75rem;
        padding: 8px 14px;
    }

    .mobile-menu {
        display: block;
    }

    .quick-stats-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .qs-item:nth-child(2) {
        border-right: none;
    }

    .search-bar {
        flex-direction: column;
    }

    .search-bar button {
        padding: 14px;
    }

    .filters-row {
        flex-direction: column;
    }

    .filter-pill {
        width: 100%;
        text-align: center;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ---- Logo Carousel ---- */
.logo-carousel {
    overflow: hidden;
    padding: 24px 0;
    white-space: nowrap;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-track {
    display: inline-flex;
    align-items: center;
    animation: scroll 30s linear infinite;
    gap: 60px;
    padding-right: 60px;
    /* match gap for seamless 50% loop */
}

/* Pause on hover */
.logo-track:hover {
    animation-play-state: paused;
}

.logo-track img {
    height: 32px;
    width: auto;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.logo-track img:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ---- Onboarding Modals ---- */
.onboarding-content {
    text-align: center;
    padding: 20px 0;
}

.onboarding-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    line-height: 1;
    animation: bounceIn 0.5s ease;
}

.onboarding-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.onboarding-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.65;
    margin-bottom: 28px;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
}

.onboarding-btn {
    display: inline-block;
    padding: 14px 36px;
    background: var(--primary);
    color: var(--white);
    border: none;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
    border-radius: 4px;
    width: 100%;
}

.onboarding-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 102, 0, 0.3);
}

.onboarding-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.onboarding-note {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 16px;
    line-height: 1.5;
}

/* Calendly embed container */
.calendly-embed-container {
    width: 100%;
    min-height: 420px;
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
}

.calendly-embed-container iframe {
    width: 100%;
    height: 420px;
    border: none;
}

/* Wider modal for Calendly */
.reg-modal.modal-wide {
    max-width: 520px;
}

/* Price tag */
.onboarding-price {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary);
    margin: 12px 0 4px;
}

.onboarding-price-label {
    font-size: 0.82rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Payment features list */
.payment-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
    margin: 20px 0;
    padding: 16px 20px;
    background: var(--surface);
    border-radius: 6px;
}

.payment-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.payment-feature .check {
    color: #10b981;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }

    50% {
        transform: scale(1.1);
    }

    70% {
        transform: scale(0.95);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ---- Success Page ---- */
.success-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 60%, #06403f 100%);
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.success-card {
    background: var(--white);
    padding: 56px 48px;
    max-width: 560px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-lg);
    animation: panelUp 0.5s ease;
    position: relative;
    z-index: 2;
}

.success-icon {
    font-size: 4.5rem;
    margin-bottom: 16px;
    animation: bounceIn 0.6s ease;
}

.success-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.success-desc {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.success-btn {
    display: inline-block;
    padding: 14px 40px;
    background: var(--primary);
    color: var(--white);
    border: none;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
    border-radius: 4px;
    text-decoration: none;
}

.success-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(245, 102, 0, 0.35);
}

/* Confetti */
.confetti-piece {
    position: fixed;
    width: 10px;
    height: 10px;
    top: -10px;
    z-index: 1;
    animation: confettiFall linear forwards;
}

@keyframes confettiFall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .success-card {
        padding: 40px 24px;
    }

    .success-title {
        font-size: 1.5rem;
    }

    .reg-modal.modal-wide {
        max-width: 95vw;
    }

    .calendly-embed-container {
        min-height: 380px;
    }

    .calendly-embed-container iframe {
        height: 380px;
    }
}

/* ---- Onboarding / Payment Modal ---- */
.onboarding-content {
    text-align: center;
}

.onboarding-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.onboarding-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.2;
}

.onboarding-desc {
    color: var(--text-body);
    font-size: 1rem;
    margin-bottom: 24px;
    line-height: 1.5;
}

.onboarding-price-container {
    margin: 24px 0;
    text-align: center;
}

.onboarding-price {
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: 800;
    line-height: 1;
}

.onboarding-price-label {
    color: #666;
    font-size: 0.9rem;
    margin-top: 4px;
}

.payment-features {
    text-align: left;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.payment-feature {
    margin-bottom: 10px;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
}

.payment-feature:last-child {
    margin-bottom: 0;
}

.payment-feature .check {
    color: #10B981;
    font-weight: bold;
    flex-shrink: 0;
}

.onboarding-btn {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: bold;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(26, 143, 227, 0.3);
    transition: all var(--transition);
}

.onboarding-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(26, 143, 227, 0.4);
}

.onboarding-note {
    margin-top: 14px;
    font-size: 0.85rem;
    color: #888;
}

/* Onboarding Mobile Responsive */
@media (max-width: 768px) {
    .reg-modal {
        max-width: 95% !important;
        /* Force override */
        padding: 24px 16px;
        margin: 10px auto;
        max-height: 90vh;
        overflow-y: auto;
        border-radius: 12px;
    }

    .onboarding-icon {
        font-size: 2.5rem;
        margin-bottom: 12px;
    }

    .onboarding-title {
        font-size: 1.5rem;
    }

    .onboarding-price {
        font-size: 2rem;
    }

    .payment-features {
        padding: 16px;
    }

    .payment-feature {
        font-size: 0.9rem;
    }

    .onboarding-btn {
        padding: 14px;
        font-size: 1rem;
    }
}