/**
 * WEBO â€” Base CSS Design System (Phase 1)
 * Pure Vanilla CSS. Modern, minimal, accessible, and high-performance.
 */

:root {
    --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Plus Jakarta Sans', var(--font-sans);
    --font-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;

    /* Color Palette - Approachable, Light, Human-Centric (Matching Homepage) */
    --color-bg: #fafbfc;
    --color-surface: #ffffff;
    --color-surface-hover: #f1f5f9;
    --color-surface-border: #e2e8f0;
    --color-surface-border-subtle: #f8fafc;

    --color-text: #0f172a;
    --color-text-muted: #475569;
    --color-text-dim: #94a3b8;

    --color-primary: #4f46e5;
    --color-primary-hover: #4338ca;
    --color-primary-muted: rgba(79, 70, 229, 0.1);

    --color-success: #059669;
    --color-success-muted: rgba(5, 150, 105, 0.1);
    --color-warning: #d97706;
    --color-warning-muted: rgba(217, 119, 6, 0.1);
    --color-danger: #dc2626;
    --color-danger-muted: rgba(220, 38, 38, 0.1);

    /* Layout & Spacing Tokens */
    --max-width: 1140px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition-fast: 0.15s ease;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    color-scheme: light;
}

body {
    background-color: #fafbfc;
    background-image: 
        radial-gradient(circle at 50% -80px, rgba(99, 102, 241, 0.09) 0%, rgba(244, 114, 182, 0.05) 35%, rgba(251, 146, 60, 0.03) 60%, transparent 80%),
        radial-gradient(circle at 92% 35%, rgba(56, 189, 248, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 8% 65%, rgba(168, 85, 247, 0.04) 0%, transparent 45%);
    background-attachment: fixed;
    color: #1e293b;
    font-family: var(--font-display);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Typography Utilities */
.font-mono {
    font-family: var(--font-mono);
    font-size: 0.9em;
}

.text-sm {
    font-size: 0.875rem;
}

/* Layout Containers */
.webo-container {
    width: 100%;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Header Component */
.webo-header {
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.webo-header.is-scrolled {
    background: rgba(255, 255, 255, 0.96);
    border-bottom-color: rgba(203, 213, 225, 0.9);
    box-shadow: 0 10px 25px -4px rgba(15, 23, 42, 0.08);
}

.webo-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4.5rem;
    transition: height 0.25s ease;
}

.webo-header.is-scrolled .webo-header-inner {
    height: 3.85rem;
}

.webo-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #0f172a;
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: -0.025em;
    font-family: var(--font-display);
}

.webo-logo-badge {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: #ffffff;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.15rem;
    box-shadow: 0 3px 10px rgba(79, 70, 229, 0.28);
}

.webo-logo-text {
    color: #0f172a;
    font-family: var(--font-display);
    font-weight: 800;
}

.webo-nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.webo-nav-links-group,
.webo-nav-actions-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.webo-nav-actions-group {
    gap: 0.75rem;
}

.webo-nav-link {
    color: #475569;
    text-decoration: none;
    font-size: 0.925rem;
    font-weight: 600;
    padding: 0.5rem 0.85rem;
    border-radius: 8px;
    transition: color var(--transition-fast), background-color var(--transition-fast);
}

.webo-nav-link:hover,
.webo-nav-link.active {
    color: #4f46e5;
    background: rgba(99, 102, 241, 0.06);
}

.webo-nav-link.btn-link-accent {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%) !important;
    color: #ffffff !important;
    padding: 0.55rem 1.25rem !important;
    border-radius: 9999px !important;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3) !important;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast) !important;
}

.webo-nav-link.btn-link-accent:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4) !important;
}

.webo-nav-logout-form {
    display: inline-flex;
    margin: 0;
}

.webo-nav-logout-btn {
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
}

/* Navigation Dropdown Component */
.webo-nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.webo-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
}

.webo-dropdown-caret {
    transition: transform 0.2s ease;
    opacity: 0.65;
}

.webo-nav-dropdown:hover .webo-dropdown-caret,
.webo-nav-dropdown.is-open .webo-dropdown-caret {
    transform: rotate(180deg);
    opacity: 1;
}

.webo-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: 460px;
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 16px;
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
    padding: 1.25rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
    z-index: 70;
}

.webo-nav-dropdown:hover .webo-dropdown-menu,
.webo-nav-dropdown.is-open .webo-dropdown-menu,
.webo-nav-dropdown:focus-within .webo-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.webo-dropdown-header {
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.webo-dropdown-tag {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #4f46e5;
}

.webo-dropdown-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
}

.webo-dropdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}

.webo-dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.6rem 0.75rem;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.webo-dropdown-item:hover {
    background: rgba(99, 102, 241, 0.06);
    transform: translateY(-1px);
}

.webo-dropdown-icon {
    font-size: 1.25rem;
    line-height: 1;
    margin-top: 2px;
}

.webo-dropdown-info {
    display: flex;
    flex-direction: column;
}

.webo-dropdown-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.25;
}

.webo-dropdown-desc {
    font-size: 0.74rem;
    color: #64748b;
    margin-top: 0.15rem;
    line-height: 1.35;
}

.webo-dropdown-footer {
    padding-top: 0.75rem;
    margin-top: 0.75rem;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    text-align: center;
}

.webo-dropdown-all-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: #4f46e5;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.15s;
}

.webo-dropdown-all-link:hover {
    color: #3730a3;
    text-decoration: underline;
}

/* Mobile Toggle & Backdrop Foundations */
.webo-nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(203, 213, 225, 0.8);
    border-radius: 10px;
    width: 2.6rem;
    height: 2.6rem;
    padding: 0;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    transition: all var(--transition-fast);
    z-index: 60;
}

.webo-nav-toggle:hover {
    background: rgba(99, 102, 241, 0.08);
    border-color: #6366f1;
}

.webo-nav-toggle:focus-visible {
    outline: 2px solid #6366f1;
    outline-offset: 2px;
}

.webo-nav-toggle-bar {
    width: 20px;
    height: 2px;
    background: #1e293b;
    border-radius: 2px;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, background-color 0.2s ease;
    transform-origin: center;
}

