/* Spin-and-Win Demo styles — mobile-first, scoped under .spin-demo */

.spin-demo .container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
}

/* Body scroll lock when any sd-modal is open */
body.sd-modal-open {
    overflow: hidden;
    touch-action: none;
}

/* ─────────── HERO ─────────── */
.spin-demo .sd-hero {
    background: linear-gradient(135deg, #001353 0%, #0066cc 100%);
    color: #fff;
    padding: 32px 16px 28px;
}

.spin-demo .sd-hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.spin-demo .sd-hero-text {
    width: 100%;
}

.spin-demo .sd-eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fded22;
    margin: 0 0 8px;
}

.spin-demo .sd-hero h1 {
    font-size: 28px;
    line-height: 1.15;
    font-weight: 800;
    margin: 0 0 8px;
    color: #fff;
}

.spin-demo .sd-hero-sub {
    font-size: 15px;
    opacity: 0.9;
    margin: 0 0 16px;
    line-height: 1.5;
}

/* Spin counter chip */
.spin-demo .sd-spin-counter {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: background-color .2s ease;
}
.spin-demo .sd-spin-counter[data-state="ok"]   { background: rgba(76, 175, 80, 0.25); border-color: rgba(76, 175, 80, 0.5); }
.spin-demo .sd-spin-counter[data-state="low"]  { background: rgba(255, 152, 0, 0.25); border-color: rgba(255, 152, 0, 0.5); }
.spin-demo .sd-spin-counter[data-state="empty"]{ background: rgba(244, 67, 54, 0.25); border-color: rgba(244, 67, 54, 0.5); }
.spin-demo .sd-spin-counter[data-state="done"] { background: rgba(76, 175, 80, 0.35); border-color: rgba(76, 175, 80, 0.6); }

/* ─────────── WHEEL STAGE ─────────── */
.spin-demo .sd-wheel-stage {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.spin-demo .sd-wheel-frame {
    position: relative;
    width: min(340px, 80vw);
    height: min(340px, 80vw);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.35));
}

.spin-demo #wheelCanvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

.spin-demo .wheel-pointer {
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-top: 22px solid #fded22;
    z-index: 2;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

/* Spin button */
.spin-demo .sd-spin-btn {
    width: 100%;
    max-width: 320px;
    height: 56px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.5px;
    border: 0;
    border-radius: 999px;
    background: #fded22;
    color: #001353;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(253, 237, 34, 0.45);
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
    font-family: inherit;
}
.spin-demo .sd-spin-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(253, 237, 34, 0.55);
}
.spin-demo .sd-spin-btn:active:not(:disabled) {
    transform: translateY(0);
}
.spin-demo .sd-spin-btn:disabled {
    background: rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.6);
    box-shadow: none;
    cursor: not-allowed;
}
.spin-demo .sd-spin-btn.is-gated {
    background: #fff;
    color: #001353;
}
.spin-demo .sd-spin-btn.is-ready {
    animation: sd-pulse 2.2s ease-in-out infinite;
}
@keyframes sd-pulse {
    0%, 100% { box-shadow: 0 6px 20px rgba(253, 237, 34, 0.45); }
    50%      { box-shadow: 0 6px 28px rgba(253, 237, 34, 0.85); }
}

/* Tablet hero layout (768px–959px: column, scaled up) */
@media (min-width: 768px) {
    .spin-demo .sd-hero {
        padding: 48px 24px;
    }
    .spin-demo .sd-hero h1 { font-size: clamp(28px, 5vw, 40px); }
    .spin-demo .sd-hero-sub { font-size: 16px; }
}

/* Desktop hero layout (≥ 960px: side-by-side) */
@media (min-width: 960px) {
    .spin-demo .sd-hero {
        padding: 56px 24px;
    }
    .spin-demo .sd-hero-inner {
        flex-direction: row;
        text-align: left;
        gap: clamp(24px, 4vw, 56px);
        align-items: center;
    }
    .spin-demo .sd-hero-text { flex: 1; min-width: 0; }
    .spin-demo .sd-wheel-stage { width: auto; flex: 0 0 auto; }
    .spin-demo .sd-hero h1 { font-size: 40px; }
    .spin-demo .sd-hero-sub { font-size: 17px; }
    .spin-demo .sd-spin-btn { max-width: 340px; }
}

