/* ── Homepage Workshop Spotlight ─────────────────────────────────────────── */

.hp-tools {
    /* Main card background – teal added just before the deepest hue */
    background: linear-gradient(
            140deg,
            #31edb2 0%,
            #554d7a 25%,
            #3b00b2 50%,
            #4e6198 75%,
            #FA2F9A 100%
    );
    border-radius: 24px;
    padding: 56px 64px 60px;
    margin: 56px 0 56px;
    position: relative;
    overflow: hidden;
    /* Prevent the carousel's max-content track from inflating this flex item */
    width: 100%;
    max-width: 1248px;
}

/* --------------------------------------------------------------
   Ambient glow – left side (pink → teal blend)
   -------------------------------------------------------------- */
.hp-tools::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 20%;
    width: 420px;
    height: 320px;
    /* Blend the original pink with teal for a lighter, fresher glow */
    background: radial-gradient(
            ellipse at center,
            rgba(49, 237, 178, 0.22) 0%,
            rgba(250, 47, 154, 0.10) 30%,
            transparent 70%
    );
    pointer-events: none;
}

/* --------------------------------------------------------------
   Ambient glow – right side (blue‑purple → teal blend)
   -------------------------------------------------------------- */
.hp-tools::after {
    content: '';
    position: absolute;
    top: -60px;
    right: 15%;
    width: 380px;
    height: 280px;
    /* Mix the original blue‑purple with teal for a brighter accent */
    background: radial-gradient(
            ellipse at center,
            rgba(49, 237, 178, 0.20) 0%,   /* teal‑tinted core */
            rgba(102, 126, 234, 0.12) 30%,/* softened blue‑purple */
            transparent 70%
    );
    pointer-events: none;
}
.hp-tools__header {
    text-align: center;
    margin-bottom: 24px;
}

.hp-tools__new-badge {
    display: inline-block;
    background: #31edb2;
    color: #0d1225;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
    animation: hp-badge-pulse 2.8s ease-in-out infinite;
}

@keyframes hp-badge-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(49, 237, 178, 0.45); }
    50%       { box-shadow: 0 0 0 7px rgba(49, 237, 178, 0); }
}

.hp-tools__title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px;
    letter-spacing: -0.01em;
}

.hp-tools__sub {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
}

/* Carousel viewport — clips the scrolling track and applies edge fades */
.hp-tools__carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    /* Soft fade-out on both edges so cards disappear cleanly */
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0, 0, 0, 1) 12%,
        rgba(0, 0, 0, 1) 88%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0, 0, 0, 1) 12%,
        rgba(0, 0, 0, 1) 88%,
        transparent 100%
    );
    padding-top: 8px;
}

/* Scrolling track — exactly 2× the item set so translateX(-50%) loops perfectly */
.hp-tools__track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: hp-tools-scroll linear infinite;
    /* duration is set inline per item count (5s × numTools) */
}

/* Pause on hover so users can read a card */
.hp-tools__carousel:hover .hp-tools__track {
    animation-play-state: paused;
}

@keyframes hp-tools-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* Individual card */
.hp-tool-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 20px;
    padding: 28px 24px 24px;
    width: 260px;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.hp-tool-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

/* ① Icon bounce */
.hp-tool-card__icon {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.hp-tool-card:hover .hp-tool-card__icon {
    transform: scale(1.18);
}

/* ② Per-card accent glow on hover */
.hp-tool-card--forge:hover       { border-color: rgba(244, 63, 94, 0.55);  box-shadow: 0 16px 48px rgba(244, 63, 94, 0.22); }
.hp-tool-card--publish:hover     { border-color: rgba(241, 136, 5, 0.55);  box-shadow: 0 16px 48px rgba(241, 136, 5, 0.22); }
.hp-tool-card--influencers:hover { border-color: rgba(6, 182, 212, 0.55);  box-shadow: 0 16px 48px rgba(6, 182, 212, 0.22); }
.hp-tool-card--pulse:hover       { border-color: rgba(124, 58, 237, 0.55); box-shadow: 0 16px 48px rgba(124, 58, 237, 0.22); }
.hp-tool-card--reach:hover       { border-color: rgba(16, 185, 129, 0.55); box-shadow: 0 16px 48px rgba(16, 185, 129, 0.22); }
.hp-tool-card--calendar:hover    { border-color: rgba(245, 158, 11, 0.55); box-shadow: 0 16px 48px rgba(245, 158, 11, 0.22); }

/* Badge — top-right corner (colors driven by inline style from constants.jsx) */
.hp-tool-card__badge {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
}

/* Icon (background driven by inline style from constants.jsx) */
.hp-tool-card__icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Text */
.hp-tool-card__name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 4px;
}

