:root {
    --primary-color: #818cf8;
    --secondary-color: #6366f1;
    --accent-color: #4f46e5;
    --bg-dark: #0f172a;
    --bg-darker: #1e293b;
    --bg-darkest: #0a0f1d;
    --text-color: #ffffff;
    --text-muted: #94a3b8;
    --white: #ffffff;
    --gradient-1: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-darkest) 100%);
    --gradient-2: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    --title-gradient: linear-gradient(to right, #818cf8, #c7d2fe, #4f46e5);
    --title-gradient-flow: linear-gradient(to right, #818cf8, #c7d2fe, #818cf8, #818cf8);
    --glow-color: rgba(129, 140, 248, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    direction: rtl;
    background-color: var(--bg-dark);
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar Styles */
.navbar {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 200px 0 150px;
    background: linear-gradient(135deg, 
        var(--bg-darkest) 0%,
        var(--bg-dark) 100%);
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    animation: none;
    opacity: 0;
    transform: translateY(20px);
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem;
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: none;
    opacity: 1;
    transform: none;
    text-align: center;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--white);
    background: linear-gradient(135deg, 
        var(--white) 0%,
        var(--primary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    letter-spacing: 1px;
    opacity: 1;
    transform: none;
    animation: none;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
    line-height: 1.8;
    opacity: 1;
    transform: none;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    font-weight: 400;
}

/* Remove all the laptop-related styles */
.hero-split,
.hero-image,
.laptop-container,
.laptop-svg,
.binary-overlay {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
        text-shadow: 0 0 5px var(--glow-color),
                     0 0 10px var(--glow-color);
    }
    
    .hero p {
        font-size: 1.25rem;
    }

    .feature-card,
    .step {
        animation-delay: 0.4s;
    }
}

/* Features Section */
.features {
    padding: 120px 0;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
    animation: none;
    opacity: 0;
    transform: translateY(20px);
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%);
}

.features h2 {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    text-shadow: 0 0 10px var(--glow-color);
    background: linear-gradient(45deg, var(--white) 30%, var(--primary-color) 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.features h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(99, 102, 241, 0.3);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    padding: 1rem;
}

.feature-card {
    background: linear-gradient(135deg,
        rgba(30, 41, 59, 0.8) 0%,
        rgba(15, 23, 42, 0.8) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: none;
    opacity: 0;
    transform: translateY(40px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: linear-gradient(135deg,
        rgba(30, 41, 59, 0.9) 0%,
        rgba(15, 23, 42, 0.9) 100%);
    box-shadow: 0 0 20px var(--glow-color),
                0 0 40px var(--glow-color);
    border-color: var(--primary-color);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
    display: inline-block;
    filter: drop-shadow(0 2px 4px rgba(99, 102, 241, 0.3));
}

.feature-card:hover i {
    transform: scale(1.1) rotate(-5deg);
}

.feature-card h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Add responsive adjustments */
@media (max-width: 768px) {
    .features {
        padding: 80px 0;
    }

    .features h2 {
        font-size: 2rem;
        margin-bottom: 3rem;
    }

    .features-grid {
        gap: 1.5rem;
        padding: 0.5rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background: var(--bg-darker);
    animation: none;
    opacity: 0;
    transform: translateY(20px);
}

.how-it-works h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    background: linear-gradient(135deg,
        rgba(30, 41, 59, 0.5) 0%,
        rgba(15, 23, 42, 0.5) 100%);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    text-align: center;
    animation: none;
    opacity: 0;
    transform: translateY(40px);
}

.step:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.2rem;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: var(--bg-darkest);
    position: relative;
    animation: none;
    opacity: 0;
    transform: translateY(20px);
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--white);
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-darker);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: none;
    opacity: 0;
    transform: translateY(40px);
}

.testimonial-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.testimonial-card .company {
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* Footer */
footer {
    background: linear-gradient(135deg,
        var(--bg-darker) 0%,
        var(--bg-darkest) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 60px 0;
    animation: none;
    opacity: 0;
    transform: translateY(20px);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.25rem;
    }

    .nav-links {
        display: none;
    }

    .features-grid,
    .steps,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* Add animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Add smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Contact Form Styles */
.contact {
    padding: 100px 0;
    background: var(--bg-dark);
    animation: none;
    opacity: 0;
    transform: translateY(20px);
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.contact-form {
    background: linear-gradient(135deg,
        rgba(30, 41, 59, 0.8) 0%,
        rgba(15, 23, 42, 0.8) 100%);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem;
    max-width: 600px;
    margin: 0 auto;
    animation: none;
    opacity: 0;
    transform: translateY(40px);
}

.form-group {
    margin-bottom: 2rem;
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    color: var(--text-color);
    font-size: 1rem;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    transition: all 0.3s ease;
    resize: vertical; /* For textarea */
}

/* Specific styles for each input type */
.form-group input[type="email"] {
    height: 50px;
    direction: rtl;
}

.form-group textarea {
    min-height: 120px;
    max-height: 250px;
}

.form-group select {
    height: 50px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 1rem center;
    background-size: 1em;
    padding-left: 2.5rem;
}

/* Focus states */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    background: rgba(15, 23, 42, 0.7);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
    outline: none;
}

/* Placeholder styles */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

/* Option styles */
.form-group select option {
    background: var(--bg-dark);
    color: var(--text-color);
    padding: 1rem;
}

/* Modern button styles for both CTA and submit buttons */
.cta-button,
.submit-button {
    display: block;
    margin: 0 auto;
    width: fit-content;
    min-width: 250px;
    text-align: center;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    background: linear-gradient(135deg, 
        var(--primary-color) 0%, 
        var(--accent-color) 100%);
    border: none;
    border-radius: 16px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px var(--glow-color);
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    letter-spacing: 0.5px;
    z-index: 1;
}

/* Gradient background effect */
.cta-button::before,
.submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        var(--accent-color) 0%,
        var(--primary-color) 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

/* Shine effect */
.cta-button::after,
.submit-button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%
    );
    transform: rotate(45deg);
    transition: 0.6s cubic-bezier(0.2, 1, 0.3, 1);
    z-index: 2;
    opacity: 0;
}

/* Hover effects */
.cta-button:hover,
.submit-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 20px var(--glow-color),
                0 0 40px var(--glow-color);
}

.cta-button:hover::before,
.submit-button:hover::before {
    opacity: 1;
}

.cta-button:hover::after,
.submit-button:hover::after {
    animation: shine 1.5s infinite;
}

/* Active state */
.cta-button:active,
.submit-button:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.3);
}

