/* ===================================
   IMVAL Landing Page - Premium Styles
   Color Scheme: Gold & Green
   =================================== */

/* ===== CSS Variables ===== */
:root {
    /* Primary Colors - Neon Green Theme */
    --color-neon-green: #00ff9d;
    --color-neon-green-80: rgba(0, 255, 157, 0.8);
    --color-neon-green-30: rgba(0, 255, 157, 0.3);
    --color-neon-green-20: rgba(0, 255, 157, 0.2);
    --color-neon-green-10: rgba(0, 255, 157, 0.1);
    --color-neon-green-5: rgba(0, 255, 157, 0.05);

    /* Secondary Color - Neon Blue (Features only) */
    --color-neon-blue: #00d4ff;
    --color-neon-blue-80: rgba(0, 212, 255, 0.8);
    --color-neon-blue-30: rgba(0, 212, 255, 0.3);
    --color-neon-blue-20: rgba(0, 212, 255, 0.2);
    --color-neon-blue-10: rgba(0, 212, 255, 0.1);

    /* Background Colors - Pure Black */
    --color-bg-primary: #000000;
    --color-bg-secondary: #000000;
    --color-bg-card: rgba(0, 0, 0, 0.4);
    --color-bg-overlay-95: rgba(0, 0, 0, 0.95);
    --color-bg-overlay-60: rgba(0, 0, 0, 0.6);
    --color-bg-overlay-40: rgba(0, 0, 0, 0.4);
    --color-bg-overlay-20: rgba(0, 0, 0, 0.2);

    /* Text Colors - White and Grays */
    --color-text-primary: #ffffff;
    --color-text-gray-300: #d1d5db;
    --color-text-gray-400: #9ca3af;
    --color-text-gray-500: #6b7280;
    --color-text-gray-600: #4b5563;

    /* Border Colors */
    --color-border-gray-800: #1f2937;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-neon-green) 0%, var(--color-neon-green-80) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--color-neon-blue) 0%, var(--color-neon-blue-80) 100%);
    --gradient-neon-green: linear-gradient(135deg, var(--color-neon-green) 0%, rgba(0, 255, 157, 0.6) 100%);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --spacing-xxl: 10rem;
    /* New Extra Large Spacing for Sections */

    /* Typography */
    --font-primary: 'Tajawal', sans-serif;
    --font-secondary: 'Cairo', sans-serif;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow-green: 0 0 30px rgba(0, 255, 157, 0.5);
    --shadow-glow-green-strong: 0 0 40px rgba(0, 255, 157, 0.7);
    --shadow-glow-blue: 0 0 30px rgba(0, 212, 255, 0.5);
    --shadow-glow-blue-strong: 0 0 40px rgba(0, 212, 255, 0.7);
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

/* English language font swap */
body.lang-en,
body.lang-en .hero-subtitle,
body.lang-en .section-title,
body.lang-en .section-description,
body.lang-en .typing-text,
body.lang-en h1,
body.lang-en h2,
body.lang-en h3,
body.lang-en p,
body.lang-en span,
body.lang-en a,
body.lang-en button,
body.lang-en input,
body.lang-en li {
    font-family: 'Inter', sans-serif;
}

/* Mirror CTA arrow icon when switching to LTR (English) */
html[dir="ltr"] .cta-arrow {
    transform: scaleX(-1);
}

/* ===== Language Toggle Button ===== */
.lang-toggle {
    position: fixed;
    top: 1.5rem;
    inset-inline-end: 1.5rem;
    z-index: 9999;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--color-neon-green-30);
    color: var(--color-neon-green);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.lang-toggle:hover {
    background: rgba(0, 255, 157, 0.1);
    border-color: var(--color-neon-green);
    box-shadow: var(--shadow-glow-green);
    transform: translateY(-2px);
}

.lang-toggle:active {
    transform: translateY(0);
}

.lang-toggle .lang-current {
    user-select: none;
    pointer-events: none;
}

@media (max-width: 768px) {
    .lang-toggle {
        top: 1rem;
        inset-inline-end: 1rem;
        width: 48px;
        height: 48px;
        font-size: 0.85rem;
    }
}

/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===== Typography ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
    margin-bottom: var(--spacing-sm);
}

