/* ============================================
   NEXOVA — Premium Company Website Styles
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);

    --text-primary: #f0f0f5;
    --text-secondary: #9595a8;
    --text-muted: #5a5a70;

    --accent-1: #7c5cfc;
    --accent-2: #c084fc;
    --accent-3: #38bdf8;
    --gradient-primary: linear-gradient(135deg, #7c5cfc 0%, #c084fc 50%, #38bdf8 100%);
    --gradient-glow: linear-gradient(135deg, rgba(124, 92, 252, 0.4), rgba(192, 132, 252, 0.4), rgba(56, 189, 248, 0.4));

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Light Mode Overrides --- */
body.light-mode {
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.7);
    --bg-card-hover: rgba(255, 255, 255, 0.9);
    --border-subtle: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(0, 0, 0, 0.15);
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    
    --accent-1: #6366f1;
    --accent-2: #8b5cf6;
    --accent-3: #0ea5e9;
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #0ea5e9 100%);
    --gradient-glow: linear-gradient(135deg, rgba(99, 102, 241, 0.4), rgba(139, 92, 246, 0.4), rgba(14, 165, 233, 0.4));
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

/* --- Cursor Glow --- */
.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 92, 252, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
}

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

.section {
    padding: 120px 0;
    position: relative;
}

/* --- Glass Card --- */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all var(--transition-smooth);
}

.glass-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(124, 92, 252, 0.05);
}

/* --- Section Headers --- */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: rgba(124, 92, 252, 0.1);
    color: var(--accent-2);
    border: 1px solid rgba(124, 92, 252, 0.2);
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-xl);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-smooth);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(124, 92, 252, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(124, 92, 252, 0.5);
}

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

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

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

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

/* ============================================
   PRELOADER
   ============================================ */
.loader-wrapper {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s, visibility 0.5s;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(124, 92, 252, 0.2);
    border-radius: 50%;
    border-top-color: var(--accent-1);
    animation: spin 1s ease-in-out infinite;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-smooth);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
}

.company-logo {
    height: 48px;
    width: auto;
    border-radius: 8px; /* Slightly rounded for better integration */
    background: transparent;
    transition: transform var(--transition-fast);
}

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

.footer-logo {
    display: inline-block;
    margin-bottom: 24px;
}

.footer-logo .company-logo {
    height: 64px; /* Larger in the footer */
}

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

.nav-link {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

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

.nav-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
}

.lang-select {
    background: transparent;
    color: var(--text-primary);
    border: none;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    padding: 4px;
}

.lang-select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.theme-toggle {
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: all var(--transition-fast);
}

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

.nav-cta {
    padding: 10px 24px;
    border-radius: var(--radius-xl);
    font-size: 0.9rem;
    font-weight: 600;
    background: var(--gradient-primary);
    color: white;
    transition: all var(--transition-smooth);
}

.nav-cta:hover {
    box-shadow: 0 4px 20px rgba(124, 92, 252, 0.4);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    filter: blur(2px);
}

.hero-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(124, 92, 252, 0.5), transparent 70%);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(192, 132, 252, 0.4), transparent 70%);
    bottom: -5%;
    right: -5%;
    animation-delay: -7s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.3), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 10px) scale(1.02); }
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 850px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    margin-bottom: 32px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34d399;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 64px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: var(--border-subtle);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.8rem;
    animation: float-y 3s ease-in-out infinite;
}

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

.mouse {
    width: 24px;
    height: 38px;
    border-radius: 12px;
    border: 2px solid var(--text-muted);
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.mouse-wheel {
    width: 3px;
    height: 8px;
    border-radius: 2px;
    background: var(--text-muted);
    animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(10px); }
}

/* --- Animate In --- */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-in:nth-child(1) { animation-delay: 0.1s; }
.animate-in:nth-child(2) { animation-delay: 0.25s; }
.animate-in:nth-child(3) { animation-delay: 0.4s; }
.animate-in:nth-child(4) { animation-delay: 0.55s; }
.animate-in:nth-child(5) { animation-delay: 0.7s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   ABOUT
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.about-card {
    padding: 40px 32px;
    text-align: center;
}

.about-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: rgba(124, 92, 252, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--accent-2);
}

.about-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

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

/* ============================================
   SERVICES
   ============================================ */
.services {
    background: var(--bg-secondary);
}

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

.service-card-full {
    grid-column: 1 / -1;
}

.service-card {
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.service-number {
    position: absolute;
    top: 24px;
    right: 28px;
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: rgba(124, 92, 252, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--accent-2);
    transition: all var(--transition-smooth);
}

.service-card:hover .service-icon {
    background: rgba(124, 92, 252, 0.2);
    transform: scale(1.05);
}

.service-hero-img {
    margin: -40px -40px 24px -40px;
    height: 200px;
    overflow: hidden;
}

.service-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

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

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card > p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-features li {
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    background: rgba(124, 92, 252, 0.08);
    color: var(--accent-2);
    border: 1px solid rgba(124, 92, 252, 0.15);
}

/* ============================================
   WORK / PORTFOLIO
   ============================================ */
.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.work-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-smooth);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
}

.work-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
    border-color: var(--border-hover);
}

.work-card-image {
    height: 260px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.work-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-card:hover .work-img {
    transform: scale(1.08);
}

.work-card-inner {
    position: relative;
    z-index: 1;
    opacity: 0.6;
}

.work-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,10,15,0.6), transparent);
}

.work-card-overlay {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
}

.work-tag {
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.4);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.work-card-content {
    padding: 28px;
}

.work-card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.work-card-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ============================================
   TEAM
   ============================================ */
.team {
    background: var(--bg-secondary);
}

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

.team-card {
    padding: 36px 24px;
    text-align: center;
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
}

.team-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.team-role {
    display: block;
    font-size: 0.85rem;
    color: var(--accent-2);
    font-weight: 500;
    margin-bottom: 12px;
}

.team-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.team-socials {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.team-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    transition: all var(--transition-fast);
}

.team-socials a:hover {
    background: rgba(124, 92, 252, 0.15);
    border-color: rgba(124, 92, 252, 0.3);
    color: var(--accent-2);
    transform: translateY(-2px);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    overflow: hidden;
}

.testimonial-carousel {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    min-height: 280px;
}

.testimonial-card {
    padding: 40px;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
    position: relative;
}

.testimonial-stars {
    font-size: 1.2rem;
    color: #fbbf24;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.testimonial-card blockquote {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 28px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: center;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
}

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

.testimonial-dots {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 32px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 0;
}

