html, body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #374151;
    background-color: #f8fafc;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #6366f1;
    border-color: #5855eb;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

/* Blazor Error UI - Hidden by default, only shown on error */
#blazor-error-ui {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA9NCwwODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgaDkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: none; /* Hidden by default */
}

#blazor-error-ui .reload {
    color: white;
    text-decoration: underline;
    font-weight: bold;
}

#blazor-error-ui .dismiss {
    color: white;
    float: right;
    cursor: pointer;
    margin-left: 1rem;
    font-weight: bold;
}

/* Show the error UI when Blazor sets it to visible */
#blazor-error-ui:not([hidden]) {
    display: block;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA9NCwwODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgaDkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* Arcanite Studios - Custom Styles */

:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --dark-color: #1f2937;
    --light-color: #f8fafc;
    --border-color: #e5e7eb;
    --text-color: #374151;
    --text-muted: #6b7280;
}

/* Base Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--dark-color);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-muted);
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    backdrop-filter: blur(10px);
    background-color: rgba(31, 41, 55, 0.95) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-logo {
    height: 32px;
    width: auto;
}

.navbar-brand-text {
    font-weight: 700;
    font-size: 1.25rem;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: rgba(99, 102, 241, 0.1);
    color: var(--primary-color) !important;
}

.nav-link.active {
    background-color: var(--primary-color);
    color: white !important;
}

/* Hero Section */
.hero-section {
    min-height: 90vh;
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-color) 100%);
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,1000 1000,800 1000,0 0,200"/></svg>');
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-logo-image {
    max-height: 500px;
    width: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.hero-buttons .btn {
    margin: 0.5rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-color) 100%);
    position: relative;
    color: white;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.05)" points="1000,0 0,200 0,1000 1000,800"/></svg>');
    background-size: cover;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

/* Content Wrapper */
.content-wrapper {
    padding-top: 100px;
    padding-bottom: 3rem;
}

/* Feature Cards */
.feature-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-card h4, .feature-card h5 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Service Cards */
.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-top: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.service-features li:last-child {
    border-bottom: none;
}

/* Process Steps */
.process-step {
    padding: 2rem;
}

