/* 
   MYBUS - Khwarizm Al-Sarh Web Platform Stylesheet
   Design Direction: Elegant Architectural Precision (Premium Navy & Matte Gold)
*/

/* Custom Design Tokens & Variables */
:root {
    --bg-primary: #0A0F1D;
    --bg-surface: #121829;
    --bg-surface-raised: #1A2238;
    
    --text-primary: #F8FAFC;
    --text-secondary: #CBD5E1;
    --text-muted: #64748B;
    
    --accent-gold: #D4AF37;
    --accent-gold-glow: rgba(212, 175, 55, 0.25);
    --border-gold: rgba(212, 175, 55, 0.15);
    --border-gold-hover: rgba(212, 175, 55, 0.4);
    
    --font-display: 'Zain', sans-serif;
    --font-body: 'IBM Plex Sans Arabic', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

body.light-theme {
    --bg-primary: #F8FAFC;
    --bg-surface: #FFFFFF;
    --bg-surface-raised: #F1F5F9;
    
    --text-primary: #0F172A;
    --text-secondary: #334155;
    --text-muted: #64748B;
    
    --accent-gold: #B58920;
    --accent-gold-glow: rgba(181, 137, 32, 0.25);
    --border-gold: rgba(181, 137, 32, 0.15);
    --border-gold-hover: rgba(181, 137, 32, 0.4);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-surface-raised);
    border-radius: var(--radius-sm);
    border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

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

/* Background Glow Elements */
.glow-bg {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(150px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.15;
}

.glow-bg-1 {
    top: -200px;
    right: -100px;
    background: radial-gradient(circle, var(--accent-gold) 0%, transparent 70%);
}

.glow-bg-2 {
    top: 600px;
    left: -200px;
    background: radial-gradient(circle, #2563EB 0%, transparent 70%);
}

/* Typography & Links */
a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

.text-gold {
    color: var(--accent-gold);
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 24px;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-gold {
    background-color: var(--accent-gold);
    color: #0A0F1D;
    box-shadow: 0 4px 20px var(--accent-gold-glow);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(212, 175, 55, 0.4);
    background-color: #e6c24c;
}

.btn-gold:active {
    transform: translateY(0);
}

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

.btn-outline:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background-color: rgba(212, 175, 55, 0.05);
    transform: translateY(-2px);
}

.btn-large {
    padding: 14px 36px;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Button Golden Glow Effect */
.btn-accent-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.25) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    transition: 0.8s;
}

.btn-accent-glow:hover::after {
    left: 120%;
}

/* Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    background: rgba(10, 15, 29, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    padding: 14px 0;
    background: rgba(10, 15, 29, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

/* Theme Toggle Button */
.theme-toggle-btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    margin-left: 16px;
    flex-shrink: 0;
}

.theme-toggle-btn:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background-color: rgba(212, 175, 55, 0.05);
}

.theme-toggle-btn .icon-sun {
    display: none;
    width: 20px;
    height: 20px;
}

.theme-toggle-btn .icon-moon {
    display: block;
    width: 20px;
    height: 20px;
}

body.light-theme .theme-toggle-btn .icon-sun {
    display: block;
}

body.light-theme .theme-toggle-btn .icon-moon {
    display: none;
}

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

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

.logo-icon {
    width: 32px;
    height: 32px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.company-name {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-primary);
}

.platform-name {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--accent-gold);
    margin-top: -2px;
}

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

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 0;
}

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

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

.nav-link.active {
    color: var(--accent-gold);
    font-weight: 600;
}

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

/* Hero Section & Visual FX */
.hero-section {
    padding-top: 170px;
    padding-bottom: 100px;
    display: flex;
    align-items: center;
    min-height: 90vh;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* Canvas Particle Layer */
.particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.65;
}

/* Floating Mesh Orbs */
.hero-glowing-orbs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.22;
    animation: orbFloat 14s infinite ease-in-out alternate;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #D4AF37 0%, rgba(212, 175, 55, 0) 70%);
    top: -10%;
    right: -10%;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #2563EB 0%, rgba(37, 99, 235, 0) 70%);
    bottom: -15%;
    left: -15%;
    animation-delay: -5s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #7C3AED 0%, rgba(124, 58, 237, 0) 70%);
    top: 40%;
    left: 45%;
    animation-delay: -9s;
}

