/* ==========================================================================
   نظام شئون الموظفين والرواتب متعدد الفروع (Emp_System) - التنسيقات الموحدة
   Author: Mahmoud Elshemy (elshemy.me)
   Design: Modern Dark Glassmorphism & High-Converting Commercial UI
   Version: 20261104_v1
   ========================================================================== */

:root {
    /* Color Palette */
    --primary-dark: #040d1a;
    --primary-navy: #08182f;
    --primary-card: rgba(10, 25, 48, 0.72);
    --primary-mid: #0b3260;
    --primary-accent: #0284c7;
    --primary-accent-light: #38bdf8;
    --accent-gold: #f59e0b;
    --accent-gold-hover: #d97706;
    --accent-orange: #ea580c;
    --success-emerald: #10b981;
    --success-emerald-dark: #059669;
    --danger-red: #ef4444;

    /* Text Colors */
    --text-white: #ffffff;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    /* Glassmorphism & Borders */
    --glass-bg: rgba(255, 255, 255, 0.035);
    --glass-bg-hover: rgba(255, 255, 255, 0.075);
    --glass-border: rgba(255, 255, 255, 0.09);
    --glass-border-focus: rgba(56, 189, 248, 0.45);
    --glass-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
    --glow-shadow: 0 0 35px rgba(2, 132, 199, 0.25);
    --glow-gold: 0 0 30px rgba(245, 158, 11, 0.25);

    /* Transitions & Curves */
    --transition-fast: all 0.2s ease;
    --transition-base: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    --transition-smooth: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-pill: 9999px;

    /* Typography */
    --font-heading: 'Cairo', system-ui, -apple-system, sans-serif;
    --font-body: 'Almarai', 'Cairo', system-ui, -apple-system, sans-serif;
}

/* --------------------------------------------------------------------------
   Reset & Global Base Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--primary-dark);
    color: var(--text-main);
    line-height: 1.8;
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.35;
}

p {
    color: var(--text-muted);
}

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

img, picture {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
    color: inherit;
}

/* --------------------------------------------------------------------------
   Container & Layout Utilities
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: 1240px;
    margin-inline: auto;
    padding-inline: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 15%, #bae6fd 60%, var(--primary-accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.gradient-text-gold {
    background: linear-gradient(135deg, #ffffff 10%, #fde68a 60%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* --------------------------------------------------------------------------
   Background Ambient Glow Orbs
   -------------------------------------------------------------------------- */
.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.32;
    z-index: -1;
    pointer-events: none;
    animation: pulse-glow 14s infinite alternate ease-in-out;
}

.glow-1 {
    top: -120px;
    right: -120px;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, #0284c7 0%, #032d60 70%);
}

.glow-2 {
    top: 35%;
    left: -150px;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, #f59e0b 0%, #7c2d12 70%);
    animation-delay: -5s;
    opacity: 0.22;
}

.glow-3 {
    bottom: 120px;
    right: 15%;
    width: 750px;
    height: 750px;
    background: radial-gradient(circle, #0369a1 0%, #08182f 70%);
    animation-delay: -9s;
}

@keyframes pulse-glow {
    0% { transform: scale(0.85) translate(0, 0); opacity: 0.25; }
    50% { transform: scale(1.15) translate(40px, 30px); opacity: 0.38; }
    100% { transform: scale(0.95) translate(-30px, -20px); opacity: 0.28; }
}

/* --------------------------------------------------------------------------
   Top Scroll Progress Bar
   -------------------------------------------------------------------------- */
#progress-bar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold), var(--primary-accent-light), var(--success-emerald));
    z-index: 10000;
    width: 0%;
    transition: width 0.1s linear;
}

/* --------------------------------------------------------------------------
   Header & Glassmorphism Navbar (Ultra Compact & Professional)
   -------------------------------------------------------------------------- */
.navbar {
    position: fixed;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: min(96%, 1320px);
    z-index: 1000;
    background: rgba(4, 13, 26, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.55);
    transition: var(--transition-base);
    box-sizing: border-box;
    white-space: nowrap;
}

.navbar.scrolled {
    top: 8px;
    padding: 5px 14px;
    background: rgba(4, 13, 26, 0.96);
    border-color: rgba(56, 189, 248, 0.35);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.72);
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-white);
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
}