/* ===== Glassmorphism Card ===== */
.glass-card {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

/* ===== Buttons ===== */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    /* Reduced Padding */
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    font-family: var(--font-secondary);
}

.primary-cta {
    background: var(--gradient-primary);
    color: #000000;
    /* Subtle Glow */
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.2);
    font-weight: 700;
}

.primary-cta:hover {
    transform: translateY(-3px);
    /* Slightly stronger glow on hover */
    box-shadow: 0 0 25px rgba(0, 255, 157, 0.4);
    box-shadow: var(--shadow-glow-green-strong);
}

.hero-brand {
    font-family: 'Cairo', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    color: var(--color-neon-green);
    letter-spacing: 2px;
    margin-bottom: 3rem;
    /* Lifted up as requested */
    line-height: 1;
    text-shadow: 0 0 20px rgba(0, 230, 118, 0.3);
    pointer-events: none;
    opacity: 0;
}

.hero-brand.visible {
    animation: cinematic-fade-in 2.5s ease-out forwards;
}

@keyframes cinematic-fade-in {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
        filter: blur(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
        /* Subtle, stable glow for presence */
        text-shadow: 0 0 30px rgba(0, 255, 157, 0.15);
    }
}

@keyframes neon-flicker {
    0% {
        opacity: 0;
        text-shadow: none;
    }

    10% {
        opacity: 1;
        text-shadow: 0 0 10px var(--color-neon-green);
    }

    15% {
        opacity: 0;
        text-shadow: none;
    }

    20% {
        opacity: 0;
        text-shadow: none;
    }

    25% {
        opacity: 1;
        text-shadow: 0 0 20px var(--color-neon-green);
    }

    30% {
        opacity: 0;
        text-shadow: none;
    }

    40% {
        opacity: 1;
        text-shadow: 0 0 30px var(--color-neon-green), 0 0 60px var(--color-neon-green);
    }

    50% {
        opacity: 0.8;
        text-shadow: none;
    }

    100% {
        opacity: 1;
        text-shadow: 0 0 20px rgba(0, 230, 118, 0.5), 0 0 40px rgba(0, 230, 118, 0.3);
    }
}

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: var(--spacing-lg) 0;
    background-color: #050505;
    /* Deep Black */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, var(--color-neon-green-10) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, var(--color-neon-green-5) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

/* Gradient Fade to Next Section */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, transparent, #050505);
    z-index: 2;
    pointer-events: none;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* Floating Icons Container */
.floating-icons-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    /* Ensure icons don't block interaction */
    z-index: 1;
    /* Ensure container is above background */
}

/* Base Style for Floating Icons */
.floating-icon {
    position: absolute;
    color: #4B5563;
    /* Lighter Gray for clear visibility */
    font-size: 3rem;
    opacity: 0.25;
    /* High opacity to ensure visibility */
    animation: float 6s ease-in-out infinite;
    display: block !important;
    /* Force display to prevent hiding */
}

/* Positioning Icons - Scattered around edges */
.icon-1 {
    top: 12%;
    left: 8%;
    font-size: 3.5rem;
    animation-delay: 0s;
    transform: rotate(-15deg);
}

.icon-2 {
    top: 35%;
    left: 15%;
    font-size: 2.5rem;
    animation-delay: 1.5s;
    transform: rotate(10deg);
}

.icon-3 {
    top: 8%;
    right: 12%;
    font-size: 3rem;
    animation-delay: 0.5s;
    transform: rotate(20deg);
}

.icon-4 {
    top: 28%;
    right: 5%;
    font-size: 4rem;
    animation-delay: 2s;
    transform: rotate(-10deg);
}

.icon-5 {
    bottom: 15%;
    left: 5%;
    font-size: 4rem;
    animation-delay: 1s;
    transform: rotate(5deg);
}

.icon-6 {
    bottom: 35%;
    left: 12%;
    font-size: 2rem;
    animation-delay: 3s;
    transform: rotate(-20deg);
}

.icon-7 {
    bottom: 10%;
    right: 8%;
    font-size: 3.5rem;
    animation-delay: 0.8s;
    transform: rotate(15deg);
}

