/* SLA - Premium Glassmorphic Design System */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --bg-dark: #04050a;
    --bg-card: rgba(10, 12, 22, 0.45);
    --border-light: rgba(255, 255, 255, 0.07);
    --border-hover: rgba(0, 242, 254, 0.3);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    /* Neon Accents */
    --neon-cyan: #00f2fe;
    --neon-indigo: #6366f1;
    --neon-purple: #a855f7;
    --neon-pink: #ec4899;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    --gradient-accent: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    --gradient-dark: linear-gradient(180deg, #0d0e15 0%, #05060b 100%);
    --gradient-glow: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
    
    /* Shadows & Glows */
    --glow-cyan: 0 0 20px rgba(0, 242, 254, 0.35);
    --glow-indigo: 0 0 25px rgba(99, 102, 241, 0.3);
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    
    /* Transition */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Mode Overrides */
html.light-mode {
    --bg-dark: #f8fafc;
    --bg-card: rgba(255, 255, 255, 0.65);
    --border-light: rgba(15, 23, 42, 0.08);
    --border-hover: rgba(0, 242, 254, 0.4);
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    
    /* Neon Accents adjusted for light mode readability */
    --neon-cyan: #0284c7;
    --neon-indigo: #4f46e5;
    --neon-purple: #7c3aed;
    --neon-pink: #db2777;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0284c7 0%, #3b82f6 100%);
    --gradient-accent: linear-gradient(135deg, #7c3aed 0%, #db2777 100%);
    --gradient-dark: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    --gradient-glow: radial-gradient(circle, rgba(99, 102, 241, 0.06) 0%, rgba(255, 255, 255, 0) 70%);
    
    /* Shadows & Glows */
    --glow-cyan: 0 0 15px rgba(2, 132, 199, 0.2);
    --glow-indigo: 0 0 15px rgba(79, 70, 229, 0.15);
    --shadow-glass: 0 8px 32px 0 rgba(15, 23, 42, 0.06);
}

/* Light Mode Specific Components Overrides */
html.light-mode .navbar.scrolled {
    background: rgba(248, 250, 252, 0.8);
}

html.light-mode .footer {
    background: rgba(241, 245, 249, 0.95);
}

html.light-mode .admin-sidebar {
    background: rgba(241, 245, 249, 0.85);
}

html.light-mode .admin-topbar {
    background: rgba(241, 245, 249, 0.45);
}

html.light-mode .dashboard-showcase {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(241, 245, 249, 0.8) 100%);
}

html.light-mode .console-container {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(15, 23, 42, 0.15);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.7);
}

html.light-mode .console-widget,
html.light-mode .showcase-stat-box {
    background: rgba(0, 0, 0, 0.02);
}

html.light-mode .grid-cell {
    background: rgba(0, 0, 0, 0.03);
}

html.light-mode .glow-orb-1 {
    background: radial-gradient(circle, rgba(2, 132, 199, 0.12) 0%, rgba(99, 102, 241, 0) 70%);
}

html.light-mode .glow-orb-2 {
    background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, rgba(236, 72, 153, 0) 70%);
}

html.light-mode .glow-orb-3 {
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, rgba(2, 132, 199, 0) 70%);
}

html.light-mode .grid-overlay {
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
}

html.light-mode .btn-glass {
    background: rgba(15, 23, 42, 0.04);
}

html.light-mode .btn-glass:hover {
    background: rgba(15, 23, 42, 0.08);
    border-color: rgba(15, 23, 42, 0.2);
}

html.light-mode .admin-table th {
    background: rgba(0, 0, 0, 0.02);
}

html.light-mode .admin-table tr:hover td {
    background: rgba(0, 0, 0, 0.015);
}

html.light-mode .glass-input {
    background: rgba(0, 0, 0, 0.015);
}

html.light-mode .glass-input:focus {
    background: rgba(0, 0, 0, 0.03);
}

html.light-mode .alert-box {
    background: rgba(2, 132, 199, 0.06);
    border-color: rgba(2, 132, 199, 0.2);
}

/* Theme Toggle Button Style - Pill Design */
.theme-toggle-btn.pill-toggle {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    width: 68px;
    height: 34px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.theme-toggle-btn.pill-toggle:hover {
    border-color: var(--neon-cyan);
    box-shadow: var(--glow-cyan);
    transform: scale(1.03);
}

.theme-toggle-btn.pill-toggle .toggle-thumb {
    position: absolute;
    top: 3px;
    left: 4px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--gradient-primary);
    box-shadow: var(--glow-cyan);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.4s ease, box-shadow 0.4s ease;
    z-index: 1;
}