.navbar-brand-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--primary-accent), var(--primary-mid));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
    flex-shrink: 0;
}

.navbar-brand .brand-name {
    white-space: nowrap;
    display: inline-block;
    line-height: 1.2;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 3px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-shrink: 1;
}

.nav-links li {
    margin: 0;
    padding: 0;
}

.nav-item {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--text-muted);
    position: relative;
    padding: 5px 9px;
    border-radius: var(--radius-pill);
    transition: var(--transition-fast);
    white-space: nowrap;
    display: inline-block;
    text-decoration: none;
    line-height: 1.3;
}

.nav-item:hover, .nav-item.active {
    color: #ffffff;
    background: rgba(2, 132, 199, 0.18);
}

.nav-hub-link {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--primary-accent-light);
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.28);
    padding: 5px 11px;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    transition: var(--transition-base);
    text-decoration: none;
    margin-right: 2px;
    line-height: 1.3;
}

.nav-hub-link:hover {
    background: rgba(56, 189, 248, 0.22);
    border-color: var(--primary-accent-light);
    color: #fff;
    transform: translateY(-1px);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.navbar-cta {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff !important;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-weight: 800;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
    transition: var(--transition-base);
    line-height: 1.3;
}

.navbar-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.5);
    color: #fff;
}

.menu-toggle {
    display: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--glass-border);
    color: var(--text-white);
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    cursor: pointer;
    flex-shrink: 0;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.16);
    color: var(--primary-accent-light);
}

/* Mobile Navigation Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 310px;
    max-width: 85vw;
    height: 100vh;
    background: #040d1a;
    border-left: 1px solid var(--glass-border);
    z-index: 2000;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    box-shadow: -15px 0 45px rgba(0, 0, 0, 0.7);
    transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.mobile-drawer.active {
    right: 0;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 24px;
}

.drawer-close {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

.drawer-close:hover {
    background: var(--danger-red);
    color: #fff;
}

.drawer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: auto;
}

.drawer-links a {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.drawer-links a:hover, .drawer-links a.active {
    background: rgba(2, 132, 199, 0.15);
    color: var(--primary-accent-light);
}

.drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.drawer-backdrop.active {
    opacity: 1;
    pointer-events: all;
}

/* --------------------------------------------------------------------------
   Breadcrumb Navigation
   -------------------------------------------------------------------------- */
.breadcrumb-nav {
    margin-bottom: 24px;
}

.breadcrumb-list {
    list-style: none;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--glass-border);
    padding: 6px 18px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
}

.breadcrumb-list a {
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.breadcrumb-list a:hover {
    color: var(--primary-accent-light);
}

.breadcrumb-list .sep {
    color: var(--text-dim);
    font-size: 0.75rem;
}

.breadcrumb-list .current {
    color: var(--accent-gold);
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   Buttons & Pills
   -------------------------------------------------------------------------- */
.btn {
    padding: 14px 34px;
    border-radius: var(--radius-pill);
    font-weight: 800;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: var(--transition-base);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff !important;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.38);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(16, 185, 129, 0.55);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--primary-mid) 0%, #0369a1 100%);
    color: #fff !important;
    border: 1px solid rgba(56, 189, 248, 0.3);
    box-shadow: 0 8px 25px rgba(2, 132, 199, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    border-color: var(--primary-accent-light);
    box-shadow: 0 12px 30px rgba(2, 132, 199, 0.45);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.04);
    color: #fff !important;
    border: 1px solid var(--glass-border);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.15rem;
}

.btn-block {
    width: 100%;
}

.badge-pill {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: var(--accent-gold);
    padding: 8px 22px;
    border-radius: var(--radius-pill);
    font-size: 0.95rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-gold);
    box-shadow: 0 0 12px var(--accent-gold);
    animation: pulse 1.6s infinite ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.7; }
    50% { transform: scale(1.4); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.7; }
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
    padding: 160px 0 100px;
    position: relative;
    z-index: 10;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    line-height: 1.3;
    margin-bottom: 22px;
}

.hero-desc {
    font-size: 1.18rem;
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 30px;
}

.hero-desc strong {
    color: var(--text-white);
}

.hero-quick-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 35px;
}

.quick-chip {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.88rem;
    font-weight: 700;
    color: #e2e8f0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.quick-chip i {
    color: var(--primary-accent-light);
}

