@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;700;800&display=swap');

/* NEXORA IT - Visual Identity System */
:root {
    --primary-orange: #FF6B00;
    --primary-orange-hover: #E05E00;
    --primary-orange-light: rgba(255, 107, 0, 0.1);
    --primary-orange-glow: rgba(255, 107, 0, 0.25);
    --dark-slate: #232B2B;
    --dark-slate-light: #2E3838;
    --dark-slate-dark: #181F1F;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --text-main: #232B2B;
    --text-muted: #6C757D;
    --text-white: #FFFFFF;
    --border-color: #E9ECEF;
    --border-radius-sm: 8px;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 30px rgba(35, 43, 43, 0.06);
    --shadow-lg: 0 20px 40px rgba(35, 43, 43, 0.12);
    --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    --font-heading: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Base Reset & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark-slate);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Header & Global Navigation */
header {
    background-color: var(--dark-slate);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-bottom: 2px solid var(--dark-slate-light);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 24px;
    color: var(--text-white);
    letter-spacing: 0.5px;
}

.brand-logo span {
    color: var(--primary-orange);
    position: relative;
}

.brand-logo .dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary-orange);
    border-radius: 50%;
    display: inline-block;
    margin-left: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 24px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    font-weight: 500;
    padding: 8px 4px;
    position: relative;
}

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

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

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

.nav-cta {
    background-color: var(--primary-orange);
    color: var(--text-white) !important;
    padding: 10px 20px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 14px var(--primary-orange-glow);
}

.nav-cta:hover {
    background-color: var(--primary-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-orange-glow);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 24px;
    cursor: pointer;
}

/* Layout Wrapper & SPA Routing */
main {
    margin-top: 80px; /* Offset for sticky header */
    min-height: calc(100vh - 80px - 320px); /* Fill space between header and footer */
}

.view-section {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.view-section.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section Styles */
.hero-banner {
    background: linear-gradient(135deg, var(--dark-slate) 0%, var(--dark-slate-dark) 100%);
    position: relative;
    padding: 100px 24px;
    overflow: hidden;
    color: var(--text-white);
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.08) 0%, rgba(255, 107, 0, 0) 70%);
    border-radius: 50%;
    z-index: 1;
}

.hero-spline-background {
    position: absolute;
    top: 0;
    right: -15%;
    width: 52%;
    height: 100%;
    z-index: 1;
    pointer-events: auto;
    filter: hue-rotate(100deg) saturate(1.4);
}

@media (max-width: 992px) {
    .hero-spline-background {
        width: 100%;
        right: 0;
        opacity: 0.45;
    }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.hero-text, .hero-ctas {
    pointer-events: auto;
}

.hero-text h1 {
    color: var(--text-white);
    font-size: 52px;
    line-height: 1.15;
    margin-bottom: 24px;
    font-weight: 800;
}

.hero-text h1 span {
    color: var(--primary-orange);
}

.hero-text p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 36px;
    max-width: 600px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
}

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

.btn-primary {
    background-color: var(--primary-orange);
    color: var(--text-white);
    box-shadow: 0 8px 24px var(--primary-orange-glow);
}

.btn-primary:hover {
    background-color: var(--primary-orange-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px var(--primary-orange-glow);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--text-white);
}

.btn-secondary:hover {
    border-color: var(--primary-orange);
    background-color: rgba(255, 107, 0, 0.05);
    color: var(--primary-orange);
    transform: translateY(-3px);
}

/* Custom Vector Visual for Hero */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.tech-grid-illustration {
    width: 100%;
    max-width: 420px;
    height: auto;
    filter: drop-shadow(0 15px 35px rgba(255, 107, 0, 0.15));
    animation: float 6s ease-in-out infinite;
}

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

/* Trust Indicators Section */
.trust-indicators {
    background-color: var(--bg-white);
    padding: 40px 24px;
    border-bottom: 1px solid var(--border-color);
}

.trust-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.trust-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px;
}

