/* ============================================
   SWG AI Readiness Assessment — 2026 Edition
   ============================================ */

:root {
    --swg-primary: #0274BE;
    --swg-primary-light: #3a9fd8;
    --swg-primary-dark: #015a94;
    --swg-accent: #00D4AA;
    --swg-accent-2: #7C3AED;
    --swg-accent-3: #F59E0B;
    --swg-dark: #0a0e1a;
    --swg-dark-2: #111827;
    --swg-dark-card: #1a1f35;
    --swg-dark-card-hover: #222842;
    --swg-text: #e2e8f0;
    --swg-text-muted: #94a3b8;
    --swg-text-bright: #ffffff;
    --swg-border: rgba(255, 255, 255, 0.08);
    --swg-border-active: rgba(2, 116, 190, 0.5);
    --swg-glass: rgba(255, 255, 255, 0.03);
    --swg-glass-hover: rgba(255, 255, 255, 0.06);
    --swg-radius: 16px;
    --swg-radius-sm: 10px;
    --swg-radius-xl: 24px;
    --swg-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    --swg-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --swg-gradient: linear-gradient(135deg, #0274BE 0%, #7C3AED 50%, #00D4AA 100%);
}

/* Reset within quiz */
.swg-quiz *, .swg-quiz *::before, .swg-quiz *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.swg-quiz {
    position: relative;
    min-height: 100vh;
    background: var(--swg-dark);
    color: var(--swg-text);
    font-family: 'Source Sans 3', 'Inter', -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ── Ambient Background ── */
.swg-quiz__ambient {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 20%, rgba(2, 116, 190, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 80% 80%, rgba(124, 58, 237, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 50% 50%, rgba(0, 212, 170, 0.04) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.swg-quiz__orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
    animation: orbFloat 20s ease-in-out infinite;
}

.swg-quiz__orb--1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(2, 116, 190, 0.3), transparent 70%);
    top: -10%;
    left: -5%;
    animation-delay: 0s;
}

.swg-quiz__orb--2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.25), transparent 70%);
    bottom: -10%;
    right: -5%;
    animation-delay: -7s;
}

.swg-quiz__orb--3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.2), transparent 70%);
    top: 40%;
    left: 60%;
    animation-delay: -14s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -40px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(40px, 30px) scale(1.02); }
}

/* ── Hero Section ── */
.swg-quiz__hero {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 60px 24px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.swg-quiz__hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--swg-glass);
    border: 1px solid var(--swg-border);
    border-radius: 100px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--swg-accent);
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.swg-quiz__hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--swg-text-bright);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.swg-quiz__hero-gradient {
    background: var(--swg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.swg-quiz__hero-sub {
    font-size: 1.2rem;
    color: var(--swg-text-muted);
    max-width: 600px;
    margin-bottom: 48px;
    font-weight: 300;
    line-height: 1.8;
}

.swg-quiz__hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 48px;
    flex-wrap: wrap;
    justify-content: center;
}

.swg-quiz__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.swg-quiz__stat-num {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--swg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.swg-quiz__stat-label {
    font-size: 0.8rem;
    color: var(--swg-text-muted);
    max-width: 160px;
    text-align: center;
    line-height: 1.4;
}

.swg-quiz__cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    background: var(--swg-gradient);
    color: #fff;
    border: none;
    border-radius: 100px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all var(--swg-transition);
    box-shadow: 0 0 40px rgba(2, 116, 190, 0.3), 0 0 80px rgba(124, 58, 237, 0.15);
    position: relative;
    overflow: hidden;
}

.swg-quiz__cta-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--swg-transition);
}

.swg-quiz__cta-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 60px rgba(2, 116, 190, 0.4), 0 0 120px rgba(124, 58, 237, 0.2);
}

.swg-quiz__cta-btn:hover::before {
    opacity: 1;
}

.swg-quiz__hero-note {
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--swg-text-muted);
    opacity: 0.6;
}

/* ── Quiz Container ── */
.swg-quiz__container {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
    padding: 40px 24px 120px;
    min-height: 100vh;
    animation: fadeInUp 0.6s ease-out;
}

/* ── Progress Bar ── */
.swg-quiz__progress {
    margin-bottom: 48px;
}

.swg-quiz__progress-bar {
    height: 4px;
    background: var(--swg-border);
    border-radius: 100px;
    overflow: hidden;
    margin-bottom: 16px;
}