.dot.active {
    background: var(--accent-1);
    box-shadow: 0 0 12px rgba(124, 92, 252, 0.4);
    transform: scale(1.2);
}

.dot:hover:not(.active) {
    background: rgba(255, 255, 255, 0.3);
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    background: var(--bg-secondary);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info .section-tag {
    margin-bottom: 16px;
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 1.05rem;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contact-item svg {
    flex-shrink: 0;
    color: var(--accent-2);
}

.contact-form {
    padding: 40px;
}

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

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent-1);
    box-shadow: 0 0 0 3px rgba(124, 92, 252, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.form-group select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239595a8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-group select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-subtle);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin: 16px 0 24px;
    font-size: 0.95rem;
    max-width: 300px;
}

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

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    transition: all var(--transition-fast);
}

.footer-socials a:hover {
    background: rgba(124, 92, 252, 0.15);
    border-color: rgba(124, 92, 252, 0.3);
    color: var(--accent-2);
    transform: translateY(-2px);
}

.footer-links h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.developer-link {
    color: var(--accent-2);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.developer-link:hover {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .nav-links, .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    /* Mobile menu */
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(20px);
        padding: 24px;
        border-bottom: 1px solid var(--border-subtle);
        gap: 4px;
    }

    .nav-links.open .nav-link {
        padding: 12px 16px;
    }

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

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

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

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

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info .section-title {
        text-align: center;
    }

    .contact-info {
        text-align: center;
    }

    .contact-details {
        align-items: center;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-divider {
        display: none;
    }
}

/* ============================================
   PARTNERS MARQUEE
   ============================================ */
.partners {
    padding: 60px 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    overflow: hidden;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

/* Fade edges */
.marquee-container::before,
.marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-card) 0%, transparent 100%);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-card) 0%, transparent 100%);
}

/* The scrolling track — must NOT have padding/gap that breaks the seamless loop */
.marquee-content {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 0;
    width: max-content;
    animation: marqueeScroll 22s linear infinite;
    will-change: transform;
}

.marquee-content:hover {
    animation-play-state: paused;
}

/* Each partner card */
.partner-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 36px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-secondary);
    white-space: nowrap;
    opacity: 0.55;
    transition: opacity 0.3s ease, color 0.3s ease;
    position: relative;
    cursor: default;
}

/* Separator dot between items */
.partner-logo::after {
    content: '·';
    position: absolute;
    right: -2px;
    font-size: 1.4rem;
    color: var(--border-hover);
    pointer-events: none;
}

.partner-logo:hover {
    opacity: 1;
    color: var(--accent-2);
}

.partner-logo:hover svg {
    stroke: var(--accent-2);
}

.partner-logo svg {
    flex-shrink: 0;
    transition: stroke 0.3s ease;
    stroke: var(--text-muted);
}

@keyframes marqueeScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================
   FLOATING ELEMENTS
   ============================================ */
.floating-btn {
    position: fixed;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all var(--transition-smooth);
    border: none;
}

.floating-btn:hover {
    transform: translateY(-4px) scale(1.05);
}

.whatsapp-btn {
    bottom: 24px;
    inset-inline-start: 24px;
    background-color: #25d366;
}

.whatsapp-btn:hover {
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.back-to-top {
    bottom: 24px;
    inset-inline-end: 24px;
    background: var(--bg-card-hover);
    color: var(--text-primary);
    border: 1px solid var(--border-hover);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
}

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    width: 90%;
    max-width: 600px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-spring);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    backdrop-filter: blur(20px);
}

.cookie-banner.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

.cookie-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* ============================================
   AI CHATBOT
   ============================================ */
.chatbot-btn {
    bottom: 96px;
    inset-inline-start: 24px;
    background: var(--gradient-primary);
    box-shadow: 0 4px 20px rgba(124, 92, 252, 0.4);
}

.chatbot-btn:hover {
    box-shadow: 0 6px 25px rgba(124, 92, 252, 0.6);
}

.chatbot-window {
    position: fixed;
    bottom: 160px;
    inset-inline-start: 24px;
    width: 340px;
    max-height: 500px;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    z-index: 1001;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    transform: scale(0);
    transform-origin: bottom right;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    opacity: 0;
}

[dir="rtl"] .chatbot-window {
    transform-origin: bottom right;
}

.chatbot-window.show {
    transform: scale(1);
    opacity: 1;
}

.chatbot-header {
    background: var(--gradient-primary);
    color: white;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header h4 { margin: 0; font-size: 1.1rem; color: white;}
.chatbot-header p { margin: 0; font-size: 0.8rem; opacity: 0.8; }

.chatbot-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

.chatbot-messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 300px;
    scroll-behavior: smooth;
}

.chat-msg {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.4;
    word-wrap: break-word;
}

.bot-msg {
    background: var(--bg-card-hover);
    color: var(--text-primary);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

[dir="rtl"] .bot-msg {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 4px;
}

.user-msg {
    background: rgba(124, 92, 252, 0.2);
    color: var(--text-primary);
    border: 1px solid rgba(124, 92, 252, 0.3);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

[dir="rtl"] .user-msg {
    border-bottom-right-radius: 12px;
    border-bottom-left-radius: 4px;
}

.chatbot-input {
    display: flex;
    padding: 12px;
    border-top: 1px solid var(--border-subtle);
    gap: 8px;
    background: var(--bg-container);
}

.chatbot-input input {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    padding: 10px 14px;
    border-radius: 20px;
    outline: none;
}

.chatbot-input input:focus {
    border-color: var(--accent-1);
}

.chatbot-input button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s;
}

.chatbot-input button:hover {
    transform: scale(1.05);
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 6px 10px;
    background: var(--bg-card-hover);
    border-radius: 12px;
    align-self: flex-start;
    width: fit-content;
    margin-bottom: 12px;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background: var(--text-secondary);
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) { animation-delay: 0s; }
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.5); opacity: 1; }
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        bottom: 16px;
    }
    .cookie-actions {
        width: 100%;
    }
    .cookie-actions .btn {
        width: 100%;
    }
    .whatsapp-btn { inset-inline-start: 16px; bottom: 16px; }
    .back-to-top { inset-inline-end: 16px; bottom: 16px; }
    .chatbot-btn { inset-inline-start: 16px; bottom: 84px; }
    .chatbot-window {
        inset-inline-start: 16px;
        bottom: 156px;
        width: calc(100% - 32px);
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
    }

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

    .contact-form {
        padding: 24px;
    }
}