@keyframes orbFloat {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, 60px) scale(1.1); }
    100% { transform: translate(-30px, -40px) scale(0.95); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.badge-animated {
    animation: badgeGlowPulse 3s infinite ease-in-out;
}

@keyframes badgeGlowPulse {
    0%, 100% { box-shadow: 0 0 10px rgba(212, 175, 55, 0.1); }
    50% { box-shadow: 0 0 22px rgba(212, 175, 55, 0.35); }
}

/* Shimmer Gold Text */
.shimmer-effect {
    background: linear-gradient(
        110deg,
        #D4AF37 0%,
        #FFF8DC 35%,
        #D4AF37 50%,
        #F5D77F 70%,
        #B58920 100%
    );
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shimmerText 5s linear infinite;
    display: inline-block;
}

@keyframes shimmerText {
    to {
        background-position: 200% center;
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: 4.2rem;
    font-weight: 900;
    line-height: 1.12;
    margin-bottom: 24px;
    max-width: 850px;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.28rem;
    color: var(--text-secondary);
    max-width: 680px;
    margin-bottom: 36px;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 50px;
}

/* Hero Stats Grid Counter */
.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
    max-width: 900px;
}

.hero-stat-card {
    background: rgba(18, 24, 41, 0.65);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: var(--radius-lg);
    padding: 20px 18px;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

body.light-theme .hero-stat-card {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(181, 137, 32, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.hero-stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 14px 35px rgba(212, 175, 55, 0.15);
}

.stat-number-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 6px;
}

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

/* Spotlight Mouse Glow Card Effect */
.spotlight-card {
    position: relative;
}

.spotlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    padding: 1px;
    background: radial-gradient(
        400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(212, 175, 55, 0.45),
        transparent 80%
    );
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: destination-out;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

/* 3D Tilt Card Effect */
.tilt-card {
    transition: transform 0.2s cubic-bezier(0.2, 1, 0.3, 1), box-shadow 0.3s ease;
    will-change: transform;
}

/* Section Header Shared */
.section-header {
    text-align: center;
    margin-bottom: 64px;
    position: relative;
    z-index: 1;
}

.section-subtitle {
    font-size: 0.9rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 18px;
}

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

/* Features Section */
.features-section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

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

.feature-card {
    background-color: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    background-color: var(--bg-surface-raised);
    border-color: var(--border-gold);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(212, 175, 55, 0.08);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border: 1px solid var(--border-gold);
}

.card-icon svg {
    width: 24px;
    height: 24px;
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.card-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Estimator Section */
.estimator-section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.estimator-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 32px;
    align-items: stretch;
}

.estimator-card {
    background-color: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: var(--transition-smooth);
}

.input-card {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.estimator-card-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 16px;
    margin-bottom: 8px;
}


.estimator-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    opacity: 1;
    max-height: 2000px;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, margin 0.4s ease, padding 0.4s ease;
}

.estimator-group.hidden-group {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none;
}

.group-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.options-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Custom Chip Selectors CSS */
.chip-checkbox, .chip-radio {
    position: relative;
}

.chip-checkbox input, .chip-radio input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.chip-checkbox label, .chip-radio label {
    display: inline-flex;
    padding: 12px 24px;
    background-color: var(--bg-surface-raised);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    user-select: none;
}

.chip-checkbox input:checked + label, .chip-radio input:checked + label {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background-color: rgba(212, 175, 55, 0.08);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.1);
}

.chip-checkbox label:hover, .chip-radio label:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

/* Custom Features Checkbox Grid */
.features-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.feature-checkbox-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background-color: var(--bg-surface-raised);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-fast);
    user-select: none;
}

.feature-checkbox-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background-color: rgba(255, 255, 255, 0.02);
}