.quick-chip:hover {
    border-color: var(--primary-accent-light);
    background: rgba(2, 132, 199, 0.12);
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

/* Hero Visual & Mockup */
.hero-visual {
    position: relative;
}

.hero-mockup-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    background: var(--primary-card);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    padding: 14px;
    backdrop-filter: blur(20px);
}

.mockup-frame {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.mockup-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #020b17;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mockup-bar .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mockup-bar .dot.red { background: #ef4444; }
.mockup-bar .dot.yellow { background: #f59e0b; }
.mockup-bar .dot.green { background: #10b981; }

.mockup-title {
    font-size: 0.82rem;
    color: var(--text-dim);
    margin-inline-start: 12px;
    font-family: monospace;
}

.hero-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.6s ease;
}

.hero-mockup-wrapper:hover .hero-img {
    transform: scale(1.02);
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    background: rgba(8, 24, 47, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    padding: 12px 18px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.55);
    z-index: 5;
    animation: float 6s infinite ease-in-out;
}

.badge-top-right {
    top: -25px;
    left: -20px;
}

.badge-bottom-left {
    bottom: -25px;
    right: -20px;
    animation-delay: -3s;
}

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

.floating-badge .badge-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.floating-badge .badge-icon.gold {
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-gold);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.floating-badge .badge-icon.emerald {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success-emerald);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.floating-badge strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-white);
}

.floating-badge span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Key Metrics Banner
   -------------------------------------------------------------------------- */
.metrics-section {
    padding: 40px 0;
    background: linear-gradient(90deg, rgba(8, 24, 47, 0.8) 0%, rgba(11, 50, 96, 0.4) 50%, rgba(8, 24, 47, 0.8) 100%);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    position: relative;
    z-index: 5;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.metric-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.metric-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(56, 189, 248, 0.3);
    transform: translateY(-4px);
}

.metric-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.25);
    color: var(--primary-accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.metric-info {
    display: flex;
    flex-direction: column;
}

.metric-number {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.2;
    font-family: var(--font-heading);
}

.metric-label {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Generic Section Header Styles
   -------------------------------------------------------------------------- */
.section {
    padding: 100px 0;
    position: relative;
    z-index: 5;
}

.section-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 60px;
}

.section-tag {
    color: var(--primary-accent-light);
    background: rgba(2, 132, 199, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.25);
    padding: 6px 18px;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.12rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* --------------------------------------------------------------------------
   Section: 4-Step Operational Workflow
   -------------------------------------------------------------------------- */
.workflow-section {
    background: #020b17;
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.workflow-step {
    background: var(--primary-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 36px 26px;
    position: relative;
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.workflow-step:hover {
    transform: translateY(-8px);
    border-color: rgba(56, 189, 248, 0.4);
    background: rgba(11, 32, 60, 0.85);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.step-num {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 2rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.08);
    font-family: var(--font-heading);
    line-height: 1;
}

.step-icon {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.2), rgba(11, 50, 96, 0.4));
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: var(--primary-accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    transition: var(--transition-base);
}

.workflow-step:hover .step-icon {
    background: var(--primary-accent);
    color: #fff;
    transform: scale(1.08);
}

.workflow-step h3 {
    font-size: 1.35rem;
    color: var(--text-white);
}

.workflow-step p {
    font-size: 0.98rem;
    line-height: 1.75;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Section: Key Modules (12+ Features)
   -------------------------------------------------------------------------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    background: var(--primary-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), var(--primary-accent-light));
    opacity: 0;
    transition: var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(56, 189, 248, 0.35);
    background: rgba(14, 34, 64, 0.85);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.15), rgba(11, 50, 96, 0.35));
    border: 1px solid rgba(56, 189, 248, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    color: var(--primary-accent-light);
    transition: var(--transition-base);
}

.feature-card:hover .feature-icon {
    transform: scale(1.08) rotate(4deg);
    background: linear-gradient(135deg, var(--primary-accent), #0369a1);
    color: #fff;
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.45);
}

.feature-card h3 {
    font-size: 1.35rem;
    color: var(--text-white);
}

.feature-card p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-muted);
    flex-grow: 1;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.feature-tags span {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 700;
    color: #cbd5e1;
}

/* --------------------------------------------------------------------------
   Section: Interactive System Explorer (3 Deep-Dive Tabs)
   -------------------------------------------------------------------------- */
.explorer-section {
    background: #020914;
}

.explorer-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 45px;
}