.theme-toggle-btn.pill-toggle i {
    width: 16px;
    height: 16px;
    position: relative;
    z-index: 2;
    transition: color 0.4s ease, opacity 0.4s ease;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Light mode state: thumb slides to the right, moon is highlighted, sun is dimmed */
html.light-mode .theme-toggle-btn.pill-toggle .toggle-thumb {
    transform: translateX(32px);
    background: var(--gradient-accent);
    box-shadow: 0 0 12px rgba(124, 58, 237, 0.4);
}

/* Light mode: sun is on the left, moon is on the right */
html.light-mode .theme-toggle-btn.pill-toggle .sun-icon {
    color: var(--text-muted);
    opacity: 0.6;
}

html.light-mode .theme-toggle-btn.pill-toggle .moon-icon {
    color: #fff;
    opacity: 1;
}

/* Dark mode state: thumb is on the left, sun is highlighted, moon is dimmed */
html:not(.light-mode) .theme-toggle-btn.pill-toggle .toggle-thumb {
    transform: translateX(0);
}

html:not(.light-mode) .theme-toggle-btn.pill-toggle .sun-icon {
    color: #04050a; /* dark text contrast on neon cyan thumb */
    opacity: 1;
}

html:not(.light-mode) .theme-toggle-btn.pill-toggle .moon-icon {
    color: var(--text-muted);
    opacity: 0.6;
}

/* Responsive adjustments for theme toggle in navbar */
@media (max-width: 768px) {
    .theme-toggle-btn.pill-toggle {
        margin-left: auto;
        margin-right: 16px;
    }
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Background Ambient Glows */
.ambient-glows {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.45;
    animation: floatOrb 25s infinite alternate ease-in-out;
}

.glow-orb-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.25) 0%, rgba(99, 102, 241, 0) 70%);
}

.glow-orb-2 {
    top: 45%;
    right: -15%;
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.22) 0%, rgba(236, 72, 153, 0) 70%);
    animation-delay: -5s;
}

.glow-orb-3 {
    bottom: -10%;
    left: 15%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, rgba(0, 242, 254, 0) 70%);
    animation-delay: -10s;
}

@keyframes floatOrb {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(5%, 10%) scale(1.1);
    }
    100% {
        transform: translate(-5%, -5%) scale(0.95);
    }
}

/* Grid overlay background */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: -1;
}

/* Glassmorphism Styles */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    box-shadow: var(--shadow-glass);
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    pointer-events: none;
}

.glass-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: 0 12px 40px rgba(0, 242, 254, 0.1);
}