.feature-checkbox-item input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-box {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.checkbox-box::after {
    content: "";
    display: none;
    width: 6px;
    height: 10px;
    border: solid #0A0F1D;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

.feature-checkbox-item input:checked ~ .checkbox-box {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
}

.feature-checkbox-item input:checked ~ .checkbox-box::after {
    display: block;
}

.feature-checkbox-item input:checked ~ .checkbox-label {
    color: var(--text-primary);
    font-weight: 500;
}

.checkbox-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

/* Result Card */
.result-card {
    border: 1px solid var(--border-gold);
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(180deg, var(--bg-surface) 0%, rgba(18, 24, 41, 0.8) 100%);
    backdrop-filter: blur(10px);
}

.result-box {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    padding: 28px;
    text-align: center;
    margin: 24px 0;
}

.result-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 10px;
}

.price-value {
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--accent-gold);
    line-height: 1.1;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.price-disclaimer {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 14px;
    display: block;
}

.timeline-box {
    margin-bottom: 32px;
}

.timeline-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

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

.timeline-value {
    font-weight: 700;
    color: var(--text-primary);
}

.timeline-progress-bar {
    width: 100%;
    height: 6px;
    background: var(--bg-surface-raised);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #2563EB, var(--accent-gold));
    border-radius: 10px;
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.result-benefits {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.benefit-item svg {
    width: 16px;
    height: 16px;
    color: var(--accent-gold);
    flex-shrink: 0;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.faq-accordion-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    align-items: start;
}

@media (max-width: 991px) {
    .faq-accordion-container {
        grid-template-columns: 1fr;
    }
}

.faq-item {
    background-color: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.faq-item.active {
    border-color: var(--border-gold);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    text-align: right;
    cursor: pointer;
    transition: var(--transition-fast);
}

.faq-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--text-muted);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--accent-gold);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    padding: 0 24px 24px 24px;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.contact-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.contact-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.15;
}

.contact-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 48px;
}

.contact-detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.detail-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-icon svg {
    width: 20px;
    height: 20px;
}

.detail-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.detail-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Contact Form */
.contact-form-container {
    background-color: transparent;
    border: none;
    padding: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    width: 100%;
}

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

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input, .form-group textarea {
    background-color: var(--bg-surface-raised);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
}

.form-status {
    font-size: 0.9rem;
    text-align: center;
    min-height: 24px;
    transition: var(--transition-fast);
}

.form-status.success {
    color: #10B981;
}

.form-status.error {
    color: #EF4444;
}

/* Footer Section */
.main-footer {
    background-color: #05070D;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 80px;
    position: relative;
    z-index: 1;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 64px;
    padding-bottom: 60px;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 16px;
    max-width: 300px;
}

.footer-links-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

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

.links-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.footer-links-col a {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-links-col a:hover {
    color: var(--accent-gold);
}

.footer-info-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: 30px 0;
}

