/* Mindlytx Index Style - Extracted from index.html */
/* Color variables */
:root {
    --primary-green: #00C805;
    --primary-green-hover: #00E606;
    --dark-bg: #0E0E0E;
    --card-bg: #1E1E1E;
    --egypt-blue: #1434A4;
    --egypt-red: #CE1126;
    --text-primary: #FFFFFF;
    --text-secondary: #A3A3A3;
    --text-tertiary: #6B7280;
    
    /* Font variables */
    --font-primary: 'IBM Plex Sans', sans-serif;
    --font-arabic: 'Tajawal', sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;
    
    /* Animation variables */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Spacing variables */
    --container-padding: 1rem;
    --section-spacing: 4rem;
    --card-padding: 1.5rem;
}

/* Base styles */
body {
    background-color: var(--dark-bg) !important;
    color: var(--text-primary) !important;
    font-family: var(--font-primary) !important;
    line-height: 1.5;
    min-height: 100vh;
}

/* Arabic text */
.arabic-text {
    font-family: var(--font-arabic);
    direction: rtl;
}

/* Numerical values */
.numbers, .price, .percentages {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
}

/* Focus states for accessibility */
a:focus, button:focus, input:focus, [tabindex]:focus {
    outline: 2px solid var(--primary-green);
    outline-offset: 3px;
}

/* Button styles */
.primary-btn {
    background-color: var(--primary-green) !important;
    color: #000000 !important;
    font-weight: 600;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    text-decoration: none;
}
.primary-btn:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-green-hover);
    z-index: -2;
}
.primary-btn:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: #ffffff;
    transition: all var(--transition-normal);
    z-index: -1;
}
.primary-btn:hover {
    color: #000 !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 200, 5, 0.3);
}
.primary-btn:hover:before {
    width: 100%;
}

/* Card styles */
.feature-card {
    background-color: var(--card-bg);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 200, 5, 0.15);
    border-color: rgba(0, 200, 5, 0.3);
}

/* Info blocks (replaces feature-card for form sections) */
.info-block {
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.info-block h1, .info-block h2, .info-block h3, .info-block h4, .info-block h5, .info-block h6 {
    color: var(--text-primary) !important;
}

/* Device mockup */
.device-mockup {
    position: relative;
    width: 100%;
    height: 500px;
    background: radial-gradient(circle at 50% 50%, rgba(0, 200, 5, 0.15), transparent 70%);
}
.device-mockup::before {
    content: '';
    position: absolute;
    width: 90%;
    height: 90%;
    top: 5%;
    left: 5%;
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.8), rgba(14, 14, 14, 0.4));
    border-radius: 20px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Testimonial slider */
.testimonial-slide {
    display: none;
    opacity: 0;
}
.testimonial-slide.active {
    display: block;
    animation: fadeIn 0.5s forwards;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.dot {
    height: 8px;
    width: 8px;
    background-color: #555;
    border-radius: 50%;
    display: inline-block;
    margin: 0 4px;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}
.dot.active {
    background-color: var(--primary-green);
}

/* Trust items */
.trust-item {
    position: relative;
    transition: transform var(--transition-normal);
}
.trust-item:hover {
    transform: translateY(-5px);
}
.trust-item:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--primary-green);
    transition: width var(--transition-normal);
}
.trust-item:hover:after {
    width: 50%;
}
.counter {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
}

/* Badge styles */
.offer-badge {
    background: linear-gradient(135deg, #ff3a3a, #ff7676);
    color: white;
    padding: 4px 8px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 12px;
    position: absolute;
    top: 30px;
    right: -10px;
    box-shadow: 0 2px 10px rgba(255, 58, 58, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 10;
    animation: pulse 2s infinite;
    white-space: nowrap;
}
.scarcity-badge {
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 2px 10px rgba(255, 58, 58, 0.5);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 2px 20px rgba(255, 58, 58, 0.7);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 2px 10px rgba(255, 58, 58, 0.5);
    }
}

/* Text styles */
.highlight-text {
    color: var(--primary-green);
    font-weight: 500;
}

/* Background patterns */
.noise-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    z-index: -1;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 250 250' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}
.egypt-accent {
    background: linear-gradient(135deg, var(--egypt-red), var(--egypt-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}
.pyramid-icon {
    filter: drop-shadow(0 0 8px rgba(0, 200, 5, 0.3));
}
.egyptian-border {
    position: relative;
}
.egyptian-border:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-green), transparent);
}
.egyptian-pattern-bg {
    background-color: var(--card-bg);
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 0L0 10h5l5-5 5 5h5L10 0z' fill='%2300C805' fill-opacity='0.05'/%3E%3C/svg%3E");
}