/* ============================================
   3D ENHANCEMENTS & IMPROVEMENTS
   ============================================ */

/* --- Scroll Progress Bar --- */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--gradient-primary);
    z-index: 10000;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(124, 92, 252, 0.6);
    border-radius: 0 2px 2px 0;
}

/* --- Active Nav Pill enhancement --- */
.nav-link.active {
    background: rgba(124, 92, 252, 0.12) !important;
    color: var(--accent-2) !important;
    box-shadow: inset 0 0 0 1px rgba(124, 92, 252, 0.25);
}

/* --- Nav underline indicator --- */
.nav-link {
    position: relative;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* --- 3D Card Tilt --- */
.tilt-card {
    transform-style: preserve-3d;
    will-change: transform;
}

.tilt-card.glass-card:hover {
    transform: none;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), 0 0 60px rgba(124, 92, 252, 0.08) !important;
    border-color: rgba(124, 92, 252, 0.25) !important;
}

/* --- 3D Floating Icon hover --- */
.about-icon,
.team-avatar {
    transition: transform var(--transition-spring), box-shadow var(--transition-smooth);
}

.about-card:hover .about-icon,
.team-card:hover .team-avatar {
    transform: translateY(-6px) rotateX(10deg) scale(1.08);
    box-shadow: 0 12px 30px rgba(124, 92, 252, 0.25);
}

/* --- 3D Stat Cards --- */
.hero-stats .stat {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 20px 28px;
    transition: transform var(--transition-spring), box-shadow var(--transition-smooth), background var(--transition-fast);
    backdrop-filter: blur(10px);
    cursor: default;
}

.hero-stats .stat:hover {
    transform: translateY(-8px) rotateX(6deg);
    background: rgba(124, 92, 252, 0.07);
    border-color: rgba(124, 92, 252, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 30px rgba(124, 92, 252, 0.1);
}

/* --- 3D Work Card hover depth --- */
.work-card {
    transform-style: preserve-3d;
}

.work-card:hover .work-card-image {
    transform: rotateX(2deg);
}

/* --- 3D Testimonial float --- */
.testimonial-card.active {
    animation: testimonialFloat 6s ease-in-out infinite;
}

@keyframes testimonialFloat {
    0%, 100% { transform: translateX(0) rotateY(0deg); }
    33%       { transform: translateX(0) rotateY(1.2deg); }
    66%       { transform: translateX(0) rotateY(-1.2deg); }
}

/* --- Hero badge glow pulse --- */
.hero-badge {
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(124, 92, 252, 0); }
    50%       { box-shadow: 0 0 20px 4px rgba(124, 92, 252, 0.12); }
}

/* --- Service Number subtle accent --- */
.service-number {
    color: rgba(124, 92, 252, 0.06) !important;
    transition: color var(--transition-smooth);
}

.service-card:hover .service-number {
    color: rgba(124, 92, 252, 0.14) !important;
}

/* --- Glass card shimmer on hover --- */
.glass-card {
    position: relative;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: -80%;
    left: -80%;
    width: 50%;
    height: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.07) 0%, transparent 60%);
    border-radius: 50%;
    transition: top 0.6s ease, left 0.6s ease;
    pointer-events: none;
    z-index: 0;
}

.glass-card:hover::before {
    top: -20%;
    left: -10%;
}

.glass-card > * {
    position: relative;
    z-index: 1;
}

/* --- Contact form input lift on focus --- */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    transform: translateY(-1px);
}

/* --- Footer link animated arrow --- */
.footer-links a {
    display: inline-block;
    transition: transform var(--transition-fast), color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-links a:hover {
    transform: translateX(4px);
    color: var(--accent-2) !important;
    padding-left: 0 !important;
}

/* --- Button active ripple --- */
.btn {
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at center, rgba(255,255,255,0.18) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.25s;
}

.btn:active::after {
    opacity: 1;
}

/* --- RTL chatbot transform origin fix --- */
[dir="rtl"] .chatbot-window {
    transform-origin: bottom left !important;
}

/* --- Floating btn 3D depth --- */
.floating-btn:hover {
    transform: translateY(-5px) scale(1.08) !important;
}

/* --- Light mode 3D adjustments --- */
body.light-mode .tilt-card.glass-card:hover {
    box-shadow: 0 30px 80px rgba(0,0,0,0.12), 0 0 40px rgba(99,102,241,0.07) !important;
}

body.light-mode .hero-stats .stat:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.1), 0 0 20px rgba(99,102,241,0.07);
}

body.light-mode .glass-card::before {
    background: linear-gradient(135deg, rgba(255,255,255,0.5) 0%, transparent 60%);
}

body.light-mode .scroll-progress-bar {
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.4);
}

/* ============================================
   NEW FEATURES CSS
   ============================================ */

[dir="rtl"] body { font-family: 'Cairo', 'Inter', sans-serif; }

.partners-label { text-align: center; font-size: 0.8rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 32px; }

.lang-switcher { position: relative; }
.lang-current { display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.05); border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); color: var(--text-primary); font-family: var(--font-body); font-size: 0.875rem; font-weight: 600; cursor: pointer; padding: 6px 10px; transition: all var(--transition-fast); }
.lang-current:hover { background: rgba(255,255,255,0.08); border-color: var(--border-hover); }
.lang-current svg { transition: transform var(--transition-fast); }
.lang-switcher.open .lang-current svg { transform: rotate(180deg); }
.lang-flag { font-size: 1.1rem; line-height: 1; }
.lang-dropdown { position: absolute; top: calc(100% + 8px); right: 0; min-width: 180px; background: var(--bg-secondary); border: 1px solid var(--border-hover); border-radius: var(--radius-md); padding: 6px; display: none; flex-direction: column; gap: 2px; z-index: 1001; box-shadow: 0 12px 40px rgba(0,0,0,0.4); }
.lang-switcher.open .lang-dropdown { display: flex; animation: dropIn 0.2s cubic-bezier(0.16,1,0.3,1) forwards; }
@keyframes dropIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.lang-option { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: none; background: transparent; color: var(--text-secondary); font-size: 0.875rem; font-weight: 500; cursor: pointer; border-radius: var(--radius-sm); transition: all var(--transition-fast); text-align: left; width: 100%; }
.lang-option:hover,.lang-option.active { background: rgba(124,92,252,0.1); color: var(--accent-2); }
[dir="rtl"] .lang-dropdown { right: auto; left: 0; }
[dir="rtl"] .lang-option { text-align: right; }

.nav-mobile-cta { margin-top: 8px; }
.nav-mobile-cta .btn { width: 100%; justify-content: center; padding: 12px 20px; border-radius: var(--radius-md); }