.hp-tool-card__tagline {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.40);
    margin-bottom: 12px;
}

.hp-tool-card__desc {
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 0 20px;
    flex: 1;
}

/* CTA button */
.hp-tool-card__btn {
    background: rgba(255, 255, 255, 0.10);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    padding: 10px 24px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
    width: 100%;
}

.hp-tool-card__btn:hover {
    background: #31edb2;
    color: #0F1429;
    border-color: #31edb2;
    transform: translateY(-1px);
}

/* ── End Homepage Workshop Spotlight ─────────────────────────────────────── */


.temp-hero-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 36px;
    margin-top: -136px;
}

.main-full{
    margin-top: 30px;
}

.main-header{
    display: flex;
    margin-top: 60px;
    margin-left: auto;
    margin-right: auto;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.main-header-wrapper{
    border-radius: 15px 15px 0 0 ;
}
.main-header-wrapper img{

    width: -webkit-fill-available !important;
}

.main-sidebar{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.main-header-title{
    font-weight: 800;
    font-size: 45px;
    color: #0F1429;
    text-align: center;
    padding-bottom: 10px;
}

.main-header-subtitle{
    color: #566C7E;
    font-size: 16px;
    font-weight: 500;
    justify-content: center;
    text-align: center;
}

/* ── Smart Search Bar ─────────────────────────────────────────────────────── */

.ssb-root {
    width: 100%;
    max-width: 740px;
    margin: 36px auto 0;
}

/* ── Light mode (default) ── */
.ssb-inner {
    background: #ffffff;
    border-radius: 20px;
    padding: 36px 40px 28px;
    box-shadow: 0 4px 24px rgba(15,20,41,0.08), 0 0 0 1.5px rgba(15,20,41,0.07);
    position: relative;
    overflow: hidden;
}

/* Colorful top accent line */
.ssb-inner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f18805 0%, #06b6d4 50%, #84cc16 100%);
    pointer-events: none;
}

/* Soft tinted glow in bottom-right corner */
.ssb-inner::after {
    content: '';
    position: absolute;
    bottom: -60px; right: -60px;
    width: 220px; height: 220px;
    background: radial-gradient(circle, rgba(6,182,212,0.07) 0%, transparent 70%);
    pointer-events: none;
}

.ssb-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #f18805;
    margin-bottom: 8px;
}

.ssb-headline {
    font-size: 22px;
    font-weight: 800;
    color: #0f1429;
    margin: 0 0 8px;
    line-height: 1.2;
}

.ssb-sub {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 24px;
    line-height: 1.5;
}

.ssb-handle-hint {
    color: #0284c7;
    font-weight: 600;
}