/* Tab component */
.tab-btn {
    position: relative;
    z-index: 1;
    transition: all var(--transition-normal);
}
.tab-btn.active {
    background-color: #c3f5a5;
    color: #111827;
    font-weight: 600;
}
.tab-btn:not(.active):hover {
    background-color: rgba(195, 245, 165, 0.1);
}

/* Stock button */
.stock-btn {
    transition: all var(--transition-normal);
}
.stock-btn:hover {
    transform: translateY(-2px);
}
.stock-btn.active {
    border-color: var(--primary-green);
    background-color: rgba(0, 200, 5, 0.1);
}

/* Slider component */
.slider-track {
    width: 100%;
    height: 6px;
    background-color: #374151;
    border-radius: 3px;
    overflow: hidden;
}
.slider-progress {
    height: 100%;
    background-color: var(--primary-green);
    border-radius: 3px;
}
.slider-thumb {
    width: 20px;
    height: 20px;
    background-color: white;
    border: 2px solid var(--primary-green);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0, 200, 5, 0.5);
}

/* Returns section */
.returns-card {
    background-color: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
}
.returns-badge {
    background-color: rgba(79, 70, 229, 0.1);
    color: #8da2fb;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    letter-spacing: 0.05em;
}

/* Verification badge */
.verified-badge {
    background-color: rgba(0, 200, 5, 0.1);
    color: var(--primary-green);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    border: 1px solid rgba(0, 200, 5, 0.3);
    margin-left: 0.5rem;
}

/* Countdown timer */
.countdown {
    font-family: var(--font-mono);
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 4px;
    padding: 4px 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.countdown-digit {
    background-color: #333;
    color: white;
    font-weight: bold;
    padding: 2px 4px;
    border-radius: 3px;
    min-width: 24px;
    text-align: center;
}

/* Feature value badge */
.value-badge {
    display: inline-block !important;
    background-color: rgba(0, 200, 5, 0.15) !important;
    color: #00C805 !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
    font-size: 0.8rem !important;
    margin-left: 0.75rem !important;
    font-weight: 600 !important;
    border: 1px solid rgba(0, 200, 5, 0.3) !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
}

/* Alternative badge classes to avoid any class conflicts */
.mindlytx-value-badge {
    display: inline-block !important;
    margin-left: 8px !important;
    padding: 2px 8px !important;
    background-color: rgba(0, 200, 5, 0.15) !important;
    color: #00C805 !important;
    border-radius: 4px !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    border: 1px solid rgba(0, 200, 5, 0.3) !important;
}

/* Recent signup animation */
.recent-signup {
    position: relative;
    padding-left: 20px;
}
.recent-signup::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background-color: #00C805;
    border-radius: 50%;
    animation: blink 1.5s infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Animation for floating elements */
@keyframes float {
    0% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-20px) translateX(10px); }
    100% { transform: translateY(0) translateX(0); }
}

/* Pricing card best choice marker */
.best-choice {
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(-50%) !important;
    background-color: #00C805 !important;
    color: black !important;
    font-weight: 700 !important;
    padding: 6px 18px !important;
    border-radius: 20px !important;
    box-shadow: 0 4px 12px rgba(0, 200, 5, 0.5), 0 0 0 2px rgba(255, 255, 255, 0.3) !important;
    white-space: nowrap !important;
    z-index: 20 !important;
    letter-spacing: 0.5px !important;
    font-size: 0.85rem !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2) !important;
}

/* Alternative popular tag to avoid conflicts */
.mindlytx-popular {
    position: absolute !important;
    top: -12px !important; 
    left: 50% !important;
    transform: translateX(-50%) !important;
    background-color: #00C805 !important;
    color: black !important;
    font-weight: 700 !important;
    padding: 4px 16px !important;
    border-radius: 20px !important;
    border: 2px solid white !important;
    box-shadow: 0 2px 10px rgba(0, 200, 5, 0.5) !important;
    z-index: 50 !important;
}

/* Helper classes for screen readers */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Media query optimization */
@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Header Navigation Styles */
#site-header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(14, 14, 14, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.site-logo a {
    text-decoration: none;
}