.webo-nav-backdrop {
    display: none;
}

/* Main Area */
.webo-main {
    flex: 1;
    padding-bottom: 4rem;
}

/* Hero Section */
.webo-hero {
    padding: 4rem 0 3rem;
    text-align: center;
    background: radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.08) 0%, transparent 70%);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    background: var(--color-primary-muted);
    border: 1px solid rgba(56, 189, 248, 0.25);
    color: var(--color-primary);
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.pulse-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: var(--color-primary);
    box-shadow: 0 0 8px var(--color-primary);
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
    background: linear-gradient(180deg, #ffffff 40%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

/* Diagnostic Grid */
.diagnostic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

/* Card Component */
.card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-surface-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--color-surface-border-subtle);
}

.card-title {
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* Metric Rows */
.metric-list {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.metric-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.metric-label {
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

.metric-value {
    color: var(--color-text);
    font-weight: 500;
}

/* Badges & Status Indicators */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.badge-success {
    background-color: var(--color-success-muted);
    color: var(--color-success);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-warning {
    background-color: var(--color-warning-muted);
    color: var(--color-warning);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-danger {
    background-color: var(--color-danger-muted);
    color: var(--color-danger);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-neutral {
    background-color: var(--color-surface-hover);
    color: var(--color-text-muted);
    border: 1px solid var(--color-surface-border);
}

.status-badge-ok {
    color: var(--color-success);
    font-weight: 600;
}

.status-badge-fail {
    color: var(--color-danger);
    font-weight: 600;
}

/* Alerts */
.alert {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
}

.alert-warning {
    background-color: var(--color-warning-muted);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fbbf24;
}

/* CLI Boxes */
.cli-command-box {
    margin-bottom: 0.85rem;
}

.cli-label {
    display: block;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin-bottom: 0.25rem;
}

.cli-code {
    display: block;
    background-color: #070a10;
    border: 1px solid var(--color-surface-border);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: #38bdf8;
    user-select: all;
}

/* Info Box */
.info-box {
    margin-top: 2rem;
    background-color: #0d131f;
    border-left: 4px solid var(--color-primary);
}

.info-box-title {
    font-size: 1.125rem;
    margin-bottom: 0.85rem;
}

.info-box-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-box-list li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--color-text-muted);
    font-size: 0.9375rem;
}

.info-box-list li::before {
    content: "âœ“";
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: 700;
}

/* Footer */
.webo-footer {
    border-top: 1px solid #e2e8f0;
    background-color: #ffffff;
    padding: 2.5rem 0;
    font-size: 0.875rem;
    color: #64748b;
}

.webo-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.webo-footer-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
}

.status-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
}

.status-green {
    background-color: var(--color-success);
    box-shadow: 0 0 6px var(--color-success);
}

.status-amber {
    background-color: var(--color-warning);
    box-shadow: 0 0 6px var(--color-warning);
}

/* Form & Authentication Components (Vibrant Light System) */
.auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3.5rem 1.5rem;
    min-height: calc(100vh - 12rem);
}

.auth-card {
    width: 100%;
    max-width: 460px;
    background-color: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 24px;
    padding: 2.75rem 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(99, 102, 241, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.02);
}

.dashboard-wrapper .auth-card,
.builder-workspace .auth-card,
.builder-editor-pane .auth-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-title {
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #0f172a;
    font-family: var(--font-display);
    margin-bottom: 0.4rem;
}

.auth-subtitle {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
}

.form-group {
    margin-bottom: 1.35rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.45rem;
}

.form-input {
    width: 100%;
    padding: 0.8rem 1.05rem;
    background-color: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    color: #0f172a;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
    background-color: #ffffff;
}

.form-input.is-invalid {
    border-color: #ef4444;
    background-color: #fef2f2;
}

.form-error {
    color: #dc2626;
    font-size: 0.825rem;
    font-weight: 600;
    margin-top: 0.4rem;
    display: block;
}

.form-help {
    color: #64748b;
    font-size: 0.825rem;
    margin-top: 0.4rem;
    display: block;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    border-radius: 12px;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.btn-primary {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.45);
}

.btn-block {
    width: 100%;
}

.btn-secondary {
    background-color: #ffffff;
    color: #334155;
    border: 1.5px solid #cbd5e1;
}

.btn-secondary:hover {
    background-color: #f8fafc;
    border-color: #94a3b8;
}

.auth-footer-links {
    margin-top: 1.75rem;
    padding-top: 1.35rem;
    border-top: 1px solid #f1f5f9;
    text-align: center;
    font-size: 0.9rem;
    color: #64748b;
}

.auth-footer-links a {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 700;
}

.auth-footer-links a:hover {
    text-decoration: underline;
}

.alert-success {
    background-color: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.alert-danger {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.alert-info {
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
}

/* ==========================================================================
   Modern Auth & Registration Split Stage (Matching Homepage Aesthetics)
   ========================================================================== */

.auth-split-wrapper {
    max-width: 1080px;
    margin: 3.5rem auto 4.5rem;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.auth-side-showcase {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.auth-side-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.95rem;
    background: #ffffff;
    border: 1px solid #e0e7ff;
    border-radius: 9999px;
    font-size: 0.825rem;
    font-weight: 700;
    color: #4f46e5;
    width: fit-content;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.08);
}

.auth-side-title {
    font-size: 2.75rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.18;
    letter-spacing: -0.03em;
}

.auth-side-desc {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.6;
}

.auth-archetype-mini-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin: 0.5rem 0;
}

.auth-mini-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    padding: 1rem 1.25rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    gap: 0.85rem;
    transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.auth-mini-card:hover {
    border-color: #c7d2fe;
    transform: translateY(-2px);
}

.auth-mini-emoji {
    font-size: 1.85rem;
}

.auth-mini-text strong {
    display: block;
    font-size: 0.95rem;
    color: #0f172a;
    font-weight: 800;
}

.auth-mini-text small {
    display: block;
    font-size: 0.775rem;
    color: #64748b;
}

.auth-trust-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: #475569;
    font-weight: 600;
    flex-wrap: wrap;
    padding-top: 0.75rem;
    border-top: 1px solid #e2e8f0;
}

.auth-trust-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.auth-trust-check {
    color: #059669;
    font-weight: 800;
}

/* ==========================================================================
   Modern Claim Page Stage (Matching Homepage Aesthetics)
   ========================================================================== */

.claim-page-stage {
    max-width: 820px;
    margin: 3.5rem auto 5rem;
    padding: 0 1.5rem;
}

.claim-stage-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 24px;
    padding: 3rem 2.75rem;
    box-shadow: 0 25px 60px -15px rgba(99, 102, 241, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.02);
}