/* Typography styles */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-alt {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 100;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(4, 5, 10, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
}

.navbar-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    color: var(--neon-cyan);
    text-shadow: var(--glow-cyan);
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-btn {
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    background: transparent;
    border: 1px solid var(--border-light);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.nav-btn:hover {
    border-color: var(--neon-cyan);
    box-shadow: var(--glow-cyan);
    color: var(--bg-dark);
    background: var(--neon-cyan);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 30px;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.15);
    color: var(--neon-cyan);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-title {
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 800;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-neon {
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 700;
    color: var(--bg-dark);
    background: var(--gradient-primary);
    box-shadow: var(--glow-cyan);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-neon:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.6);
}

.btn-glass {
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Interactive Maintenance Console Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
}

.console-container {
    width: 100%;
    max-width: 420px;
    height: auto;
    min-height: 440px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(10, 12, 22, 0.6);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    position: relative;
}

.console-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.console-dots {
    display: flex;
    gap: 8px;
}

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

.console-dot.red { background-color: #ff5f56; }
.console-dot.yellow { background-color: #ffbd2e; }
.console-dot.green { background-color: #27c93f; }

.console-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.console-widget {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.widget-label {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    display: flex;
    justify-content: space-between;
}

.widget-value {
    font-size: 28px;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: var(--text-primary);
}

.value-cyan { color: var(--neon-cyan); text-shadow: 0 0 10px rgba(0, 242, 254, 0.2); }
.value-indigo { color: var(--neon-indigo); text-shadow: 0 0 10px rgba(99, 102, 241, 0.2); }

/* Animated maintenance grid mock */
.maintenance-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.grid-cell {
    height: 36px;
    border-radius: 6px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.grid-cell.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.25;
    animation: pulseActive 2s infinite ease-in-out;
}

.grid-cell.maintenance::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-accent);
    opacity: 0.35;
    animation: pulseMaintenance 1.5s infinite alternate ease-in-out;
}

@keyframes pulseActive {
    0%, 100% { opacity: 0.15; }
    50% { opacity: 0.35; }
}

@keyframes pulseMaintenance {
    0% { opacity: 0.2; }
    100% { opacity: 0.55; }
}

.sparkline {
    width: 100%;
    height: 40px;
    background: linear-gradient(90deg, rgba(0, 242, 254, 0.1), transparent);
    clip-path: polygon(0% 100%, 10% 40%, 20% 60%, 30% 20%, 40% 70%, 50% 50%, 60% 80%, 70% 30%, 80% 50%, 90% 15%, 100% 45%, 100% 100%);
    border-bottom: 2px solid var(--neon-cyan);
    animation: drawSpark 3s infinite alternate linear;
}

/* Responsive Split Grid Layout */
.split-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 64px;
    align-items: center;
}

.split-grid.reverse {
    grid-template-columns: 0.8fr 1.2fr;
}

@media (max-width: 992px) {
    .split-grid, .split-grid.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Sections Global */
.section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-subtitle {
    font-size: 13px;
    font-weight: 700;
    color: var(--neon-cyan);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: 44px;
    margin-bottom: 20px;
    font-weight: 800;
}

.section-description {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
}

.service-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon-cyan);
    font-size: 24px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: var(--bg-dark);
    box-shadow: var(--glow-cyan);
    border-color: transparent;
}

.service-card-title {
    font-size: 22px;
    font-weight: 700;
}

.service-card-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Other Things - Maintenance details */
.maintenance-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.maintenance-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.maintenance-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--neon-purple);
    color: var(--neon-purple);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.2);
}

.feature-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

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

.dashboard-showcase {
    padding: 32px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    background: linear-gradient(135deg, rgba(20, 22, 37, 0.7) 0%, rgba(10, 12, 22, 0.8) 100%);
    border: 1px solid var(--border-light);
}

.showcase-stat-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.showcase-stat-box {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.showcase-value {
    font-size: 36px;
    font-weight: 800;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--neon-cyan);
}

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

/* Contact form container */
.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 48px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
    justify-content: center;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: center;
}

.info-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon-cyan);
}

.info-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-value {
    font-size: 16px;
    font-weight: 600;
}

.contact-form-panel {
    padding: 48px;
    border-radius: 24px;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.glass-input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition-smooth);
}

.glass-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
}

textarea.glass-input {
    resize: none;
    min-height: 120px;
}

/* Alert Notification box */
.alert-box {
    padding: 16px 20px;
    border-radius: 12px;
    background: rgba(0, 242, 254, 0.06);
    border: 1px solid rgba(0, 242, 254, 0.2);
    color: var(--neon-cyan);
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 500;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.06);
    border-color: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 48px;
}

.about-card {
    padding: 40px;
    height: 100%;
}

.about-card-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--neon-cyan);
    text-shadow: var(--glow-cyan);
}

.about-card-text {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
}

/* Steps / How to Get Started styling */
.steps-timeline {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 48px;
    position: relative;
}

.step-card {
    display: grid;
    grid-template-columns: 100px 1.8fr 3.2fr;
    padding: 32px;
    gap: 24px;
    align-items: center;
}