.process-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Contact */
.contact-form, .contact-info {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 10px;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-details h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Demo Sections */
.demo-section {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.demo-browser {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    background: white;
    transition: all 0.3s ease;
}

.demo-browser.minimized .demo-content {
    height: 50px;
    overflow: hidden;
}

.demo-browser.maximized {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    margin: 20px;
    border-radius: 15px;
}

.demo-browser-header {
    background: #f8f9fa;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.demo-browser-buttons {
    display: flex;
    gap: 0.5rem;
    margin-right: 1rem;
}

.btn-close-demo, .btn-minimize-demo, .btn-maximize-demo {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-close-demo:hover, .btn-minimize-demo:hover, .btn-maximize-demo:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

.demo-address-bar {
    background: white;
    padding: 0.25rem 0.75rem;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    font-size: 0.875rem;
    color: var(--text-muted);
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.demo-content {
    padding: 1.5rem;
    min-height: 300px;
}

.demo-dashboard {
    display: flex;
    gap: 1rem;
    height: 100%;
    flex-direction: column;
}

.demo-sidebar {
    width: 150px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
}

.demo-nav-item {
    padding: 0.5rem;
    border-radius: 5px;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.demo-nav-item:hover {
    background: var(--primary-color);
    color: white;
}

.demo-nav-item.active {
    background: var(--primary-color);
    color: white;
}

.demo-main {
    flex: 1;
    padding: 0 1rem;
}

.demo-card {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.demo-card.clickable {
    cursor: pointer;
}

.demo-card.clickable:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.demo-card .pulse {
    animation: pulse 1s ease-in-out;
}

.demo-metric {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.demo-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Enhanced Interactive Showcase Styles */

/* Interactive Demo Browser */
.demo-browser {
    transition: all 0.3s ease;
}

.demo-browser.minimized .demo-content {
    height: 50px;
    overflow: hidden;
}

.demo-browser.maximized {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    margin: 20px;
    border-radius: 15px;
}

.demo-browser-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.demo-address-bar {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-close-demo, .btn-minimize-demo, .btn-maximize-demo {
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-close-demo:hover, .btn-minimize-demo:hover, .btn-maximize-demo:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

/* Interactive Demo Dashboard */
.demo-nav-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.demo-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.demo-card {
    position: relative;
    transition: all 0.3s ease;
}

.demo-card.clickable {
    cursor: pointer;
}

.demo-card.clickable:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.demo-card .pulse {
    animation: pulse 1s ease-in-out;
}

.demo-trend {
    margin-top: 0.5rem;
    font-size: 0.875rem;
}

/* Interactive Charts */
.demo-chart {
    padding: 1rem;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.chart-bars {
    display: flex;
    align-items: end;
    gap: 4px;
    height: 100px;
    margin-top: 1rem;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(to top, var(--primary-color), var(--secondary-color));
    border-radius: 2px 2px 0 0;
    transition: all 0.5s ease;
    min-height: 10px;
}

.chart-bar:hover {
    opacity: 0.8;
}

/* Analytics Dashboard */
.analytics-demo {
    padding: 1rem 0;
}

.metric-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.metric-card h6 {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.metric-card h3 {
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.metric-card small {
    font-weight: 600;
}

/* User Management */
.user-list {
    max-height: 300px;
    overflow-y: auto;
}

.user-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.user-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.user-item.online {
    border-left: 4px solid #28a745;
}

.user-item.offline {
    border-left: 4px solid #6c757d;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-info {
    flex: 1;
}

.user-info strong {
    display: block;
    font-weight: 600;
}

.user-info small {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.user-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    min-width: 80px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-dot.online {
    background: #28a745;
}

.status-dot.offline {
    background: #6c757d;
}

/* Settings Demo */
.settings-demo {
    padding: 1rem 0;
}

.setting-group {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.setting-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

/* Enhanced Mobile Frame */
.mobile-frame {
    width: 320px;
    height: 640px;
    background: #1c1c1e;
    border-radius: 30px;
    padding: 20px 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    margin: 0 auto;
    transition: all 0.6s ease;
}

.mobile-frame::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #666;
    border-radius: 2px;
}

.mobile-frame::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #666;
    border-radius: 2px;
}

.mobile-frame.shake {
    animation: shake 0.6s ease-in-out;
}

@keyframes shake {
    0%, 20%, 50%, 80%, 100% { transform: translateX(0); }
    10% { transform: translateX(-5px) rotate(-1deg); }
    30% { transform: translateX(5px) rotate(1deg); }
    60% { transform: translateX(-3px) rotate(-0.5deg); }
    70% { transform: translateX(3px) rotate(0.5deg); }
}

.mobile-screen {
    width: 100%;
    height: 580px;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.mobile-screen.dark-theme {
    background: #1f2937;
    color: white;
    transition: all 0.3s ease;
}

.mobile-status-bar {
    background: #f8f9fa;
    padding: 8px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 600;
    border-bottom: 1px solid #e5e7eb;
}

.mobile-screen.dark-theme .mobile-status-bar {
    background: #374151;
    border-bottom-color: #4b5563;
    color: white;
}

.status-icons {
    display: flex;
    gap: 0.5rem;
}

.mobile-header {
    background: var(--primary-color);
    color: white;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-header h6 {
    margin: 0;
    font-weight: 600;
}

.mobile-header .btn {
    color: white;
    border: none;
    background: transparent;
    font-size: 1.1rem;
}

.mobile-nav {
    background: #f8f9fa;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-around;
    border-bottom: 1px solid #e5e7eb;
}

.mobile-screen.dark-theme .mobile-header {
    background: linear-gradient(135deg, #4c1d95, var(--primary-color));
}

.mobile-screen.dark-theme .mobile-nav {
    background: #374151;
    border-bottom-color: #4b5563;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    min-width: 60px;
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #6b7280;
}

.mobile-nav-item:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
}

.mobile-nav-item.active {
    background: var(--primary-color);
    color: white;
}

.mobile-nav-item i {
    font-size: 1.2rem;
}

.mobile-nav-item span {
    font-size: 0.75rem;
    font-weight: 500;
}

.mobile-body {
    flex: 1;
    padding: 1rem 20px;
    overflow-y: auto;
}

.mobile-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.mobile-screen.dark-theme .mobile-card {
    background: #374151;
    border-color: #4b5563;
    color: white;
}

.mobile-card:hover {
    transform: scale(1.02);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mobile-card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    position: relative;
}

.mobile-card-content {
    margin-top: 1rem;
}

.mobile-card .metric {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.mobile-card .label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.notification-badge {
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: auto;
    position: absolute;
    right: 0;
    top: -5px;
}

/* Mobile Profile */
.mobile-profile {
    text-align: center;
    padding: 1rem 0;
}

.profile-avatar {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.mobile-profile h6 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.mobile-profile p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.profile-stats {
    display: flex;
    justify-content: space-around;
    margin: 1.5rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.mobile-screen.dark-theme .profile-stats {
    background: #4b5563;
}

.stat {
    text-align: center;
}

.stat strong {
    display: block;
    font-size: 1.25rem;
    color: var(--primary-color);
    font-weight: 700;
}

.stat small {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Mobile Settings */
.mobile-settings {
    padding: 1rem 0;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 0.5rem;
}

.mobile-screen.dark-theme .setting-item {
    background: #4b5563;
}

.setting-item span {
    font-weight: 500;
}

.sync-status {
    font-weight: 600;
    color: var(--primary-color);
}

/* Database Interface */
.db-interface {
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
}

.db-toolbar {
    background: var(--dark-color);
    color: white;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.db-toolbar .btn {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

.db-schema {
    padding: 2rem;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.db-table {
    background: #f8f9fa;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    min-width: 250px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.db-table:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.db-table.selected {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
    background: rgba(99, 102, 241, 0.05);
}

.db-table-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--dark-color);
    font-size: 1.1rem;
}

.db-fields {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid #e5e7eb;
}

.db-field {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f3f4f6;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
}

.db-field:last-child {
    border-bottom: none;
}

.field-type {
    font-size: 0.75rem;
    color: var(--text-muted);
    background: #e9ecef;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
}

.db-relation {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.db-data-view {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1rem;
    border: 1px solid #e5e7eb;
}

.db-data-view h6 {
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.db-data-view .table {
    margin-bottom: 0;
    font-size: 0.875rem;
}

.db-data-view .table th {
    background: #f8f9fa;
    color: var(--dark-color);
    font-weight: 600;
    border-bottom: 2px solid var(--primary-color);
    padding: 0.75rem;
}

.db-data-view .table td {
    padding: 0.75rem;
    vertical-align: middle;
}

.db-data-view .badge {
    font-size: 0.75rem;
    font-weight: 600;
}

.btn-xs {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
}

.db-stats {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}

.db-stats h6 {
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
    font-weight: 500;
}

.stat-item:last-child {
    border-bottom: none;
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive Enhancements for Showcase */
@media (max-width: 768px) {
    .demo-dashboard {
        flex-direction: column;
    }
    
    .demo-sidebar {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .demo-nav-item {
        display: inline-block;
        margin-right: 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    .mobile-frame {
        width: 280px;
        height: 560px;
    }
    
    .db-schema {
        gap: 1rem;
    }
    
    .analytics-card .card-metric {
        font-size: 1.5rem;
    }
    
    .live-chart {
        height: 150px;
    }
    
    .chart-bars {
        height: 80px;
    }
}

@media (max-width: 576px) {
    .demo-browser-header {
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
    }
    
    .demo-address-bar {
        justify-content: center;
    }
    
    .mobile-frame {
        width: 250px;
        height: 480px;
    }
    
    .demo-content {
        padding: 1rem;
    }
    
    .analytics-dashboard .row {
        margin-bottom: 1rem;
    }
    
    .tech-item {
        padding: 1.5rem 1rem;
    }
    
    .user-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .db-toolbar {
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
    }
    
    .db-toolbar .btn {
        width: 100%;
    }
}

/* Mobile Screen Dark Theme Enhancements */
.mobile-screen.dark-theme {
    background: #1f2937;
    color: white;
    transition: all 0.3s ease;
}

.mobile-screen.dark-theme .mobile-status-bar {
    background: #374151;
    border-bottom-color: #4b5563;
    color: white;
}

.mobile-screen.dark-theme .mobile-header {
    background: linear-gradient(135deg, #4c1d95, var(--primary-color));
}

.mobile-screen.dark-theme .mobile-nav {
    background: #374151;
    border-bottom-color: #4b5563;
}

.mobile-screen.dark-theme .mobile-nav-item {
    color: #d1d5db;
}

.mobile-screen.dark-theme .mobile-nav-item:hover {
    background: rgba(99, 102, 241, 0.2);
    color: white;
}

.mobile-screen.dark-theme .mobile-nav-item.active {
    background: var(--primary-color);
    color: white;
}

.mobile-screen.dark-theme .mobile-card {
    background: #374151;
    border-color: #4b5563;
    color: white;
}

.mobile-screen.dark-theme .mobile-card:hover {
    background: #4b5563;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.mobile-screen.dark-theme .profile-stats {
    background: #4b5563;
}

.mobile-screen.dark-theme .setting-item {
    background: #4b5563;
    border-color: #6b7280;
}

.mobile-screen.dark-theme .metric {
    color: #a78bfa !important;
}

.mobile-screen.dark-theme .label,
.mobile-screen.dark-theme .sync-status,
.mobile-screen.dark-theme .theme-status {
    color: #d1d5db !important;
}

.mobile-screen.dark-theme .stat strong {
    color: #a78bfa !important;
}

.mobile-screen.dark-theme .stat small {
    color: #9ca3af !important;
}

/* Theme transition effects */
.mobile-screen {
    transition: all 0.3s ease;
}

.mobile-card {
    transition: all 0.3s ease;
}

.setting-item {
    transition: all 0.3s ease;
}

/* Theme status styling */
.theme-status {
    font-weight: 600;
    color: var(--primary-color);
}

.mobile-screen.dark-theme .theme-status {
    color: #a78bfa !important;
}

/* Enhanced notification badge */
.notification-badge {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Form switches in dark mode */
.mobile-screen.dark-theme .form-check-input {
    background-color: #4b5563;
    border-color: #6b7280;
}

.mobile-screen.dark-theme .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Dark mode indicator */
.mobile-screen.dark-theme .mobile-header::after {
    content: '??';
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.875rem;
    opacity: 0.7;
}

/* ...existing code continues... */