.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.75); backdrop-filter: blur(8px); z-index: 9000; display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; visibility: hidden; transition: all var(--transition-smooth); }
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-box { width: 100%; max-width: 560px; padding: 40px; border-radius: var(--radius-xl); position: relative; transform: translateY(30px) scale(0.97); transition: transform var(--transition-spring); max-height: 90vh; overflow-y: auto; }
.modal-overlay.open .modal-box { transform: translateY(0) scale(1); }
.modal-close { position: absolute; top: 16px; right: 20px; background: rgba(255,255,255,0.06); border: 1px solid var(--border-subtle); color: var(--text-secondary); font-size: 1.4rem; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; line-height: 1; transition: all var(--transition-fast); }
.modal-close:hover { background: rgba(255,255,255,0.12); color: var(--text-primary); }
.modal-header { margin-bottom: 28px; }
.modal-header h2 { font-family: var(--font-heading); font-size: clamp(1.6rem,3vw,2.2rem); font-weight: 700; line-height: 1.2; margin: 12px 0 8px; }
.modal-header p { color: var(--text-secondary); font-size: 0.95rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group.has-error input,.form-group.has-error textarea,.form-group.has-error select { border-color: #f87171 !important; box-shadow: 0 0 0 3px rgba(248,113,113,0.15) !important; }
.form-error-msg { display: block; font-size: 0.8rem; color: #f87171; margin-top: 6px; }

.wa-greeting { position: fixed; bottom: 96px; inset-inline-start: 24px; width: 280px; background: var(--bg-secondary); border: 1px solid var(--border-hover); border-radius: var(--radius-lg); padding: 16px; display: flex; gap: 12px; align-items: flex-start; z-index: 998; box-shadow: 0 12px 40px rgba(0,0,0,0.4); transform: translateY(20px) scale(0.95); opacity: 0; visibility: hidden; transition: all var(--transition-spring); }
.wa-greeting.show { transform: translateY(0) scale(1); opacity: 1; visibility: visible; }
.wa-greeting-close { position: absolute; top: 8px; right: 10px; background: none; border: none; color: var(--text-muted); font-size: 1.2rem; cursor: pointer; padding: 2px 4px; transition: color var(--transition-fast); }
.wa-greeting-close:hover { color: var(--text-primary); }
.wa-greeting-avatar { width: 40px; height: 40px; border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.wa-greeting-body { flex: 1; }
.wa-greeting-name { font-family: var(--font-heading); font-weight: 700; font-size: 0.9rem; margin-bottom: 4px; }
.wa-greeting-msg { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 12px; line-height: 1.5; }
.wa-greeting-btn { display: inline-block; padding: 8px 18px; background: #25d366; color: white; border-radius: 100px; font-size: 0.85rem; font-weight: 600; transition: all var(--transition-fast); }
.wa-greeting-btn:hover { background: #1da851; transform: translateY(-1px); }

@media (max-width: 768px) { .wa-greeting { inset-inline-start: 16px; bottom: 86px; width: calc(100% - 32px); max-width: 300px; } .form-row { grid-template-columns: 1fr; } .modal-box { padding: 28px 20px; } }

body.light-mode .modal-overlay { background: rgba(15,23,42,0.6); }
body.light-mode .lang-dropdown { background: white; box-shadow: 0 12px 40px rgba(0,0,0,0.15); }
/* --- Footer Socials --- */
.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    transition: all var(--transition-smooth);
}

.footer-socials a:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(124,92,252,0.3);
}

body.light-mode .footer-socials a {
    background: rgba(0,0,0,0.05);
    border-color: rgba(0,0,0,0.1);
    color: var(--text-secondary);
}
/* ============================================
   PHASE 3 ENHANCEMENTS — How It Works, Gallery Filter,
   Before/After, FAQ, CTA Banner, Mobile Bar, Exit Intent,
   Available Badge, prefers-reduced-motion
   ============================================ */

/* --- Available Now Badge --- */
.available-now-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(52, 211, 153, 0.1);
    border: 1px solid rgba(52, 211, 153, 0.3);
    color: #34d399;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.available-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34d399;
    animation: availPulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes availPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); transform: scale(1); }
    50% { box-shadow: 0 0 0 6px rgba(52,211,153,0.2); transform: scale(1.1); }
}

/* --- Cycling Badge Text --- */
.badge-cycling {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.badge-cycling.cycling-out {
    opacity: 0;
    transform: translateY(-8px);
}

.badge-cycling.cycling-in {
    opacity: 0;
    transform: translateY(8px);
}

/* --- How It Works --- */
.how-it-works { background: var(--bg-secondary); }

.hiw-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: start;
    gap: 0;
    margin-top: 60px;
}

.hiw-step {
    text-align: center;
    padding: 0 16px;
    position: relative;
}

.hiw-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 12px 40px rgba(124,92,252,0.3);
    transition: transform var(--transition-spring), box-shadow var(--transition-smooth);
}

.hiw-step:hover .hiw-icon {
    transform: translateY(-6px) scale(1.08);
    box-shadow: 0 20px 50px rgba(124,92,252,0.4);
}

.hiw-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(124,92,252,0.08);
    line-height: 1;
    margin-bottom: 12px;
    transition: color var(--transition-smooth);
}

.hiw-step:hover .hiw-number {
    color: rgba(124,92,252,0.15);
}

.hiw-step h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.hiw-step p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.hiw-connector {
    width: 60px;
    height: 2px;
    background: linear-gradient(to right, rgba(124,92,252,0.4), rgba(192,132,252,0.4));
    margin-top: 36px;
    position: relative;
}

.hiw-connector::after {
    content: '';
    position: absolute;
    right: -5px;
    top: -4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-2);
    opacity: 0.5;
}

@media (max-width: 768px) {
    .hiw-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .hiw-connector {
        width: 2px;
        height: 32px;
        margin: 0 auto;
        background: linear-gradient(to bottom, rgba(124,92,252,0.4), rgba(192,132,252,0.4));
    }
    .hiw-connector::after {
        right: -4px;
        bottom: -5px;
        top: auto;
    }
}

/* --- Gallery Filter Tabs --- */
.gallery-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 22px;
    border-radius: 100px;
    border: 1px solid var(--border-subtle);
    background: transparent;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-smooth);
    min-height: 44px;
    min-width: 44px;
}

.filter-btn:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
    background: rgba(255,255,255,0.04);
}

.filter-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    box-shadow: 0 6px 20px rgba(124,92,252,0.3);
}