.claim-header {
    text-align: center;
    margin-bottom: 2.25rem;
}

.claim-title {
    font-size: 2.25rem;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.03em;
    margin: 0.75rem 0 0.5rem;
}

.claim-subtitle {
    font-size: 1.05rem;
    color: #64748b;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.55;
}

.claim-current-banner {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-left: 5px solid #6366f1;
    border-radius: 16px;
    padding: 1.35rem 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.claim-current-banner strong {
    display: block;
    font-size: 0.875rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.25rem;
}

.claim-current-handle {
    font-family: var(--font-mono);
    font-size: 1.35rem;
    font-weight: 800;
    color: #4f46e5;
}

.claim-address-input-wrap {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 2px solid #cbd5e1;
    border-radius: 16px;
    padding: 0.5rem 0.65rem 0.5rem 1.25rem;
    transition: all var(--transition-fast);
}

.claim-address-input-wrap:focus-within {
    background: #ffffff;
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}

.claim-prefix {
    font-family: var(--font-mono);
    font-size: 1.15rem;
    font-weight: 800;
    color: #4f46e5;
    user-select: none;
}

.claim-input-field {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    padding: 0.4rem 0.5rem;
}

.claim-suffix {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: #94a3b8;
    user-select: none;
    padding-right: 0.5rem;
}

.claim-rules-box {
    margin: 2rem 0;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
}

.claim-rules-title {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #475569;
    margin-bottom: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.claim-rules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.claim-rule-item {
    font-size: 0.875rem;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.claim-rule-item::before {
    content: "•";
    color: #6366f1;
    font-weight: 800;
    font-size: 1.25rem;
    line-height: 1;
}

@media (max-width: 860px) {
    .auth-split-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-top: 1.5rem;
    }
    .claim-stage-card {
        padding: 2rem 1.5rem;
    }
    .claim-rules-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive Breakpoints */
@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }
    .webo-header-inner {
        height: 3.5rem;
    }
    .webo-footer-inner {
        flex-direction: column;
        text-align: center;
    }
    .auth-card {
        padding: 1.75rem 1.25rem;
    }
}

/* ==========================================================================
   WEBO â€” Digital Presence Platform Design System
   Approachable, Light, Human-Centric, Multi-Archetype Stylesheet
   ========================================================================== */

body.page-landing {
    --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #fafbfc;
    background-image: 
        radial-gradient(circle at 50% -80px, rgba(99, 102, 241, 0.12) 0%, rgba(244, 114, 182, 0.08) 35%, rgba(251, 146, 60, 0.04) 60%, transparent 80%),
        radial-gradient(circle at 92% 35%, rgba(56, 189, 248, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 8% 65%, rgba(168, 85, 247, 0.06) 0%, transparent 45%);
    background-attachment: fixed;
    color: #1e293b;
    font-family: var(--font-display);
    overflow-x: hidden;
}

/* Header Overrides */
body.page-landing .webo-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

body.page-landing .webo-logo-text {
    color: #0f172a;
    font-family: var(--font-display);
    font-weight: 800;
}

body.page-landing .webo-nav-link {
    color: #475569;
    font-weight: 600;
    font-size: 0.925rem;
}

body.page-landing .webo-nav-link:hover {
    color: #4f46e5;
    background: rgba(99, 102, 241, 0.06);
}

body.page-landing .webo-nav-link.btn-link-accent {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: #ffffff !important;
    padding: 0.55rem 1.15rem;
    border-radius: 9999px;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

body.page-landing .webo-nav-link.btn-link-accent:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

/* Section Shared Headers */
.section-header-center {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3.25rem;
}

.section-tag {
    display: inline-block;
    padding: 0.35rem 0.95rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
}

.section-tag-purple {
    background: #f5f3ff;
    color: #6d28d9;
    border: 1px solid #ddd6fe;
}

.section-tag-blue {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.section-heading {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.22;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
}

.section-lead {
    font-size: 1.15rem;
    color: #64748b;
    line-height: 1.6;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    padding: 4.5rem 0 3.5rem;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 1rem;
    background: #ffffff;
    border: 1px solid #e0e7ff;
    border-radius: 9999px;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.08);
    margin-bottom: 1.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #4f46e5;
}

.badge-sparkle {
    font-size: 1.05rem;
}

.hero-headline {
    font-size: 4.25rem;
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.035em;
    color: #0f172a;
    max-width: 860px;
    margin: 0 auto 1.5rem;
}

.headline-gradient {
    background: linear-gradient(135deg, #4338ca 0%, #7c3aed 40%, #ec4899 80%, #f59e0b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.65;
    color: #475569;
    max-width: 680px;
    margin: 0 auto 2.5rem;
}

/* Address Claim Card */
.hero-claim-card {
    max-width: 600px;
    margin: 0 auto 1.75rem;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    padding: 0.65rem;
    box-shadow: 0 20px 45px -12px rgba(99, 102, 241, 0.14), 0 0 0 1px rgba(99, 102, 241, 0.04);
    transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.hero-claim-card:hover {
    border-color: #c7d2fe;
    box-shadow: 0 24px 50px -10px rgba(99, 102, 241, 0.2);
}

.hero-claim-form {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.claim-input-box {
    display: flex;
    align-items: center;
    flex: 1;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.65rem 0.85rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.claim-input-box:focus-within {
    background: #ffffff;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.domain-prefix {
    font-family: var(--font-mono);
    color: #4f46e5;
    background: #eef2ff;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 700;
    user-select: none;
    margin-right: 0.5rem;
}

.claim-input-box input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #0f172a;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
}

.claim-input-box input::placeholder {
    color: #94a3b8;
    font-weight: 500;
}

.btn-claim-vibrant {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.6rem;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: var(--font-display);
    border-radius: 12px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: #ffffff;
    box-shadow: 0 4px 18px rgba(79, 70, 229, 0.35);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-claim-vibrant:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.45);
}

.claim-feedback {
    margin-top: 0.65rem;
    font-size: 0.875rem;
    font-weight: 500;
    min-height: 1.35rem;
    text-align: center;
}

.feedback-hint {
    color: #64748b;
}

.status-checking {
    color: #4f46e5;
}

.status-available {
    color: #059669;
    font-weight: 600;
}

.status-taken {
    color: #dc2626;
    font-weight: 600;
}

.status-warn {
    color: #d97706;
}

.hero-actions-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: #64748b;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.hero-text-link {
    color: #4f46e5;
    font-weight: 700;
    text-decoration: none;
}

.hero-text-link:hover {
    text-decoration: underline;
}

.hero-action-divider {
    color: #cbd5e1;
}

.hero-note-pill {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 0.2rem 0.65rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
}

/* ==========================================================================
   Interactive Showcase: Multi-Device Stage (Desktop + Mobile)
   ========================================================================== */

.showcase-section {
    padding: 4.5rem 0 6rem;
    background: #fafbfc;
}

/* Archetype Navigation Tabs */
.archetype-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.archetype-tab {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1.4rem;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    cursor: pointer;
    text-align: left;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.archetype-tab:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.archetype-tab.active {
    border-color: #6366f1;
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.18);
    transform: translateY(-2px);
}

.archetype-tab {
    user-select: none;
}

.tab-emoji,
.tab-meta {
    pointer-events: none;
}

.tab-emoji {
    font-size: 1.65rem;
}

.tab-meta strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
}

.tab-meta small {
    display: block;
    font-size: 0.775rem;
    color: #64748b;
}

.archetype-tab.active .tab-meta strong {
    color: #4f46e5;
}

/* Multi-Device Composition Stage */
.composition-stage {
    display: grid;
    grid-template-columns: 1fr 330px;
    gap: 1.75rem;
    max-width: 1140px;
    margin: 3.5rem auto 0;
    align-items: start;
}

/* Pre-rendered Archetype Panels Visibility Controller */
.desktop-archetype-panel,
.mobile-archetype-panel {
    display: none;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

.desktop-archetype-panel.active,
.mobile-archetype-panel.active {
    display: block;
    opacity: 1;
}

/* 1. Desktop Browser Mockup */
.desktop-mockup {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.02);
}

.browser-header {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-red { background: #f87171; }
.dot-yellow { background: #fbbf24; }
.dot-green { background: #34d399; }

.browser-address-bar {
    flex: 1;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.35rem 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.825rem;
    color: #475569;
}

.bar-ssl {
    font-size: 0.8rem;
    color: #10b981;
}

.bar-url {
    font-weight: 600;
}

.browser-chip {
    font-size: 0.725rem;
    font-weight: 700;
    color: #4f46e5;
    background: #eef2ff;
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
}

.desktop-screen {
    min-height: 480px;
    background: #ffffff;
    padding: 2rem;
}

/* 2. Mobile Companion Smartphone Mockup */
.mobile-companion-mockup {
    width: 330px;
    background: #f1f5f9;
    border: 8px solid #cbd5e1;
    border-radius: 46px;
    padding: 8px;
    box-shadow: 0 30px 65px -15px rgba(99, 102, 241, 0.22), 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.phone-frame {
    border-radius: 38px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    position: relative;
}

.phone-notch {
    height: 20px;
    background: #0f172a;
    border-radius: 0 0 14px 14px;
    width: 100px;
    margin: 0 auto;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-lens {
    width: 6px;
    height: 6px;
    background: #334155;
    border-radius: 50%;
}

.phone-inner-screen {
    min-height: 520px;
    padding: 28px 14px 20px;
    background: #ffffff;
}

/* ==========================================================================
   Mockup Archetype Interior Layouts (Business, Consultant, Creative)
   ========================================================================== */

/* Shared Mock Components */
.mock-website {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mock-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #f1f5f9;
}

.mock-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mock-logo {
    font-size: 1.85rem;
}

.mock-logo-square {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #1e1b4b;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mock-logo-round {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed, #ec4899);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mock-brand strong {
    display: block;
    font-size: 1.05rem;
    color: #0f172a;
    font-weight: 800;
}

.mock-brand small {
    display: block;
    font-size: 0.8rem;
    color: #64748b;
}

.mock-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mock-badge {
    font-size: 0.775rem;
    font-weight: 700;
    color: #059669;
    background: #ecfdf5;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
}

.badge-blue {
    color: #1d4ed8;
    background: #eff6ff;
}

.badge-purple {
    color: #6d28d9;
    background: #f5f3ff;
}

.mock-btn-sm {
    font-size: 0.825rem;
    font-weight: 700;
    color: #ffffff;
    background: #0f172a;
    padding: 0.45rem 0.95rem;
    border-radius: 8px;
    text-decoration: none;
}

.btn-navy {
    background: #1e1b4b;
}

.btn-purple {
    background: #7c3aed;
}

.mock-pill {
    display: inline-block;
    padding: 0.25rem 0.7rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.pill-gold {
    background: #fef3c7;
    color: #92400e;
}

.pill-navy {
    background: #e0e7ff;
    color: #3730a3;
}

.pill-violet {
    background: #ede9fe;
    color: #5b21b6;
}

/* Archetype A: Business (Bakery) */
.mock-hero-banner {
    border-radius: 16px;
    padding: 2.25rem;
    color: #ffffff;
}

.banner-business {
    background: linear-gradient(135deg, #78350f 0%, #b45309 60%, #d97706 100%);
}

.mock-hero-banner h2 {
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.mock-hero-banner p {
    font-size: 0.925rem;
    color: #fef3c7;
    max-width: 600px;
    line-height: 1.5;
}

.mock-grid-2col {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1.25rem;
}

.mock-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.25rem;
}

.mock-card h3 {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
}

.mock-menu-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-bottom: 0.65rem;
    border-bottom: 1px dashed #e2e8f0;
}

.menu-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.menu-item strong {
    display: block;
    font-size: 0.875rem;
    color: #0f172a;
}

.menu-item small {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
}

.item-price {
    font-weight: 800;
    font-size: 0.85rem;
    color: #b45309;
}

.mock-info-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.info-row {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
}

.info-icon {
    font-size: 1.1rem;
}

.info-row strong {
    display: block;
    font-size: 0.85rem;
    color: #0f172a;
}

.info-row small {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
}

/* Archetype B: Consultant */
.mock-hero-clean {
    padding: 0.5rem 0;
}

.mock-hero-clean h2 {
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.3;
    color: #0f172a;
    margin-bottom: 0.65rem;
}

.mock-hero-clean p {
    font-size: 0.95rem;
    color: #475569;
    max-width: 650px;
    line-height: 1.55;
}

.mock-grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.mock-service-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.15rem;
}

.service-icon {
    font-size: 1.45rem;
    margin-bottom: 0.5rem;
    display: block;
}

.mock-service-card h4 {
    font-size: 0.925rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.4rem;
}

.mock-service-card p {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.45;
}

.mock-footer-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
    font-size: 0.8rem;
    color: #64748b;
}

.mock-link-accent {
    color: #4f46e5;
    font-weight: 700;
    text-decoration: none;
}

/* Archetype C: Creative */
.mock-hero-creative h2 {
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.35;
    color: #0f172a;
    max-width: 650px;
    margin-bottom: 1rem;
}

.mock-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.portfolio-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}

.p-thumb {
    height: 120px;
    position: relative;
    padding: 0.5rem;
}

.thumb-1 { background: linear-gradient(135deg, #fbcfe8, #f472b6); }
.thumb-2 { background: linear-gradient(135deg, #c7d2fe, #818cf8); }
.thumb-3 { background: linear-gradient(135deg, #a7f3d0, #34d399); }

.p-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.85);
    color: #0f172a;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
}

.p-caption {
    padding: 0.75rem;
}

.p-caption strong {
    display: block;
    font-size: 0.85rem;
    color: #0f172a;
}

.p-caption span {
    display: block;
    font-size: 0.725rem;
    color: #64748b;
}

/* Mobile Screen Archetype Details */
.mobile-inner-content {
    display: flex;
    flex-direction: column;
}

.m-banner {
    height: 70px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.m-logo {
    font-size: 2rem;
}

.m-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 0.2rem;
}

.m-sub {
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 0.65rem;
}

.m-tag-row {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 0.65rem;
}

.m-tag {
    font-size: 0.7rem;
    font-weight: 700;
    color: #b45309;
    background: #fef3c7;
    padding: 0.15rem 0.5rem;
    border-radius: 9999px;
}

.m-about {
    font-size: 0.775rem;
    color: #475569;
    line-height: 1.45;
    margin-bottom: 1rem;
}

.m-section-label {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    margin-bottom: 0.4rem;
}

.m-item {
    display: flex;
    justify-content: space-between;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.5rem 0.65rem;
    font-size: 0.775rem;
    margin-bottom: 0.4rem;
}

.m-item strong {
    color: #b45309;
}

.m-info-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.6rem 0.65rem;
    font-size: 0.725rem;
    color: #475569;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.m-btn-primary {
    display: block;
    text-align: center;
    background: #0f172a;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.65rem;
    border-radius: 8px;
    text-decoration: none;
    margin-top: 0.5rem;
}

.m-consultant-head {
    text-align: center;
    margin-bottom: 0.75rem;
}

.m-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #312e81;
    color: #ffffff;
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
}

.m-creative-banner {
    height: 60px;
    background: linear-gradient(135deg, #c084fc, #f472b6);
    border-radius: 12px;
    position: relative;
    margin-bottom: 1.25rem;
}

.m-avatar-pill {
    position: absolute;
    bottom: -15px;
    left: 15px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #0f172a;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
}

.m-work-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
}

.m-work-thumb {
    height: 50px;
    border-radius: 6px;
    margin-bottom: 0.35rem;
}

.m-work-card strong {
    display: block;
    font-size: 0.775rem;
    color: #0f172a;
}

.m-work-card small {
    display: block;
    font-size: 0.675rem;
    color: #64748b;
}

/* ==========================================================================
   Capabilities Section (Alternating Light-Slate Background)
   ========================================================================== */

.capabilities-section {
    padding: 5.5rem 0 6.5rem;
    background: #f1f5f9;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.cap-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    padding: 2.25rem 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.cap-card:hover {
    transform: translateY(-4px);
    border-color: #c7d2fe;
    box-shadow: 0 18px 40px -12px rgba(99, 102, 241, 0.12);
}

.cap-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    margin-bottom: 1.25rem;
}

.bg-indigo-soft { background: #eef2ff; }
.bg-rose-soft { background: #ffe4e6; }
.bg-amber-soft { background: #fef3c7; }
.bg-teal-soft { background: #ccfbf1; }
.bg-sky-soft { background: #e0f2fe; }
.bg-violet-soft { background: #f3e8ff; }

.cap-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.65rem;
    line-height: 1.3;
}

.cap-desc {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
}

.cap-code {
    font-family: var(--font-mono);
    font-size: 0.85em;
    background: #f1f5f9;
    color: #4338ca;
    padding: 0.15rem 0.35rem;
    border-radius: 4px;
}

/* ==========================================================================
   Use Cases Section (Clean White Background)
   ========================================================================== */

.use-cases-section {
    padding: 5.5rem 0 6.5rem;
    background: #ffffff;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.case-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.case-card:hover {
    transform: translateY(-3px);
    border-color: #cbd5e1;
}

.case-card-interactive {
    cursor: pointer;
    transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.case-card-interactive:hover {
    border-color: #818cf8;
    box-shadow: 0 12px 28px rgba(99, 102, 241, 0.12);
}

.case-card-interactive:hover .case-example-link span {
    text-decoration: underline;
    color: #4338ca;
}

.case-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #4f46e5;
    background: #eef2ff;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
    align-self: flex-start;
}

.case-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 0.65rem;
}

.case-desc {
    font-size: 0.925rem;
    color: #475569;
    line-height: 1.55;
    margin-bottom: 1.25rem;
    flex: 1;
}

.case-example-link {
    font-size: 0.825rem;
    color: #94a3b8;
    padding-top: 0.85rem;
    border-top: 1px solid #f1f5f9;
}

.case-example-link span {
    font-family: var(--font-mono);
    color: #4f46e5;
    font-weight: 700;
}

/* ==========================================================================
   How It Works Section (Soft Slate Tint Background)
   ========================================================================== */

.how-it-works-section {
    padding: 5.5rem 0 6.5rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.steps-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    max-width: 1000px;
    margin: 0 auto;
}

.step-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    padding: 2.25rem 1.75rem;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.step-num {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #ffffff;
    font-weight: 900;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}

.step-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.step-desc {
    font-size: 0.925rem;
    color: #475569;
    line-height: 1.55;
}

/* ==========================================================================
   Pricing Section (Clean White Background)
   ========================================================================== */

.pricing-section-vibrant {
    padding: 5.5rem 0 6.5rem;
    background: #ffffff;
}

.pricing-deck {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    align-items: stretch;
    max-width: 1060px;
    margin: 0 auto;
}

.pricing-panel {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 24px;
    padding: 2.5rem 2rem;
    box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform var(--transition-fast);
}

.pricing-panel:hover {
    transform: translateY(-4px);
}

.panel-featured {
    border: 2px solid #4f46e5;
    box-shadow: 0 20px 45px -10px rgba(79, 70, 229, 0.2);
    transform: scale(1.02);
}

.panel-featured:hover {
    transform: scale(1.02) translateY(-4px);
}

.popular-ribbon {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #ffffff;
    font-size: 0.725rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.9rem;
    border-radius: 9999px;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}

.panel-plan-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.panel-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}

.currency {
    font-size: 1.6rem;
    font-weight: 700;
    color: #64748b;
}

.amount {
    font-size: 3.25rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1;
}

.billing {
    font-size: 0.9rem;
    color: #64748b;
}

.panel-tagline {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 2rem;
    min-height: 2.7rem;
}

.panel-perks {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 2.5rem;
    flex: 1;
}

.perk-item {
    font-size: 0.9rem;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.perk-item span {
    color: #10b981;
    font-weight: 800;
}

.perk-highlight strong {
    color: #4f46e5;
}

.btn-panel {
    display: block;
    text-align: center;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: var(--font-display);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.btn-panel-outline {
    background: #f8fafc;
    color: #0f172a;
    border: 1.5px solid #e2e8f0;
}

.btn-panel-outline:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.btn-panel-primary {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.35);
}

.btn-panel-primary:hover {
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.45);
    transform: translateY(-1px);
}

/* ==========================================================================
   FAQ Section (Soft Tinted Background)
   ========================================================================== */

.faq-section {
    padding: 5rem 0 6.5rem;
    background: #f1f5f9;
    border-top: 1px solid #e2e8f0;
}

.faq-accordion-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: border-color var(--transition-fast);
}

.faq-item[open] {
    border-color: #c7d2fe;
    box-shadow: 0 8px 20px -8px rgba(99, 102, 241, 0.1);
}

.faq-question {
    padding: 1.25rem 1.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    list-style: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-icon {
    font-size: 1.35rem;
    color: #4f46e5;
    font-weight: 700;
    transition: transform var(--transition-fast);
}

.faq-item[open] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem 1.35rem;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   Bottom Radiant CTA Banner
   ========================================================================== */

.banner-cta-section {
    padding: 3rem 0 6rem;
    background: #ffffff;
}

.banner-cta-card {
    background: linear-gradient(135deg, #4338ca 0%, #4f46e5 45%, #7c3aed 80%, #9333ea 100%);
    border-radius: 28px;
    padding: 4.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 60px -15px rgba(79, 70, 229, 0.4);
}

.banner-glow-circle {
    position: absolute;
    top: -50%;
    left: -20%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, transparent 70%);
    pointer-events: none;
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    margin: 0 auto;
}

.banner-title {
    font-size: 2.75rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
}

.banner-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 2.25rem;
}

.banner-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-banner-primary {
    background: #ffffff;
    color: #4338ca;
    padding: 0.95rem 1.85rem;
    font-size: 1rem;
    font-weight: 800;
    font-family: var(--font-display);
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-banner-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.btn-banner-secondary {
    background: rgba(255, 255, 255, 0.15);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    padding: 0.95rem 1.85rem;
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-display);
    border-radius: 12px;
    text-decoration: none;
    backdrop-filter: blur(10px);
    transition: background var(--transition-fast);
}

.btn-banner-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Landing Footer Polish */
body.page-landing .webo-footer {
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    color: #64748b;
}

body.page-landing .webo-footer-copy {
    color: #64748b;
}

body.page-landing .webo-footer a {
    color: #475569;
}

body.page-landing .webo-footer a:hover {
    color: #4f46e5;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 992px) {
    /* Mobile Header & Responsive Menu */
    .webo-nav-toggle {
        display: flex;
    }

    .webo-nav-toggle.is-open .webo-nav-toggle-bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
        background: #4f46e5;
    }

    .webo-nav-toggle.is-open .webo-nav-toggle-bar:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .webo-nav-toggle.is-open .webo-nav-toggle-bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
        background: #4f46e5;
    }

    .webo-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
        border-top: 1px solid rgba(226, 232, 240, 0.85);
        border-bottom: 1px solid rgba(226, 232, 240, 0.85);
        box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.12), 0 6px 16px -2px rgba(15, 23, 42, 0.05);
        padding: 1.25rem 1.5rem 1.75rem;
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        max-height: calc(100vh - 4.5rem);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-8px);
        transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
        pointer-events: none;
        z-index: 55;
    }

    .webo-nav.is-open {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .webo-nav-links-group {
        display: flex;
        flex-direction: column;
        gap: 0.35rem;
    }

    .webo-nav-link,
    body.page-landing .webo-nav-link {
        display: flex;
        align-items: center;
        padding: 0.8rem 1rem;
        border-radius: 10px;
        font-size: 1rem;
        font-weight: 600;
        color: #334155;
        background: transparent;
        transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
    }

    .webo-nav-link:hover,
    .webo-nav-link:active,
    .webo-nav-link.active,
    body.page-landing .webo-nav-link:hover {
        color: #4f46e5;
        background: rgba(99, 102, 241, 0.08);
        transform: translateX(4px);
    }

    /* Mobile Dropdown Menu */
    .webo-nav-dropdown {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .webo-nav-dropdown .webo-dropdown-trigger {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.8rem 1rem;
        border-radius: 10px;
        font-size: 1rem;
        font-weight: 600;
        color: #334155;
        background: transparent;
        transition: background-color var(--transition-fast), color var(--transition-fast);
        border: none;
        cursor: pointer;
    }

    .webo-nav-dropdown .webo-dropdown-trigger:hover,
    .webo-nav-dropdown.is-open .webo-dropdown-trigger {
        color: #4f46e5;
        background: rgba(99, 102, 241, 0.08);
    }

    .webo-nav-dropdown .webo-dropdown-caret {
        transition: transform 0.2s ease;
    }

    .webo-nav-dropdown.is-open .webo-dropdown-caret {
        transform: rotate(180deg);
    }

    .webo-nav-dropdown .webo-dropdown-menu {
        position: static;
        transform: none !important;
        width: 100%;
        max-width: 100%;
        background: #f8fafc;
        border: 1px solid rgba(226, 232, 240, 0.9);
        border-radius: 12px;
        box-shadow: none;
        padding: 0.85rem;
        margin-top: 0.25rem;
        display: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .webo-nav-dropdown.is-open .webo-dropdown-menu {
        display: block;
    }

    .webo-nav-dropdown .webo-dropdown-grid {
        grid-template-columns: 1fr;
        gap: 0.45rem;
    }

    .webo-nav-dropdown .webo-dropdown-item {
        padding: 0.65rem 0.75rem;
        background: #ffffff;
        border: 1px solid rgba(226, 232, 240, 0.65);
        border-radius: 8px;
    }

    .webo-nav-dropdown .webo-dropdown-item:hover {
        border-color: rgba(99, 102, 241, 0.4);
        background: rgba(99, 102, 241, 0.04);
        transform: none;
    }

    .webo-nav-dropdown .webo-dropdown-footer {
        padding-top: 0.5rem;
        margin-top: 0.5rem;
    }

    .webo-nav-actions-group {
        display: flex;
        flex-direction: column;
        gap: 0.65rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(226, 232, 240, 0.85);
    }

    .webo-nav-actions-group .webo-nav-link {
        justify-content: center;
        text-align: center;
    }

    .webo-nav-actions-group .btn-link-accent,
    body.page-landing .webo-nav-actions-group .btn-link-accent {
        padding: 0.8rem 1.5rem !important;
        font-size: 1rem !important;
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
        display: flex !important;
    }

    .webo-nav-logout-form {
        width: 100%;
        display: flex;
    }

    .webo-nav-logout-btn {
        width: 100%;
        justify-content: center;
        text-align: center;
        font-size: 1rem;
        padding: 0.8rem 1rem;
    }

    .webo-nav-backdrop {
        display: block;
        position: fixed;
        top: 4.5rem;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(15, 23, 42, 0.45);
        -webkit-backdrop-filter: blur(4px);
        backdrop-filter: blur(4px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s ease, visibility 0.25s;
        z-index: 45;
        pointer-events: none;
    }

    .webo-nav-backdrop.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    body.webo-nav-active {
        overflow: hidden;
    }

    .hero-headline {
        font-size: 3.15rem;
    }
    .composition-stage {
        grid-template-columns: 1fr;
    }
    .mobile-companion-mockup {
        margin: 2rem auto 0;
    }
    .capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pricing-deck {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }
    .panel-featured {
        transform: scale(1);
    }
    .panel-featured:hover {
        transform: translateY(-4px);
    }
}

@media (max-width: 640px) {
    .webo-nav {
        max-height: calc(100vh - 3.5rem);
        padding: 1rem 1.25rem 1.5rem;
    }

    .webo-nav-backdrop {
        top: 3.5rem;
    }

    .hero-section {
        padding: 3rem 0 2rem;
    }
    .hero-headline {
        font-size: 2.25rem;
    }
    .hero-claim-form {
        flex-direction: column;
    }
    .btn-claim-vibrant {
        width: 100%;
        justify-content: center;
    }
    .capabilities-grid {
        grid-template-columns: 1fr;
    }
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
    .steps-row {
        grid-template-columns: 1fr;
    }
    .banner-cta-card {
        padding: 3rem 1.25rem;
    }
    .banner-title {
        font-size: 2rem;
    }
    .desktop-screen {
        padding: 1.25rem 1rem;
    }
    .mock-grid-2col,
    .mock-grid-3col,
    .mock-portfolio-grid {
        grid-template-columns: 1fr;
    }
    .mock-hero-banner {
        padding: 1.5rem 1rem;
    }
    .mock-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    .mock-nav-actions {
        width: 100%;
        justify-content: space-between;
    }
    .mock-footer-strip {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

@media (max-width: 380px) {
    .hero-headline {
        font-size: 1.85rem;
    }
    .hero-description {
        font-size: 1.05rem;
    }
    .archetype-tab {
        width: 100%;
    }
    .mobile-companion-mockup {
        width: 100%;
        max-width: 300px;
    }
}

/* ==========================================================================
   Homepage: Curated Starter Templates Showcase Section
   ========================================================================== */

.templates-showcase-section {
    padding: 5rem 0 6rem;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.home-tmpl-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.75rem;
    flex-wrap: wrap;
}

.home-tmpl-pill {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    padding: 0.45rem 1rem;
    border-radius: 9999px;
    font-size: 0.825rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.home-tmpl-pill:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.home-tmpl-pill.active {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.28);
}

.home-tmpl-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 2rem;
    margin-top: 2.75rem;
}

.home-tmpl-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
    position: relative;
}

.home-tmpl-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 35px -8px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(99, 102, 241, 0.35);
    border-color: #a5b4fc;
}

.home-tmpl-thumb-wrap {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #0f172a;
}

.home-tmpl-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-tmpl-card:hover .home-tmpl-thumb-img {
    transform: scale(1.05);
}

.home-tmpl-thumb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 0.1) 40%, rgba(15, 23, 42, 0.85) 100%);
}

.home-tmpl-top-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

.home-tmpl-cat-badge {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    color: #38bdf8;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.home-tmpl-icon-badge {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.home-tmpl-bottom-info {
    position: absolute;
    bottom: 0.95rem;
    left: 1.15rem;
    right: 1.15rem;
    color: #ffffff;
    z-index: 2;
}

.home-tmpl-badge-eyebrow {
    font-size: 0.72rem;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.home-tmpl-name-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.home-tmpl-body {
    padding: 1.35rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.25rem;
}

.home-tmpl-tagline {
    font-size: 0.875rem;
    font-weight: 700;
    color: #4f46e5;
    margin-bottom: 0.45rem;
    line-height: 1.4;
}

.home-tmpl-desc {
    margin: 0 0 1rem 0;
    font-size: 0.835rem;
    color: #64748b;
    line-height: 1.55;
    min-height: 2.6rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-tmpl-tags {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.home-tmpl-tag {
    font-size: 0.72rem;
    font-weight: 500;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
}

.home-tmpl-footer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 0.85rem;
    border-top: 1px dashed #e2e8f0;
}

.home-tmpl-specs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: #64748b;
}

.home-tmpl-actions {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 0.65rem;
}

.home-tmpl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    font-size: 0.835rem;
    font-weight: 600;
    padding: 0.6rem 0.95rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    text-decoration: none;
}

.home-tmpl-btn-secondary {
    background: #f8fafc;
    color: #0f172a;
    border: 1px solid #cbd5e1;
}

.home-tmpl-btn-secondary:hover {
    background: #e2e8f0;
    border-color: #94a3b8;
    transform: translateY(-1px);
}

.home-tmpl-btn-primary {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.28);
}

.home-tmpl-btn-primary:hover {
    background: linear-gradient(135deg, #4338ca 0%, #4f46e5 100%);
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.4);
    transform: translateY(-1px);
}

.home-tmpl-banner {
    margin-top: 3.5rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.25);
}

.home-tmpl-banner-text h3 {
    font-size: 1.45rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.02em;
}

.home-tmpl-banner-text p {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    max-width: 580px;
}

.home-tmpl-banner-actions {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .home-tmpl-grid {
        grid-template-columns: 1fr;
    }
    .home-tmpl-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem 1.5rem;
    }
}

/* =========================================================================
   Live Template Preview Modal & Homepage Card Preview Additions
   ========================================================================= */

.home-tmpl-thumb-wrap {
    cursor: pointer;
}

.home-tmpl-hover-preview {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 3;
    pointer-events: none;
}

.home-tmpl-card:hover .home-tmpl-hover-preview {
    opacity: 1;
}

.home-tmpl-hover-preview span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.95);
    color: #0f172a;
    font-size: 0.8125rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
    transition: transform 0.25s ease;
}