.step-indicator {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.step-number-tag {
    font-size: 12px;
    font-weight: 800;
    color: var(--neon-purple);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.step-number-val {
    font-size: 20px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}

.step-title-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.step-desc-details {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

/* 4-Column Footer styling */
.footer {
    border-top: 1px solid var(--border-light);
    padding: 80px 0 40px 0;
    background: rgba(4, 5, 10, 0.95);
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-col-title {
    font-size: 16px;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    text-transform: uppercase;
}

.footer-col-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col-link {
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-col-link:hover {
    color: var(--neon-cyan);
    transform: translateX(4px);
}

.footer-social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.footer-social-link i {
    width: 16px;
    height: 16px;
}

.footer-social-link:hover {
    color: var(--neon-cyan);
    transform: translateX(4px);
}

.footer-divider {
    border-top: 1px solid var(--border-light);
    margin-bottom: 32px;
}

.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copy {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-framework {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-framework span {
    color: var(--neon-cyan);
    font-weight: 600;
}

/* Media Queries for New Sections */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .step-card {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom-row {
        flex-direction: column;
        text-align: center;
    }
}

/* Admin Portal Login Card */
.admin-login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    position: relative;
}

.login-card {
    width: 100%;
    max-width: 440px;
    padding: 48px;
    border-radius: 24px;
}

.login-header {
    text-align: center;
    margin-bottom: 36px;
}

.login-title {
    font-size: 32px;
    margin-top: 12px;
    margin-bottom: 8px;
}

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

/* Admin Portal Layout Dashboard */
.admin-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    background: rgba(6, 8, 16, 0.6);
    border-right: 1px solid var(--border-light);
    padding: 32px 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.admin-nav-item:hover, .admin-nav-item.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
}

.admin-nav-item.active {
    border-left: 3px solid var(--neon-cyan);
    border-radius: 0 10px 10px 0;
    padding-left: 13px;
}

.logout-form {
    border-top: 1px solid var(--border-light);
    padding-top: 20px;
}

.btn-logout {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: transparent;
    border: none;
    color: #ef4444;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    border-radius: 10px;
}

.btn-logout:hover {
    background: rgba(239, 68, 68, 0.08);
}

.admin-main {
    display: flex;
    flex-direction: column;
}

.admin-topbar {
    height: 80px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    background: rgba(6, 8, 16, 0.3);
    backdrop-filter: blur(16px);
}

.admin-page-title {
    font-size: 24px;
    font-weight: 700;
}

.admin-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    font-weight: 700;
}

.admin-content {
    padding: 40px;
    flex-grow: 1;
    overflow-y: auto;
}

/* Dashboard Metrics Row */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.metric-card {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.metric-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.metric-value {
    font-size: 36px;
    font-weight: 800;
}

/* Tables in Admin */
.admin-table-container {
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid var(--border-light);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.admin-table th {
    background: rgba(255, 255, 255, 0.02);
    padding: 16px 24px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
}

.admin-table td {
    padding: 16px 24px;
    font-size: 14px;
    border-bottom: 1px solid var(--border-light);
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-table tr:hover td {
    background: rgba(255, 255, 255, 0.01);
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.status-pending {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.status-contacted {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.status-resolved {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #10b981;
}

/* Action Buttons */
.action-group {
    display: flex;
    gap: 8px;
}

.btn-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-icon:hover {
    color: var(--text-primary);
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.06);
}

.btn-icon-danger:hover {
    color: #ff5f56;
    border-color: rgba(255, 95, 86, 0.3);
    background: rgba(255, 95, 86, 0.1);
}

/* Pagination */
.pagination-container {
    margin-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 14px;
}

.pagination-links {
    display: flex;
    gap: 8px;
}

.pagination-link {
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid var(--border-light);
    background: rgba(255,255,255,0.02);
}

.pagination-link.active {
    background: var(--gradient-primary);
    color: var(--bg-dark);
    border: none;
}

/* Inline Form controls */
.form-select-status {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    outline: none;
    transition: var(--transition-smooth);
}

.form-select-status:focus {
    border-color: var(--neon-cyan);
}

/* Mobile Menu Toggle Button */
.menu-toggle-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 101;
}

.menu-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.05);
}

html.light-mode .menu-toggle-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* Sidebar toggle button specifically for admin */
#sidebar-toggle {
    display: none;
    margin-right: 12px;
}

@media (max-width: 768px) {
    .menu-toggle-btn {
        display: flex;
    }
}

@media (max-width: 992px) {
    #sidebar-toggle {
        display: flex;
    }
}

/* Responsive Styling rules */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .maintenance-details {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-layout {
        grid-template-columns: 1fr;
    }
    
    /* Sliding Admin Sidebar Drawer */
    .admin-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 260px;
        z-index: 1000;
        transform: translateX(-100%);
        transition: var(--transition-smooth);
        display: flex !important;
    }
    
    .admin-sidebar.active {
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 44px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    /* Responsive Dropdown Mobile Menu */
    .nav-links {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(4, 5, 10, 0.95);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        padding: 40px 24px;
        gap: 24px;
        border-top: 1px solid var(--border-light);
        transform: translateY(-150%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 99;
    }

    html.light-mode .nav-links {
        background: rgba(248, 250, 252, 0.98);
    }

    .nav-links.active {
        transform: translateY(0);
    }
}