.work-card.hidden {
    display: none;
}

.work-card.filtering {
    animation: filterFadeIn 0.4s ease forwards;
}

@keyframes filterFadeIn {
    from { opacity: 0; transform: scale(0.96) translateY(10px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* --- Before / After Slider --- */
.before-after-section { background: var(--bg-secondary); }

.before-after-wrapper {
    max-width: 860px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}

.before-after-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    cursor: ew-resize;
    user-select: none;
    overflow: hidden;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-subtle);
}

.ba-before,
.ba-after {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.ba-before img,
.ba-after img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.ba-after {
    clip-path: inset(0 50% 0 0);
    transition: clip-path 0.05s linear;
}

.ba-label {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(0,0,0,0.6);
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    letter-spacing: 1px;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
}

.ba-label-after {
    left: auto;
    right: 16px;
}

.ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    cursor: ew-resize;
    touch-action: none;
}

.ba-handle-line {
    flex: 1;
    width: 3px;
    background: white;
    box-shadow: 0 0 8px rgba(0,0,0,0.4);
}

.ba-handle-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    color: #7c5cfc;
    flex-shrink: 0;
    transition: transform var(--transition-spring);
}

.ba-handle:hover .ba-handle-btn,
.ba-handle.dragging .ba-handle-btn {
    transform: scale(1.15);
}

/* --- FAQ Section --- */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border-radius: var(--radius-lg) !important;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: color var(--transition-fast);
    min-height: 44px;
}

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

.faq-icon {
    flex-shrink: 0;
    transition: transform var(--transition-smooth);
    color: var(--text-secondary);
}

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

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

.faq-item.open .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* --- Mid-page CTA Banner --- */
.cta-banner {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(124,92,252,0.12) 0%, rgba(56,189,248,0.08) 100%);
    border-top: 1px solid rgba(124,92,252,0.15);
    border-bottom: 1px solid rgba(124,92,252,0.15);
}

.cta-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-banner-text h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 12px;
}

.cta-banner-text p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.cta-banner-actions {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .cta-banner-inner { flex-direction: column; text-align: center; }
    .cta-banner-actions { flex-direction: column; width: 100%; }
    .cta-banner-actions .btn { width: 100%; justify-content: center; }
}

/* --- Sticky Mobile CTA Bar --- */
.mobile-cta-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 8000;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-hover);
    box-shadow: 0 -8px 30px rgba(0,0,0,0.3);
}

.mobile-cta-call,
.mobile-cta-quote,
.mobile-cta-wa {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 12px 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    background: transparent;
    font-family: var(--font-body);
    transition: all var(--transition-fast);
    min-height: 56px;
    text-decoration: none;
}

.mobile-cta-call { color: #38bdf8; }
.mobile-cta-call:hover { background: rgba(56,189,248,0.08); }

.mobile-cta-quote {
    color: white;
    background: var(--gradient-primary);
    border-radius: 0;
}
.mobile-cta-quote:hover { opacity: 0.9; }

.mobile-cta-wa { color: #25d366; }
.mobile-cta-wa:hover { background: rgba(37,211,102,0.08); }

@media (max-width: 768px) {
    .mobile-cta-bar {
        display: flex;
    }
    /* Push page content above mobile bar */
    body {
        padding-bottom: 64px;
    }
}

/* --- Exit Intent Popup --- */
.exit-intent-overlay { z-index: 9500; }

.exit-intent-box {
    max-width: 460px !important;
    text-align: center;
    padding: 48px 40px !important;
}

.exit-intent-emoji {
    font-size: 3.5rem;
    margin-bottom: 16px;
    display: block;
}

.exit-intent-box h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.exit-intent-box p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 28px;
}

.exit-intent-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.btn-ghost {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.875rem;
    cursor: pointer;
    padding: 10px;
    font-family: var(--font-body);
    transition: color var(--transition-fast);
}

.btn-ghost:hover { color: var(--text-secondary); }

/* --- Footer policy links --- */
.footer-policy-link {
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: color var(--transition-fast);
}
.footer-policy-link:hover { color: var(--accent-2); }

/* --- Touch-friendly service tags (item 17) --- */
.service-tag {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
}

/* --- Pull-to-refresh prevention (item 18) --- */
html {
    overscroll-behavior-y: none;
}

/* --- prefers-reduced-motion (item 11) --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .hero-gradient-orb,
    .available-dot,
    .badge-dot,
    .cursor-glow {
        animation: none !important;
    }
    .hero-bg-image {
        transform: none !important;
    }
}

/* --- Print stylesheet (@media print) (item 22) --- */
@media print {
    .navbar, .floating-btn, .whatsapp-btn, .chatbot-btn, .chatbot-window,
    .cookie-banner, .wa-greeting, .mobile-cta-bar, .scroll-progress-bar,
    .modal-overlay, .cursor-glow, .hero-gradient-orb, .grid-overlay,
    .back-to-top, .exit-intent-overlay, .scroll-indicator {
        display: none !important;
    }
    body {
        background: white !important;
        color: black !important;
        font-size: 12pt;
        padding-bottom: 0 !important;
    }
    .section { padding: 20pt 0; }
    .glass-card { border: 1px solid #ddd !important; background: white !important; }
    .hero { min-height: auto; padding: 40pt 0; }
    .hero-bg { display: none; }
    .hero-content { color: black; }
    .gradient-text { -webkit-text-fill-color: black; background: none; }
    a { color: black; text-decoration: underline; }
    .footer { background: white; color: black; border-top: 1pt solid #ccc; }
    .section-title, h1, h2, h3 { color: black; }
    @page { margin: 2cm; }
}
/* Fix: Before/After slider explicit heights and lazy load */
.before-after-slider {
    min-height: 300px;
}

.ba-before img,
.ba-after img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    min-height: 200px;
}

/* Fix: new reveal elements */
.hiw-grid.reveal,
.faq-grid.reveal,
.before-after-wrapper.reveal,
.cta-banner-inner.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hiw-grid.visible,
.faq-grid.visible,
.before-after-wrapper.visible,
.cta-banner-inner.visible {
    opacity: 1;
    transform: translateY(0);
}
/* ============================================
   HERO 3D LOGO BACKGROUND
   ============================================ */

.hero-logo-3d {
    position: absolute;
    /* Right side of hero, vertically centered */
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    width: clamp(280px, 30vw, 480px);
    z-index: 1;
    pointer-events: none;
    perspective: 900px;
    perspective-origin: center center;
}

.hero-logo-3d img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.85;
    mix-blend-mode: screen;
    filter: drop-shadow(0 0 25px rgba(124, 92, 252, 0.95))
            drop-shadow(0 0 50px rgba(56, 189, 248, 0.9))
            drop-shadow(0 0 90px rgba(192, 132, 252, 0.7))
            brightness(1.3) contrast(1.25);
    mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 70%);
    -webkit-mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 70%);
    transform-origin: center center;
    transform-style: preserve-3d;
    will-change: transform, opacity, filter;
    animation: holoGlowPulse 3.5s ease-in-out infinite alternate;
}

