:root {
    --bg-color: #f8fafc;
    --text-main: #111827;
    --text-muted: #6b7280;
    --primary: #002FA6;
    --primary-hover: #00227a;
    --primary-light: #e6f0ff;
    --border-color: #e5e7eb;
    --dark-section: #111827;
    --card-bg: #ffffff;
    --font-family: 'Cairo', 'Inter', sans-serif;
}

[data-theme='dark'] {
    --bg-color: #0f172a;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --primary: #2563eb;
    --primary-hover: #3b82f6;
    --primary-light: #1e293b;
    --border-color: #334155;
    --dark-section: #020617;
    --card-bg: #1e293b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--text-main);
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-family: var(--font-family);
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-hover);
}

.btn-secondary {
    background: var(--border-color);
    color: var(--text-main);
}

.btn-secondary:hover {
    background: var(--text-muted);
    color: var(--bg-color);
}

.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: background-color 0.3s, backdrop-filter 0.3s;
}

.fixed-header.scrolled {
    background-color: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar {
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 100;
}

.nav-brand {
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links a:hover {
    color: var(--text-main);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-login {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
}

.fixed-header .nav-links a {
    color: rgba(255, 255, 255, 0.8);
}

.fixed-header .nav-links a:hover {
    color: #ffffff;
}

.fixed-header .nav-login,
.fixed-header .nav-brand {
    color: #ffffff;
}

.fixed-header .nav-brand svg {
    color: #ffffff;
}

.fixed-header.scrolled .nav-brand svg {
    color: var(--primary);
}

.nav-login:hover {
    color: var(--text-main);
}

.hero-bg {
    position: relative;
    background-color: #0f1525;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(46, 204, 113, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 85% 30%, rgba(236, 72, 153, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 40% 90%, rgba(255, 87, 34, 0.05) 0%, transparent 35%);
    overflow: hidden;
    padding-top: 6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 60%;
    right: 15%;
    width: 60px;
    height: 60px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.hero {
    padding: 2rem 0 6rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 10;
    min-height: 750px;
}

.hero-content {
    max-width: 100%;
}

.badge {
    display: inline-block;
    background: rgba(34, 197, 94, 0.1);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: #ffffff;
    opacity: 0;
    animation: fadeUpText 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.1s;
}

.hero h1 .highlight {
    color: #4ade80;
}

.hero p {
    font-size: 1.125rem;
    color: #94a3b8;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeUpText 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.25s;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    opacity: 0;
    animation: fadeUpText 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.4s;
}

@keyframes fadeUpText {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

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

.hero-bg .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.hero-bg .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.hero-image-wrapper {
    position: relative;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-image-wrapper img {
    border-radius: 1.5rem;
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(0, 47, 166, 0.2) 0%, transparent 60%);
    z-index: -1;
}

.social-proof {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 2rem 0;
    background: var(--bg-color);
}

.social-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.social-title {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.company-logos {
    display: flex;
    align-items: center;
    gap: 3rem;
    font-weight: 700;
    color: #9ca3af;
    font-size: 1rem;
    opacity: 0.9;
}

.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.125rem;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.comp-card {
    padding: 2.5rem;
    border-radius: 1.5rem;
}

.comp-old {
    background: #f3f4f6;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

[data-theme='dark'] .comp-old {
    background: var(--border-color);
}

.comp-new {
    background: var(--primary);
    color: white;
    box-shadow: 0 20px 25px -5px rgba(0, 47, 166, 0.3);
}

.comp-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comp-list li {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.comp-old .comp-list li {
    background: var(--card-bg);
    color: var(--text-muted);
}

.comp-new .comp-list li {
    background: rgba(255, 255, 255, 0.1);
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.product-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.product-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.product-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.product-card p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-img {
    margin-top: auto;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.ai-section {
    margin: 4rem 0;
    background: var(--dark-section);
    color: white;
    border-radius: 2rem;
    padding: 5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.ai-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.ai-content p {
    color: #9ca3af;
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.ai-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.ai-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.ai-feature svg {
    color: var(--primary);
}

.ai-graphic {
    position: relative;
}

.ai-graphic::after {
    content: 'AI';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(0, 47, 166, 0.3);
}

.ai-graphic img {
    border-radius: 50%;
    width: 100%;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.stars {
    color: #eab308;
    margin-bottom: 1rem;
    display: flex;
    gap: 0.25rem;
}

.testimonial-card p {
    font-size: 0.875rem;
    color: var(--text-main);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 0.875rem;
    font-weight: 700;
}

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

.cta-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--card-bg);
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    margin: 6rem 0;
}

.cta-left {
    background: var(--primary);
    color: white;
    padding: 4rem;
}

.cta-left h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-left p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.cta-right {
    padding: 4rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-family: inherit;
    transition: all 0.2s;
    color: var(--text-main);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 47, 166, 0.1);
}

.cta-card .form-control {
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: #111827;
}

.cta-card .form-control::placeholder {
    color: var(--text-muted);
}

.cta-card .form-control:focus {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 47, 166, 0.1);
}

[data-theme='dark'] .cta-card .cta-left {
    background: var(--border-color);
}

[data-theme='dark'] .cta-card .form-control {
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: #111827;
}

[data-theme='dark'] .cta-card .form-control::placeholder {
    color: #6b7280;
}

[data-theme='dark'] .cta-card .form-control:focus {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
}


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

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

.footer-links a:hover {
    color: var(--text-main);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: var(--bg-color);
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 2px solid transparent;
}

.pricing-card.recommended {
    background: var(--card-bg);
    border-color: var(--primary);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
}

.recommended-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-tier {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.pricing-card.recommended .pricing-tier {
    color: var(--primary);
}

.pricing-title {
    font-size: 1.875rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--text-main);
}

.pricing-features {
    flex: 1;
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
}

.pricing-card .btn {
    width: 100%;
}

.btn-light {
    background: #e2e8f0;
    color: #475569;
}

.btn-light:hover {
    background: #cbd5e1;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
}

.fixed-header .lang-switcher {
    color: rgba(255, 255, 255, 0.8);
}

.fixed-header .lang-switcher:hover {
    color: #ffffff;
}

@media (max-width: 1024px) {

    .hero,
    .ai-section,
    .cta-card {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

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

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

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

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

    .ai-section,
    .cta-left,
    .cta-right {
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .footer {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

/* Soft Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}