#primary-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    background: transparent;
}

#primary-menu li {
    margin: 0 0.5rem;
}

#primary-menu a {
    color: var(--text-primary);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: all var(--transition-normal);
    font-weight: 500;
    white-space: nowrap;
}

#primary-menu a:hover {
    color: var(--primary-green);
    background-color: rgba(0, 200, 5, 0.1);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: all var(--transition-normal);
    display: block;
}

.menu-line-1, .menu-line-2, .menu-line-3 {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: all var(--transition-normal);
    display: block;
    margin: 3px 0;
}

/* Adjust main content for fixed header */
main {
    margin-top: 80px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    #primary-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(14, 14, 14, 0.98);
        flex-direction: column;
        padding: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    #primary-menu.active {
        display: flex;
    }

    #primary-menu li {
        margin: 0.5rem 0;
        width: 100%;
    }

    #primary-menu a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 1rem;
    }

    .header-main {
        padding: 1rem;
    }
}

/* Green glow effect */
.hover\:shadow-green-glow:hover {
    box-shadow: 0 0 20px rgba(0, 200, 5, 0.5);
}

/* Forms styling */
.form-control, .form-select {
    background: var(--card-bg) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: var(--text-primary) !important;
    border-radius: 8px;
}

.form-control:focus, .form-select:focus {
    background: var(--card-bg) !important;
    border-color: var(--primary-green) !important;
    color: var(--text-primary) !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 200, 5, 0.25) !important;
}

.form-control::placeholder {
    color: var(--text-secondary) !important;
}

.form-label {
    color: var(--text-primary) !important;
    font-weight: 500;
}

.form-text {
    color: var(--text-secondary) !important;
}

/* Button variants */
.btn-primary {
    background-color: var(--primary-green) !important;
    border-color: var(--primary-green) !important;
    color: #000000 !important;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: var(--primary-green-hover) !important;
    border-color: var(--primary-green-hover) !important;
    color: #000000 !important;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--card-bg) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: var(--text-primary) !important;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: var(--text-primary) !important;
}

/* Table styling */
.table {
    color: var(--text-primary) !important;
    border-collapse: separate;
    border-spacing: 0;
}

.table th {
    background: var(--card-bg) !important;
    color: var(--text-primary) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    font-weight: 600;
}

.table td {
    border-color: rgba(255, 255, 255, 0.05) !important;
    color: var(--text-primary) !important;
}

.table-striped > tbody > tr:nth-of-type(odd) > td {
    background-color: rgba(255, 255, 255, 0.02) !important;
}

/* Alert styling */
.alert {
    border-radius: 8px;
    border: none;
}

.alert-info {
    background-color: rgba(0, 200, 5, 0.1) !important;
    color: var(--text-primary) !important;
    border: 1px solid rgba(0, 200, 5, 0.3) !important;
}

.alert-warning {
    background-color: rgba(245, 158, 11, 0.1) !important;
    color: var(--text-primary) !important;
    border: 1px solid rgba(245, 158, 11, 0.3) !important;
}

.alert-danger {
    background-color: rgba(239, 68, 68, 0.1) !important;
    color: var(--text-primary) !important;
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
}

/* CTA Button styling for forms */
.cta-button {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-hover)) !important;
    color: #000000 !important;
    border: none !important;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 200, 5, 0.3);
    color: #000000 !important;
}

.cta-button:active {
    transform: translateY(0);
}

/* Loading states */
.loading-spinner {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    width: 50px;
    height: 50px;
    border: 3px solid rgba(0, 200, 5, 0.3);
    border-top: 3px solid var(--primary-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Hero section */
.hero-section {
    background: var(--dark-bg);
    color: var(--text-primary);
    padding: 2rem 0;
    margin-top: 80px;
}

.hero-content {
    text-align: center;
    padding: 2rem 1rem;
}

.hero-content h1 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.hero-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Footer */
.site-footer {
    background-color: var(--card-bg);
    color: var(--text-secondary);
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

/* Mobile responsiveness improvements */
@media (max-width: 768px) {
    .hero-section {
        padding: 1rem 0;
    }
    
    .hero-content {
        padding: 1rem 0.5rem;
    }
    
    .info-block {
        padding: 20px 15px;
        margin-bottom: 20px;
    }
    
    .cta-button {
        width: 100%;
        padding: 14px 20px;
        font-size: 1.1rem;
    }
}