@keyframes holoGlowPulse {
    0% {
        filter: drop-shadow(0 0 20px rgba(124, 92, 252, 0.9))
                drop-shadow(0 0 45px rgba(56, 189, 248, 0.85))
                brightness(1.2) contrast(1.15);
        opacity: 0.75;
        transform: scale(0.98) rotateY(-5deg);
    }
    100% {
        filter: drop-shadow(0 0 35px rgba(56, 189, 248, 1))
                drop-shadow(0 0 70px rgba(192, 132, 252, 0.95))
                brightness(1.45) contrast(1.3);
        opacity: 0.95;
        transform: scale(1.03) rotateY(5deg);
    }
}

/* Mouse parallax — JS will update this custom property */
.hero-logo-3d {
    transition: transform 0.15s linear;
}

/* Light mode: holographic contrast */
body.light-mode .hero-logo-3d img {
    opacity: 0.45;
    mix-blend-mode: multiply;
    filter: drop-shadow(0 0 20px rgba(124, 92, 252, 0.5));
}

/* Smaller screens — move it to bottom-right, scale down */
@media (max-width: 768px) {
    .hero-logo-3d {
        width: clamp(160px, 40vw, 240px);
        top: auto;
        bottom: 10%;
        right: 4%;
        transform: none;
        opacity: 0.7;
    }
}

/* Print: hide */
@media print {
    .hero-logo-3d { display: none !important; }
}

/* Reduced motion: stop animation, keep static */
@media (prefers-reduced-motion: reduce) {
    .hero-logo-3d img {
        animation: none !important;
        transform: perspective(900px) rotateY(0deg) !important;
    }
}
/* ============================================
   PREMIUM TECH PRELOADER
   ============================================ */

.loader-wrapper {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #050510;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.76, 0, 0.24, 1);
    animation: autoDismissLoader 0.7s ease 0.5s forwards;
}

@keyframes autoDismissLoader {
    0% { opacity: 1; }
    80% { opacity: 0; transform: translateY(-100%); pointer-events: none; }
    100% { opacity: 0; transform: translateY(-100%); pointer-events: none; visibility: hidden; display: none !important; }
}

.loader-wrapper.hidden {
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
    display: none !important;
}

/* Animated dot-grid background */
.loader-grid {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(124,92,252,0.25) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: loaderGridPulse 3s ease-in-out infinite;
}

@keyframes loaderGridPulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50%       { opacity: 0.8; transform: scale(1.02); }
}

/* CRT scanlines */
.loader-scanlines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.08) 2px,
        rgba(0, 0, 0, 0.08) 4px
    );
    pointer-events: none;
    z-index: 1;
}

/* Main content */
.loader-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 40px;
}

/* Logo */
.loader-logo-wrap {
    position: relative;
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-logo {
    width: 130px;
    height: 130px;
    object-fit: contain;
    mix-blend-mode: screen;
    mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 45%, rgba(0,0,0,0) 72%);
    -webkit-mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 45%, rgba(0,0,0,0) 72%);
    animation: loaderLogoReveal 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
               loaderLogoFloat 3s ease-in-out 1s infinite;
    opacity: 0;
    transform: scale(0.4) rotateY(90deg);
    filter: drop-shadow(0 0 25px rgba(124,92,252,0.9)) drop-shadow(0 0 45px rgba(56,189,248,0.8));
}

@keyframes loaderLogoReveal {
    to {
        opacity: 1;
        transform: scale(1) rotateY(0deg);
    }
}

@keyframes loaderLogoFloat {
    0%, 100% { transform: translateY(0) rotateY(-8deg); }
    50%       { transform: translateY(-10px) rotateY(8deg); }
}

/* Spinning ring around logo */
.loader-logo-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: rgba(124, 92, 252, 0.9);
    border-right-color: rgba(56, 189, 248, 0.5);
    animation: loaderRingSpin 1.2s linear infinite;
}

.loader-logo-wrap::after {
    content: '';
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    border: 1px solid transparent;
    border-bottom-color: rgba(192, 132, 252, 0.6);
    border-left-color: rgba(56, 189, 248, 0.3);
    animation: loaderRingSpin 2s linear infinite reverse;
}

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

/* Glow pulse behind logo */
.loader-logo-glow {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124,92,252,0.3) 0%, transparent 70%);
    animation: loaderGlowPulse 2s ease-in-out infinite;
}

@keyframes loaderGlowPulse {
    0%, 100% { opacity: 0.5; transform: scale(0.9); }
    50%       { opacity: 1;   transform: scale(1.2); }
}

/* Brand name */
.loader-brand {
    text-align: center;
    animation: loaderFadeUp 0.6s ease 0.5s forwards;
    opacity: 0;
    transform: translateY(16px);
}

@keyframes loaderFadeUp {
    to { opacity: 1; transform: translateY(0); }
}

.loader-brand-text {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: 0.3em;
    color: white;
    position: relative;
    /* Glitch effect */
    animation: loaderGlitch 4s ease-in-out 1.5s infinite;
}

.loader-brand-text::before,
.loader-brand-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.loader-brand-text::before {
    color: #38bdf8;
    animation: loaderGlitchTop 4s ease-in-out 1.5s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
    left: 2px;
}

.loader-brand-text::after {
    color: #c084fc;
    animation: loaderGlitchBot 4s ease-in-out 1.5s infinite;
    clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
    left: -2px;
}

@keyframes loaderGlitch {
    0%, 90%, 100% { transform: translate(0); }
    92%  { transform: translate(-2px, 1px); }
    94%  { transform: translate(2px, -1px); }
    96%  { transform: translate(-1px, 2px); }
}

@keyframes loaderGlitchTop {
    0%, 90%, 100% { transform: translate(0); opacity: 0; }
    92% { transform: translate(-3px, -1px); opacity: 0.7; }
    94% { transform: translate(3px, 1px);  opacity: 0.7; }
    96% { transform: translate(0); opacity: 0; }
}