.swg-quiz__progress-fill {
    height: 100%;
    width: 0%;
    background: var(--swg-gradient);
    border-radius: 100px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.swg-quiz__progress-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: -3px;
    width: 10px;
    height: 10px;
    background: var(--swg-accent);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(0, 212, 170, 0.6);
}

.swg-quiz__progress-steps {
    display: flex;
    justify-content: space-between;
    padding: 0 4px;
}

.swg-quiz__progress-step {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--swg-text-muted);
    font-weight: 500;
    transition: color var(--swg-transition);
}

.swg-quiz__progress-step.active {
    color: var(--swg-accent);
}

.swg-quiz__progress-step.done {
    color: var(--swg-primary-light);
}

.swg-quiz__progress-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--swg-border);
    transition: all var(--swg-transition);
}

.swg-quiz__progress-step.active .swg-quiz__progress-dot {
    background: var(--swg-accent);
    box-shadow: 0 0 8px rgba(0, 212, 170, 0.5);
}

.swg-quiz__progress-step.done .swg-quiz__progress-dot {
    background: var(--swg-primary-light);
}

/* ── Panels ── */
.swg-quiz__panel {
    display: none;
    animation: panelIn 0.5s ease-out;
}

.swg-quiz__panel.active {
    display: block;
}

@keyframes panelIn {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

.swg-quiz__panel-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    display: block;
}

.swg-quiz__panel-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--swg-text-bright);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.swg-quiz__panel-desc {
    font-size: 1rem;
    color: var(--swg-text-muted);
    margin-bottom: 36px;
    font-weight: 300;
}

/* ── Form Elements ── */
.swg-quiz__field {
    margin-bottom: 24px;
}

.swg-quiz__label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--swg-text);
    margin-bottom: 8px;
}

.swg-quiz__label-hint {
    font-weight: 400;
    color: var(--swg-text-muted);
    font-size: 0.8rem;
}

.swg-quiz__input,
.swg-quiz__select {
    width: 100%;
    padding: 14px 18px;
    background: var(--swg-dark-card);
    border: 1px solid var(--swg-border);
    border-radius: var(--swg-radius-sm);
    color: var(--swg-text-bright);
    font-family: inherit;
    font-size: 1rem;
    transition: all var(--swg-transition);
    outline: none;
}

.swg-quiz__input::placeholder {
    color: var(--swg-text-muted);
    opacity: 0.6;
}

.swg-quiz__input:focus,
.swg-quiz__select:focus {
    border-color: var(--swg-primary);
    box-shadow: 0 0 0 3px rgba(2, 116, 190, 0.15), 0 0 20px rgba(2, 116, 190, 0.1);
    background: var(--swg-dark-card-hover);
}

.swg-quiz__select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 44px;
}

.swg-quiz__select option {
    background: var(--swg-dark-2);
    color: var(--swg-text);
}

.swg-quiz__input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ── Multi-select Cards ── */
.swg-quiz__cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.swg-quiz__card {
    position: relative;
    padding: 20px;
    background: var(--swg-glass);
    border: 1px solid var(--swg-border);
    border-radius: var(--swg-radius);
    cursor: pointer;
    transition: all var(--swg-transition);
    user-select: none;
}

.swg-quiz__card:hover {
    background: var(--swg-glass-hover);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.swg-quiz__card.selected {
    background: rgba(2, 116, 190, 0.1);
    border-color: var(--swg-primary);
    box-shadow: 0 0 20px rgba(2, 116, 190, 0.15), inset 0 0 20px rgba(2, 116, 190, 0.05);
}

.swg-quiz__card-check {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    border: 2px solid var(--swg-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--swg-transition);
}

.swg-quiz__card.selected .swg-quiz__card-check {
    background: var(--swg-primary);
    border-color: var(--swg-primary);
}

.swg-quiz__card-check svg {
    opacity: 0;
    transition: opacity var(--swg-transition);
}

.swg-quiz__card.selected .swg-quiz__card-check svg {
    opacity: 1;
}

.swg-quiz__card-icon {
    font-size: 1.6rem;
    margin-bottom: 10px;
    display: block;
}

.swg-quiz__card-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--swg-text-bright);
    margin-bottom: 4px;
}

.swg-quiz__card-desc {
    font-size: 0.8rem;
    color: var(--swg-text-muted);
    line-height: 1.4;
}