.icon-8 {
    bottom: 30%;
    right: 15%;
    font-size: 2.5rem;
    animation-delay: 2.5s;
    transform: rotate(-5deg);
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

.hero-content {
    text-align: center;
    z-index: 10;
    /* Ensure text is above icons */
    position: relative;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Text Glow Effect */
.hero-title {
    margin-bottom: var(--spacing-md);
    position: relative;
    display: inline-block;
}

.hero-title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(0, 230, 118, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(20px);
    z-index: -1;
}

.typing-text {
    display: inline-block;
    border-inline-start: 3px solid var(--color-neon-green);
    padding-inline-end: 10px;
    animation: blink 0.7s step-end infinite;
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--color-text-gray-400);
    max-width: 800px;
    margin: 0 auto var(--spacing-md);
    line-height: 1.8;
}

.hero-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    /* Increased gap */
    margin-top: 4rem;
    /* Increased top margin for separation */
    flex-wrap: wrap;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 2rem;
    /* More breathing room */
    background: rgba(10, 10, 10, 0.6);
    /* Darker background */
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Subtle border */
    border-radius: 16px;
    backdrop-filter: blur(12px);
    /* Stronger blur */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 200px;
    /* Fixed width for strict uniformity */
    position: relative;
    overflow: hidden;
}

.icon-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
    pointer-events: none;
}

.icon-item:hover {
    transform: translateY(-5px);
    background: rgba(10, 10, 10, 0.8);
    border-color: var(--color-neon-green);
    box-shadow: 0 10px 30px -10px rgba(0, 230, 118, 0.2);
    /* Green glow shadow */
}

.icon-item i {
    font-size: 2rem;
    color: var(--color-neon-green);
    margin-bottom: 0.25rem;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 5px rgba(0, 230, 118, 0.4));
    /* Icon glow */
}

.icon-item:hover i {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px rgba(0, 230, 118, 0.6));
}

.icon-item span {
    font-size: 0.95rem;
    color: #e5e7eb;
    /* Light gray text */
    font-weight: 500;
    letter-spacing: 0.5px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 2rem;
    color: var(--color-neon-green);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===== Problem Section ===== */
.problem-section {
    padding: var(--spacing-xl) 0;
    background-color: #050505;
    /* Seamless dark transition */
    position: relative;
    overflow: hidden;
}

/* Subtle background glow for continuity */
.problem-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(0, 230, 118, 0.03) 0%, transparent 60%);
    filter: blur(60px);
    z-index: 0;
}

