/* ═══════════════════════════════════════════════════════════
   Demo 01 — SSO Web App — Design System
   Dark glassmorphism theme matching Identity Portal
   ═══════════════════════════════════════════════════════════ */

/* ─── CSS Variables ─────────────────────────────────────────── */
:root {
    --bg-primary: #0a0a1a;
    --bg-secondary: #111128;
    --bg-card: rgba(20, 20, 50, 0.7);
    --bg-input: rgba(30, 30, 70, 0.5);
    --border-subtle: rgba(120, 100, 255, 0.15);
    --border-focus: rgba(120, 100, 255, 0.5);

    --text-primary: #e8e6f0;
    --text-secondary: #9995b7;
    --text-muted: #6b6590;

    --accent-purple: #7c5cfc;
    --accent-blue: #4ea8de;
    --accent-green: #4ecdc4;
    --accent-red: #ff6b6b;
    --accent-orange: #ffa94d;
    --accent-cyan: #22d3ee;
    --accent-pink: #f472b6;
    --accent-yellow: #facc15;

    --gradient-primary: linear-gradient(135deg, #7c5cfc 0%, #4ea8de 100%);
    --gradient-card: linear-gradient(145deg, rgba(30, 28, 65, 0.8) 0%, rgba(15, 15, 40, 0.9) 100%);
    --gradient-hover: linear-gradient(135deg, #8b6dfc 0%, #5bb8ee 100%);
    --gradient-hero: linear-gradient(135deg, rgba(124, 92, 252, 0.12) 0%, rgba(78, 168, 222, 0.08) 100%);

    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--border-subtle);
    --shadow-button: 0 4px 20px rgba(124, 92, 252, 0.3);
    --shadow-glow: 0 0 40px rgba(124, 92, 252, 0.15);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
}

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

/* ─── Background Decoration ─────────────────────────────────── */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 20% 30%, rgba(124, 92, 252, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(78, 168, 222, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(78, 205, 196, 0.04) 0%, transparent 50%);
    z-index: -1;
    animation: bgFloat 20s ease-in-out infinite;
}

@keyframes bgFloat {

    0%,
    100% {
        transform: translate(0, 0);
    }

    33% {
        transform: translate(-2%, 2%);
    }

    66% {
        transform: translate(2%, -1%);
    }
}

/* ─── Navbar ──────────────────────────────────────────────── */
.navbar {
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(10, 10, 26, 0.85);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.125rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-brand-icon {
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    -webkit-text-fill-color: initial;
}

.navbar-links {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.navbar-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
}

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

.navbar-link.active {
    color: var(--accent-purple);
}

/* ─── Page Layout ────────────────────────────────────────── */
.page-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.page-wrapper-top {
    align-items: flex-start;
    padding-top: 2rem;
}

/* ─── Landing / Hero ─────────────────────────────────────── */
.landing-container {
    width: 100%;
    max-width: 620px;
}

.hero-card {
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-card), var(--shadow-glow);
    text-align: center;
    animation: cardEnter 0.6s ease-out;
}

@keyframes cardEnter {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.97);
    }

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

.hero-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-button);
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {

    0%,
    100% {
        box-shadow: var(--shadow-button);
    }

    50% {
        box-shadow: 0 4px 30px rgba(124, 92, 252, 0.5);
    }
}

.hero-title {
    font-size: 1.75rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
}

