/* =====================
   Base & Variables
===================== */
:root {
    --bg-color: #ffffff;
    --bg-darker: #f8fafc;
    --card-bg: #ffffff;
    --card-border: #e2e8f0;
    
    --primary: #0f172a; /* Pure rich off-black */
    --secondary: #1e293b; /* Deep slate off-black */
    --accent: #020617; /* Darkest off-black */
    --accent-2: #1e293b;
    
    --text-main: #111827; /* Crisp off-black font text */
    --text-muted: #374151; /* High-contrast readable off-black text */
    --text-dark: #030712;
    
    --brand-blue: #111827;
    --brand-blue-hover: #020617;
    --whatsapp: #1e293b;
    --whatsapp-hover: #0f172a;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.65;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-main);
}

p {
    color: var(--text-muted);
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.bg-darker {
    background-color: var(--bg-darker);
}

.text-center {
    text-align: center;
}

.relative {
    position: relative;
}

.z-10 {
    z-index: 10;
}

/* =====================
   Typography
===================== */
.gradient-text {
    background: linear-gradient(135deg, #0f172a 0%, #111827 50%, #374151 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 15px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto 50px;
}

/* =====================
   Buttons
===================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: var(--transition);
    gap: 8px;
    font-size: 1rem;
    background: #f3f4f6;
    color: #111827;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.btn i {
    color: #6b7280;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.w-full {
    width: 100%;
}

.btn-primary, .btn-secondary, .btn-outline, .btn-whatsapp {
    background: #f3f4f6;
    color: #111827;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.btn:hover, .btn-primary:hover, .btn-secondary:hover, .btn-outline:hover, .btn-whatsapp:hover {
    background: #e5e7eb;
    color: #111827;
    border-color: #d1d5db;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.04);
}

/* =====================
   Components
===================== */
.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05), 0 10px 15px -3px rgba(0,0,0,0.1);
}

.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-10px);
    border-color: rgba(79, 172, 254, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hover-glow:hover {
    border-color: rgba(142, 45, 226, 0.4);
    box-shadow: 0 0 20px rgba(142, 45, 226, 0.15);
}

/* =====================
   Navigation
===================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.navbar.scrolled {
    padding: 10px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: #0f172a;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links .btn {
    color: #0f172a;
    border-color: #0f172a;
}
.nav-links .btn:hover {
    color: #ffffff;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #0f172a;
}

/* =====================
   Hero Section
===================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 10s infinite ease-in-out alternate;
}

.shape-1 {
    top: -10%; left: -10%;
    width: 500px; height: 500px;
    background: rgba(79, 172, 254, 0.15);
}

.shape-2 {
    bottom: 10%; right: -5%;
    width: 600px; height: 600px;
    background: rgba(142, 45, 226, 0.15);
    animation-delay: -5s;
}

.shape-3 {
    top: 40%; left: 50%;
    width: 300px; height: 300px;
    background: rgba(0, 242, 254, 0.1);
    transform: translateX(-50%);
}

@keyframes float {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(30px) scale(1.05); }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* Visual Abstract */
.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-card {
    width: 320px;
    height: 220px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    z-index: 2;
    animation: float 6s infinite ease-in-out;
}

.visual-header {
    display: flex;
    gap: 6px;
    margin-bottom: 20px;
}

.dot {
    width: 10px; height: 10px; border-radius: 50%;
}
.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }

.visual-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.code-line {
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
}
.w-80 { width: 80%; }
.w-60 { width: 60%; }
.w-90 { width: 90%; }
.w-40 { width: 40%; }
.w-70 { width: 70%; }
.highlight { background: linear-gradient(90deg, var(--primary), var(--secondary)); }

.floating-element {
    position: absolute;
    width: 60px; height: 60px;
    border-radius: 12px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--primary);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.el-1 { top: 10%; right: 10%; animation: float 4s infinite ease-in-out alternate; }