/* ── Radio Options ── */
.swg-quiz__radios {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.swg-quiz__radio {
    padding: 16px 20px;
    background: var(--swg-glass);
    border: 1px solid var(--swg-border);
    border-radius: var(--swg-radius-sm);
    cursor: pointer;
    transition: all var(--swg-transition);
    display: flex;
    align-items: center;
    gap: 14px;
    user-select: none;
}

.swg-quiz__radio:hover {
    background: var(--swg-glass-hover);
    border-color: rgba(255, 255, 255, 0.12);
}

.swg-quiz__radio.selected {
    background: rgba(2, 116, 190, 0.1);
    border-color: var(--swg-primary);
}

.swg-quiz__radio-dot {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 50%;
    border: 2px solid var(--swg-border);
    transition: all var(--swg-transition);
    position: relative;
}

.swg-quiz__radio.selected .swg-quiz__radio-dot {
    border-color: var(--swg-primary);
}

.swg-quiz__radio.selected .swg-quiz__radio-dot::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: var(--swg-primary);
    border-radius: 50%;
}

.swg-quiz__radio-text {
    font-size: 0.95rem;
    color: var(--swg-text);
}

/* ── Slider / Rating ── */
.swg-quiz__slider-wrap {
    padding: 20px 0;
}

.swg-quiz__slider-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.8rem;
    color: var(--swg-text-muted);
}

.swg-quiz__slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: var(--swg-dark-card);
    border-radius: 100px;
    outline: none;
    cursor: pointer;
}

.swg-quiz__slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--swg-primary);
    box-shadow: 0 0 12px rgba(2, 116, 190, 0.5);
    cursor: pointer;
    transition: transform 0.2s;
}

.swg-quiz__slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.swg-quiz__slider-value {
    text-align: center;
    margin-top: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--swg-primary-light);
}

/* ── Textarea ── */
.swg-quiz__textarea {
    width: 100%;
    min-height: 100px;
    padding: 14px 18px;
    background: var(--swg-dark-card);
    border: 1px solid var(--swg-border);
    border-radius: var(--swg-radius-sm);
    color: var(--swg-text-bright);
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
    outline: none;
    transition: all var(--swg-transition);
}

.swg-quiz__textarea:focus {
    border-color: var(--swg-primary);
    box-shadow: 0 0 0 3px rgba(2, 116, 190, 0.15);
}

/* ── Navigation ── */
.swg-quiz__nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: linear-gradient(to top, var(--swg-dark) 60%, transparent);
    backdrop-filter: blur(12px);
}

.swg-quiz__nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border: none;
    border-radius: 100px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--swg-transition);
}

.swg-quiz__nav-btn--back {
    background: var(--swg-glass);
    border: 1px solid var(--swg-border);
    color: var(--swg-text-muted);
}

.swg-quiz__nav-btn--back:hover {
    background: var(--swg-glass-hover);
    color: var(--swg-text);
}

.swg-quiz__nav-btn--next {
    background: var(--swg-gradient);
    color: #fff;
    box-shadow: 0 0 30px rgba(2, 116, 190, 0.25);
    margin-left: auto;
}

.swg-quiz__nav-btn--next:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 40px rgba(2, 116, 190, 0.35);
}

.swg-quiz__nav-btn--next:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.swg-quiz__nav-btn--submit {
    background: linear-gradient(135deg, #00D4AA 0%, #0274BE 100%);
    color: #fff;
    box-shadow: 0 0 30px rgba(0, 212, 170, 0.25);
    margin-left: auto;
}

/* ── Results Section ── */
.swg-quiz__results {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 24px 100px;
    animation: fadeInUp 0.8s ease-out;
}

.swg-quiz__results-header {
    text-align: center;
    margin-bottom: 48px;
}

.swg-quiz__results-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--swg-glass);
    border: 1px solid var(--swg-border);
    border-radius: 100px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--swg-accent);
    margin-bottom: 20px;
}

.swg-quiz__results-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: var(--swg-text-bright);
    margin-bottom: 12px;
}

.swg-quiz__results-sub {
    color: var(--swg-text-muted);
    font-size: 1.1rem;
    font-weight: 300;
}

/* Score Ring */
.swg-quiz__score-ring {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 48px;
}

.swg-quiz__score-circle {
    position: relative;
    width: 200px;
    height: 200px;
    margin-bottom: 16px;
}

.swg-quiz__score-svg {
    width: 200px;
    height: 200px;
    transform: rotate(-90deg);
}

.swg-quiz__score-bg {
    fill: none;
    stroke: var(--swg-dark-card);
    stroke-width: 8;
}