.hero-subtitle {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-subtitle code {
    background: rgba(124, 92, 252, 0.15);
    color: var(--accent-purple);
    padding: 0.15em 0.5em;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85em;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.8rem;
    background: rgba(124, 92, 252, 0.06);
    border: 1px solid rgba(124, 92, 252, 0.1);
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.feature-item:hover {
    border-color: var(--accent-purple);
    color: var(--text-primary);
    transform: translateY(-1px);
}

.feature-icon {
    font-size: 1rem;
}

/* ─── SSO Note / Access Note ────────────────────────────── */
.sso-note,
.access-note {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    margin-top: 1.25rem;
    font-size: 0.8375rem;
    color: var(--text-secondary);
    animation: cardEnter 0.8s ease-out;
}

.sso-note {
    background: rgba(78, 168, 222, 0.08);
    border: 1px solid rgba(78, 168, 222, 0.2);
}

.access-note {
    background: rgba(255, 169, 77, 0.08);
    border: 1px solid rgba(255, 169, 77, 0.2);
}

.sso-note-icon,
.access-note-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.sso-note code,
.access-note code {
    background: rgba(124, 92, 252, 0.15);
    color: var(--accent-purple);
    padding: 0.1em 0.4em;
    border-radius: 3px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9em;
}

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: var(--shadow-button);
}

.btn-primary:hover {
    background: var(--gradient-hover);
    box-shadow: 0 6px 28px rgba(124, 92, 252, 0.45);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.0625rem;
    border-radius: var(--radius-md);
}

.btn-outline {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
    border-color: var(--accent-purple);
    color: var(--text-primary);
    background: rgba(124, 92, 252, 0.06);
}

.btn-sm {
    padding: 0.4rem 0.9rem;
    font-size: 0.8125rem;
}

/* ─── Dashboard Layout ───────────────────────────────────── */
.dashboard-container {
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ─── Profile Card ───────────────────────────────────────── */
.profile-card,
.inspector-card,
.logs-card {
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-card);
    animation: cardEnter 0.5s ease-out;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.profile-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    overflow: hidden;
}

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

.profile-meta {
    flex: 1;
}

.profile-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.profile-email {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.profile-details {
    display: grid;
    gap: 0;
}

.detail-row {
    display: flex;
    align-items: center;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(120, 100, 255, 0.08);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    width: 140px;
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 500;
    flex-shrink: 0;
}

.detail-value {
    color: var(--text-primary);
    font-size: 0.9rem;
}

/* Role badges */
.role-badge {
    display: inline-flex;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    background: rgba(124, 92, 252, 0.15);
    color: var(--accent-purple);
    border: 1px solid rgba(124, 92, 252, 0.3);
    margin-right: 0.4rem;
    margin-bottom: 0.3rem;
}

/* ─── Section Title ──────────────────────────────────────── */
.section-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─── Token Inspector ────────────────────────────────────── */
.token-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 0.75rem;
}

.token-tab {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.token-tab:hover {
    color: var(--text-primary);
}

.token-tab.active {
    background: rgba(124, 92, 252, 0.12);
    border-color: rgba(124, 92, 252, 0.3);
    color: var(--accent-purple);
}

.token-panel {
    display: none;
}

.token-panel.active {
    display: block;
}

.token-section {
    margin-bottom: 1rem;
}

.token-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.token-code {
    background: rgba(10, 10, 30, 0.8);
    border: 1px solid rgba(120, 100, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 1rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    line-height: 1.5;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-all;
    color: var(--accent-green);
    max-height: 300px;
    overflow-y: auto;
}

.token-raw {
    background: rgba(10, 10, 30, 0.8);
    border: 1px solid rgba(120, 100, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    line-height: 1.4;
    overflow-x: auto;
    word-break: break-all;
    white-space: pre-wrap;
    color: var(--text-muted);
    max-height: 100px;
}

/* ─── Copy Button ────────────────────────────────────────── */
.btn-copy {
    padding: 0.25rem 0.6rem;
    background: rgba(124, 92, 252, 0.1);
    border: 1px solid rgba(124, 92, 252, 0.2);
    border-radius: 6px;
    color: var(--accent-purple);
    font-family: inherit;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-copy:hover {
    background: rgba(124, 92, 252, 0.2);
    border-color: var(--accent-purple);
}

.btn-copy.copied {
    background: rgba(78, 205, 196, 0.15);
    border-color: var(--accent-green);
    color: var(--accent-green);
}

/* ─── Logs Table ─────────────────────────────────────────── */
.logs-table-wrapper {
    overflow-x: auto;
}

.logs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
}

.logs-table th {
    text-align: left;
    padding: 0.6rem 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 1px solid var(--border-subtle);
}

.logs-table td {
    padding: 0.55rem 0.75rem;
    border-bottom: 1px solid rgba(120, 100, 255, 0.06);
    color: var(--text-secondary);
}

.logs-table tr:hover td {
    background: rgba(124, 92, 252, 0.04);
}

.text-muted {
    color: var(--text-muted);
    text-align: center;
}

.badge-login {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    background: rgba(78, 205, 196, 0.12);
    color: var(--accent-green);
    border: 1px solid rgba(78, 205, 196, 0.25);
}

.badge-logout {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    background: rgba(255, 169, 77, 0.12);
    color: var(--accent-orange);
    border: 1px solid rgba(255, 169, 77, 0.25);
}

/* ─── Footer ──────────────────────────────────────────────── */
.footer {
    padding: 1.25rem 2rem;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-subtle);
}

/* ═══════════════════════════════════════════════════════════
   Guidelines Page Styles
   ═══════════════════════════════════════════════════════════ */

.guidelines-container {
    width: 100%;
    max-width: 1000px;
}

.guidelines-header {
    text-align: center;
    margin-bottom: 2rem;
    animation: cardEnter 0.5s ease-out;
}

.guidelines-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.guidelines-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ─── Framework Tabs ─────────────────────────────────────── */
.framework-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    animation: cardEnter 0.6s ease-out;
}

.framework-tab {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.framework-tab:hover {
    color: var(--text-primary);
    background: rgba(124, 92, 252, 0.06);
}

.framework-tab.active {
    background: rgba(124, 92, 252, 0.15);
    border-color: rgba(124, 92, 252, 0.35);
    color: var(--accent-purple);
}

.framework-tab .tab-icon {
    font-size: 1rem;
}

/* ─── Guide Content ──────────────────────────────────────── */
.guide-panel {
    display: none;
    animation: panelFade 0.3s ease;
}

.guide-panel.active {
    display: block;
}

@keyframes panelFade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

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

.guide-card {
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-card);
    margin-bottom: 1.5rem;
}

.guide-card h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.guide-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
    color: var(--accent-blue);
}

.guide-card h3:first-of-type {
    margin-top: 0.5rem;
}

.guide-card p,
.guide-card li {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.guide-card ul,
.guide-card ol {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

/* ─── Code Blocks (Guidelines) ───────────────────────────── */
.code-block-wrapper {
    position: relative;
    margin: 0.75rem 0 1.25rem;
}

.code-block-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    background: rgba(10, 10, 30, 0.95);
    border: 1px solid rgba(120, 100, 255, 0.12);
    border-bottom: none;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.code-block-lang {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--accent-purple);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.code-block {
    background: rgba(10, 10, 30, 0.9);
    border: 1px solid rgba(120, 100, 255, 0.12);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    padding: 1rem 1.25rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    line-height: 1.6;
    overflow-x: auto;
    white-space: pre;
    color: var(--text-primary);
    tab-size: 4;
}

.code-block .comment {
    color: var(--text-muted);
}

.code-block .keyword {
    color: var(--accent-purple);
}

.code-block .string {
    color: var(--accent-green);
}

.code-block .function {
    color: var(--accent-blue);
}

.code-block .url {
    color: var(--accent-cyan);
}

.code-block .variable {
    color: var(--accent-orange);
}

.code-block .type {
    color: var(--accent-pink);
}

.code-block .number {
    color: var(--accent-yellow);
}

/* ─── Comparison Table ───────────────────────────────────── */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    margin-top: 1rem;
}

.comparison-table th {
    text-align: left;
    padding: 0.75rem 0.75rem;
    color: var(--accent-purple);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 2px solid var(--border-subtle);
    background: rgba(124, 92, 252, 0.05);
    position: sticky;
    top: 0;
}

.comparison-table td {
    padding: 0.65rem 0.75rem;
    border-bottom: 1px solid rgba(120, 100, 255, 0.06);
    color: var(--text-secondary);
    vertical-align: top;
}

.comparison-table tr:hover td {
    background: rgba(124, 92, 252, 0.04);
}

.comparison-table td:first-child {
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

/* ─── Flow Diagram (ASCII art) ───────────────────────────── */
.flow-diagram {
    background: rgba(10, 10, 30, 0.8);
    border: 1px solid rgba(120, 100, 255, 0.12);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    line-height: 1.4;
    overflow-x: auto;
    white-space: pre;
    color: var(--accent-blue);
    margin: 1rem 0;
}

/* ─── Endpoint Reference ─────────────────────────────────── */
.endpoint-card {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(124, 92, 252, 0.04);
    border: 1px solid rgba(124, 92, 252, 0.08);
    border-radius: var(--radius-sm);
    margin-bottom: 0.5rem;
}

.endpoint-method {
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    flex-shrink: 0;
}

.method-get {
    background: rgba(78, 205, 196, 0.15);
    color: var(--accent-green);
    border: 1px solid rgba(78, 205, 196, 0.3);
}

.method-post {
    background: rgba(78, 168, 222, 0.15);
    color: var(--accent-blue);
    border: 1px solid rgba(78, 168, 222, 0.3);
}

.endpoint-path {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: var(--text-primary);
}

.endpoint-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

/* ─── Step Numbers ───────────────────────────────────────── */
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.step-title {
    display: flex;
    align-items: center;
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

/* ─── Info Cards ─────────────────────────────────────────── */
.info-box {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    margin: 0.75rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.info-box-tip {
    background: rgba(78, 205, 196, 0.08);
    border: 1px solid rgba(78, 205, 196, 0.2);
    color: var(--accent-green);
}

.info-box-warn {
    background: rgba(255, 169, 77, 0.08);
    border: 1px solid rgba(255, 169, 77, 0.2);
    color: var(--accent-orange);
}

.info-box-note {
    background: rgba(78, 168, 222, 0.08);
    border: 1px solid rgba(78, 168, 222, 0.2);
    color: var(--accent-blue);
}

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
    .navbar {
        padding: 0.75rem 1rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .navbar-brand {
        font-size: 0.95rem;
    }

    .page-wrapper {
        padding: 1rem;
    }

    .hero-card {
        padding: 2rem 1.5rem;
    }

    .hero-features {
        grid-template-columns: 1fr;
    }

    .profile-header {
        flex-wrap: wrap;
    }

    .detail-label {
        width: 100px;
    }

    .framework-tabs {
        gap: 0.35rem;
        padding: 0.75rem;
    }

    .framework-tab {
        padding: 0.4rem 0.7rem;
        font-size: 0.75rem;
    }

    .guide-card {
        padding: 1.5rem;
    }

    .comparison-table {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .hero-card {
        padding: 1.5rem 1rem;
        border-radius: var(--radius-md);
    }

    .hero-title {
        font-size: 1.25rem;
    }

    .btn-lg {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .profile-card,
    .inspector-card,
    .logs-card {
        padding: 1.25rem;
    }

    .token-tabs {
        flex-wrap: wrap;
    }
}