:root {
    --primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --success: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --warning: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --danger: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);

    --bg-dark: #0f0f23;
    --bg-card: rgba(255, 255, 255, 0.05);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --border-color: rgba(255, 255, 255, 0.1);
    --accent-primary: #4776e6;
    --accent-glow: rgba(71, 118, 230, 0.2);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-dark);
    background-image:
        radial-gradient(at 0% 0%, rgba(102, 126, 234, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(118, 75, 162, 0.1) 0px, transparent 50%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

.app-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.app-header {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px 32px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-icon {
    font-size: 48px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.logo-text h1 {
    font-size: 28px;
    font-weight: 800;
    background: var(--primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.logo-text p {
    font-size: 14px;
    color: var(--text-secondary);
}

.header-stats {
    display: flex;
    gap: 16px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px 24px;
    text-align: center;
    min-width: 100px;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    background: var(--bg-card-hover);
}

.stat-value {
    display: block;
    font-size: 32px;
    font-weight: 800;
    background: var(--success);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* Navigation Tabs */
.nav-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.tab-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px 24px;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.tab-btn:hover {
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: var(--primary);
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

.tab-icon {
    font-size: 20px;
}

/* Main Content */
.main-content {
    position: relative;
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.section-header {
    margin-bottom: 32px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 16px;
}

/* Cards */
.card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-lg);
}

.card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

/* Grid Layouts */
.content-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    align-items: flex-start;
}

.left-column {
    flex: 1;
    min-width: 400px;
    max-width: 1000px;
    margin: 0 auto;
}

#teacherResult {
    flex: 1;
    min-width: 400px;
    max-width: 600px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

.wide-card {
    grid-column: 1 / -1;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.form-group input[type="text"],
.form-group input[type="number"] {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 15px;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group input[type="range"] {
    width: calc(100% - 60px);
    margin-right: 12px;
}

.range-value {
    display: inline-block;
    min-width: 40px;
    padding: 4px 12px;
    background: var(--primary);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    text-align: center;
}

/* Buttons */
.btn {
    padding: 14px 28px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.btn-primary {
    background: var(--primary);
    color: white;
    width: 100%;
    margin-top: 20px;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Upload Area */
.upload-area {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 48px 24px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.upload-area:hover {
    border-color: var(--accent-primary);
    background: var(--accent-glow);
}

.upload-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.image-preview {
    position: relative;
    margin: 20px 0;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.image-preview img {
    width: 100%;
    height: auto;
    display: block;
}

/* Scan Animation Effect */
.scan-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 5;
    overflow: hidden;
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to bottom, transparent, var(--accent-primary), transparent);
    box-shadow: 0 0 20px var(--accent-primary), 0 0 10px var(--accent-primary);
    animation: scan 2.5s ease-in-out infinite;
    z-index: 6;
}

@keyframes scan {
    0% {
        top: 0;
    }

    50% {
        top: 100%;
    }

    100% {
        top: 0;
    }
}

.btn-remove {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 107, 107, 0.9);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 18px;
    transition: var(--transition);
}

.btn-remove:hover {
    transform: scale(1.1);
}

/* Stress Score Circle */
.stress-score {
    display: flex;
    justify-content: center;
    margin: 32px 0;
}

/* Emotion Section Refinement */
.emotion-section {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.emotion-chart {
    position: relative;
    margin: 0 auto;
    width: 100%;
    aspect-ratio: 1;
}

.score-circle {
    position: relative;
    width: 200px;
    height: 200px;
}

.score-circle svg {
    transform: rotate(-90deg);
}

.score-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 12;
}

.score-fill {
    fill: none;
    stroke: url(#scoreGradient);
    stroke-width: 12;
    stroke-linecap: round;
    stroke-dasharray: 565;
    stroke-dashoffset: 565;
    transition: stroke-dashoffset 1s ease-in-out;
}

.score-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.score-number {
    display: block;
    font-size: 48px;
    font-weight: 800;
    background: var(--primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.score-label {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 4px;
    text-transform: uppercase;
    font-weight: 600;
}

/* Recommendations */
.recommendations {
    margin-top: 24px;
}

.recommendation-item {
    background: rgba(255, 255, 255, 0.03);
    border-left: 4px solid;
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 12px;
    transition: var(--transition);
}

.recommendation-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(4px);
}

.recommendation-item.priority-high {
    border-color: #ff6b6b;
}

.recommendation-item.priority-medium {
    border-color: #ffd93d;
}

.recommendation-item.priority-low {
    border-color: #6bcf7f;
}

.recommendation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.recommendation-title {
    font-weight: 700;
    font-size: 16px;
}

.priority-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.priority-badge.high {
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
}

.priority-badge.medium {
    background: rgba(255, 217, 61, 0.2);
    color: #ffd93d;
}

.priority-badge.low {
    background: rgba(107, 207, 127, 0.2);
    color: #6bcf7f;
}

.recommendation-description {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 12px;
}

.action-items {
    list-style: none;
    padding-left: 0;
}

.action-items li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    font-size: 14px;
    color: var(--text-secondary);
}

.action-items li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #667eea;
}

/* Alerts */
.alerts-section {
    margin: 24px 0;
}

.alert-item {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 12px;
}

.alert-item.severity-high {
    background: rgba(255, 107, 107, 0.15);
    border-color: rgba(255, 107, 107, 0.5);
}

.alert-item.severity-medium {
    background: rgba(255, 217, 61, 0.1);
    border-color: rgba(255, 217, 61, 0.3);
}

.alert-item.severity-low {
    background: rgba(107, 207, 127, 0.1);
    border-color: rgba(107, 207, 127, 0.3);
}

.alert-title {
    font-weight: 700;
    margin-bottom: 4px;
}

.alert-description {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Toast Notifications - Premium Refinement */
.toast-container {
    position: fixed;
    top: 32px;
    right: 32px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 16px;
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    min-width: 350px;
    max-width: 480px;
    padding: 18px 24px;
    background: rgba(15, 15, 35, 0.8);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    color: white;
    transform: translateX(120%);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    animation: toastSlideIn 0.8s forwards;
    position: relative;
    overflow: hidden;
}

.toast-icon {
    font-size: 28px;
    line-height: 1;
    flex-shrink: 0;
}

.toast-content {
    flex: 1;
    padding-top: 2px;
}

.toast-title {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.toast-message {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    font-weight: 400;
}

.toast-close {
    cursor: pointer;
    font-size: 16px;
    opacity: 0.4;
    transition: var(--transition);
    margin-top: 4px;
}

.toast-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Toast Color Variants - More Subtle and Premium */
.toast-success {
    border-top: 4px solid #4facfe;
}

.toast-success .toast-title {
    color: #4facfe;
}

.toast-error {
    border-top: 4px solid #ff6b6b;
}

.toast-error .toast-title {
    color: #ff6b6b;
}

.toast-info {
    border-top: 4px solid #667eea;
}

.toast-info .toast-title {
    color: #667eea;
}

/* Progress Bar - Thinner and Elegant */
.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 100%;
    background: var(--primary);
    transform-origin: left;
    animation: toastProgress 5s linear forwards;
    opacity: 0.8;
}

.toast-error .toast-progress {
    background: #ff6b6b;
}

.toast-success .toast-progress {
    background: #4facfe;
}

@keyframes toastSlideIn {
    to {
        transform: translateX(0);
    }
}

@keyframes toastOut {
    to {
        transform: translateX(120%);
        opacity: 0;
    }
}

@keyframes toastProgress {
    from {
        transform: scaleX(1);
    }

    to {
        transform: scaleX(0);
    }
}

.toast.hiding {
    animation: toastOut 0.6s forwards;
}

/* Emotional Map */
.emotional-map {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.class-emotion-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    transition: var(--transition);
}

.class-emotion-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.class-name {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 8px;
}

.wellness-score {
    font-size: 36px;
    font-weight: 800;
    background: var(--success);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.age-group {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* Rankings */
.rankings-list {
    margin-top: 20px;
}

.ranking-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    transition: var(--transition);
}

.ranking-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.rank-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
}

.rank-info {
    flex: 1;
}

.rank-class-name {
    font-weight: 700;
    margin-bottom: 4px;
}

.rank-details {
    font-size: 13px;
    color: var(--text-secondary);
}

.rank-score {
    font-size: 24px;
    font-weight: 800;
    background: var(--success);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Interventions */
.interventions-list {
    margin-top: 20px;
}

.intervention-item {
    background: rgba(255, 255, 255, 0.03);
    border-left: 4px solid;
    border-radius: var(--radius-sm);
    padding: 20px;
    margin-bottom: 16px;
}

.intervention-item.priority-critical {
    border-color: #ff6b6b;
}

.intervention-item.priority-high {
    border-color: #ffa500;
}

.intervention-item.priority-medium {
    border-color: #ffd93d;
}

.intervention-item.priority-low {
    border-color: #6bcf7f;
}

.intervention-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 12px;
}

.intervention-title {
    font-weight: 700;
    font-size: 18px;
}

.category-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
}

.intervention-description {
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.affected-classes {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.estimated-impact {
    font-size: 14px;
    color: #6bcf7f;
    font-weight: 600;
    margin-top: 12px;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 35, 0.9);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 9999;
}

.loading-overlay.active {
    display: flex;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.loading-overlay p {
    margin-top: 20px;
    font-size: 16px;
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 768px) {

    .content-grid,
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-stats {
        width: 100%;
        justify-content: space-between;
    }

    .nav-tabs {
        overflow-x: auto;
    }
}

/* Webcam Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: #1a1a2e;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    width: 90%;
    max-width: 640px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-content h3 {
    text-align: center;
    margin: 0;
}

.video-container {
    width: 100%;
    background: #000;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
}

#webcamVideo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleX(-1);
    /* Mirror effect */
}

.modal-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.upload-options {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.separator-text {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 4px 0;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

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

/* Analysis Layout - vertical stack */
.analysis-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    width: 100%;
}

.analysis-grid .form-card {
    width: 100%;
    max-width: 650px;
    /* Uniform width for vertical flow */
}

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

.analysis-grid .card {
    height: 100%;
    margin-bottom: 0;
}

#teacherDeepAnalysisForm {
    transition: all 0.5s ease-out;
    opacity: 0.5;
    pointer-events: none;
    filter: grayscale(0.5);
}

#teacherDeepAnalysisForm.active {
    opacity: 1;
    pointer-events: all;
    filter: none;
    border: 1px solid var(--accent-primary);
    box-shadow: 0 0 20px var(--accent-glow);
}

/* Privacy Notes - Integrated & Compact */
.privacy-notes {
    border-radius: var(--radius-md);
    padding: 0;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.privacy-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.privacy-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.privacy-item span {
    font-size: 14px;
}

/* Range Value Box - Premium Style */
.range-value-box {
    background: #6c5ce7;
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 700;
    min-width: 44px;
    text-align: center;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.3);
}

.range-container input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    outline: none;
}

.range-container input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: #0084ff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 132, 255, 0.5);
    border: 2px solid white;
}

/* Footer Styles - Premium Refinement */
.app-footer {
    margin-top: 40px;
    padding: 30px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    background: linear-gradient(to bottom, transparent, rgba(71, 118, 230, 0.03));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.app-footer .disclaimer {
    font-size: 13px;
    color: var(--text-secondary);
    opacity: 0.7;
    line-height: 1.8;
    margin-bottom: 24px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.app-footer .disclaimer strong {
    color: var(--accent-primary);
    font-weight: 600;
}

.app-footer .slogan {
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(135deg, #4776e6, #8e54e9);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
    font-style: italic;
    opacity: 0.9;
    text-shadow: 0 10px 20px rgba(71, 118, 230, 0.1);
}

@media (max-width: 768px) {
    .app-footer {
        margin-top: 50px;
        padding: 40px 15px;
    }

    .app-footer .disclaimer {
        font-size: 12px;
        line-height: 1.6;
    }

    .app-footer .slogan {
        font-size: 18px;
    }
}