.section-content {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    /* More space for text */
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.section-title {
    color: var(--color-neon-green);
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    position: relative;
    display: inline-block;
}

.main-text {
    font-size: 1.4rem;
    color: #ffffff;
    font-weight: 300;
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.secondary-text {
    font-size: 1.1rem;
    color: var(--color-text-gray-400);
    margin-bottom: var(--spacing-lg);
}

.confrontation-question {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-top: 2rem;
}

.confrontation-question i {
    font-size: 1.5rem;
    color: var(--color-neon-green);
    flex-shrink: 0;
}

/* Chaos Visuals Area - The Tangled Web */
.chaos-visuals {
    position: relative;
    height: 450px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.chaos-wrapper {
    position: relative;
    width: 500px;
    height: 500px;
    max-width: 100%;
}

/* The Tangled Lines SVG */
.chaos-lines {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    opacity: 0.8;
    animation: rotateWeb 60s linear infinite;
    pointer-events: none;
}

/* Floating Items trapped in the web */
.chaos-item {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 80px;
    height: 80px;
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border-radius: 18px;
    /* App icon shape */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    animation: jitter 4s infinite ease-in-out alternate;
    transition: transform 0.3s ease;
}

.chaos-item span {
    font-size: 0.7rem;
    color: #e5e7eb;
    font-weight: 500;
    font-family: var(--font-primary);
}

.chaos-item i {
    font-size: 1.8rem;
    margin-bottom: 2px;
}

/* Brand Colors & Positioning */

/* SNB Capital (Greenish/Gold or Blue) - Using generic Corporate Blue/Green mix */
.item-snb {
    top: 15%;
    right: 15%;
    border-color: rgba(69, 103, 76, 0.5);
}

.item-snb i {
    color: #537b58;
}

/* Muted green for SNB */

/* Excel (Official Green) */
.item-excel {
    top: 45%;
    left: 15%;
    transform: rotate(-10deg);
    border-color: rgba(33, 115, 70, 0.5);
}

.item-excel i {
    color: #217346;
}

/* TradingView (Black/White or Blue) */
.item-tv {
    bottom: 20%;
    right: 25%;
    transform: rotate(5deg);
}

.item-tv i {
    color: #2962ff;
}

/* TV Blue */

/* TickerChart (Orange/Yellowish) */
.item-tc {
    top: 25%;
    left: 35%;
    transform: rotate(8deg);
    z-index: 2;
}

.item-tc i {
    color: #f57f17;
}

/* News/X (Black/White) */
.item-news {
    bottom: 30%;
    left: 10%;
    transform: rotate(-5deg);
}

.item-news i {
    color: #ffffff;
}

/* Hover Effects */
.chaos-visuals:hover .chaos-item {
    opacity: 1 !important;
    filter: brightness(1.2);
    z-index: 20;
}

/* Animations */
@keyframes rotateWeb {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes jitter {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(2px, 2px) rotate(1deg);
    }

    50% {
        transform: translate(-1px, 3px) rotate(-1deg);
    }

    75% {
        transform: translate(1px, -2px) rotate(0.5deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

/* Enhancing Hover Interaction */
.chaos-wrapper:hover .chaos-lines {
    stroke: rgba(255, 255, 255, 0.2);
}

.chaos-wrapper:hover .chaos-item {
    color: #fff;
    z-index: 10;
    opacity: 1 !important;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.confrontation-question p {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.problem-visual {
    display: grid;
    gap: var(--spacing-md);
}

.challenge-card {
    padding: var(--spacing-md);
    background: var(--color-bg-overlay-40);
    border-radius: 15px;
    border-inline-end: 4px solid var(--color-neon-green-30);
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
}

.challenge-card:hover {
    transform: translateX(-10px);
    border-inline-end-color: var(--color-neon-green);
    box-shadow: var(--shadow-glow-green);
}

.challenge-card i {
    font-size: 2.5rem;
    color: var(--color-neon-green);
    margin-bottom: var(--spacing-sm);
}

.challenge-card h3 {
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-xs);
}

.challenge-card p {
    color: var(--color-text-gray-400);
    margin: 0;
}

/* ===== Solution Section (Connected Ecosystem) ===== */
.solution-section {
    padding: var(--spacing-xxl) 0;
    position: relative;
    background-color: #050505;
    /* Grid Background Pattern for "Order" */
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    overflow: hidden;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    position: relative;
    z-index: 2;
}

.section-header .section-title {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 255, 157, 0.3);
}

.section-header .section-description {
    color: var(--color-text-gray-300);
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.clarification-text {
    color: var(--color-neon-green);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 255, 157, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(0, 255, 157, 0.1);
}

/* --- The Dashboard Interface --- */
.dashboard-interface {
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    /* Top neon line accent */
    border-top: 1px solid rgba(0, 255, 157, 0.3);
}

.dashboard-interface::before {
    /* Corner accent */
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: var(--color-neon-green);
    box-shadow: 0 0 15px var(--color-neon-green);
}

.dashboard-grid {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 0;
    /* Connected look */
}

/* Dashboard Modules */
.dashboard-module {
    flex: 1;
    padding: 0 1.5rem;
    text-align: start;
    position: relative;
    transition: all 0.3s ease;
}

.module-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.module-header i {
    font-size: 1.8rem;
    color: var(--color-neon-green);
    padding: 10px;
    background: rgba(0, 255, 157, 0.05);
    border-radius: 12px;
}

.module-header h3 {
    font-size: 1.4rem;
    color: #fff;
    margin: 0;
}

.dashboard-module p {
    color: var(--color-text-gray-400);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    padding-inline-start: 1rem;
}

/* Module List (Data Points) */
.module-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.module-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text-gray-300);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    padding: 8px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.02);
    transition: background 0.3s;
}

.module-list li i {
    font-size: 0.4rem;
    /* Small dot */
    color: var(--color-neon-green);
}

.dashboard-module:hover .module-list li {
    background: rgba(255, 255, 255, 0.05);
}

/* Divider Lines */
.module-divider {
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin: 0 1rem;
}

/* Scanning Line Animation */
.dashboard-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-neon-green), transparent);
    opacity: 0.5;
    animation: scanLine 4s ease-in-out infinite;
}

@keyframes scanLine {
    0% {
        transform: translateY(-300px);
        opacity: 0;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        transform: translateY(0);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .dashboard-grid {
        flex-direction: column;
        gap: 2rem;
    }

    .module-divider {
        width: 100%;
        height: 1px;
        background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
        margin: 1rem 0;
    }

    .dashboard-module {
        text-align: center;
        padding: 1rem;
    }

    .module-header {
        justify-content: center;
    }
}

/* ===== Trust Section (The Three Shields) ===== */
.trust-section {
    padding: var(--spacing-xxl) 0;
    background: #000;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
    align-items: stretch;
}

/* Base Pillar Card */
.pillar-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Pillar Hover Effects (The Shield Effect) */
.pillar-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.04);
}