.footer-bottom-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.copyright-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.social-links a:hover {
    color: var(--accent-gold);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

/* Animations Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Responsiveness Settings */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.2rem;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .estimator-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .nav-menu, .header-cta {
        display: none !important;
    }
    .mobile-menu-toggle {
        display: flex !important;
    }
    .hero-section {
        padding-top: 130px;
        padding-bottom: 70px;
        text-align: center;
    }
    .hero-title {
        font-size: clamp(2.1rem, 7.5vw, 2.8rem);
    }
    .hero-subtitle {
        font-size: 1.05rem;
        margin: 0 auto 32px auto;
    }
    .hero-actions {
        justify-content: center;
        flex-direction: column;
        width: 100%;
        max-width: 340px;
        margin: 0 auto;
    }
    .features-checkbox-grid {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-bottom-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    .section-title {
        font-size: 2.1rem;
    }
}

/* ==========================================================================
   Light Theme Custom CSS Overrides
   ========================================================================== */
body.light-theme {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

body.light-theme .glow-bg {
    opacity: 0.05;
}

body.light-theme .main-header {
    background: rgba(248, 250, 252, 0.7);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

body.light-theme .main-header.scrolled {
    background: rgba(248, 250, 252, 0.95);
}

body.light-theme .theme-toggle-btn {
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .theme-toggle-btn:hover {
    background-color: rgba(181, 137, 32, 0.05);
}

body.light-theme .feature-card {
    background-color: var(--bg-surface);
    border-color: rgba(0, 0, 0, 0.06);
}

body.light-theme .feature-card:hover {
    background-color: var(--bg-surface);
    border-color: var(--border-gold);
}

body.light-theme .card-icon {
    background: rgba(181, 137, 32, 0.06);
    border-color: var(--border-gold);
}

body.light-theme .estimator-card {
    background-color: var(--bg-surface);
    border-color: rgba(0, 0, 0, 0.06);
}

body.light-theme .estimator-card.result-card {
    border-color: var(--border-gold);
    background: linear-gradient(180deg, var(--bg-surface) 0%, rgba(255, 255, 255, 0.9) 100%);
    box-shadow: 0 8px 32px rgba(181, 137, 32, 0.06);
}

body.light-theme .estimator-card-title {
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

body.light-theme .chip-checkbox label, 
body.light-theme .chip-radio label {
    background-color: var(--bg-surface-raised);
    border-color: rgba(0, 0, 0, 0.06);
}

body.light-theme .chip-checkbox label:hover, 
body.light-theme .chip-radio label:hover {
    border-color: rgba(0, 0, 0, 0.15);
    color: var(--text-primary);
}

body.light-theme .feature-checkbox-item {
    background-color: var(--bg-surface-raised);
    border-color: rgba(0, 0, 0, 0.06);
}

body.light-theme .feature-checkbox-item:hover {
    background-color: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.15);
}

body.light-theme .checkbox-box {
    border-color: rgba(0, 0, 0, 0.2);
}

body.light-theme .feature-checkbox-item input:checked ~ .checkbox-box {
    border-color: var(--accent-gold);
    background-color: var(--accent-gold);
}

body.light-theme .feature-checkbox-item input:checked ~ .checkbox-box::after {
    border-color: #FFFFFF;
}

body.light-theme .result-box {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.04);
}

body.light-theme .btn-gold {
    background-color: var(--accent-gold);
    color: #FFFFFF;
    box-shadow: 0 4px 20px var(--accent-gold-glow);
}

body.light-theme .btn-gold:hover {
    background-color: #9C7416;
    box-shadow: 0 6px 24px rgba(181, 137, 32, 0.35);
}

body.light-theme .btn-outline {
    border-color: rgba(0, 0, 0, 0.15);
    color: var(--text-primary);
}

body.light-theme .btn-outline:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background-color: rgba(181, 137, 32, 0.05);
}

body.light-theme .faq-item {
    background-color: var(--bg-surface);
    border-color: rgba(0, 0, 0, 0.06);
}

body.light-theme .faq-item:hover {
    border-color: rgba(0, 0, 0, 0.15);
}

body.light-theme .faq-item.active {
    border-color: var(--border-gold);
}

body.light-theme .faq-question {
    color: var(--text-primary);
}

body.light-theme .contact-form-container {
    background-color: transparent;
    border-color: transparent;
}

body.light-theme .form-group input, 
body.light-theme .form-group textarea {
    background-color: var(--bg-surface-raised);
    border-color: rgba(0, 0, 0, 0.08);
    color: var(--text-primary);
}

body.light-theme .form-group input:focus, 
body.light-theme .form-group textarea:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 10px rgba(181, 137, 32, 0.08);
}

body.light-theme .main-footer {
    background-color: #F1F5F9;
    border-top-color: rgba(0, 0, 0, 0.05);
}

body.light-theme .footer-brand .company-name {
    color: #0F172A !important;
}

body.light-theme .links-title {
    color: var(--text-primary);
}

body.light-theme .footer-bottom {
    border-top-color: rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   Dynamic Animations & Interactivity
   ========================================================================== */

/* Interactive Mouse Glow */
.mouse-glow {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.09) 0%, rgba(37, 99, 235, 0.04) 40%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    mix-blend-mode: screen;
}

body.light-theme .mouse-glow {
    background: radial-gradient(circle, rgba(181, 137, 32, 0.05) 0%, rgba(37, 99, 235, 0.02) 40%, transparent 70%);
    mix-blend-mode: multiply;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Gold Button Pulse Animation */
@keyframes goldPulse {
    0% {
        box-shadow: 0 4px 20px rgba(212, 175, 55, 0.25), 0 0 0 0 rgba(212, 175, 55, 0.4);
    }
    70% {
        box-shadow: 0 4px 20px rgba(212, 175, 55, 0.25), 0 0 0 10px rgba(212, 175, 55, 0);
    }
    100% {
        box-shadow: 0 4px 20px rgba(212, 175, 55, 0.25), 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

.btn-gold {
    animation: goldPulse 3s infinite ease-in-out;
}

body.light-theme .btn-gold {
    animation: goldPulseLight 3s infinite ease-in-out;
}

@keyframes goldPulseLight {
    0% {
        box-shadow: 0 4px 20px rgba(181, 137, 32, 0.25), 0 0 0 0 rgba(181, 137, 32, 0.4);
    }
    70% {
        box-shadow: 0 4px 20px rgba(181, 137, 32, 0.25), 0 0 0 10px rgba(181, 137, 32, 0);
    }
    100% {
        box-shadow: 0 4px 20px rgba(181, 137, 32, 0.25), 0 0 0 0 rgba(181, 137, 32, 0);
    }
}

/* ==========================================================================
   8. Authentication Modal & User Profiles
   ========================================================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 7, 13, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 20px;
}

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

.modal-container {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 460px;
    padding: 40px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
    position: relative;
    transform: translateY(20px) scale(0.96);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-close-btn {
    position: absolute;
    top: 20px;
    left: 20px; /* Left side for RTL */
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.05);
}

body.light-theme .modal-close-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.modal-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 30px;
    gap: 8px;
}

body.light-theme .modal-tabs {
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

.modal-tab-btn {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    padding: 12px 6px;
    cursor: pointer;
    transition: var(--transition-fast);
    border-bottom: 2px solid transparent;
}

.modal-tab-btn:hover {
    color: var(--text-primary);
}

.modal-tab-btn.active {
    color: var(--accent-gold);
    border-bottom-color: var(--accent-gold);
}

.modal-tab-content {
    display: none;
}

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

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auth-helper-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background-color: rgba(0, 0, 0, 0.15);
    padding: 12px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.03);
}