.explorer-tab-btn {
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-weight: 800;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: var(--transition-base);
}

.explorer-tab-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(56, 189, 248, 0.3);
}

.explorer-tab-btn.active {
    background: linear-gradient(135deg, var(--primary-accent), #0369a1);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 25px rgba(2, 132, 199, 0.4);
}

.explorer-content-box {
    background: var(--primary-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 45px;
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(20px);
}

.explorer-tab-panel {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.explorer-tab-panel.active {
    display: block;
}

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

.explorer-panel-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 45px;
    align-items: center;
}

.panel-badge {
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: var(--primary-accent-light);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.88rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
}

.explorer-text h3 {
    font-size: 1.9rem;
    margin-bottom: 16px;
    line-height: 1.35;
}

.explorer-text p {
    font-size: 1.1rem;
    margin-bottom: 24px;
    line-height: 1.8;
}

.explorer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.explorer-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 1.02rem;
}

.explorer-list li i {
    color: var(--success-emerald);
    font-size: 1.25rem;
    margin-top: 4px;
    flex-shrink: 0;
}

.explorer-list li strong {
    color: var(--text-white);
    display: block;
    margin-bottom: 4px;
}

.explorer-list li span {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.explorer-media {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    background: #020b17;
}

.explorer-media picture {
    display: block;
    aspect-ratio: 16 / 10;
}

.explorer-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}

.explorer-media:hover img {
    transform: scale(1.03);
}

.media-caption {
    padding: 14px 20px;
    background: rgba(4, 13, 26, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.92rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.media-caption i {
    color: var(--accent-gold);
}

/* --------------------------------------------------------------------------
   Section: Interactive HR ROI & Payroll Calculator
   -------------------------------------------------------------------------- */
.calculator-section {
    background: #040d1a;
}

.calc-wrapper {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    background: var(--primary-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 45px;
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(20px);
}

.calc-controls {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.calc-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.calc-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.calc-label-row label {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.calc-val-badge {
    background: rgba(2, 132, 199, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: var(--primary-accent-light);
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    font-size: 1rem;
    font-weight: 800;
    font-family: var(--font-heading);
}

.calc-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.12);
    outline: none;
    transition: var(--transition-fast);
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-accent-light);
    box-shadow: 0 0 14px var(--primary-accent);
    cursor: pointer;
    transition: transform 0.2s ease;
}

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

.calc-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-accent-light);
    box-shadow: 0 0 14px var(--primary-accent);
    cursor: pointer;
    border: none;
}

.calc-range-hints {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* Calculator Results Panel */
.calc-results {
    background: linear-gradient(135deg, rgba(8, 24, 47, 0.95), rgba(11, 50, 96, 0.5));
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.calc-res-header {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 14px;
}

.calc-res-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.calc-res-item {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.calc-res-item.highlight {
    background: rgba(2, 132, 199, 0.12);
    border-color: rgba(56, 189, 248, 0.35);
}

.calc-res-item .res-label {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.calc-res-item .res-value {
    font-size: 1.85rem;
    font-weight: 900;
    color: var(--text-white);
    font-family: var(--font-heading);
    line-height: 1.2;
}

.calc-res-item .res-value.emerald {
    color: var(--success-emerald);
}

.calc-res-item .res-sub {
    font-size: 0.8rem;
    color: var(--text-dim);
}

.calc-summary-text {
    font-size: 0.98rem;
    color: #cbd5e1;
    line-height: 1.7;
    background: rgba(0, 0, 0, 0.25);
    border-radius: var(--radius-sm);
    padding: 14px;
    border-right: 3px solid var(--accent-gold);
}

/* --------------------------------------------------------------------------
   Section: Before vs After Comparison
   -------------------------------------------------------------------------- */
.comparison-section {
    background: #020914;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

.comp-card {
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    backdrop-filter: blur(15px);
    transition: var(--transition-base);
}

.comp-card.before {
    background: rgba(239, 68, 68, 0.04);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.comp-card.after {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.3);
    box-shadow: 0 10px 35px rgba(16, 185, 129, 0.1);
}

.comp-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.comp-card.before .comp-header i {
    color: var(--danger-red);
    font-size: 1.8rem;
}

.comp-card.after .comp-header i {
    color: var(--success-emerald);
    font-size: 1.8rem;
}

.comp-header h3 {
    font-size: 1.35rem;
}

.comp-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comp-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1.02rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.comp-card.before .comp-list li i {
    color: var(--danger-red);
    margin-top: 5px;
    flex-shrink: 0;
}

.comp-card.after .comp-list li i {
    color: var(--success-emerald);
    margin-top: 5px;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Section: Target Sectors
   -------------------------------------------------------------------------- */
.sectors-wrapper {
    background: var(--primary-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 45px;
    text-align: center;
}

.sectors-title {
    font-size: 1.65rem;
    margin-bottom: 35px;
    color: var(--text-white);
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.sector-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 28px 20px;
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.sector-card:hover {
    transform: translateY(-6px);
    background: rgba(2, 132, 199, 0.12);
    border-color: rgba(56, 189, 248, 0.35);
}

.sector-card i {
    font-size: 2.2rem;
    color: var(--primary-accent-light);
}

.sector-card h4 {
    font-size: 1.15rem;
    color: var(--text-white);
}

.sector-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Section: Visual Gallery with WebP & Lightbox
   -------------------------------------------------------------------------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.gallery-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--glass-border);
    aspect-ratio: 16 / 10;
    background: #020b17;
}

.gallery-card picture {
    display: block;
    width: 100%;
    height: 100%;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s ease, filter 0.6s ease;
    display: block;
}

.gallery-card:hover img {
    transform: scale(1.08) rotate(0.5deg);
    filter: brightness(0.8);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(4, 13, 26, 0.95) 0%, rgba(11, 50, 96, 0.4) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition-base);
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-title {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 800;
    transform: translateY(15px);
    transition: var(--transition-base);
}

.gallery-card:hover .gallery-title {
    transform: translateY(0);
}

.gallery-zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.6);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--accent-gold);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    opacity: 0;
    transition: var(--transition-base);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.6);
}

.gallery-card:hover .gallery-zoom-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.lightbox-modal.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-content {
    position: relative;
    max-width: 92%;
    max-height: 90vh;
    transform: scale(0.85);
    transition: transform 0.35s ease;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.85);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.lightbox-modal.active .lightbox-content {
    transform: scale(1);
}

.lightbox-img {
    max-width: 100%;
    max-height: 82vh;
    display: block;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 10001;
}

.lightbox-close:hover {
    background: var(--danger-red);
    transform: rotate(90deg);
}

.lightbox-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 18px 24px;
    background: rgba(4, 13, 26, 0.85);
    color: #fff;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

/* --------------------------------------------------------------------------
   Section: Video Tour
   -------------------------------------------------------------------------- */
.video-section {
    background: #020914;
}

.video-container {
    max-width: 980px;
    margin: 0 auto;
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
    border: 1px solid var(--glass-border);
    aspect-ratio: 16 / 9;
    background: #000;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
}

/* --------------------------------------------------------------------------
   Section: FAQ Accordion
   -------------------------------------------------------------------------- */
.faq-container {
    max-width: 880px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--primary-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: var(--transition-base);
}

.faq-item:hover {
    border-color: rgba(56, 189, 248, 0.35);
    background: rgba(14, 34, 64, 0.85);
}

.faq-question {
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-white);
    cursor: pointer;
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--primary-accent-light);
}

.faq-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-accent-light);
    font-size: 1rem;
    transition: transform 0.35s ease, background 0.35s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    background: var(--primary-accent);
    color: #fff;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
    padding: 0 28px;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.85;
}

