/* ========================================
   Proctly - Light Theme Stylesheet
   ======================================== */

:root {
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    --accent-cyan: #0891b2;
    --accent-emerald: #059669;
    --accent-rose: #e11d48;
    --surface-light: #f8fafc;
    --surface-card: #ffffff;
    --surface-elevated: #f1f5f9;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border-subtle: rgba(148, 163, 184, 0.25);
    --glow-primary: rgba(99, 102, 241, 0.15);
    --glow-cyan: rgba(8, 145, 178, 0.1);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background: var(--surface-light);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Animated Background - Light Version */
.bg-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background:
            radial-gradient(ellipse 80% 50% at 20% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
            radial-gradient(ellipse 60% 40% at 80% 80%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
            radial-gradient(ellipse 40% 60% at 50% 50%, rgba(8, 145, 178, 0.04) 0%, transparent 50%),
            var(--surface-light);
    animation: meshMove 20s ease-in-out infinite alternate;
}

@keyframes meshMove {
    0% { transform: scale(1) rotate(0deg); }
    100% { transform: scale(1.1) rotate(3deg); }
}

/* Grid Pattern Overlay - Light Version */
.grid-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image:
            linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
            linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* ========================================
   Navbar
   ======================================== */
.navbar-custom {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.navbar-custom.scrolled {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    padding: 0.5rem 1.25rem !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary) !important;
    background: var(--surface-elevated);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

/* ========================================
   Buttons
   ======================================== */
.btn-glow {
    background: var(--primary-gradient);
    border: none;
    padding: 0.75rem 1.75rem;
    border-radius: 12px;
    font-weight: 600;
    color: white;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px var(--glow-primary);
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--glow-primary);
    color: white;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: 0.5s;
}

.btn-glow:hover::before {
    left: 100%;
}

.btn-outline-glow {
    background: transparent;
    border: 1px solid rgba(99, 102, 241, 0.4);
    padding: 0.75rem 1.75rem;
    border-radius: 12px;
    font-weight: 600;
    color: #6366f1;
    transition: all 0.3s ease;
}

.btn-outline-glow:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: #6366f1;
    color: #6366f1;
}

/* ========================================
   Page Header
   ======================================== */
.page-header {
    padding: 10rem 0 4rem;
    text-align: center;
    position: relative;
}

.page-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--surface-card);
    border: 1px solid var(--border-subtle);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--accent-cyan);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.page-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.page-title .gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   Content Sections
   ======================================== */
.section {
    padding: 4rem 0;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-cyan);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 600px;
}

/* ========================================
   Content Cards
   ======================================== */
.content-card {
    background: var(--surface-card);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 3rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
}

.content-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.content-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: var(--text-primary);
}

.content-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.content-card ul,
.content-card ol {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.content-card li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.content-card a {
    color: #6366f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.content-card a:hover {
    color: #8b5cf6;
}

.last-updated {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

/* ========================================
   Contact Page
   ======================================== */
.contact-info-card {
    background: var(--surface-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.contact-info-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.contact-icon.violet {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}

.contact-icon.cyan {
    background: rgba(8, 145, 178, 0.1);
    color: var(--accent-cyan);
}

.contact-icon.emerald {
    background: rgba(5, 150, 105, 0.1);
    color: var(--accent-emerald);
}

.contact-info-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-info-card p {
    color: var(--text-secondary);
    margin-bottom: 0;
    font-size: 0.95rem;
}

.contact-info-card a {
    color: #6366f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-card a:hover {
    color: #8b5cf6;
}

/* Contact Form */
.contact-form-card {
    background: var(--surface-card);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-md);
}

.form-label {
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    background: var(--surface-light);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 0.875rem 1rem;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    background: var(--surface-card);
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    color: var(--text-primary);
}

.form-control::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-text {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* Support Hours */
.support-hours {
    background: var(--surface-elevated);
    border-radius: 12px;
    padding: 1rem;
    margin-top: 0.5rem;
}

.support-hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-subtle);
}

.support-hours-item:last-child {
    border-bottom: none;
}

.support-hours-item .timezone {
    font-weight: 500;
    color: var(--text-primary);
}

.support-hours-item .hours {
    color: var(--accent-emerald);
    font-size: 0.9rem;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--surface-card);
    border-top: 1px solid var(--border-subtle);
    padding: 3rem 0 2rem;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-text {
    color: var(--text-secondary);
    max-width: 300px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    margin-top: 2rem;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--text-secondary);
    margin: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--surface-elevated);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-gradient);
    color: white;
}