.trust-icon-box {
    width: 64px;
    height: 64px;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-orange);
    font-size: 28px;
    border: 1px solid var(--border-color);
}

.trust-info h3 {
    font-size: 28px;
    margin-bottom: 2px;
    color: var(--dark-slate);
}

.trust-info p {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
}

/* Services Portfolio Grid */
.home-services {
    padding: 100px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.section-header h2 {
    font-size: 38px;
    color: var(--dark-slate);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-orange);
    border-radius: 2px;
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 107, 0, 0.2);
}

.service-card-icon {
    font-size: 36px;
    color: var(--primary-orange);
    background-color: var(--primary-orange-light);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-card-link {
    font-weight: 600;
    font-size: 14px;
    color: var(--primary-orange);
    display: flex;
    align-items: center;
    gap: 6px;
}

.service-card-link i {
    transition: var(--transition-smooth);
}

.service-card:hover .service-card-link i {
    transform: translateX(5px);
}

/* Hardware Hub Showcase & Catalog */
.hardware-view {
    padding: 60px 24px 100px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.catalog-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    gap: 20px;
    background-color: var(--bg-white);
    padding: 20px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.search-wrapper {
    position: relative;
    flex-grow: 1;
    max-width: 400px;
}

.search-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.search-input {
    width: 100%;
    padding: 12px 16px 12px 48px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 15px;
    outline: none;
    transition: var(--transition-smooth);
}

.search-input:focus {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px var(--primary-orange-light);
}

.filter-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-pill {
    padding: 10px 20px;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-pill:hover, .filter-pill.active {
    background-color: var(--primary-orange);
    color: var(--text-white);
    border-color: var(--primary-orange);
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 107, 0, 0.15);
}

.product-image {
    height: 180px;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-image i {
    font-size: 64px;
    color: #adb5bd;
}

.badge-wholesale {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--dark-slate);
    color: var(--text-white);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.product-details {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-orange);
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.product-title {
    font-size: 18px;
    margin-bottom: 12px;
    line-height: 1.3;
}

.product-specs {
    list-style: none;
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--text-muted);
}

.product-specs li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.product-specs li i {
    color: var(--primary-orange);
    width: 14px;
}

.product-pricing {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 20px;
    color: var(--dark-slate);
}

.btn-card-cta {
    background-color: var(--primary-orange-light);
    color: var(--primary-orange);
    font-weight: 600;
    font-size: 13px;
    border: none;
    padding: 8px 14px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-card-cta:hover {
    background-color: var(--primary-orange);
    color: var(--text-white);
}

/* Modals & Popups styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(35, 43, 43, 0.6);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    background-color: var(--bg-white);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: scale(0.92);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid var(--border-color);
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

.modal-header {
    background-color: var(--dark-slate);
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-white);
}

.modal-header h3 {
    color: var(--text-white);
    font-size: 20px;
}

.modal-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 22px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.modal-close:hover {
    color: var(--primary-orange);
}

.modal-body {
    padding: 24px;
    overflow-y: auto;
    flex-grow: 1;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--dark-slate);
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: var(--transition-smooth);
}

.form-control:focus {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px var(--primary-orange-light);
}

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

/* Service Desk Section & Dynamic Diagnostic Panel */
.service-view {
    padding: 60px 24px 100px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-grid-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
}

.booking-panel {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.booking-panel h2 {
    font-size: 28px;
    margin-bottom: 24px;
}

.upgrade-calculator-box {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 30px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 100px;
}

/* Upgrade Calculator Layout */
.calculator-slider-wrap {
    margin: 24px 0;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 8px;
}

.calc-slider {
    width: 100%;
    -webkit-appearance: none;
    height: 6px;
    border-radius: 3px;
    background: var(--border-color);
    outline: none;
    margin: 10px 0;
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-orange);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: var(--transition-smooth);
}

.calc-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.calc-result-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
    background-color: var(--bg-light);
    padding: 16px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
}

.metric-box {
    text-align: center;
}

.metric-value {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 24px;
    color: var(--primary-orange);
}

.metric-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Drag and Drop Intake styling */
.drop-zone {
    border: 2px dashed #CBD5E1;
    border-radius: var(--border-radius);
    padding: 24px;
    text-align: center;
    background-color: var(--bg-light);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.drop-zone:hover, .drop-zone.dragover {
    border-color: var(--primary-orange);
    background-color: var(--primary-orange-light);
}

.drop-zone i {
    font-size: 32px;
    color: var(--text-muted);
}

.drop-zone.dragover i {
    color: var(--primary-orange);
}

.preview-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.preview-thumb {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
}

.preview-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 18px;
    height: 18px;
    background-color: rgba(35, 43, 43, 0.8);
    border-radius: 50%;
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.preview-remove:hover {
    background-color: var(--primary-orange);
}

/* Enterprise Systems Console styles */
.enterprise-view {
    padding: 60px 24px 100px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.enterprise-overview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.enterprise-feature-card {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.enterprise-feature-card h3 {
    margin-bottom: 12px;
}

.enterprise-console-wrapper {
    background-color: var(--dark-slate);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 2px solid var(--dark-slate-light);
}

.console-header {
    background-color: var(--dark-slate-dark);
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.console-title {
    color: var(--text-white);
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.console-dot-actions {
    display: flex;
    gap: 6px;
}

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

.dot-action-red { background-color: #EF4444; }
.dot-action-yellow { background-color: #F59E0B; }
.dot-action-green { background-color: #10B981; }

.console-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    height: 480px;
}

.console-sidebar {
    background-color: rgba(35, 43, 43, 0.4);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.console-input-area input, .console-input-area textarea {
    background-color: var(--dark-slate-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border-radius: var(--border-radius-sm);
    padding: 10px 12px;
    font-family: var(--font-body);
    font-size: 13px;
    width: 100%;
    outline: none;
    margin-bottom: 12px;
}

.console-input-area input:focus, .console-input-area textarea:focus {
    border-color: var(--primary-orange);
}

.console-tickets-view {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow-y: auto;
}

.ticket-item {
    background-color: var(--dark-slate-dark);
    border-left: 4px solid var(--primary-orange);
    border-radius: var(--border-radius-sm);
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    border-right: 1px solid rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    transition: var(--transition-smooth);
}

.ticket-info-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ticket-name-meta {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.ticket-issue {
    color: var(--text-white);
    font-size: 14px;
    font-weight: 600;
}

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

.badge-pending {
    background-color: rgba(245, 158, 11, 0.15);
    color: #F59E0B;
}

.badge-assigned {
    background-color: rgba(59, 130, 246, 0.15);
    color: #3B82F6;
}

.badge-resolved {
    background-color: rgba(16, 185, 129, 0.15);
    color: #10B981;
}

/* Creative Design Studio Showcase & Elements */
.creative-view {
    padding: 60px 24px 100px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Branding Portfolio Showcase */
.portfolio-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.portfolio-tab-btn {
    padding: 10px 24px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.portfolio-tab-btn.active, .portfolio-tab-btn:hover {
    background-color: var(--primary-orange);
    color: var(--text-white);
    border-color: var(--primary-orange);
}

.portfolio-display-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.portfolio-display-item {
    display: none;
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.portfolio-display-item.active {
    display: block;
    opacity: 1;
    transform: scale(1);
}

.logo-display-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 40px 20px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 320px;
    box-shadow: var(--shadow-sm);
}

.logo-mock {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 32px;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
}

.logo-tagline {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    font-weight: 600;
}

/* 3D Flipping Business Card Styling */
.card-3d-scene {
    width: 100%;
    height: 320px;
    perspective: 1000px;
}

.business-card-3d {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.card-3d-scene:hover .business-card-3d {
    transform: rotateY(180deg);
}

.card-side {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: var(--border-radius);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.card-front {
    background-color: var(--dark-slate);
    color: var(--text-white);
}

.card-back {
    background-color: var(--bg-white);
    color: var(--dark-slate);
    transform: rotateY(180deg);
}

.card-front-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.card-chip {
    width: 40px;
    height: 30px;
    background: linear-gradient(135deg, #FFD700 0%, #B8860B 100%);
    border-radius: 4px;
}

.card-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 20px;
}

.card-logo span {
    color: var(--primary-orange);
}

.card-name-details h4 {
    color: var(--text-white);
    font-size: 22px;
    margin-bottom: 2px;
}

.card-name-details p {
    color: var(--primary-orange);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.card-contact-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
}

.card-contact-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-contact-row i {
    color: var(--primary-orange);
    width: 14px;
}

/* Premium Resume Layout (CV Mock) */
.cv-display-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 30px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    height: 320px;
    overflow: hidden;
    position: relative;
}

.cv-mock-header {
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 12px;
    margin-bottom: 14px;
}

.cv-mock-name {
    font-size: 18px;
    font-weight: 700;
}

.cv-mock-title {
    font-size: 12px;
    color: var(--primary-orange);
    font-weight: 600;
    text-transform: uppercase;
}

.cv-mock-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cv-mock-section-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 700;
}

.cv-mock-item {
    font-size: 12px;
}

.cv-mock-item-date {
    color: var(--text-muted);
    font-size: 10px;
}

.cv-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--bg-white) 20%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
}

/* Interactive Signature Builder */
.signature-builder-section {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.signature-builder-title {
    background-color: var(--dark-slate);
    padding: 20px 30px;
    border-bottom: 1px solid var(--dark-slate-light);
}

.signature-builder-title h3 {
    color: var(--text-white);
    margin-bottom: 4px;
}

.signature-builder-title p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.signature-builder-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 380px;
}

.signature-inputs-pane {
    padding: 30px;
    border-right: 1px solid var(--border-color);
    background-color: var(--bg-light);
}

.signature-preview-pane {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--bg-white);
}

.signature-preview-container {
    width: 100%;
    border: 1px dashed var(--border-color);
    padding: 24px;
    border-radius: var(--border-radius);
    background-color: var(--bg-light);
    margin-bottom: 24px;
}

.sig-builder-btn-wrap {
    display: flex;
    gap: 12px;
    width: 100%;
}

.btn-sig {
    flex: 1;
}

/* Global Footer Styles */
footer {
    background-color: var(--dark-slate-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 24px 30px 24px;
    border-top: 4px solid var(--primary-orange);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

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

.footer-brand-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 24px;
    color: var(--text-white);
}

.footer-brand-logo span {
    color: var(--primary-orange);
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-circle-link {
    width: 38px;
    height: 38px;
    background-color: var(--dark-slate-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-circle-link:hover {
    background-color: var(--primary-orange);
    transform: translateY(-3px);
}

.footer-links-column h4, .footer-contact-column h4 {
    color: var(--text-white);
    margin-bottom: 24px;
    font-size: 18px;
}

.footer-links-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.footer-link-item a:hover {
    color: var(--primary-orange);
}

.footer-contact-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.footer-contact-row i {
    color: var(--primary-orange);
    margin-top: 4px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

/* Animations & Responsive Breakpoints */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleUp {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }
    .hero-text p {
        margin: 0 auto 36px auto;
    }
    .hero-ctas {
        justify-content: center;
    }
    .hero-visual {
        margin-top: 20px;
    }
    .services-grid, .trust-container, .enterprise-overview-grid, .portfolio-display-grid, .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .service-grid-layout {
        grid-template-columns: 1fr;
    }
    .upgrade-calculator-box {
        position: static;
    }
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .footer-brand-column {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--dark-slate-dark);
        flex-direction: column;
        padding: 30px 24px;
        gap: 20px;
        border-bottom: 2px solid var(--primary-orange);
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }
    .nav-menu.active {
        display: flex;
    }
    .mobile-nav-toggle {
        display: block;
    }
    .trust-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .services-grid, .portfolio-display-grid, .catalog-grid {
        grid-template-columns: 1fr;
    }
    .signature-builder-grid {
        grid-template-columns: 1fr;
    }
    .signature-inputs-pane {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    .console-grid {
        grid-template-columns: 1fr;
        height: auto;
    }
    .console-sidebar {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .footer-container {
        grid-template-columns: 1fr;
    }
    .footer-brand-column {
        grid-column: span 1;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    .hero-text h1 {
        font-size: 38px;
    }
}

/* Interactive Icon Selector Grid */
.icon-selector-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 6px;
}

.icon-option {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: var(--transition-smooth);
    color: var(--text-muted);
}

.icon-option i {
    font-size: 20px;
}

.icon-option span {
    font-size: 11px;
    font-weight: 600;
}

.icon-option:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
    background-color: var(--primary-orange-light);
}

.icon-option.active {
    border-color: var(--primary-orange);
    color: var(--text-white);
    background-color: var(--primary-orange);
    box-shadow: 0 4px 12px var(--primary-orange-glow);
}

/* Card Delete and Stock Badge Styles */
.badge-stock {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition-smooth);
    user-select: none;
    z-index: 5;
}

.badge-stock.in-stock {
    background-color: #10B981;
    color: var(--text-white);
}

.badge-stock.in-stock:hover {
    background-color: #059669;
}

.badge-stock.sold-out {
    background-color: #EF4444;
    color: var(--text-white);
}

.badge-stock.sold-out:hover {
    background-color: #DC2626;
}

.btn-delete-item {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    background-color: rgba(239, 68, 68, 0.1);
    color: #EF4444;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 10;
}

.btn-delete-item:hover {
    background-color: #EF4444;
    color: var(--text-white);
    transform: scale(1.1);
}

.product-card.sold-out {
    opacity: 0.7;
}

.product-card.sold-out .product-image {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
}

.product-card.sold-out .product-image i {
    color: #94a3b8;
}

/* Custom Pagination Buttons Styling */
.pagination-controls button {
    background-color: var(--bg-white) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-main) !important;
    box-shadow: var(--shadow-sm);
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.pagination-controls button i {
    color: var(--text-main);
    transition: var(--transition-smooth);
}

.pagination-controls button:hover:not(:disabled) {
    border-color: var(--primary-orange) !important;
    color: var(--primary-orange) !important;
    transform: translateY(-2px);
}

.pagination-controls button:hover:not(:disabled) i {
    color: var(--primary-orange);
}

.pagination-controls button:disabled {
    opacity: 0.4 !important;
    cursor: not-allowed !important;
    background-color: var(--bg-light) !important;
    color: var(--text-muted) !important;
    border-color: var(--border-color) !important;
}

.pagination-controls button:disabled i {
    color: var(--text-muted);
}

/* --- View/Role Switcher Styling (Embedded in Footer) --- */
.role-switcher {
    display: flex;
    align-items: center;
    background-color: var(--dark-slate-dark);
    padding: 4px;
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    gap: 4px;
}

.role-label {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    padding: 0 8px;
    letter-spacing: 0.5px;
}

.btn-role {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
}

.btn-role.active {
    background-color: var(--primary-orange);
    color: var(--text-white);
    box-shadow: 0 2px 8px var(--primary-orange-glow);
}

.btn-role:hover:not(.active) {
    color: var(--text-white);
    background-color: rgba(255, 255, 255, 0.05);
}

/* Role-based Visibility Controls */
body.role-user #open-add-product-modal,
body.role-user .btn-delete-item {
    display: none !important;
}

body.role-user .badge-stock {
    cursor: default !important;
    pointer-events: none;
}

/* Responsive Overrides for Role Switcher */
@media (max-width: 576px) {
    .role-label {
        display: none;
    }
    .btn-role {
        padding: 5px 8px;
        font-size: 11px;
    }
}

/* --- Admin Dashboard Data Table --- */
.admin-view {
    padding: 0 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.admin-table-container {
    width: 100%;
    overflow-x: auto;
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    margin-top: 20px;
}

.admin-data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.admin-data-table th, .admin-data-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.admin-data-table td:nth-child(1),
.admin-data-table th:nth-child(1),
.admin-data-table td:nth-child(2),
.admin-data-table th:nth-child(2),
.admin-data-table td:nth-child(5),
.admin-data-table th:nth-child(5) {
    white-space: nowrap;
}

.btn-admin-action {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition-smooth);
}

.btn-admin-action:hover {
    background-color: var(--primary-orange);
    color: var(--text-white);
    border-color: var(--primary-orange);
}

.admin-data-table th {
    background-color: var(--bg-light);
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.5px;
}

.admin-data-table tbody tr {
    transition: var(--transition-smooth);
}

.admin-data-table tbody tr:hover {
    background-color: rgba(255, 107, 0, 0.03);
}

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

.badge-status.pending {
    background-color: rgba(234, 179, 8, 0.15);
    color: #CA8A04;
}

.badge-status.resolved {
    background-color: rgba(34, 197, 94, 0.15);
    color: #16A34A;
}

/* Hide admin section unless logged in */
body.role-user #admin {
    display: none !important;
}

body.role-user .admin-nav-item {
    display: none !important;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 0px 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: #FFF;
    transform: translateY(-5px);
    box-shadow: 0px 8px 20px rgba(37, 211, 102, 0.6);
}

/* Mobile responsiveness for WhatsApp Button */
@media screen and (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 30px;
    }
}

/* ============================================ */
/* Analytics Dashboard Styles                   */
/* ============================================ */
.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.kpi-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.kpi-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.kpi-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.kpi-details h3 {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.kpi-details p {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-slate);
    margin: 0 0 5px 0;
    font-family: var(--font-heading);
}

.kpi-trend {
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.kpi-trend.positive { color: #10B981; }
.kpi-trend.negative { color: #EF4444; }

.chart-container {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

/* ============================================ */
/* Admin Dashboard Tabs Styles                  */
/* ============================================ */
.admin-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.admin-tab-btn {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 14px;
}

.admin-tab-btn:hover {
    background-color: var(--bg-light);
    color: var(--dark-slate);
}

.admin-tab-btn.active {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
}

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

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

/* ============================================ */
/* Interactive Robot Hit & Fall Animations      */
/* ============================================ */
@keyframes spline-hit-shake {
    0% { transform: translate(0, 0) rotate(0deg); }
    20% { transform: translate(-8px, 4px) rotate(-3deg); }
    40% { transform: translate(6px, -2px) rotate(3deg); }
    60% { transform: translate(-5px, -3px) rotate(-1deg); }
    80% { transform: translate(4px, 2px) rotate(2deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

.spline-shake {
    animation: spline-hit-shake 0.35s ease-out;
}

@keyframes spline-fall-down {
    0% { transform: translateY(0) rotate(0deg) scale(1); opacity: 1; }
    30% { transform: translateY(80px) rotate(25deg) scale(0.95); }
    70% { transform: translateY(400px) rotate(85deg) scale(0.85); opacity: 0.1; }
    100% { transform: translateY(500px) rotate(90deg) scale(0.8); opacity: 0; }
}

.spline-fallen {
    animation: spline-fall-down 1.2s forwards cubic-bezier(0.6, -0.28, 0.735, 0.045);
    pointer-events: none;
}

@keyframes spline-stand-up {
    0% { transform: translateY(500px) rotate(90deg) scale(0.8); opacity: 0; }
    100% { transform: translateY(0) rotate(0deg) scale(1); opacity: 1; }
}

.spline-recovering {
    animation: spline-stand-up 1s forwards cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