.ssb-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ssb-input-wrap {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 4px 4px 4px 16px;
    gap: 10px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.ssb-input-wrap:focus-within {
    border-color: #cbd5e1;
    box-shadow: 0 0 0 3px rgba(15,20,41,0.05);
}

.ssb-input-wrap--brand:focus-within {
    border-color: rgba(132,204,22,0.5);
    box-shadow: 0 0 0 3px rgba(132,204,22,0.08);
}

.ssb-input-wrap--scout:focus-within {
    border-color: rgba(2,132,199,0.4);
    box-shadow: 0 0 0 3px rgba(2,132,199,0.08);
}

.ssb-input-icon {
    font-size: 20px;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
    color: #94a3b8;
    transition: color 0.2s;
}

.ssb-input-wrap--brand .ssb-input-icon { color: #84cc16; }
.ssb-input-wrap--scout .ssb-input-icon { color: #0284c7; }

.ssb-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    font-size: 17px;
    font-weight: 500;
    color: #0f1429;
    padding: 12px 0;
    letter-spacing: 0.01em;
}

.ssb-input::placeholder {
    color: #94a3b8;
}

.ssb-btn {
    flex-shrink: 0;
    padding: 10px 24px;
    border-radius: 10px;
    border: none;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    background: #e2e8f0;
    color: #94a3b8;
    transition: background 0.2s, color 0.2s, transform 0.1s;
    letter-spacing: 0.02em;
}

.ssb-btn--brand {
    background: linear-gradient(135deg, #84cc16, #4d7c0f);
    color: #fff;
}

.ssb-btn--scout {
    background: linear-gradient(135deg, #06b6d4, #0284c7);
    color: #fff;
}

.ssb-btn:not(:disabled):hover { transform: scale(1.03); }
.ssb-btn:disabled { cursor: default; }

.ssb-hint {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.03em;
    height: 20px;
    margin-top: 10px;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.2s, transform 0.2s, color 0.2s;
}

.ssb-hint--visible {
    opacity: 1;
    transform: translateY(0);
}

.ssb-pills {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.ssb-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.ssb-pill:hover { background: #f1f5f9; color: #334155; border-color: #cbd5e1; }

.ssb-pill--brand .ssb-pill-icon { color: #84cc16; }
.ssb-pill--scout .ssb-pill-icon { color: #0284c7; }

/* ── Dark mode override ── */
[data-theme="dark"] .ssb-inner {
    background: linear-gradient(135deg, #0f1429 0%, #1a1f3a 50%, #0d1a2e 100%);
    box-shadow: 0 8px 40px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.08);
}

[data-theme="dark"] .ssb-inner::before {
    background: linear-gradient(90deg, #f18805 0%, #06b6d4 50%, #84cc16 100%);
}

[data-theme="dark"] .ssb-inner::after {
    background: radial-gradient(circle, rgba(132,204,22,0.1) 0%, transparent 70%);
    bottom: -40px; left: -40px; right: auto;
}

[data-theme="dark"] .ssb-headline { color: #f1f5f9; }

[data-theme="dark"] .ssb-handle-hint { color: #06b6d4; }

[data-theme="dark"] .ssb-input-wrap {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.1);
}

[data-theme="dark"] .ssb-input-wrap:focus-within {
    border-color: rgba(255,255,255,0.22);
    box-shadow: 0 0 0 3px rgba(255,255,255,0.04);
}

[data-theme="dark"] .ssb-input-wrap--brand:focus-within {
    border-color: rgba(132,204,22,0.4);
    box-shadow: 0 0 0 3px rgba(132,204,22,0.08);
}

[data-theme="dark"] .ssb-input-wrap--scout:focus-within {
    border-color: rgba(6,182,212,0.4);
    box-shadow: 0 0 0 3px rgba(6,182,212,0.08);
}

[data-theme="dark"] .ssb-input-wrap--scout .ssb-input-icon { color: #06b6d4; }

[data-theme="dark"] .ssb-input { color: #f1f5f9; }
[data-theme="dark"] .ssb-input::placeholder { color: #3d4f63; }

[data-theme="dark"] .ssb-btn {
    background: rgba(255,255,255,0.08);
    color: #64748b;
}

[data-theme="dark"] .ssb-pill {
    border-color: rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
    color: #64748b;
}

[data-theme="dark"] .ssb-pill:hover {
    background: rgba(255,255,255,0.08);
    color: #94a3b8;
    border-color: rgba(255,255,255,0.18);
}

[data-theme="dark"] .ssb-pill--scout .ssb-pill-icon { color: #06b6d4; }

.nav-item{
    border: none !important;
}

.nav-tabs {
    background-color: white !important;
    font-weight: bolder;
    width: fit-content;
    border-radius: 999px;
}

.nav-pills .nav-link{
    background: #f8f9fa;
    color: #0f1429;
    border: none !important;
    height: 40px !important;
    outline: none;
    box-shadow: none;
    border-radius: 0;
}

.nav-pills .nav-link.active{
    background: #f8f9fa;
    font-weight: bold;
    color: #0f1429;
    border: none !important;
    height: 40px !important;
    border-bottom: #f18805 solid 5px !important;
    outline: none;
    box-shadow: none;
}

.tabs-resources{
    margin-bottom: 15px;
}

/*Signup/login/pass reset styling start here*/

.login-wrapper, .pass-reset-wrapper{
    display: flex;
    justify-content: center;
    align-content: center;
    background-color: white;
    overflow: hidden;
    border: solid 1px lightgray;
    border-radius: 15px;
    flex-wrap: nowrap !important;
    padding: 30px;
    max-width: max-content;
    margin: 100px auto 30px auto;
    min-width: 750px;
}

.login-title, .pass-reset-title{
    font-weight: 900;
    font-size: 20px;
    margin: 20px auto;
    text-align: center;
    color: #3F617A;
}
.signup-title{
    font-weight: 700;
    font-size: 30px;
    margin: auto auto 8px auto;
    /*text-align: center;*/
    color: #0F1429;
}
.signup-subtitle{
    font-weight: 500;
    font-size: 16px;
    /*text-align: center;*/
    margin: 0;
    color: #636363;
    padding-bottom: 30px;
}

.signup-terms{
    font-weight: 900;
    color: #0F1429;
    border-bottom: 1px solid  #0F1429;
}

.signup-resource-wrapper {
    background: #0F1429;
    margin-bottom: -200px;
}

.signup-header-image, .login-header-image, .pass-reset-header-image{
    max-width: max-content;
    margin-left: auto;
    margin-right: auto;
    display: none !important;
}
.signup-header-image img, .login-header-image img, .pass-reset-header-image img{
    max-height: 130px;
    border-radius: 15px;
}

.signup-content, .login-content, .pass-reset-content{
    max-width: 500px;
}

.login-button-main, .pass-reset-button-main{
    width: 100%;
}

.signup-button-main {
    width: 100% !important;
    min-width: 100% !important;
}

/* Field group — matches login-field-group spacing */
.signup-field-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 16px;
}

/* Override subcomponent wrappers inside signup field group */
.signup-field-group .usernameInput-wrapper,
.signup-field-group .emailInput-wrapper,
.signup-field-group .account-pass-input-wrapper {
    padding: 0;
    margin: 0;
}

/* Signup inputs — same style as login-input */
.signup-content .form-control,
.signup-content .usernameInput,
.signup-content .emailInput,
.signup-content .account-pass-input {
    height: 46px !important;
    padding: 0 14px !important;
    border: 1.5px solid #e5e7eb !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    color: #0f1429 !important;
    background: #f9fafb !important;
    outline: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    transition: border-color 0.18s, box-shadow 0.18s, background 0.18s !important;
}

.signup-content .form-control::placeholder,
.signup-content .usernameInput::placeholder,
.signup-content .emailInput::placeholder,
.signup-content .account-pass-input::placeholder {
    color: #9ca3af !important;
}

.signup-content .form-control:focus,
.signup-content .usernameInput:focus,
.signup-content .emailInput:focus,
.signup-content .account-pass-input:focus {
    border-color: #ff4a00 !important;
    box-shadow: 0 0 0 3px rgba(255, 74, 0, 0.10) !important;
    background: #ffffff !important;
}

.signup-content .form-control.border-success,
.signup-content .usernameInput.border-success {
    border-color: #16a34a !important;
}

.agreeToTermsAndConditions-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    margin-top: 4px;
    font-size: 13px;
    color: #6b7280;
}

.agreeToTermsAndConditions:checked {
    accent-color: #ff4a00;
}

/* Divider below Join Free button */
.signup-divider {
    margin: 20px 0 16px;
}

.pass-reset-button-main{
    margin-bottom: 30px;
}

.signup-login-wrapper, .login-forgot-signup-wrapper{
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    margin-top: 30px;
}

.login-button-signup, .login-button-forgot-password{
    transform: scale(0.8);

}
.signup-login-button{
    text-decoration: underline !important;
}

.sign-up-free, .header-signup {
    font-size: 12px !important;
    padding: 2px 8px !important;
    margin: 0 2px;
}

.start-here-button{
    color: #F18805 !important;
    border: none;
    font-weight: bold;
    white-space: nowrap;
}

.tags-row{
    display: block;
    overflow: hidden;
    padding: 10px 15px 0 15px;
}

.tags-row-single{
    justify-content: space-evenly;
    height: 80px;
    overflow: hidden;
    margin: 0 30px;
}

.tags-row-multi{
    justify-content: space-evenly;
    flex-wrap: wrap;
    padding: 0 15px !important;
}

.header-signup-learnmore-wrapper{
    place-content: center;
    padding-top: 10px;
}

.main-sidebar-content{
    min-width: fit-content;
}

.register-page-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    max-width: 100vw;
    width: 100%;
    margin: 0 auto -96px;
    height: 100vh;
    overflow: hidden;
}

.signup-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: white;
    border: solid 1px lightgray;
    border-radius: 15px;
    padding: 36px;
    max-width: 420px;
    min-width: 420px;
    margin-right: auto;
    margin-left: auto;
    width: 420px;
}

.signup-container-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    min-width: fit-content;
}

.signup-container {
    flex: 0 0 50%;
    height: 100%;
}

.signup-image-container {
    flex: 1;
    max-width: 50%;
    background-color: #0F1429;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-top: 0;
    margin-bottom: -96px;
}

.signup-image {
    position: relative;
    color: white;
    width: 100%;
    margin-right: 0 ;
}

.signup-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: -45px 0 -45px 0;
}

.signup-image .image-text-content {
    width: 100%;
    margin-left: 190px;
}

.signup-image-wrapper{
    margin-left: 124px;
}

/* ── Signup Page — Right Panel (SignupShowcase) ───────────────────────────── */
.su-showcase {
    position: relative;
    width: 105%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 60px 48px;
    box-sizing: border-box;
}

.su-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.su-glow-1 {
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(255, 74, 0, 0.22) 0%, transparent 70%);
    top: -140px;
    right: -120px;
    animation: su-drift 8s ease-in-out infinite alternate;
}

.su-glow-2 {
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(26, 131, 255, 0.18) 0%, transparent 70%);
    bottom: -100px;
    left: -80px;
    animation: su-drift 10s ease-in-out infinite alternate-reverse;
}

@keyframes su-drift {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 24px) scale(1.15); }
}

.su-inner {
    position: relative;
    z-index: 1;
    max-width: 440px;
    text-align: left;
}

.su-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #FF4A00;
    margin: 0 0 14px 0;
}

.su-headline {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    margin: 0 0 16px 0;
    letter-spacing: -0.025em;
}

.su-subline {
    font-size: 15px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 36px 0;
    line-height: 1.6;
    max-width: 380px;
}

.su-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 44px;
}

.su-chip {
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--c);
    border: 1px solid var(--c);
    background: color-mix(in srgb, var(--c) 10%, transparent);
    animation: su-chip-in 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    animation-delay: calc(var(--i) * 0.07s + 0.1s);
    cursor: default;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    user-select: none;
}

.su-chip:hover {
    background: color-mix(in srgb, var(--c) 22%, transparent);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px color-mix(in srgb, var(--c) 30%, transparent);
}

@keyframes su-chip-in {
    from { opacity: 0; transform: translateY(14px) scale(0.9); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.su-perks {
    display: flex;
    flex-direction: column;
    gap: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 28px;
}

.su-perk {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    animation: su-chip-in 0.4s ease both;
}

.su-perk:nth-child(1) { animation-delay: 0.75s; }
.su-perk:nth-child(2) { animation-delay: 0.85s; }
.su-perk:nth-child(3) { animation-delay: 0.95s; }

.su-perk-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 10px 0;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #ccc;
}

.divider::before {
    margin-right: 10px;
}

.divider::after {
    margin-left: 10px;
}

.divider span {
    font-weight: bold;
    color: #555;
}

/* ── Mini Apps Grid (Homepage) ─────────────────────────────────────────────── */

.mag-section {
    margin: 16px auto;
}

.mag-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.mag-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #9ca3af;
    text-transform: uppercase;
}

.mag-count {
    font-size: 12px;
    color: #9ca3af;
    background: #f3f4f6;
    padding: 3px 12px;
    border-radius: 999px;
    font-weight: 500;
}

.mag-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.mag-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 22px;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    outline: none;
    --mouse-x: 50%;
    --mouse-y: 50%;
    --glow-color: rgba(99, 102, 241, 0.15);
}