/* ========================================
   Compliance Badges
   ======================================== */
.compliance-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.compliance-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--surface-elevated);
    border: 1px solid var(--border-subtle);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.compliance-badge i {
    color: var(--accent-emerald);
}

/* ========================================
   Hero Section
   ======================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--surface-card);
    border: 1px solid var(--border-subtle);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--accent-cyan);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
    box-shadow: var(--shadow-sm);
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--accent-emerald);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.1s both;
    color: var(--text-primary);
}

.hero-title .gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.3s both;
}

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

/* Dashboard Preview */
.dashboard-preview {
    position: relative;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.preview-card {
    background: var(--surface-card);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
    background: var(--surface-elevated);
}

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

.preview-dot.red { background: #ef4444; }
.preview-dot.yellow { background: #f59e0b; }
.preview-dot.green { background: #22c55e; }

.preview-content {
    padding: 1.5rem;
    background: var(--surface-card);
}

/* Live Monitor Grid */
.monitor-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.monitor-item {
    background: var(--surface-elevated);
    border-radius: 16px;
    padding: 1rem;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}

.monitor-video {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    border-radius: 12px;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.monitor-video::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
            radial-gradient(circle at 30% 40%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 70% 60%, rgba(8, 145, 178, 0.08) 0%, transparent 50%);
}

.monitor-video i {
    font-size: 2rem;
    color: var(--text-secondary);
    opacity: 0.5;
}

.monitor-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.student-name {
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--text-primary);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-badge.active {
    background: rgba(5, 150, 105, 0.1);
    color: var(--accent-emerald);
}

.status-badge.warning {
    background: rgba(245, 158, 11, 0.1);
    color: #b45309;
}

.status-badge.alert {
    background: rgba(225, 29, 72, 0.1);
    color: var(--accent-rose);
}

.status-badge .indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.live-indicator {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(225, 29, 72, 0.9);
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: white;
}

.live-indicator::before {
    content: '';
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

/* Floating Elements */
.floating-card {
    position: absolute;
    background: var(--surface-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 1rem;
    animation: float 6s ease-in-out infinite;
    box-shadow: var(--shadow-lg);
}

.floating-card.alert-card {
    bottom: -20px;
    left: -40px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation-delay: 0.5s;
}

.floating-card.stats-card {
    top: 20%;
    right: -30px;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.alert-icon {
    width: 40px;
    height: 40px;
    background: rgba(225, 29, 72, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-rose);
}

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

.alert-text strong {
    display: block;
    margin-bottom: 0.125rem;
    color: var(--text-primary);
}

.alert-text span {
    color: var(--text-secondary);
    font-size: 0.75rem;
}

.stats-card .stat-value {
    font-size: 2rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    color: var(--accent-cyan);
}

.stats-card .stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(180deg, transparent 0%, rgba(99, 102, 241, 0.03) 50%, transparent 100%);
    position: relative;
}

.stat-box {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Feature Cards */
.feature-card {
    background: var(--surface-card);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 2rem;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: var(--shadow-xl);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.feature-icon.violet {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}

.feature-icon.cyan {
    background: rgba(8, 145, 178, 0.1);
    color: var(--accent-cyan);
}

.feature-icon.emerald {
    background: rgba(5, 150, 105, 0.1);
    color: var(--accent-emerald);
}

.feature-icon.rose {
    background: rgba(225, 29, 72, 0.1);
    color: var(--accent-rose);
}

.feature-icon.amber {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

.feature-icon.purple {
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.feature-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Data Cards */
.data-card {
    background: var(--surface-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 1.75rem;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.data-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.data-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.data-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

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

/* How It Works - Steps */
.step-card {
    position: relative;
    padding-left: 4rem;
    margin-bottom: 3rem;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 48px;
    height: 48px;
    background: var(--primary-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
}

.step-card::after {
    content: '';
    position: absolute;
    left: 23px;
    top: 56px;
    bottom: -2rem;
    width: 2px;
    background: linear-gradient(to bottom, rgba(99, 102, 241, 0.3), transparent);
}

.step-card:last-child::after {
    display: none;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.step-text {
    color: var(--text-secondary);
}

/* Integration Section */
.integration-section {
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.integration-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem 2rem;
    background: var(--surface-elevated);
    border-radius: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.integration-logo:hover {
    background: var(--surface-card);
    color: var(--text-primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.integration-logo i {
    font-size: 1.5rem;
}

.integration-logo.featured {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: var(--text-primary);
}

.integration-logo.featured:hover {
    background: rgba(99, 102, 241, 0.15);
}

.featured-badge {
    font-size: 0.65rem;
    background: var(--primary-gradient);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: white;
}

/* CTA Section */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-box {
    background: var(--surface-card);
    border: 1px solid var(--border-subtle);
    border-radius: 32px;
    padding: 4rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), transparent);
}

.cta-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* ========================================
   Scroll Animation
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Auth Section (Login/Signup)
   ======================================== */
.auth-section {
    min-height: 100vh;
    padding: 2rem 0;
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.auth-section .container {
    position: relative;
    z-index: 1;
}

.auth-logo img {
    transition: transform 0.3s ease;
}

.auth-logo:hover img {
    transform: scale(1.05);
}

/* Auth Card */
.auth-card {
    background: var(--surface-card);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
    z-index: 1;
}

.auth-card-header {
    padding: 2rem 2rem 0;
    text-align: center;
}

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

.auth-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.auth-card-body {
    padding: 2rem;
}

/* Auth Form Styles */
.auth-form .form-label {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.auth-form .form-label i {
    color: var(--accent-cyan);
    font-size: 0.875rem;
}

.auth-form .form-control {
    background: var(--surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 0.875rem 1rem;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.auth-form .form-control:focus {
    background: var(--surface-card);
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    color: var(--text-primary);
    outline: none;
}

.auth-form .form-control::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

.auth-form .form-control:hover {
    border-color: rgba(99, 102, 241, 0.3);
}

/* Auth Form Error Messages */
.auth-form .invalid-feedback,
.auth-form .help-block {
    color: var(--accent-rose);
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.auth-form .form-control.is-invalid,
.auth-form .has-error .form-control {
    border-color: var(--accent-rose);
}

.auth-form .has-error .form-control:focus {
    box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.1);
}

/* Auth Form Submit Button */
.auth-form .btn-glow {
    background: var(--primary-gradient);
    border: none;
    padding: 0.875rem 1.75rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    color: white;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px var(--glow-primary);
}

.auth-form .btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--glow-primary);
    color: white;
}

.auth-form .btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
}

.auth-form .btn-glow:hover::before {
    left: 100%;
}

/* Forgot Password Link */
.forgot-link {
    color: #6366f1;
    font-size: 0.8rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-link:hover {
    color: #8b5cf6;
    text-decoration: none;
}

/* Custom Checkbox (Remember Me) */
.custom-checkbox {
    display: flex;
    align-items: center;
}

.remember-me-field {
    display: flex;
    align-items: center;
    margin: 0;
}

.custom-checkbox-input {
    width: 18px;
    height: 18px;
    background: var(--surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 5px;
    margin-right: 0.75rem;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    transition: all 0.3s ease;
}

.custom-checkbox-input:checked {
    background: var(--primary-gradient);
    border-color: #6366f1;
}

.custom-checkbox-input:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-checkbox-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.custom-checkbox-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    margin: 0;
    user-select: none;
}

/* Auth Divider */
.auth-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-subtle);
}

.auth-divider span {
    padding: 0 1rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Auth Footer Text */
.auth-footer-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

.auth-link {
    color: #6366f1;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.auth-link:hover {
    color: #8b5cf6;
    text-decoration: none;
}

/* Security Badge */
.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--surface-elevated);
    border: 1px solid var(--border-subtle);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.security-badge i {
    color: var(--accent-emerald);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 992px) {
    .page-header {
        padding: 8rem 0 3rem;
    }

    .hero-section {
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .dashboard-preview {
        margin-top: 3rem;
    }

    .floating-card {
        display: none;
    }

    .content-card {
        padding: 2rem;
    }

    .contact-form-card {
        padding: 2rem;
    }

    .cta-box {
        padding: 3rem 2rem;
    }
}

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

    .footer-links {
        gap: 1rem;
    }

    .content-card {
        padding: 1.5rem;
    }

    .contact-form-card {
        padding: 1.5rem;
    }

    .cta-box {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .auth-card-header {
        padding: 1.5rem 1.5rem 0;
    }

    .auth-card-body {
        padding: 1.5rem;
    }

    .auth-title {
        font-size: 1.5rem;
    }

    .forgot-link {
        font-size: 0.75rem;
    }
}

/* ========================================
   Alert Messages
   ======================================== */
.alert-success-custom {
    background: rgba(5, 150, 105, 0.1);
    border: 1px solid rgba(5, 150, 105, 0.2);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    color: var(--accent-emerald);
}

.alert-error-custom {
    background: rgba(225, 29, 72, 0.1);
    border: 1px solid rgba(225, 29, 72, 0.2);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    color: var(--accent-rose);
}

/* ========================================
   Scrollbar - Light Theme
   ======================================== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--surface-elevated);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.4);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(148, 163, 184, 0.6);
}

/* Selection */
::selection {
    background: rgba(99, 102, 241, 0.15);
    color: var(--text-primary);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* ========================================
   Sub Navigation Bar (Dashboard Area)
   ======================================== */
.subnav-bar {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.subnav-scroll {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0.5rem 0;
}

.subnav-scroll::-webkit-scrollbar {
    display: none;
}

.subnav-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    position: relative;
}

.subnav-item i {
    font-size: 1rem;
}

.subnav-item:hover {
    color: #6366f1;
    background: rgba(99, 102, 241, 0.06);
    text-decoration: none;
}

.subnav-item.active {
    color: #6366f1;
    background: rgba(99, 102, 241, 0.08);
    font-weight: 600;
}

.subnav-item.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

/* Main Content (No Sidebar) */
.main-content-full {
    min-height: calc(100vh - 130px);
    padding: 1.5rem 2rem;
    margin-top: 130px; /* navbar + subnav */
}

@media (max-width: 992px) {
    .subnav-bar {
        top: 72px;
    }

    .subnav-item {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .main-content-full {
        margin-top: 120px;
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .subnav-item span {
        display: none;
    }

    .subnav-item {
        padding: 0.5rem 0.75rem;
    }

    .main-content-full {
        padding: 0.75rem;
    }
}

/* ========================================
   Media Tabs Navigation
   ======================================== */
.media-tabs-container {
    background: white;
    border-radius: 16px 16px 0 0;
    padding: 0;
    margin-bottom: 0;
    position: sticky;
    top: 80px;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.media-tabs {
    display: flex;
    border-bottom: 2px solid #f3f4f6;
    padding: 0 1rem;
    margin: 0;
    list-style: none;
    gap: 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.media-tabs::-webkit-scrollbar {
    display: none;
}

.media-tabs .nav-item {
    flex-shrink: 0;
}

.media-tabs .nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.media-tabs .nav-link:hover {
    color: var(--text-primary);
    background: var(--surface-elevated);
}

.media-tabs .nav-link.active {
    color: #6366f1;
    border-bottom-color: #6366f1;
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.05) 0%, transparent 100%);
}

.media-tabs .nav-link i {
    font-size: 1.125rem;
}

.tab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 0.5rem;
    background: var(--surface-elevated);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.media-tabs .nav-link.active .tab-badge {
    background: rgba(99, 102, 241, 0.15);
    color: #6366f1;
}

.tab-badge.violation {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.media-tabs .nav-link.active .tab-badge.violation {
    background: rgba(239, 68, 68, 0.2);
    animation: violationPulse 2s ease-in-out infinite;
}

@keyframes violationPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
    }
}

/* Tab Content */
.tab-content {
    background: transparent;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: tabFadeIn 0.3s ease;
}

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

/* Responsive Tabs */
@media (max-width: 768px) {
    .media-tabs .nav-link span {
        display: none;
    }

    .media-tabs .nav-link {
        padding: 1rem;
    }

    .media-tabs .nav-link i {
        font-size: 1.25rem;
    }

    .tab-badge {
        min-width: 20px;
        height: 20px;
        font-size: 0.688rem;
    }

    .media-tabs-container {
        top: 60px;
    }
}