:root {
    --color-background: #111827;
    --color-text-primary: #f3f4f6;
    --color-text-secondary: #a1a1aa;
    --color-text-tertiary: #dfe1e5;
    --color-primary-accent: #3b82f6;
    --color-secondary-accent: #7c3aed;
    --color-border: rgba(255, 255, 255, 0.2);
    --gradient-primary: linear-gradient(90deg, #3b82f6 0%, #7c3aed 100%);
}

* {
    box-sizing: border-box;
}

html {
    direction: rtl;
}

body {
    background-color: var(--color-background);
    color: var(--color-text-primary);
    font-family: "Inter", "Tajawal", sans-serif;
    margin: 0;
    overflow-x: hidden;
}

.container {
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 96px;
    padding-right: 96px;
    position: relative;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
}

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

.section {
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
}

@media (max-width: 992px) {
    .container {
        padding-left: 40px;
        padding-right: 40px;
    }
    .section {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}

@media (max-width: 768px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* CSS for section section:header */
.site-header {
    background-color: rgba(255, 255, 255, 0.05);
    padding-top: 15.5px;
    padding-bottom: 15.5px;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

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

.logo img {
    width: 100px;
    height: auto;
}

.main-nav ul {
    display: flex;
    gap: 40px;
}

.main-nav a {
    font-family: "Tajawal", sans-serif;
    font-weight: 500;
    font-size: 20px;
    color: #f3f4f6;
    transition: color 0.3s;
}

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

.auth-buttons {
    display: flex;
    gap: 24px;
}

.btn {
    padding: 16px 32px;
    border-radius: 24px;
    font-family: "Tajawal", sans-serif;
    font-weight: 500;
    font-size: 20px;
    text-align: center;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #f3f4f6;
}

.btn-secondary {
    background-color: #111827;
    color: #f3f4f6;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 992px) {
    .main-nav {
        display: none;
        /* Simple hiding for mobile, a hamburger menu would be better */
    }
}

@media (max-width: 480px) {
    .auth-buttons {
        gap: 10px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 16px;
    }
}

/* CSS for section section:hero */
.hero-section {
    padding-top: 80px;
    text-align: center;
}

.hero-bg-elements > div {
    position: absolute;
    z-index: -1;
    border-radius: 9999px;
}

.bg-blur-1 {
    width: 824px;
    height: 390px;
    left: 50%;
    top: 100px;
    transform: translateX(-50%);
    background: linear-gradient(
        7deg,
        rgba(92, 95, 241, 0.2) 11.12%,
        rgba(59, 130, 246, 0.2) 70.3%
    );
    filter: blur(180px);
}

.bg-blur-2 {
    width: 80px;
    height: 80px;
    left: 15%;
    top: 80px;
    background-color: rgba(60, 131, 246, 0.2);
}

.bg-blur-3 {
    width: 64px;
    height: 64px;
    right: 18%;
    bottom: 200px;
    background-color: rgba(122, 60, 221, 0.2);
}

.bg-blur-4 {
    width: 48px;
    height: 48px;
    left: 20%;
    top: 150px;
    background-color: rgba(122, 60, 221, 0.2);
}

.bg-grid {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 468px;
    height: 316px;
    z-index: -2;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 10px 20px;
    background-color: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 9999px;
    margin-bottom: 24px;
}

.hero-badge span {
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #3b82f6;
}

.hero-title {
    font-family: "Noto Sans Arabic", sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 1.5;
    color: #f3f4f6;
    max-width: 666px;
    margin-bottom: -20px;
}

.hero-brand-name {
    font-family: "Noto Sans Arabic", sans-serif;
    font-weight: 700;
    font-size: 96px;
    color: #e5e5e5;
    margin-bottom: 24px;
    display: flex;
    gap: 8px;
}

.hero-subtitle {
    font-family: "Tajawal", sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 32px;
    color: #dfe1e5;
    max-width: 746px;
    margin-bottom: 40px;
}

.hero-feature-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 23px;
    margin-bottom: 66px;
}

.feature-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 17px 20px;
    background-color: #111827;
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    color: #ffffff;
    font-family: "Tajawal", sans-serif;
    font-weight: 500;
    font-size: 14px;
    transition: background-color 0.3s;
}

.feature-link:hover {
    background-color: #1f2937;
}

.hero-cta {
    padding: 13px 87px;
    background-color: #111827;
    border-radius: 24px;
    border: 1px solid var(--color-border);
    font-family: "Tajawal", sans-serif;
    font-weight: 500;
    font-size: 24px;
    color: #f3f4f6;
    margin-bottom: 64px;
    transition: all 0.3s;
}

.hero-cta:hover {
    background-color: #1f2937;
    border-color: #fff;
}

.hero-image-wrapper {
    width: 100%;
    max-width: 1248px;
}

.hero-image {
    border-radius: 52px;
    width: 100%;
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-brand-name {
        font-size: 72px;
    }

    .hero-subtitle {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-brand-name {
        font-size: 56px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-feature-links {
        flex-direction: column;
        gap: 16px;
    }
}

/* CSS for section section:features */
.features-section {
    text-align: center;
}

.features-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    opacity: 0.5;
}

.section-title {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 36px;
    color: #ffffff;
    margin-bottom: 16px;
}

.section-subtitle {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #a1a1aa;
    margin-bottom: 64px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    text-align: right;
}

.feature-card {
    background-color: #111827;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 24px;
    position: relative;
    padding-right: 90px;
}

.feature-icon-wrapper {
    position: absolute;
    right: 24px;
    top: 24px;
    width: 48px;
    height: 48px;
    background-color: #09090b;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-title {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 12px;
}

.feature-description {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 22.75px;
    color: #a1a1aa;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* CSS for section section:stats */
.stats-section {
    background-color: #111827;
}

.stats-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.stat-item img {
    width: 24px;
    height: 24px;
}

.stat-number {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 30px;
    color: #ffffff;
}

.stat-label {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #a1a1aa;
}

/* CSS for section section:ai-power */
.ai-power-section {
    background: linear-gradient(135deg, #3b82f6 0%, #7c3aed 86.54%);
    border-radius: 16px;
    margin: 0 20px;
    text-align: center;
}

.ai-power-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.ai-power-section .section-title {
    font-size: 30px;
    margin-bottom: 0;
}

.ai-power-section .section-subtitle {
    font-size: 18px;
    margin-bottom: 60px;
}

.ai-power-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.ai-power-card {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 24px;
    backdrop-filter: blur(1px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.ai-power-card img {
    width: 24px;
    height: 24px;
}

.ai-power-title {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #ffffff;
}

.ai-power-description {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #ffffff;
    opacity: 0.9;
}

/* CSS for section section:testimonials */
.testimonials-section {
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: linear-gradient(145deg, #18181b 0%, #131316 100%);
    border: 1px solid #303036;
    border-radius: 12px;
    padding: 24px;
    text-align: right;
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 26px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3c83f6 0%, #7a3cdd 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: #ffffff;
}

.user-name {
    font-weight: 500;
    font-size: 16px;
    color: #ffffff;
}

.user-title {
    font-weight: 400;
    font-size: 14px;
    color: #a1a1aa;
}

.rating {
    display: flex;
    gap: 4px;
    position: relative;
}

.rating img {
    position: relative;
}

.testimonial-quote {
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    color: #a1a1aa;
}

/* CSS for section section:cta */
.cta-section {
    text-align: center;
}

.cta-section .section-title {
    margin-bottom: 16px;
}

.cta-section .section-subtitle {
    font-size: 18px;
    margin-bottom: 32px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: #ffffff;
    border-radius: 12px;
    color: #3c83f6;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

/* CSS for section section:footer */
.site-footer {
    padding-top: 80px;
    padding-bottom: 40px;
    font-family: "Inter", sans-serif;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid #303036;
    margin-bottom: 40px;
}

.footer-col {
    text-align: right;
}

.about-col .footer-logo img {
    width: 120px;
    margin-bottom: 16px;
}

.about-col p {
    font-size: 14px;
    line-height: 22.75px;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.social-icon:hover {
    transform: scale(1.1);
}

.links-col h4,
.contact-col h4 {
    font-size: 18px;
    font-weight: 600;
    color: #f0f0f0;
    margin-bottom: 24px;
}

.links-col ul li,
.contact-col ul li {
    margin-bottom: 16px;
}

.links-col ul a,
.contact-col ul a {
    font-size: 14px;
    color: var(--color-text-secondary);
    transition: color 0.3s;
}

.links-col ul a:hover {
    color: var(--color-text-primary);
}

.contact-col ul a {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.copyright {
    text-align: center;
    font-size: 14px;
    color: var(--color-text-secondary);
}

@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .about-col .footer-logo img {
        margin-left: auto;
        margin-right: auto;
    }

    .social-links,
    .contact-col ul a {
        justify-content: center;
    }
}

.hero-brand-name {
    font-family: "Noto Sans Arabic", sans-serif;
    font-weight: 700;
    font-size: 96px;
    color: #e5e5e5;
    margin-bottom: 24px;
    display: flex;
    gap: 8px;
    direction: ltr;
}

main {
    padding-top: 34px;
    padding-bottom: 22px;
}
.section-body {
    min-height: 80vh;
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
}