.swg-quiz__score-fg {
    fill: none;
    stroke: url(#scoreGradient);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 565.48;
    stroke-dashoffset: 565.48;
    transition: stroke-dashoffset 2s cubic-bezier(0.4, 0, 0.2, 1);
}

.swg-quiz__score-number {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.swg-quiz__score-value {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    background: var(--swg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.swg-quiz__score-max {
    font-size: 0.9rem;
    color: var(--swg-text-muted);
    font-weight: 500;
}

.swg-quiz__score-level {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 6px 20px;
    border-radius: 100px;
}

.swg-quiz__score-level--low {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.swg-quiz__score-level--medium {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.swg-quiz__score-level--high {
    background: rgba(0, 212, 170, 0.15);
    color: #00D4AA;
    border: 1px solid rgba(0, 212, 170, 0.3);
}

/* Category Breakdown */
.swg-quiz__categories {
    display: grid;
    gap: 16px;
    margin-bottom: 48px;
}

.swg-quiz__cat-card {
    padding: 24px;
    background: var(--swg-glass);
    border: 1px solid var(--swg-border);
    border-radius: var(--swg-radius);
    backdrop-filter: blur(8px);
}

.swg-quiz__cat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.swg-quiz__cat-name {
    font-weight: 700;
    color: var(--swg-text-bright);
    font-size: 1rem;
}

.swg-quiz__cat-score {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--swg-primary-light);
}

.swg-quiz__cat-bar {
    height: 6px;
    background: var(--swg-dark-card);
    border-radius: 100px;
    overflow: hidden;
    margin-bottom: 12px;
}

.swg-quiz__cat-bar-fill {
    height: 100%;
    background: var(--swg-gradient);
    border-radius: 100px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 0%;
}

.swg-quiz__cat-rec {
    font-size: 0.85rem;
    color: var(--swg-text-muted);
    line-height: 1.5;
}

/* Recommendations */
.swg-quiz__recs {
    margin-bottom: 48px;
}

.swg-quiz__recs-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--swg-text-bright);
    margin-bottom: 20px;
}

.swg-quiz__rec-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--swg-glass);
    border: 1px solid var(--swg-border);
    border-radius: var(--swg-radius);
    margin-bottom: 12px;
}

.swg-quiz__rec-num {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
    background: var(--swg-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 0.9rem;
    color: #fff;
}

.swg-quiz__rec-content h4 {
    font-weight: 700;
    color: var(--swg-text-bright);
    margin-bottom: 4px;
}

.swg-quiz__rec-content p {
    font-size: 0.9rem;
    color: var(--swg-text-muted);
    line-height: 1.5;
}

/* Action Buttons */
.swg-quiz__actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    margin-top: 48px;
}

.swg-quiz__action-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    background: var(--swg-gradient);
    color: #fff;
    border: none;
    border-radius: 100px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--swg-transition);
    box-shadow: 0 0 40px rgba(2, 116, 190, 0.3);
    text-decoration: none;
}

.swg-quiz__action-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 60px rgba(2, 116, 190, 0.4);
}

.swg-quiz__action-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--swg-glass);
    border: 1px solid var(--swg-border);
    color: var(--swg-text);
    border-radius: 100px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--swg-transition);
    text-decoration: none;
}

.swg-quiz__action-secondary:hover {
    background: var(--swg-glass-hover);
    border-color: rgba(255, 255, 255, 0.15);
}

.swg-quiz__powered {
    text-align: center;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--swg-border);
    font-size: 0.8rem;
    color: var(--swg-text-muted);
    opacity: 0.5;
}

.swg-quiz__powered a {
    color: var(--swg-primary-light);
    text-decoration: none;
}

/* ── Loading Spinner ── */
.swg-quiz__loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    gap: 24px;
    animation: fadeInUp 0.5s ease-out;
}

.swg-quiz__spinner {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid var(--swg-border);
    border-top-color: var(--swg-primary);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.swg-quiz__loading-text {
    font-size: 1.1rem;
    color: var(--swg-text-muted);
    font-weight: 300;
}

/* ── Responsive ── */
@media (max-width: 640px) {
    .swg-quiz__hero {
        padding: 40px 20px;
    }

    .swg-quiz__hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .swg-quiz__input-row {
        grid-template-columns: 1fr;
    }

    .swg-quiz__cards {
        grid-template-columns: 1fr;
    }

    .swg-quiz__container {
        padding: 24px 16px 120px;
    }

    .swg-quiz__progress-steps {
        display: none;
    }

    .swg-quiz__nav {
        padding: 16px;
    }

    .swg-quiz__results {
        padding: 40px 16px 80px;
    }
}