.faq-item.active .faq-answer {
    max-height: 800px;
    padding: 0 28px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    transition: max-height 0.5s ease-in-out;
}

/* --------------------------------------------------------------------------
   Section: Related Solutions & Hub Backlinks
   -------------------------------------------------------------------------- */
.related-solutions-section {
    padding: 90px 0 60px;
    background: linear-gradient(180deg, rgba(8, 24, 47, 0.95) 0%, #020914 100%);
    border-top: 1px solid var(--glass-border);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-bottom: 45px;
}

.related-card {
    background: var(--primary-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-base);
}

.related-card:hover {
    transform: translateY(-6px);
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
    background: rgba(14, 34, 64, 0.9);
}

.related-card-img {
    width: 100%;
    aspect-ratio: 16 / 9.5;
    overflow: hidden;
    background: #020b17;
}

.related-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.4s ease;
}

.related-card:hover .related-card-img img {
    transform: scale(1.05);
}

.related-card-content {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.related-card-badge {
    align-self: flex-start;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 12px;
    background: rgba(56, 189, 248, 0.15);
    color: var(--primary-accent-light);
}

.related-card-title {
    font-size: 1.18rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.45;
}

.related-card-text {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 16px;
    flex-grow: 1;
}

.related-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-accent-light);
    font-weight: 800;
    font-size: 0.92rem;
    margin-top: auto;
}