/* ─────────── MODAL BASE ─────────── */
.spin-demo .sd-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 16px;
    animation: sd-fade-in .2s ease;
}
.spin-demo .sd-modal.is-open {
    display: flex;
}
@keyframes sd-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ─────────── RESULT MODAL ─────────── */
.spin-demo .sd-modal-card {
    background: #fff;
    border-radius: 20px;
    padding: 32px 24px;
    width: 100%;
    max-width: 420px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: sd-slide-up .25s cubic-bezier(.2, .9, .2, 1);
}
@keyframes sd-slide-up {
    from { transform: translateY(20px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

.spin-demo .sd-confetti {
    font-size: 48px;
    line-height: 1;
    margin-bottom: 8px;
}
.spin-demo .sd-modal-card h2 {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 6px;
    color: #001353;
}
.spin-demo .sd-modal-card > p {
    color: #5C7189;
    font-size: 14px;
    margin: 0 0 12px;
}
.spin-demo .sd-prize {
    font-size: 28px;
    font-weight: 800;
    color: #0066cc;
    margin: 0 0 24px;
    padding: 12px 16px;
    background: #f1f6ff;
    border-radius: 12px;
}

.spin-demo .sd-btn-primary,
.spin-demo .sd-btn-secondary {
    display: block;
    width: 100%;
    height: 56px;
    border-radius: 12px;
    border: 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: transform .15s ease, background .2s ease;
}
.spin-demo .sd-btn-primary {
    background: #001353;
    color: #fff;
    margin-bottom: 10px;
}
.spin-demo .sd-btn-primary:hover { background: #00226b; }
.spin-demo .sd-btn-primary:disabled { opacity: .6; cursor: not-allowed; }
.spin-demo .sd-btn-secondary {
    background: #f1f4f8;
    color: #001353;
}
.spin-demo .sd-btn-secondary:hover { background: #e6ebf2; }

/* ─────────── FORM MODAL (full-screen on mobile) ─────────── */
.spin-demo .sd-form-modal {
    padding: 0;
    align-items: stretch;
    justify-content: stretch;
}
.spin-demo .sd-form-shell {
    background: #fff;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    animation: sd-slide-up .25s cubic-bezier(.2, .9, .2, 1);
}

.spin-demo .sd-form-shell > header {
    flex: 0 0 auto;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    border-bottom: 1px solid #eef0f4;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1;
}
.spin-demo .sd-form-shell > header button {
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: #001353;
    font-size: 22px;
    cursor: pointer;
    border-radius: 8px;
    font-family: inherit;
}
.spin-demo .sd-form-shell > header button:hover { background: #f1f4f8; }

.spin-demo .sd-progress {
    display: flex;
    gap: 10px;
    align-items: center;
    flex: 1;
    min-width: 0;
}
.spin-demo .sd-progress-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d8dee8;
    transition: background-color .2s ease, transform .2s ease;
}
.spin-demo .sd-progress-dot.is-active {
    background: #0066cc;
    transform: scale(1.15);
}

.spin-demo .sd-form-body {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 24px 20px 32px;
}

.spin-demo .sd-form-shell > footer {
    flex: 0 0 auto;
    padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
    border-top: 1px solid #eef0f4;
    background: #fff;
    position: sticky;
    bottom: 0;
}

/* Step content */
.spin-demo .sd-step {
    max-width: 480px;
    margin: 0 auto;
    animation: sd-step-in .25s cubic-bezier(.2, .9, .2, 1);
}
.spin-demo .sd-step-title {
    font-size: 22px;
    font-weight: 800;
    color: #001353;
    margin: 0 0 20px;
    line-height: 1.25;
}
.spin-demo .sd-step-content { display: block; }
.spin-demo .sd-step-error {
    color: #e04562;
    font-size: 13px;
    font-weight: 600;
    min-height: 20px;
    margin-top: 12px;
}

.spin-demo .sd-gate-intro {
    background: linear-gradient(135deg, #fff8d4, #fff3a8);
    border: 1px solid #fded22;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    text-align: left;
}
.spin-demo .sd-gate-prize {
    font-size: 14px;
    font-weight: 700;
    color: #001353;
    margin-bottom: 6px;
}
.spin-demo .sd-gate-intro p {
    font-size: 13px;
    color: #5C7189;
    margin: 0;
    line-height: 1.5;
}

/* Form inputs */
.spin-demo input[type="text"],
.spin-demo input[type="email"],
.spin-demo input[type="tel"],
.spin-demo select {
    width: 100%;
    height: 56px;
    padding: 0 16px;
    font-size: 16px; /* prevents iOS zoom-on-focus */
    font-family: inherit;
    border: 1.5px solid #d8dee8;
    border-radius: 12px;
    background: #fff;
    color: #001353;
    transition: border-color .15s ease, box-shadow .15s ease;
    appearance: none;
    -webkit-appearance: none;
}
.spin-demo select {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23001353' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 44px;
}
.spin-demo input:focus,
.spin-demo select:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.15);
}

.spin-demo .sd-field-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.spin-demo .sd-consent {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
    color: #5C7189;
}
.spin-demo .sd-consent-link {
    color: #0066cc;
    text-decoration: underline;
    font-weight: 600;
}
.spin-demo .sd-consent-link:hover {
    color: #004ea8;
}

.spin-demo .sd-consent input[type="checkbox"] {
    width: 22px;
    height: 22px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: #0066cc;
}

/* Success state */
.spin-demo .sd-success {
    text-align: center;
    padding: 40px 16px;
    max-width: 480px;
    margin: 0 auto;
}
.spin-demo .sd-success-icon {
    font-size: 64px;
    line-height: 1;
    margin-bottom: 16px;
}
.spin-demo .sd-success h2 {
    font-size: 26px;
    font-weight: 800;
    color: #001353;
    margin: 0 0 12px;
}
.spin-demo .sd-success p {
    font-size: 15px;
    color: #5C7189;
    line-height: 1.5;
    margin: 0 0 8px;
}
.spin-demo .sd-success-sub {
    font-size: 13px !important;
    color: #888 !important;
    margin-top: 16px !important;
}

/* Form modal stacked rows on mobile, side-by-side on desktop */
@media (min-width: 600px) {
    .spin-demo .sd-field-row {
        grid-template-columns: 1fr 1fr;
    }
}

/* Form modal becomes a centered card on tablet+ */
@media (min-width: 768px) {
    .spin-demo .sd-form-modal {
        padding: 24px;
        align-items: center;
        justify-content: center;
    }
    .spin-demo .sd-form-shell {
        width: 100%;
        max-width: 540px;
        height: auto;
        max-height: 90vh;
        max-height: 90dvh;
        border-radius: 20px;
        overflow: hidden;
    }
    .spin-demo .sd-step-title {
        font-size: 26px;
    }
}

/* ─────────── ALUMNI SECTION ─────────── */

.alumni-section {
    padding: 72px 0 64px;
    background: linear-gradient(180deg, #050d2d 0%, #0c1c50 100%);
    overflow: hidden;
}

.alumni-header {
    position: relative;
    text-align: center;
    margin-bottom: 48px;
    padding: 0 16px;
}
.alumni-header::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 500px;
    background: radial-gradient(ellipse at center, rgba(30,109,235,0.22) 0%, transparent 65%);
    pointer-events: none;
}

.alumni-eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #fded22;
    margin: 0 0 12px;
}

.alumni-heading {
    font-size: 30px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 10px;
    line-height: 1.2;
}

.alumni-sub {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
    line-height: 1.6;
}
.alumni-stats-strip {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 22px;
}
.alumni-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 18px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    letter-spacing: 0.3px;
}

.alumni-legacy-badge {
    display: inline-block;
    margin-top: 24px;
    padding: 8px 22px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.4px;
    color: rgba(253, 210, 100, 0.7);
    background: rgba(253, 200, 48, 0.05);
    border: 1px solid rgba(253, 200, 48, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Marquee wrapper */
.alumni-marquee-wrap {
    position: relative;
    margin-bottom: 16px;
    overflow: hidden;
}

/* Edge fades */
.alumni-fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}
.alumni-fade-left  { left: 0;  background: linear-gradient(to right, #050d2d, transparent); }
.alumni-fade-right { right: 0; background: linear-gradient(to left,  #050d2d, transparent); }

/* Track */
.alumni-track {
    display: flex;
    gap: 14px;
    width: max-content;
    padding: 10px 0;
}
.alumni-track--left  { animation: alumni-left  55s linear infinite; }
.alumni-track--right { animation: alumni-right 55s linear infinite; }
.alumni-marquee-wrap:hover .alumni-track { animation-play-state: paused; }

@keyframes alumni-left  { 0% { transform: translateX(0); }    100% { transform: translateX(-50%); } }
@keyframes alumni-right { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }

/* Card */
.alumni-card {
    position: relative;
    width: 158px;
    height: 215px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
    transition: transform 0.32s cubic-bezier(.2,.9,.2,1), box-shadow 0.32s ease;
    cursor: default;
}
/* Batch accent line (inset top shadow) */
.alumni-card[data-batch="2024"] { box-shadow: 0 8px 28px rgba(0,0,0,0.45), inset 0 3px 0 0 rgba(253,237,34,0.85); }
.alumni-card[data-batch="2025"] { box-shadow: 0 8px 28px rgba(0,0,0,0.45), inset 0 3px 0 0 rgba(144,194,255,0.85); }
.alumni-card[data-batch="2026"] { box-shadow: 0 8px 28px rgba(0,0,0,0.45), inset 0 3px 0 0 rgba(126,245,226,0.85); }
.alumni-card:hover {
    transform: translateY(-8px) scale(1.04);
    z-index: 1;
}
/* Batch glow on hover */
.alumni-card[data-batch="2024"]:hover { box-shadow: 0 20px 52px rgba(0,0,0,0.65), inset 0 3px 0 0 rgba(253,237,34,0.9), 0 0 0 1.5px rgba(253,237,34,0.5), 0 0 28px rgba(253,237,34,0.28); }
.alumni-card[data-batch="2025"]:hover { box-shadow: 0 20px 52px rgba(0,0,0,0.65), inset 0 3px 0 0 rgba(144,194,255,0.9), 0 0 0 1.5px rgba(144,194,255,0.5), 0 0 28px rgba(144,194,255,0.28); }
.alumni-card[data-batch="2026"]:hover { box-shadow: 0 20px 52px rgba(0,0,0,0.65), inset 0 3px 0 0 rgba(126,245,226,0.9), 0 0 0 1.5px rgba(126,245,226,0.5), 0 0 28px rgba(126,245,226,0.28); }

.alumni-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.4s ease;
}
.alumni-card:hover img { transform: scale(1.06); }

/* Gradient overlay */
.alumni-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.0)  30%,
        rgba(0, 5, 30, 0.55) 58%,
        rgba(0, 5, 30, 0.95) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px 10px 12px;
}


/* Badges row: verified (left) + batch year (right) */
.alumni-card-badges {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.alumni-verified {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(76, 175, 80, 0.92);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    flex-shrink: 0;
    line-height: 1;
}

/* Card text */
.alumni-card-info { display: flex; flex-direction: column; gap: 2px; }

.alumni-name {
    font-size: 12.5px;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    text-shadow: 0 1px 6px rgba(0,0,0,0.6);
    margin: 0;
}
.alumni-uni {
    font-size: 10.5px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.3;
    margin: 0;
}
.alumni-dest {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
    margin-top: 1px;
}

@media (min-width: 768px) {
    .alumni-heading { font-size: 36px; }
    .alumni-card { width: 170px; height: 226px; }
    .alumni-fade { width: 140px; }
}

/* Alumni bottom CTA */
.alumni-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 52px 16px 0;
    text-align: center;
}
.alumni-cta-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    line-height: 1.55;
}
.alumni-cta-text strong { color: #fff; font-weight: 800; }
.alumni-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    border-radius: 999px;
    background: linear-gradient(135deg, #1E6DEB 0%, #0a4fc7 100%);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    letter-spacing: 0.3px;
    box-shadow: 0 8px 28px rgba(30, 109, 235, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
}
.alumni-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(30, 109, 235, 0.62);
    color: #fff;
    text-decoration: none;
}

/* ─────────── CONVERSATIONAL FORM ─────────── */

/* Step slide-in animation */
@keyframes sd-step-in {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Chat row: avatar + bubble side by side */
.spin-demo .sd-chat-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
}

/* Avatar circle */
.spin-demo .sd-chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #001353;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

/* Speech bubble */
.spin-demo .sd-chat-bubble {
    background: #f0f4ff;
    border: 1px solid #dce6ff;
    border-radius: 0 16px 16px 16px;
    padding: 14px 18px;
    font-size: 18px;
    font-weight: 700;
    color: #001353;
    line-height: 1.35;
    position: relative;
    flex: 1;
    animation: sd-step-in .25s cubic-bezier(.2, .9, .2, 1);
}

/* Bubble left-pointing tail — border layer */
.spin-demo .sd-chat-bubble::before {
    content: '';
    position: absolute;
    top: 13px;
    left: -9px;
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-right: 9px solid #dce6ff;
}

/* Bubble left-pointing tail — fill layer */
.spin-demo .sd-chat-bubble::after {
    content: '';
    position: absolute;
    top: 14px;
    left: -7px;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 8px solid #f0f4ff;
}

/* Reply area — indented to align with bubble */
.spin-demo .sd-reply-area {
    padding-left: 52px;
}

/* Progress bar */
.spin-demo .sd-progress-bar-wrap {
    flex: 1;
    height: 4px;
    background: #eef0f4;
    border-radius: 999px;
    overflow: hidden;
}

.spin-demo .sd-progress-bar-fill {
    height: 100%;
    background: #0066cc;
    border-radius: 999px;
    transition: width .3s ease;
}

.spin-demo .sd-step-count {
    font-size: 12px;
    font-weight: 600;
    color: #5C7189;
    white-space: nowrap;
}

/* Chip selector */
.spin-demo .sd-chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.spin-demo .sd-chip {
    padding: 10px 18px;
    border-radius: 999px;
    border: 1.5px solid #d8dee8;
    background: #fff;
    color: #001353;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    line-height: 1;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}

.spin-demo .sd-chip:hover:not(.is-selected) {
    border-color: #0066cc;
    color: #0066cc;
}

.spin-demo .sd-chip.is-selected {
    background: #001353;
    border-color: #001353;
    color: #fff;
}

/* Phone row: always side-by-side (90px on mobile, 160px on wider screens) */
.spin-demo .sd-phone-row {
    grid-template-columns: 90px 1fr;
}
@media (min-width: 600px) {
    .spin-demo .sd-phone-row {
        grid-template-columns: 160px 1fr;
    }
}

@media (min-width: 768px) {
    .spin-demo .sd-chat-bubble { font-size: 20px; }
}

/* Reduced motion: drop the flair, keep things instant */
@media (prefers-reduced-motion: reduce) {
    .spin-demo .sd-spin-btn.is-ready { animation: none; }
    .spin-demo .sd-modal,
    .spin-demo .sd-modal-card,
    .spin-demo .sd-form-shell,
    .spin-demo .sd-step,
    .spin-demo .sd-chat-bubble {
        animation: none;
    }
}

/* ─────────── PARTNERS SECTION ─────────── */
.partners-section { padding: 60px 0; background: #f8f9ff; overflow: hidden; }
.partners-eyebrow { text-align: center; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: #1E6DEB; margin-bottom: 12px; }
.partners-heading { text-align: center; font-size: 32px; font-weight: 800; color: #001353; max-width: 600px; margin: 0 auto 12px; line-height: 1.25; }
.partners-subtext { text-align: center; font-size: 15px; color: #666; max-width: 520px; margin: 0 auto 28px; }
.partners-trust-badges { display: flex; justify-content: center; align-items: center; gap: 24px; margin-bottom: 28px; }
.partners-trust-item { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #001353; }
.partners-trust-divider { width: 1px; height: 24px; background: #ccc; }
.partners-filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.partners-filter-btn { padding: 8px 16px; border-radius: 50px; border: 1px solid #ddd; background: #fff; font-size: 13px; font-weight: 500; cursor: pointer; font-family: inherit; transition: all 0.2s; color: #333; }
.partners-filter-btn.active { background: #001353; color: #fff; border-color: #001353; }
.partners-filter-btn:hover:not(.active) { border-color: #001353; color: #001353; }
.partners-marquee-wrap { position: relative; margin-bottom: 16px; overflow: hidden; }
.partners-fade { position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none; }
.partners-fade-left { left: 0; background: linear-gradient(to right, #f8f9ff, transparent); }
.partners-fade-right { right: 0; background: linear-gradient(to left, #f8f9ff, transparent); }
.partners-marquee { display: flex; gap: 20px; width: max-content; padding: 10px 0; }
@keyframes marquee-scroll-right { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes marquee-scroll-left { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }
.partners-marquee-wrap:hover .partners-marquee { animation-play-state: paused; }
.partner-card { flex-shrink: 0; width: 200px; background: #fff; border-radius: 14px; padding: 20px 16px; text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,0.06); transition: transform 0.2s, box-shadow 0.2s; }
.partner-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.1); }
.partner-card img { width: 80px; height: 60px; object-fit: contain; margin: 0 auto 10px; display: block; }
.partner-card span { font-size: 12px; font-weight: 500; color: #333; display: block; line-height: 1.3; }
@media (max-width: 768px) {
    .partners-heading { font-size: 24px; }
    .partners-filters { gap: 6px; }
    .partners-filter-btn { padding: 6px 12px; font-size: 12px; }
    .partner-card { width: 160px; padding: 16px 12px; }
}

/* ─────────── SERVICES SECTION ─────────── */
.services-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.services-eyebrow {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #1E6DEB;
    margin-bottom: 8px;
    text-align: center;
}

.services-subtitle {
    text-align: center;
    color: #5C7189;
    font-size: 15px;
    margin-top: 0;
    margin-bottom: 40px;
    line-height: 1.6;
}

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

.service-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    border: 1px solid #F0F0F0;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.service-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.service-card-title {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 8px;
}

.service-card-desc {
    font-size: 13px;
    color: #5C7189;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 992px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
    .services-grid { grid-template-columns: 1fr; }
}