.el-2 { bottom: 10%; left: 10%; animation: float 5s infinite ease-in-out alternate-reverse; color: var(--accent); }
.el-3 { top: 50%; right: -5%; animation: float 6s infinite ease-in-out alternate; color: #ffbd2e; }

/* =====================
   Grids
===================== */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* =====================
   Services
===================== */
.icon-box {
    width: 60px; height: 60px;
    border-radius: 12px;
    background: rgba(79, 172, 254, 0.1);
    color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* =====================
   Apps Showcase
===================== */
.app-showcase-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
}

.app-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.app-icon {
    width: 50px; height: 50px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3rem;
}

.app-info h3 {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.app-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.badge-coming-soon {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(90deg, #ff8a00, #e52e71);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(229, 46, 113, 0.4);
}

/* =====================
   Ready Software
===================== */
.bg-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 60%; height: 60%;
    background: radial-gradient(circle, rgba(142,45,226,0.1) 0%, rgba(0,0,0,0) 70%);
    z-index: 1;
}

.software-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.software-content {
    margin-bottom: 25px;
    text-align: center;
}

.icon-circle {
    width: 70px; height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    color: var(--secondary);
}

.software-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* =====================
   Achievements & About Enhancements
===================== */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    text-align: center;
}

.achievement-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 25px 15px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.achievement-num {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 6px;
    letter-spacing: -1px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

.about-feat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--bg-darker);
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid var(--card-border);
}

.about-feat-item i {
    color: #111827;
    font-size: 1.1rem;
}

.about-brand-card {
    text-align: center;
    border: 1px solid var(--card-border);
    padding: 40px 30px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
}

.about-logo-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    padding: 10px;
}

.about-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.about-brand-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 30px;
    background: rgba(17, 24, 39, 0.1);
    color: #020617;
    font-weight: 600;
    font-size: 0.9rem;
}

/* =====================
   Marquee (Mobile & Desktop Guaranteed)
===================== */
.marquee-container {
    overflow: hidden;
    position: relative;
    padding: 25px 0;
    width: 100%;
}

.marquee-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: marquee-scroll 25s linear infinite;
    direction: ltr !important; /* Uniform scrolling direction */
}

.marquee-container:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-item-card {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
    font-size: 1rem;
    font-weight: 700;
    color: #111827; /* Rich off-black */
    white-space: nowrap;
    text-decoration: none;
    transition: var(--transition);
    flex-shrink: 0;
}

.marquee-item-card:hover {
    transform: translateY(-2px) scale(1.02);
    border-color: #111827;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.2);
    color: #020617;
}

.marquee-item-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(17, 24, 39, 0.1);
    color: #111827;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.border-top {
    border-top: 1px solid var(--card-border);
}

/* =====================
   Premium Modern Footer
===================== */
.premium-footer {
    background: linear-gradient(180deg, #090e17 0%, #030710 100%);
    color: #f1f5f9;
    padding: 70px 0 25px 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-ambient-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(circle, rgba(17, 24, 39, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr;
    gap: 35px;
    margin-bottom: 45px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-brand-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.footer-logo-badge {
    width: 46px;
    height: 46px;
    background: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.footer-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.footer-brand-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.text-brand-accent {
    color: #374151;
}

.footer-bio {
    color: #94a3b8;
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 22px;
}

.social-links {
    display: flex;
    gap: 12px;
    align-items: center;
}

.social-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: var(--transition);
}

.social-btn:hover {
    background: #111827;
    color: #ffffff;
    transform: translateY(-3px);
    border-color: #111827;
    box-shadow: 0 6px 20px rgba(17, 24, 39, 0.35);
}

.social-btn.whatsapp-social:hover {
    background: #1e293b;
    border-color: #1e293b;
    box-shadow: 0 6px 20px rgba(30, 41, 59, 0.35);
}

.footer-heading {
    font-size: 1.15rem;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    font-weight: 700;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 35px;
    height: 2.5px;
    background: linear-gradient(90deg, #374151, #111827);
    border-radius: 2px;
}

html[dir="rtl"] .footer-heading::after {
    right: 0;
    left: auto;
}
html[dir="ltr"] .footer-heading::after {
    left: 0;
    right: auto;
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav-list li a {
    color: #94a3b8;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-link-arrow {
    font-size: 0.75rem;
    color: #374151;
    transition: transform 0.2s ease;
}

html[dir="ltr"] .footer-link-arrow {
    transform: rotate(180deg);
}

.footer-nav-list li a:hover {
    color: #ffffff;
    transform: translateX(-5px);
}
html[dir="ltr"] .footer-nav-list li a:hover {
    transform: translateX(5px);
}

.contact-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(56, 189, 248, 0.1);
    color: #374151;
    border: 1px solid rgba(56, 189, 248, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.92rem;
    color: #cbd5e1;
    line-height: 1.5;
}

.contact-link {
    color: #cbd5e1;
    transition: var(--transition);
}

.contact-link:hover {
    color: #374151;
}

.footer-cta-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 22px;
    backdrop-filter: blur(10px);
}

.footer-cta-sub {
    color: #94a3b8;
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 18px;
}

.footer-btn-wa {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 10px;
    border: none;
    box-shadow: 0 4px 15px rgba(30, 41, 59, 0.3);
}

.footer-btn-wa:hover {
    box-shadow: 0 6px 20px rgba(30, 41, 59, 0.45);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #f1f5f9;
    font-weight: 600;
    font-size: 0.92rem;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 25px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    color: #64748b;
    font-size: 0.9rem;
}

.footer-bottom-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.8rem;
    color: #94a3b8;
}

.footer-pill i {
    color: #374151;
}

/* =====================
   Modals & Popups
===================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(3, 7, 18, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modern-modal-card,
.consultation-modal-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 24px;
    width: 100%;
    max-width: 620px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 32px 28px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35);
    transform: scale(0.94) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modern-modal-card,
.modal-overlay.active .consultation-modal-card {
    transform: scale(1) translateY(0);
}

.close-modal {
    position: absolute;
    top: 20px;
    left: 20px; /* In RTL close is at left */
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    font-size: 1.4rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #111827;
    transition: var(--transition);
    z-index: 10;
}

html[dir="ltr"] .close-modal {
    left: auto;
    right: 20px;
}

.close-modal:hover {
    background: #fee2e2;
    color: #ef4444;
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
}

.modal-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: linear-gradient(135deg, #111827, #030712);
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.25);
    flex-shrink: 0;
}

.modal-main-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #111827; /* Off-black */
    margin-bottom: 4px;
}

.modal-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #059669;
    background: #ecfdf5;
    padding: 3px 10px;
    border-radius: 20px;
}