/* Mouse-tracking radial spotlight */
.mag-card::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    background: radial-gradient(
        circle at var(--mouse-x) var(--mouse-y),
        var(--glow-color),
        transparent 65%
    );
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
    border-radius: inherit;
}

.mag-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
    border-color: #d1d5db;
}

.mag-card:hover::before {
    opacity: 1;
}

.mag-card > * {
    position: relative;
    z-index: 1;
}

.mag-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.mag-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mag-card:hover .mag-card__icon {
    transform: scale(1.12);
}

.mag-card__badge {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 3px 10px;
    border-radius: 999px;
    white-space: nowrap;
    margin-top: 2px;
}

.mag-card__body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}

.mag-card__name {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.2;
}

.mag-card__tagline {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #9ca3af;
    display: block;
    margin-top: 1px;
}

.mag-card__desc {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.6;
    margin: 8px 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mag-card__cta {
    background: none;
    border: none;
    padding: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent, #6366f1);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s ease;
    margin-top: auto;
}

.mag-card:hover .mag-card__cta {
    gap: 8px;
}

.mag-card__arrow {
    display: inline-block;
    transition: transform 0.2s ease;
}

.mag-card:hover .mag-card__arrow {
    transform: translateX(3px);
}

/* ── End Mini Apps Grid ─────────────────────────────────────────────────────── */

/* ── Dark Mode — Homepage ──────────────────────────────────────────────────── */

[data-theme="dark"] .main-header-title {
    color: #f1f5f9;
}

[data-theme="dark"] .main-header-subtitle {
    color: #94a3b8;
}

[data-theme="dark"] .mag-label {
    color: #64748b;
}

[data-theme="dark"] .mag-count {
    background: #1e2030;
    color: #64748b;
}

[data-theme="dark"] .mag-card {
    background: #1a1d2e;
    border-color: #2d3148;
}

[data-theme="dark"] .mag-card:hover {
    border-color: #3d4168;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}

[data-theme="dark"] .mag-card__name {
    color: #f1f5f9;
}

[data-theme="dark"] .mag-card__tagline {
    color: #64748b;
}

[data-theme="dark"] .mag-card__desc {
    color: #94a3b8;
}

/* ── Login Page — Modernised ─────────────────────────────────────────────── */

/* Narrower card than signup — login has fewer fields */
.login-panel {
    max-width: 420px !important;
    min-width: 420px !important;
    width: 420px !important;
}

.login-title {
    font-size: 28px;
    font-weight: 800;
    color: #0f1429;
    margin: 0 0 6px 0;
    letter-spacing: -0.02em;
}

.login-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 28px 0;
}

.login-link {
    color: #ff4a00;
    font-weight: 600;
    text-decoration: underline !important;
    margin-left: 4px;
}

.login-link:hover {
    color: #cc3900;
    text-decoration: underline;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.login-field-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.login-input {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    color: #0f1429;
    background: #f9fafb;
    outline: none;
    transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}

.login-input::placeholder {
    color: #9ca3af;
}

.login-input:focus {
    border-color: #ff4a00;
    box-shadow: 0 0 0 3px rgba(255, 74, 0, 0.10);
    background: #ffffff;
}

/* width-only override — visual style comes from global .buttons */
.login-submit-btn {
    width: 100% !important;
}

.login-divider {
    margin: 22px 0;
}

.login-footer-links {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.login-footer-link {
    font-size: 13px;
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.15s;
}

.login-footer-link:hover {
    color: #6b7280;
}

/* ── Login Page — Dark Mode ──────────────────────────────────────────────── */
[data-theme="dark"] .login-title {
    color: #f1f5f9;
}

[data-theme="dark"] .login-subtitle {
    color: #64748b;
}

[data-theme="dark"] .login-link {
    color: #fb923c;
}

[data-theme="dark"] .login-link:hover {
    color: #fed7aa;
}

[data-theme="dark"] .login-input {
    background: #1e2640;
    border-color: rgba(255, 255, 255, 0.10);
    color: #f1f5f9;
}

[data-theme="dark"] .login-input::placeholder {
    color: #475569;
}

[data-theme="dark"] .login-input:focus {
    border-color: #ff4a00;
    box-shadow: 0 0 0 3px rgba(255, 74, 0, 0.15);
    background: #232c4a;
}


[data-theme="dark"] .login-footer-link {
    color: #475569;
}

[data-theme="dark"] .login-footer-link:hover {
    color: #64748b;
}

/* ── Signup Page — Left Panel Dark Mode ──────────────────────────────────── */

/* Left half background matches the dark right panel */
[data-theme="dark"] .signup-container-wrapper {
    background-color: #0f1429;
}

/* Logo: hide dark-on-light, show light-on-dark */
[data-theme="dark"] .main-logo-signup.logo-default { display: none; }
[data-theme="dark"] .main-logo-signup.logo-dark    { display: inline; }

/* Card — glass-dark style instead of white box */
[data-theme="dark"] .signup-wrapper {
    background-color: #161d35;
    border-color: rgba(255, 255, 255, 0.09);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
}

/* Title & subtitle */
[data-theme="dark"] .signup-title {
    color: #f1f5f9;
}

[data-theme="dark"] .signup-subtitle {
    color: #64748b;
}

/* "Log in" link */
[data-theme="dark"] .signup-login-button {
    color: #93c5fd;
}

[data-theme="dark"] .signup-login-button:hover {
    color: #bfdbfe;
}

/* Signup inputs — dark mode */
[data-theme="dark"] .signup-content .form-control,
[data-theme="dark"] .signup-content .usernameInput,
[data-theme="dark"] .signup-content .emailInput,
[data-theme="dark"] .signup-content .account-pass-input {
    background: #1e2640 !important;
    border-color: rgba(255, 255, 255, 0.10) !important;
    color: #f1f5f9 !important;
}

[data-theme="dark"] .signup-content .form-control::placeholder,
[data-theme="dark"] .signup-content .usernameInput::placeholder,
[data-theme="dark"] .signup-content .emailInput::placeholder,
[data-theme="dark"] .signup-content .account-pass-input::placeholder {
    color: #475569 !important;
}

[data-theme="dark"] .signup-content .form-control:focus,
[data-theme="dark"] .signup-content .usernameInput:focus,
[data-theme="dark"] .signup-content .emailInput:focus,
[data-theme="dark"] .signup-content .account-pass-input:focus {
    border-color: #ff4a00 !important;
    box-shadow: 0 0 0 3px rgba(255, 74, 0, 0.15) !important;
    background: #232c4a !important;
}

[data-theme="dark"] .agreeToTermsAndConditions-wrapper {
    color: #64748b;
}

/* OR divider */
[data-theme="dark"] .divider::before,
[data-theme="dark"] .divider::after {
    border-bottom-color: rgba(255, 255, 255, 0.10);
}

[data-theme="dark"] .divider span {
    color: #475569;
}

/* Terms text + link */
[data-theme="dark"] .agreeToTermsAndConditions-wrapper {
    color: #64748b;
}

[data-theme="dark"] .signup-terms {
    color: #93c5fd;
    border-bottom-color: #93c5fd;
}

/* Join Free button — override Bootstrap disabled grey in dark */
[data-theme="dark"] .signup-button-main:not(:disabled) {
    background-color: #ff4a00;
    border-color: #ff4a00;
    color: #ffffff;
}

[data-theme="dark"] .signup-button-main:disabled {
    background-color: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: rgba(255, 255, 255, 0.25) !important;
}

/* ── End Dark Mode — Homepage ──────────────────────────────────────────────── */

/* ── Contact Page ──────────────────────────────────────────────────────────── */


.contact-left-panel {
    min-width: 0 !important;
    align-items: stretch !important;
    padding: 60px 80px;
    box-sizing: border-box;
}

.contact-left-panel .signup-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: auto 0 auto auto;
    max-width: 640px;
}

.contact-form-card {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    align-items: stretch !important;
}

.contact-select.login-input {
    height: 46px;
    cursor: pointer;
    appearance: auto;
    padding-right: 8px;
}

.contact-textarea.login-input {
    height: 150px;
    padding: 12px 14px;
    resize: none;
    line-height: 1.5;
}

.contact-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px 0;
    text-align: center;
}

.contact-success-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #ecfdf5;
    color: #10B981;
    font-size: 22px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-success-title {
    font-size: 22px;
    font-weight: 800;
    color: #0f1429;
    letter-spacing: -0.02em;
}

.contact-success-sub {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
}

.contact-panel-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 36px;
}

.contact-panel-item {
    display: flex;
    /* align-items: flex-start; */
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    align-items: center;
}

/* Dark mode */
[data-theme="dark"] .contact-success-icon {
    background: #064e3b;
    color: #34d399;
}
[data-theme="dark"] .contact-success-title {
    color: #f1f5f9;
}
[data-theme="dark"] .contact-success-sub {
    color: #64748b;
}
[data-theme="dark"] .contact-select.login-input {
    color-scheme: dark;
}

/* ── End Contact Page ──────────────────────────────────────────────────────── */