@keyframes loaderGlitchBot {
    0%, 90%, 100% { transform: translate(0); opacity: 0; }
    92% { transform: translate(3px, 1px);  opacity: 0.7; }
    94% { transform: translate(-3px, -1px); opacity: 0.7; }
    96% { transform: translate(0); opacity: 0; }
}

.loader-brand-sub {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    margin-top: 6px;
}

/* Progress bar */
.loader-progress-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 320px;
    max-width: 80vw;
    animation: loaderFadeUp 0.6s ease 0.8s forwards;
    opacity: 0;
    transform: translateY(16px);
}

.loader-progress-track {
    flex: 1;
    height: 3px;
    background: rgba(255,255,255,0.08);
    border-radius: 100px;
    position: relative;
    overflow: visible;
}

.loader-progress-fill {
    height: 100%;
    border-radius: 100px;
    background: linear-gradient(to right, #7c5cfc, #38bdf8);
    width: 0%;
    transition: width 0.1s linear;
    position: relative;
}

/* Bright moving dot at the tip */
.loader-progress-fill::after {
    content: '';
    position: absolute;
    right: -3px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 0 10px rgba(124,92,252,1), 0 0 20px rgba(56,189,248,0.8);
}

.loader-progress-glow {
    position: absolute;
    inset: -4px;
    border-radius: 100px;
    background: inherit;
    filter: blur(6px);
    opacity: 0.5;
}

.loader-percent {
    font-family: 'Outfit', monospace;
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
    min-width: 36px;
    text-align: right;
    letter-spacing: 0.05em;
}

/* Status text */
.loader-status {
    font-family: 'Inter', monospace;
    font-size: 0.72rem;
    color: rgba(124,92,252,0.7);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: loaderFadeUp 0.6s ease 1s forwards, loaderStatusBlink 1.5s ease-in-out infinite;
    opacity: 0;
}

@keyframes loaderStatusBlink {
    0%, 100% { opacity: 0.7; }
    50%       { opacity: 0.3; }
}

/* Corner decorations */
.loader-wrapper::before,
.loader-wrapper::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    border-color: rgba(124,92,252,0.4);
    border-style: solid;
    animation: loaderCornerPulse 2s ease-in-out infinite;
}

.loader-wrapper::before {
    top: 32px;
    left: 32px;
    border-width: 2px 0 0 2px;
}

.loader-wrapper::after {
    bottom: 32px;
    right: 32px;
    border-width: 0 2px 2px 0;
}

@keyframes loaderCornerPulse {
    0%, 100% { opacity: 0.4; }
    50%       { opacity: 1; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .loader-logo { animation: loaderLogoReveal 0.3s ease forwards; }
    .loader-logo-wrap::before, .loader-logo-wrap::after { animation: none; }
    .loader-brand-text::before, .loader-brand-text::after { display: none; }
}

/* ============================================
   NEW FEATURES & UPGRADES DESIGN SYSTEM
   ============================================ */

/* --- 1. Trust Badges Strip --- */
.trust-strip {
    background: rgba(15, 20, 32, 0.7);
    backdrop-filter: blur(16px);
    border-y: 1px solid var(--border-subtle);
    padding: 24px 0;
    margin-top: -30px;
    position: relative;
    z-index: 10;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    align-items: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.trust-item:hover {
    border-color: rgba(124, 92, 252, 0.3);
    background: rgba(124, 92, 252, 0.05);
    transform: translateY(-2px);
}

.trust-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(124, 92, 252, 0.25);
}

.trust-text h5 {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.trust-text p {
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin: 2px 0 0;
}

/* --- 2. Instant Price Estimator --- */
.estimator-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}

.estimator-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

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

@media (max-width: 768px) {
    .estimator-grid { grid-template-columns: 1fr; }
    .estimator-wrapper { padding: 24px; }
}

.estimator-form-group {
    margin-bottom: 20px;
}

.estimator-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.estimator-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 10px;
}

.estimator-btn {
    padding: 10px 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.estimator-btn.active, .estimator-btn:hover {
    background: rgba(124, 92, 252, 0.15);
    border-color: var(--accent-2);
    color: var(--text-primary);
}

.estimator-slider-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
}

.estimator-slider {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: var(--border-subtle);
    outline: none;
    accent-color: var(--accent-2);
    cursor: pointer;
}

.estimator-val-badge {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-2);
    background: rgba(124,92,252,0.1);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(124,92,252,0.2);
}

.estimator-result-box {
    background: rgba(10, 15, 26, 0.8);
    border: 1px solid rgba(124, 92, 252, 0.25);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

.estimator-price-tag {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 12px 0 4px;
}

.estimator-price-tag span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* --- 3. Before / After Comparison Slider --- */
.ba-comparison-wrapper {
    max-width: 900px;
    margin: 40px auto 0;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 16px 40px rgba(0,0,0,0.4);
    aspect-ratio: 16 / 9;
    user-select: none;
}

.ba-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ba-after-wrap {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 50%;
    overflow: hidden;
    border-right: 2px solid var(--accent-2);
}

.ba-after-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: none;
}

.ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
    cursor: ew-resize;
    z-index: 10;
}

.ba-handle-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--text-primary);
    color: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
    font-weight: bold;
}

.ba-badge {
    position: absolute;
    top: 16px;
    padding: 6px 14px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 20px;
    z-index: 5;
}

.ba-badge-before { right: 16px; }
.ba-badge-after { left: 16px; }

/* --- 4. Qatar Service Area Coverage Grid --- */
.zones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.zone-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 16px;
}

.zone-card:hover {
    border-color: var(--accent-2);
    background: rgba(124, 92, 252, 0.05);
    transform: translateY(-3px);
}

.zone-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(124, 92, 252, 0.12);
    border: 1px solid rgba(124, 92, 252, 0.25);
    color: var(--accent-2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.zone-info h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}

.zone-info p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 4px 0 0;
}

.zone-badge-time {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
    margin-top: 6px;
}

/* --- 5. Searchable FAQ Accordion --- */
.faq-search-wrapper {
    max-width: 600px;
    margin: 0 auto 30px;
    position: relative;
}