.modal-desc-text {
    color: #374151; /* Off-black */
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.modal-sub-heading {
    font-size: 1.05rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 12px;
}

.modal-feature-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 25px;
}

.modal-feature-list li {
    padding: 10px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #111827; /* Off-black */
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-feature-list li::before {
    content: '✓';
    font-weight: 800;
    color: #374151;
    background: #d1fae5;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.modal-price-box {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #bfdbfe;
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-price-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e40af;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-price-val {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1d4ed8;
}

.modal-cta-btn {
    padding: 14px 20px;
    font-size: 1.05rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(30, 41, 59, 0.35);
}

.modal-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 41, 59, 0.5);
}

/* =====================
   AI Agent Consultation Modal Specifics
===================== */
.ai-agent-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e2e8f0;
}

.ai-agent-avatar-wrap {
    position: relative;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.ai-agent-orb {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #0f172a 0%, #0f172a 50%, #111827 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 8px 25px rgba(17, 24, 39, 0.4);
    animation: orb-float 4s infinite ease-in-out;
}

@keyframes orb-float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-4px) scale(1.03); }
}

.ai-agent-status-ring {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    background: #374151;
    border: 2px solid #ffffff;
    border-radius: 50%;
}

.ai-agent-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(90deg, #111827, #111827);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ai-agent-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #111827; /* Off-black */
    margin-bottom: 4px;
}

.ai-agent-intro {
    font-size: 0.9rem;
    color: #374151; /* Off-black */
    line-height: 1.5;
}

/* AI Quick Selector Chips */
.ai-chips-wrapper {
    margin-bottom: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px 14px;
}

.ai-chips-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.ai-chips-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ai-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #111827; /* Off-black */
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.ai-chip:hover,
.ai-chip.active {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.ai-chip.active i {
    color: #374151;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.consultation-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: start;
}

.form-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: #111827; /* Off-black */
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    right: 14px;
    color: #64748b;
    font-size: 0.95rem;
    pointer-events: none;
}

html[dir="ltr"] .input-icon {
    right: auto;
    left: 14px;
}

.form-input {
    width: 100%;
    padding: 12px 40px 12px 14px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    color: #111827; /* Off-black */
    font-weight: 500;
    background: #ffffff;
    transition: var(--transition);
}

html[dir="ltr"] .form-input {
    padding: 12px 14px 12px 40px;
}

.form-input:focus {
    outline: none;
    border-color: #0f172a;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.15);
}

.form-textarea {
    resize: vertical;
    min-height: 75px;
}

.consultation-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 5px;
}