.related-actions-center {
    text-align: center;
}

/* --------------------------------------------------------------------------
   Footer CTA Section
   -------------------------------------------------------------------------- */
.cta-footer {
    background: linear-gradient(135deg, #071f3d 0%, #030a14 100%);
    padding: 110px 0 60px;
    text-align: center;
    position: relative;
    border-top: 3px solid var(--accent-gold);
    overflow: hidden;
}

.cta-footer h2 {
    font-size: clamp(2.2rem, 3.5vw, 3.2rem);
    color: #fff;
    margin-bottom: 20px;
}

.cta-footer p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 750px;
    margin: 0 auto 45px;
    line-height: 1.85;
}

.cta-footer .hero-btns {
    justify-content: center;
    margin-bottom: 50px;
}

.copyright {
    padding-top: 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-dim);
    font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   Floating Quick Action Elements
   -------------------------------------------------------------------------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(8, 24, 47, 0.85);
    border: 1px solid var(--glass-border);
    color: var(--primary-accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-base);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: all;
}

.back-to-top:hover {
    background: var(--primary-accent);
    color: #fff;
    transform: translateY(-4px);
}

/* Floating WhatsApp Mobile Pill */
.floating-whatsapp-mobile {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    padding: 14px 24px;
    border-radius: var(--radius-pill);
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1rem;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.5);
    z-index: 998;
    text-align: center;
}

/* --------------------------------------------------------------------------
   Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .hero-quick-chips {
        justify-content: center;
    }

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

    .hero-mockup-wrapper {
        max-width: 850px;
        margin: 0 auto;
    }

    .badge-top-right { left: 10px; }
    .badge-bottom-left { right: 10px; }

    .calc-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1150px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
    }
}

@media (max-width: 992px) {
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .workflow-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .explorer-panel-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .sectors-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        width: calc(100% - 24px);
        padding: 5px 12px;
        top: 10px;
    }

    .navbar-brand {
        font-size: 0.88rem;
        gap: 7px;
    }

    .navbar-brand-icon {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }

    .navbar-cta {
        padding: 5px 11px;
        font-size: 0.78rem;
        gap: 5px;
    }

    .menu-toggle {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .hero {
        padding: 115px 0 60px;
    }

    .hero-content h1 {
        font-size: 2.15rem;
    }

    .floating-badge {
        position: static;
        margin-top: 16px;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
    }

    .workflow-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .explorer-tabs-nav {
        flex-direction: column;
    }

    .explorer-content-box {
        padding: 26px 18px;
    }

    .calc-wrapper {
        padding: 26px 18px;
    }

    .sectors-grid {
        grid-template-columns: 1fr;
    }

    .sectors-wrapper {
        padding: 30px 18px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .floating-whatsapp-mobile {
        display: flex;
    }

    .back-to-top {
        bottom: 80px;
        left: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding-inline: 16px;
    }

    .hero-content h1 {
        font-size: 1.85rem;
    }

    .hero-desc {
        font-size: 1.05rem;
    }

    .btn {
        width: 100%;
        padding: 14px 24px;
        font-size: 1rem;
    }

    .section {
        padding: 70px 0;
    }

    .feature-card {
        padding: 26px 20px;
    }

    .faq-question {
        padding: 18px 20px;
        font-size: 1.08rem;
    }

    .faq-answer {
        padding: 0 20px;
        font-size: 0.98rem;
    }
}

@media (max-width: 440px) {
    .navbar {
        padding: 4px 10px;
    }

    .navbar-brand .brand-name span {
        display: none;
    }

    .navbar-cta span {
        display: none;
    }

    .navbar-cta {
        width: 32px;
        height: 32px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }

    .navbar-cta i {
        font-size: 1rem;
        margin: 0;
    }
}