body.light-theme .auth-helper-text {
    background-color: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.04);
}

.auth-status {
    font-size: 0.85rem;
    text-align: center;
    min-height: 20px;
}

.auth-status.error {
    color: #EF4444;
}

.auth-status.success {
    color: #10B981;
}

/* User Profile Badge Header styling */
.auth-header-area {
    display: flex;
    align-items: center;
}

.user-profile-wrapper {
    position: relative;
    margin-left: 16px;
}

.user-profile-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    border-radius: 50px;
    transition: var(--transition-smooth);
    user-select: none;
}

body.light-theme .user-profile-badge {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.06);
}

.user-profile-badge:hover {
    border-color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.06);
}

.avatar-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--accent-gold);
    color: #0A0F1D;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

body.light-theme .avatar-circle {
    color: #FFFFFF;
}

.avatar-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.dropdown-arrow {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.user-profile-wrapper.active .dropdown-arrow {
    transform: rotate(180deg);
}

.profile-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    width: 160px;
    padding: 6px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: var(--transition-smooth);
    z-index: 1001;
}

.user-profile-wrapper.active .profile-dropdown-menu {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.dropdown-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: right;
    cursor: pointer;
    border-radius: 8px;
    transition: var(--transition-fast);
}

.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

body.light-theme .dropdown-item:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

.dropdown-item.logout {
    color: #EF4444;
}

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

/* Conditional display for Cost Estimator depending on Login state */
#estimator {
    display: none !important;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

body.user-logged-in #estimator {
    display: block !important;
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   9. Client Requests Dashboard Styling
   ========================================================================== */

.my-requests-section {
    padding: 100px 0;
    background-color: var(--bg-surface-raised);
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

body.light-theme .my-requests-section {
    background-color: #F8FAFC;
    border-top-color: rgba(0, 0, 0, 0.05);
}

#my-requests {
    display: none !important;
}

body.user-logged-in #my-requests {
    display: block !important;
}