.consultation-submit-btn {
    padding: 14px 20px;
    font-size: 1.05rem;
    border-radius: 12px;
    background: #f3f4f6;
    color: #111827;
    font-weight: 700;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.consultation-submit-btn:hover {
    background: #e5e7eb;
    border-color: #d1d5db;
    box-shadow: 0 6px 15px rgba(0,0,0,0.04);
}

.btn-text-subtle {
    background: transparent;
    border: none;
    color: #374151; /* Off-black */
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    padding: 8px;
    text-align: center;
    transition: var(--transition);
}

.btn-text-subtle:hover {
    color: #000000;
    text-decoration: underline;
}

/* =====================
   Circular AI Agent Floating Button
===================== */
.floating-ai-agent-circle {
    position: fixed;
    bottom: 24px;
    left: 24px; /* On Arabic RTL bottom left */
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
    transition: var(--transition);
}

html[dir="ltr"] .floating-ai-agent-circle {
    left: auto;
    right: 24px;
}

.ai-agent-core {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #111827 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.4), 0 0 20px rgba(17, 24, 39, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.3);
    z-index: 2;
    transition: var(--transition);
}

.floating-ai-agent-circle:hover .ai-agent-core {
    transform: scale(1.08);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.5), 0 0 25px rgba(17, 24, 39, 0.5);
}

.ai-core-icon {
    font-size: 1.6rem;
    color: #ffffff;
}

.ai-live-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 13px;
    height: 13px;
    background: #374151;
    border: 2px solid #ffffff;
    border-radius: 50%;
    animation: live-blink 2s infinite;
}

@keyframes live-blink {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

.ai-agent-pulse-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(17, 24, 39, 0.6);
    animation: agent-pulse 2.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
    pointer-events: none;
    z-index: 1;
}

.ai-agent-pulse-ring.delay {
    animation-delay: 1.25s;
}

@keyframes agent-pulse {
    0% { transform: scale(0.95); opacity: 0.9; }
    70% { transform: scale(1.6); opacity: 0; }
    100% { transform: scale(1.8); opacity: 0; }
}

.ai-agent-tooltip {
    display: flex;
    flex-direction: column;
    padding: 8px 14px;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
    transition: var(--transition);
}

.ai-tooltip-badge {
    font-size: 0.65rem;
    font-weight: 800;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ai-tooltip-text {
    font-size: 0.88rem;
    font-weight: 700;
    white-space: nowrap;
}

/* =====================
   Responsive Breakpoints
===================== */
@media (max-width: 992px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .hero-content h1 { font-size: 2.8rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .achievements-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .section { padding: 60px 0; }
    
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-content p { margin: 0 auto 30px; }
    .hero-buttons { justify-content: center; }
    .hero-visual { margin-top: 30px; height: 320px; }
    
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .achievements-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .achievement-num { font-size: 2rem; }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: #ffffff;
        flex-direction: column;
        justify-content: center;
        transition: 0.4s ease;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    
    .nav-links.active { left: 0; }
    .hamburger { display: block; }
    
    .app-showcase-card { flex-direction: column; text-align: center; gap: 20px; }
    .app-info { flex-direction: column; }
    
    /* Marquee Mobile */
    .marquee-item-card { padding: 10px 18px; font-size: 0.92rem; }
    
    /* Footer Mobile Optimization */
    .premium-footer { padding: 50px 0 90px 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 35px; }
    .footer-bottom-content { flex-direction: column; text-align: center; }
    
    /* Modal Mobile */
    .modern-modal-card, .consultation-modal-card { padding: 25px 18px; border-radius: 20px; }
    .form-row-2 { grid-template-columns: 1fr; gap: 10px; }
    .modal-price-box { flex-direction: column; gap: 8px; text-align: center; }
    
    /* Floating circular button on mobile */
    .floating-ai-agent-circle {
        bottom: 16px;
        left: 16px;
    }
    html[dir="ltr"] .floating-ai-agent-circle {
        left: auto;
        right: 16px;
    }
    
    .ai-agent-core {
        width: 54px;
        height: 54px;
    }
    .ai-core-icon {
        font-size: 1.4rem;
    }
    .ai-agent-pulse-ring {
        width: 54px;
        height: 54px;
    }
    
    .ai-agent-tooltip {
        padding: 6px 12px;
    }
    .ai-tooltip-text {
        font-size: 0.8rem;
    }
}