.home-tmpl-card:hover .home-tmpl-hover-preview span {
    transform: translateY(0);
}

/* Template Preview Modal */
.tmpl-preview-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(14px);
    z-index: 99999;
    display: flex;
    flex-direction: column;
}

.tmpl-preview-toolbar {
    background: rgba(18, 24, 38, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.85rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    z-index: 10;
}

.tmpl-toolbar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-tmpl-modal-close {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #f8fafc;
    padding: 0.45rem 0.85rem;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-tmpl-modal-close:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.tmpl-modal-meta {
    display: flex;
    flex-direction: column;
}
.tmpl-modal-title {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
}
.tmpl-modal-sub {
    color: #94a3b8;
    font-size: 0.75rem;
}

.tmpl-device-switcher {
    display: inline-flex;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 3px;
    border-radius: 8px;
}

.device-toggle {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 0.85rem;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.15s ease;
}
.device-toggle:hover {
    color: #ffffff;
}
.device-toggle.active {
    background: #4f46e5;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.4);
}

.tmpl-toolbar-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-tmpl-modal-newtab {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
    padding: 0.45rem 0.85rem;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}
.btn-tmpl-modal-newtab:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.btn-tmpl-modal-primary {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 0.5rem 1.15rem;
    border-radius: 8px;
    font-size: 0.84rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-tmpl-modal-primary:hover {
    background: linear-gradient(135deg, #4338ca 0%, #4f46e5 100%);
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.5);
    transform: translateY(-1px);
    color: #ffffff;
}

.tmpl-preview-stage {
    flex: 1;
    overflow: auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 1.5rem 1rem;
    background: #080d1a;
}

.tmpl-frame-wrapper {
    background: #ffffff;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    height: 100%;
    min-height: 650px;
}
.tmpl-frame-wrapper.desktop-view {
    width: 100%;
    max-width: 100%;
    border-radius: 8px;
}
.tmpl-frame-wrapper.mobile-view {
    width: 375px;
    max-width: 375px;
    height: 750px;
    max-height: 90vh;
    border-radius: 36px;
    border: 10px solid #1e293b;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.8), 0 0 0 2px rgba(255,255,255,0.1);
}

.tmpl-preview-frame {
    width: 100%;
    height: 100%;
    border: none;
    min-height: 700px;
    display: block;
}

.tmpl-frame-loading {
    position: absolute;
    inset: 0;
    background: #0f172a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 500;
    z-index: 5;
}

.tmpl-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: #6366f1;
    border-radius: 50%;
    animation: tmplSpin 0.8s linear infinite;
}

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

@media (max-width: 768px) {
    .tmpl-preview-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .tmpl-toolbar-left,
    .tmpl-device-switcher,
    .tmpl-toolbar-right {
        justify-content: center;
    }
    .tmpl-frame-wrapper.mobile-view {
        width: 100%;
        max-width: 100%;
        border-radius: 8px;
        border: none;
    }
}