.requests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* Loading state */
.requests-loading {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 60px 0;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(212, 175, 55, 0.1);
    border-top-color: var(--accent-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Request Cards UI */
.request-card {
    background-color: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 30px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
}

body.light-theme .request-card {
    background-color: #FFFFFF;
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.request-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

body.light-theme .request-card:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 16px 40px rgba(181, 137, 32, 0.1);
}

.request-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
}

body.light-theme .request-header {
    border-bottom-color: rgba(0, 0, 0, 0.05);
}

.request-id {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent-gold);
}

body.light-theme .request-id {
    color: var(--accent-gold);
}

.request-status-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid transparent;
}

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

.status-quote_sent {
    background-color: rgba(37, 99, 235, 0.08);
    color: #3B82F6;
    border-color: rgba(37, 99, 235, 0.15);
}

.status-in_progress {
    background-color: rgba(16, 185, 129, 0.08);
    color: #10B981;
    border-color: rgba(16, 185, 129, 0.15);
}

.status-rejected {
    background-color: rgba(239, 68, 68, 0.08);
    color: #EF4444;
    border-color: rgba(239, 68, 68, 0.15);
}

.request-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.request-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.request-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 0;
}

body.light-theme .request-meta-grid {
    border-top-color: rgba(0, 0, 0, 0.05);
    border-bottom-color: rgba(0, 0, 0, 0.05);
}

.request-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.request-meta-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.request-meta-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.request-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.request-tag-chip {
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4px 12px;
    border-radius: 50px;
    color: var(--text-secondary);
}

body.light-theme .request-tag-chip {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.06);
}

.request-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: left;
    margin-top: 10px;
}

/* Empty State */
.empty-state-container {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 40px;
    background-color: var(--bg-surface);
    border: 1px dashed rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-lg);
    max-width: 600px;
    margin: 40px auto 0;
    gap: 20px;
}

body.light-theme .empty-state-container {
    background-color: #FFFFFF;
    border-color: rgba(181, 137, 32, 0.25);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.empty-state-icon {
    width: 64px;
    height: 64px;
    color: var(--accent-gold);
    opacity: 0.8;
}

.empty-state-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
}

.empty-state-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 420px;
}

/* Nav Link visibility rule for "My Requests" */
.nav-link.nav-my-requests {
    display: none !important;
}

body.user-logged-in .nav-link.nav-my-requests {
    display: inline-block !important;
}

/* ==========================================================================
   Floating App & Support Action Widget Hub
   ========================================================================== */
.floating-widget-container {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 990;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    pointer-events: none;
}

.floating-widget-container * {
    pointer-events: auto;
}

/* Promo Card Banner */
.floating-promo-card {
    background: rgba(18, 24, 41, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    max-width: 320px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.15);
    position: relative;
    transform: translateY(0);
    opacity: 1;
    transition: var(--transition-smooth);
    animation: floatCardBounce 6s infinite ease-in-out;
}

body.light-theme .floating-promo-card {
    background: rgba(255, 255, 255, 0.94);
    border-color: rgba(181, 137, 32, 0.35);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12), 0 0 20px rgba(181, 137, 32, 0.1);
}

.floating-promo-card.dismissed {
    transform: translateY(20px) scale(0.9);
    opacity: 0;
    pointer-events: none;
    display: none;
}

.floating-close-btn {
    position: absolute;
    top: 12px;
    left: 12px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.floating-close-btn:hover {
    color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.1);
}

.floating-close-btn svg {
    width: 14px;
    height: 14px;
}

.promo-badge-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.25);
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
}

.promo-title-text {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.35;
}

.promo-body-text {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 14px;
}

/* Floating Buttons Hub */
.floating-buttons-hub {
    display: flex;
    align-items: center;
    gap: 12px;
}

.floating-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 50px;
    padding: 0 20px;
    border-radius: 30px;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    position: relative;
    transition: var(--transition-smooth);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

/* App Trigger Button */
.floating-app-btn {
    background: linear-gradient(135deg, #D4AF37 0%, #B58920 100%);
    color: #0A0F1D;
    border-color: rgba(255, 255, 255, 0.2);
}

.floating-app-btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.45);
}

.floating-app-btn .btn-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.floating-app-btn .btn-label-text {
    font-weight: 700;
}