/* Shine animation */
@keyframes shine {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-50%, -50%);
    }
    30% {
        opacity: 0.3;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(50%, 50%);
    }
}

/* Specific submit button adjustments */
.submit-button {
    width: 200px;
    margin: 2rem auto 0;
}

/* Disabled state */
.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Add pulse effect to CTA button */
.cta-button {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
    }
    50% {
        box-shadow: 0 4px 30px rgba(99, 102, 241, 0.5),
                    0 0 0 4px rgba(99, 102, 241, 0.1);
    }
    100% {
        box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .contact-form {
        padding: 2rem;
        margin: 0 1rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px; /* Prevents zoom on mobile */
    }
}

/* Form validation styles */
.form-group input:invalid,
.form-group textarea:invalid,
.form-group select:invalid {
    border-color: #ef4444;
}

.form-group input:valid,
.form-group textarea:valid,
.form-group select:valid {
    border-color: #10b981;
}

/* Update section backgrounds and transitions */
section {
    position: relative;
    background: var(--bg-dark);
    padding: 100px 0;
}

/* Update heading styles to be more visible */
section h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    position: relative;
    /* Remove gradient and clip effects */
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    text-shadow: 0 0 10px var(--glow-color);
}

/* Remove fade animations */
.fade-in,
.slide-in-right {
    opacity: 1;
    transform: none;
    transition: none;
}

/* Update section-specific backgrounds */
.features,
.how-it-works,
.testimonials,
.contact {
    background: var(--bg-dark);
}

/* Update card styles for better visibility */
.feature-card,
.testimonial-card {
    background: var(--bg-darker);
    border: 1px solid rgba(255,255,255,0.1);
}

/* Remove section dividers */
section::before {
    display: none;
}

/* Add to your existing CSS */
.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--primary-color);
}

.social-link i {
    font-size: 1.2rem;
}

/* Add these new animations */
@keyframes titleFlow {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Add new animations */
@keyframes sectionFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes contentSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Add scroll-triggered animation class */
.animate-on-scroll {
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Add delay classes for staggered animations */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* Add hover effect for the title */
.hero h1:hover {
    text-shadow: 0 0 5px var(--glow-color);
}

/* Remove any animation classes that might affect the paragraph */
.hero p.animate-on-scroll {
    opacity: 1;
    transform: none;
}