.faq-search-input {
    width: 100%;
    padding: 14px 20px 14px 48px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    color: var(--text-primary);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.faq-search-input:focus {
    border-color: var(--accent-2);
    box-shadow: 0 0 20px rgba(124, 92, 252, 0.2);
}

.faq-search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

html[dir="rtl"] .faq-search-input {
    padding: 14px 48px 14px 20px;
}
html[dir="rtl"] .faq-search-icon {
    left: auto;
    right: 18px;
}

.faq-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.faq-filter-btn {
    padding: 8px 18px;
    border-radius: 100px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.faq-filter-btn.active, .faq-filter-btn:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    border-color: rgba(124, 92, 252, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1.02rem;
    font-weight: 700;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    gap: 16px;
}

html[dir="rtl"] .faq-question {
    text-align: right;
}

.faq-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    background: rgba(124,92,252,0.2);
    color: var(--accent-2);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 24px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}

/* --- 6. Direct WhatsApp Service Buttons --- */
.service-card-footer {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-wa-direct {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 8px;
    background: #25d366;
    color: #0b0f19;
    font-weight: 700;
    font-size: 0.82rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-wa-direct:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* --- 7. Chatbot Quick Action Chips --- */
.chat-quick-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px;
    background: rgba(0,0,0,0.2);
    border-top: 1px solid var(--border-subtle);
}

.chat-chip {
    padding: 5px 10px;
    background: rgba(124, 92, 252, 0.12);
    border: 1px solid rgba(124, 92, 252, 0.25);
    color: var(--accent-2);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chat-chip:hover {
    background: var(--gradient-accent);
    color: #fff;
    border-color: transparent;
}

/* ============================================
   INDUSTRY SECTORS GRID
   ============================================ */
.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.sector-card {
    padding: 30px;
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.sector-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-1);
    box-shadow: 0 12px 30px rgba(124, 92, 252, 0.25);
}

.sector-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
    display: inline-block;
    filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.5));
}

.sector-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

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

/* ============================================
   GUARANTEE BANNER
   ============================================ */
.guarantee-banner {
    padding: 30px 0;
}

.guarantee-wrap {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 32px 40px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(124,92,252,0.15) 0%, rgba(56,189,248,0.1) 100%);
    border: 1px solid rgba(124,92,252,0.3);
    box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}

.guarantee-badge-icon {
    font-size: 3.5rem;
    flex-shrink: 0;
    filter: drop-shadow(0 0 15px rgba(56,189,248,0.6));
}

.guarantee-content h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-primary);
}

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

.guarantee-action {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .guarantee-wrap {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }
}

/* ============================================
   GALLERY LIGHTBOX MODAL
   ============================================ */
.gallery-lightbox-overlay {
    z-index: 100000;
}

.gallery-lightbox-content {
    width: 90%;
    max-width: 750px;
    padding: 0;
    overflow: hidden;
    border-radius: 20px;
    background: #0b0f19;
    border: 1px solid var(--border-subtle);
}

.gallery-lightbox-content img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    display: block;
}

.gallery-lightbox-meta {
    padding: 24px;
}

.gallery-lightbox-meta h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.gallery-lightbox-meta p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Corporate Profile PDF Button */
.btn-pdf-cta {
    margin-top: 24px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-color: rgba(56, 189, 248, 0.4);
    color: var(--accent-2);
}

.btn-pdf-cta:hover {
    background: rgba(56, 189, 248, 0.15);
    border-color: var(--accent-2);
}

/* ============================================
   PACKAGE BUILDER WIZARD
   ============================================ */
.wiz-card {
    padding: 32px;
    border-radius: 24px;
    margin-top: 30px;
}

.wiz-steps-indicator {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 16px;
}

.wiz-step-pill {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    background: rgba(255,255,255,0.04);
}

.wiz-step-pill.active {
    background: var(--gradient-accent);
    color: #fff;
}

.wiz-step-panel {
    display: none;
}

.wiz-step-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.wiz-grid-opts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.wiz-opt-box, .wiz-check-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px;
    border-radius: 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-subtle);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.wiz-opt-box.active, .wiz-check-box:has(input:checked) {
    border-color: var(--accent-2);
    background: rgba(56, 189, 248, 0.12);
}

.wiz-nav-btns {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle);
}

.wiz-summary-box {
    padding: 20px;
    border-radius: 16px;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(124,92,252,0.3);
}

/* ============================================
   QATAR VIP EXECUTIVE CONCIERGE & LUXURY TOKENS
   ============================================ */

.gold-gradient-text {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-tag-gold {
    border-color: rgba(245, 158, 11, 0.4) !important;
    color: #fbbf24 !important;
    background: rgba(245, 158, 11, 0.1) !important;
}

.btn-gold {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #0b0f19 !important;
    font-weight: 800;
    border: none;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    text-decoration: none;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
}

.gold-border {
    border: 1px solid rgba(245, 158, 11, 0.35) !important;
}

.vip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.vip-card {
    padding: 32px 24px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: linear-gradient(135deg, rgba(245,158,11,0.06) 0%, rgba(11,15,25,0.95) 100%);
}

.vip-card:hover {
    transform: translateY(-8px);
    border-color: #fbbf24 !important;
    box-shadow: 0 16px 40px rgba(245, 158, 11, 0.25);
}

.vip-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 12px;
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.4);
}

.vip-icon {
    font-size: 2.8rem;
    margin-bottom: 16px;
    filter: drop-shadow(0 0 12px rgba(245, 158, 11, 0.5));
}

.vip-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 10px;
}

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

/* Floating VIP Gold WhatsApp Concierge Badge */
.vip-floating-badge {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 30px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #0b0f19;
    font-weight: 800;
    font-size: 0.85rem;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
    transition: all 0.3s ease;
}

.vip-floating-badge:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 12px 35px rgba(245, 158, 11, 0.6);
}

.vip-badge-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0b0f19;
    animation: pulse 1.5s infinite;
}

/* Arabic RTL Typography */
body[dir="rtl"],
body[dir="rtl"] h1,
body[dir="rtl"] h2,
body[dir="rtl"] h3,
body[dir="rtl"] h4,
body[dir="rtl"] h5,
body[dir="rtl"] .section-title,
body[dir="rtl"] .hero-title {
    font-family: 'Alexandria', 'Tajawal', sans-serif !important;
}

/* Mobile Quick-Action Floating Bottom Bar */
.mobile-cta-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: rgba(11, 15, 25, 0.95);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-subtle);
    padding: 8px 12px;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .mobile-cta-bar {
        display: flex;
    }
}

.mobile-cta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 700;
    transition: all 0.2s ease;
}

.mobile-cta-item:hover, .mobile-cta-item:active {
    color: var(--text-primary);
}

.mobile-cta-icon {
    font-size: 1.2rem;
}

.mobile-cta-wa {
    color: #25d366 !important;
}

.mobile-cta-gold {
    color: #fbbf24 !important;
}