.floating-app-btn .btn-badge-chip {
    font-size: 0.72rem;
    background: #0A0F1D;
    color: var(--accent-gold);
    padding: 2px 8px;
    border-radius: 12px;
    margin-right: 4px;
    white-space: nowrap;
}

/* Pulse animation on app button */
.btn-pulse-ring {
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 34px;
    border: 2px solid var(--accent-gold);
    animation: ringPulse 2s infinite ease-out;
    pointer-events: none;
}

/* WhatsApp Floating Button */
.floating-whatsapp-btn {
    width: 50px;
    height: 50px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
    background: #25D366;
    color: #FFFFFF;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.floating-whatsapp-btn:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
    background: #20BA5A;
}

.floating-whatsapp-btn .btn-icon {
    width: 24px;
    height: 24px;
}

/* Floating Animations */
@keyframes ringPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

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

/* Responsive Floating Widget for Mobile Devices */
@media (max-width: 768px) {
    .floating-widget-container {
        bottom: 16px;
        left: 16px;
        right: 16px;
        align-items: stretch;
    }

    .floating-promo-card {
        max-width: 100%;
    }

    .floating-buttons-hub {
        justify-content: space-between;
    }

    .floating-app-btn {
        flex: 1;
        justify-content: center;
    }

    .floating-app-btn .btn-badge-chip {
        display: none;
    }
}

/* ==========================================================================
   Mobile Navigation Drawer & Responsive Component Enhancements
   ========================================================================== */

/* Prevent horizontal overflow on mobile viewports */
html, body {
    overflow-x: hidden;
    width: 100%;
}

body.menu-open {
    overflow: hidden !important;
}

/* Mobile Hamburger Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    transition: var(--transition-fast);
}

body.light-theme .mobile-menu-toggle {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.12);
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--accent-gold);
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Drawer & Backdrop Overlay */
.mobile-nav-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 994;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.mobile-nav-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 310px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    background-color: var(--bg-surface);
    border-left: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: -12px 0 36px rgba(0, 0, 0, 0.6);
    z-index: 995;
    display: flex;
    flex-direction: column;
    padding: 24px 20px;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

body.light-theme .mobile-nav-drawer {
    background-color: #FFFFFF;
    border-left-color: rgba(181, 137, 32, 0.25);
    box-shadow: -12px 0 36px rgba(0, 0, 0, 0.12);
}

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

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.light-theme .mobile-drawer-header {
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

.mobile-drawer-close {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

body.light-theme .mobile-drawer-close {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.1);
}

.mobile-drawer-close:hover {
    color: var(--accent-gold);
    border-color: var(--accent-gold);
}

.mobile-nav-menu {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.light-theme .mobile-nav-menu {
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

.mobile-nav-link {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 1.02rem;
    text-decoration: none;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
    color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.1);
}

.mobile-drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 20px;
    margin-top: auto;
}

.mobile-theme-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

body.light-theme .mobile-theme-toggle-row {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.06);
}

.mobile-theme-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface-raised);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--accent-gold);
    cursor: pointer;
}

/* Comprehensive Responsive Breakpoints */
@media (max-width: 991px) {
    .hero-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 16px;
    }

    .hero-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-top: 24px;
    }

    .hero-stat-card {
        padding: 16px 12px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

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

    .estimator-card {
        padding: 24px 16px;
    }

    .estimator-card-title {
        font-size: 1.4rem;
    }

    .options-flex {
        gap: 8px;
    }

    .chip-checkbox label, .chip-radio label {
        padding: 10px 14px;
        font-size: 0.88rem;
    }

    .requests-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 16px;
    }

    /* Modal Responsive Touch & Overflow Fixes */
    .modal-overlay {
        padding: 12px;
    }

    .modal-container {
        padding: 24px 18px;
        max-width: 96%;
        max-height: 88vh;
        max-height: 88dvh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: var(--radius-md);
    }

    .guest-contact-fields > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    .download-store-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .modal-close-btn {
        top: 14px;
        left: 14px;
        width: 34px;
        height: 34px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .chip-checkbox, .chip-radio {
        flex: 1 1 calc(50% - 6px);
    }

    .chip-checkbox label, .chip-radio label {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

