:root {
    --primary: #3b82f6;
    --primary-light: #60a5fa;
    --bg-deep: #0f172a;
    --bg-surface: #1e293b;
    --bg-card: rgba(30, 41, 59, 0.7);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent: #38bdf8;
    --footer-bg: #020617;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --border: rgba(255, 255, 255, 0.1);
    --border-radius: 12px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-deep);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.05) 0%, transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(56, 189, 248, 0.05) 0%, transparent 40%);
    pointer-events: none;
    z-index: -1;
}

[dir="rtl"] body {
    font-family: 'Cairo', sans-serif;
    font-size: 1.05rem;
}

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

h1, h2, h3 {
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #fff;
    font-weight: 700;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

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

.product-img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.product-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Header & Nav */
.header {
    background-color: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 70px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

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

.nav a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: var(--transition);
}

.nav a:hover {
    color: var(--primary);
}

.lang-switch {
    background: var(--bg-light);
    border: 1px solid #eaeaea;
    border-radius: 4px;
    padding: 0.4rem 0.8rem;
    font-family: inherit;
    font-weight: 500;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
}

.lang-switch:focus {
    outline: none;
    border-color: var(--primary-light);
}

[dir="rtl"] .disclaimer-box {
    border-left: none;
    border-right: 4px solid #ffc107;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

[dir="rtl"] .contact-info p i {
    margin-left: 0.75rem;
    margin-right: 0;
}

[dir="ltr"] .contact-info p i {
    margin-right: 0.75rem;
}

/* Buttons */
.btn-primary, .btn-outline, .btn-submit {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

.btn-outline {
    border: 1px solid var(--border);
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1.25rem;
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

.btn-submit {
    width: 100%;
    background-color: var(--primary-light);
    color: white;
    margin-top: 1rem;
}

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

/* Hero Section */
.hero {
    padding: 8rem 0;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.1), transparent 50%);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.status-badge {
    display: inline-block;
    background-color: rgba(43, 108, 176, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(43, 108, 176, 0.2);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--primary);
}

.hero h2 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

/* bg-light utility */
.bg-light {
    background-color: var(--bg-surface);
}

/* About Section */
.about {
    padding: 6rem 0;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about h2 {
    font-size: 2.5rem;
    color: var(--primary);
}

/* Product Section */
.product {
    padding: 6rem 0;
    background-color: var(--bg-white);
}

.product-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.product-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
}

.product-header p {
    font-size: 1.125rem;
}

.product-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

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

.feature-card {
    background-color: var(--bg-card);
    backdrop-filter: blur(8px);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-sm);
    border-color: rgba(0, 74, 153, 0.1);
}

.feature-icon {
    width: 48px;
    height: 48px;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.disclaimer-box {
    background-color: rgba(255, 193, 7, 0.1);
    border-left: 4px solid #ffc107;
    padding: 1.5rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    color: #664d03;
    font-size: 0.95rem;
}

/* Awards Section */
.awards {
    padding: 6rem 0;
}

.awards-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.awards-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
}

.awards-header p {
    font-size: 1.125rem;
}

.awards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.award-card {
    background-color: var(--bg-card);
    backdrop-filter: blur(8px);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.award-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.award-logo-wrapper {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.award-icon-large {
    width: 64px;
    height: 64px;
    color: var(--primary-light);
}

.award-logo {
    max-height: 80px;
    max-width: 80%;
    object-fit: contain;
}

.award-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-deep) 100%);
    color: var(--text-main);
    border-top: 1px solid var(--border);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-content h2 {
    color: var(--bg-white);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
}

.contact-info {
    margin-top: 2rem;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--bg-white);
    font-weight: 500;
}

.contact-form-wrapper {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: #e2e8f0;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.95);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* Footer */
.footer {
    background-color: var(--footer-bg);
    color: #a0aec0;
    padding: 3rem 0;
    font-size: 0.875rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
}

.footer-center {
    text-align: center;
}

.footer-right {
    text-align: right;
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
}

.footer a {
    color: #a0aec0;
    text-decoration: none;
    transition: var(--transition);
}

.footer a:hover {
    color: var(--bg-white);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}
/* Services Section */
.services {
    padding: 6rem 0;
    background-color: transparent;
}
.services-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}
.services-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.service-card {
    background-color: var(--bg-card);
    backdrop-filter: blur(8px);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.service-icon {
    width: 48px;
    height: 48px;
    color: var(--primary);
    margin-bottom: 1.5rem;
}
.service-card p {
    margin: 0;
    color: var(--text-main);
    line-height: 1.6;
}

/* Applications Section */
.applications {
    padding: 6rem 0;
}
.applications-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}
.applications-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
}
.apps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}
.app-card {
    background-color: var(--bg-card);
    backdrop-filter: blur(8px);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
}
.app-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.app-icon {
    width: 40px;
    height: 40px;
    color: var(--primary-light);
    margin-bottom: 1rem;
}
.app-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}
.app-sub {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}
.slides-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.slide-img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    width: 100%;
}

/* Market & Statistics Section */
.market {
    padding: 6rem 0;
    background-color: var(--bg-white);
}
.market-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}
.market-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
}
.table-responsive {
    overflow-x: auto;
    margin-bottom: 4rem;
}
.stats-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}
.stats-table th, .stats-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eaeaea;
}
[dir="rtl"] .stats-table th, [dir="rtl"] .stats-table td {
    text-align: right;
}
.stats-table th {
    background-color: var(--bg-light);
    color: var(--primary);
    font-weight: 600;
}
.stats-table tr:hover {
    background-color: rgba(244, 247, 249, 0.5);
}
.market-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.market-card {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    border-top: 4px solid var(--primary-light);
    box-shadow: var(--shadow-sm);
}
.market-card h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}
.market-val {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}
.market-val small {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 400;
}
.market-trend {
    font-size: 1.5rem;
    font-weight: 700;
    color: #059669; /* Green for growth */
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.market-trend small {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 400;
}
.market-cagr {
    display: inline-block;
    background-color: rgba(5, 150, 105, 0.1);
    color: #059669;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container,
    .about-container,
    .awards-grid,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .hero-content {
        order: 2;
        text-align: center;
    }

    .hero-image-wrapper {
        order: 1;
    }

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

    .about-image-wrapper {
        order: 1;
    }

    .about-content {
        order: 2;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }

    .footer-right {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .product-gallery,
    .features-grid,
    .services-grid,
    .apps-grid,
    .market-cards,
    .slides-gallery {
        grid-template-columns: 1fr;
    }

    .nav {
        display: none; /* simple mobile nav approach */
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .about, .services, .product, .applications, .market, .awards, .contact {
        padding: 4rem 0;
    }
}