.hover-glow-green:hover {
    border-color: #00ff9d;
    box-shadow: 0 10px 40px rgba(0, 255, 157, 0.15);
}

.hover-glow-gold:hover {
    border-color: #eab308;
    box-shadow: 0 10px 40px rgba(234, 179, 8, 0.15);
}

.hover-glow-blue:hover {
    border-color: #22d3ee;
    box-shadow: 0 10px 40px rgba(34, 211, 238, 0.15);
}

/* Icon Wrapper & SVG */
.pillar-icon-wrapper {
    width: 100px;
    height: 100px;
    margin-bottom: 2rem;
    position: relative;
}

.pillar-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
    transition: transform 0.3s ease;
}

.pillar-card:hover .pillar-svg {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.4));
}

/* Typography */
.pillar-card h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.pillar-card p {
    color: var(--color-text-gray-400);
    line-height: 1.7;
    flex-grow: 1;
    /* Pushes badge to bottom */
    margin-bottom: 2rem;
}

/* Badges */
.pillar-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: auto;

    /* Default Green (Saudi) */
    background: rgba(0, 255, 157, 0.1);
    color: #00ff9d;
    border: 1px solid rgba(0, 255, 157, 0.2);
}

.badge-gold {
    background: rgba(234, 179, 8, 0.1);
    color: #eab308;
    border-color: rgba(234, 179, 8, 0.2);
}

.badge-blue {
    background: rgba(34, 211, 238, 0.1);
    color: #22d3ee;
    border-color: rgba(34, 211, 238, 0.2);
}

/* ===== Signup Section (The Gateway) ===== */
.signup-section {
    padding: var(--spacing-xxl) 0;
    position: relative;
    background: #000;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.signup-glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 255, 157, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.relative-z {
    position: relative;
    z-index: 1;
}

.signup-content {
    max-width: 600px;
    margin: 0 auto;
}

.signup-text {
    margin-bottom: 3rem;
}

.signup-form {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-group {
    position: relative;
}

.input-icon {
    position: absolute;
    inset-inline-end: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-gray-500);
    font-size: 1.1rem;
    transition: color 0.3s;
}

.signup-form input {
    width: 100%;
    padding-block: 1.2rem;
    padding-inline-start: 1.2rem;
    padding-inline-end: 3rem;
    /* End-side padding for icon */
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
}

.signup-form input:focus {
    outline: none;
    border-color: var(--color-neon-green);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.1);
}

.signup-form input:focus+.input-icon {
    color: var(--color-neon-green);
}

.form-note {
    font-size: 0.85rem;
    color: var(--color-text-gray-500);
    margin: 0;
}

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


/* ===== Footer ===== */
.footer {
    padding: 4rem 0 2rem;
    background: #020202;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--color-text-gray-500);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.footer-logo {
    font-size: 1.8rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--color-text-gray-400);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--color-neon-green);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    color: var(--color-text-gray-600);
    font-size: 0.85rem;
}

.made-in-ksa {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
}

/* Responsive Footer */
@media (max-width: 768px) {

    .footer-content,
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 1s ease-out;
}

/* ===== Scroll Animations ===== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

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