
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Tajawal:wght@400;500;700;800;900&display=swap');
:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --dark: #0f172a;
    --muted: #64748b;
    --light: #f8fafc;
    --border: #e2e8f0;
    --white: #ffffff;
    --card: rgba(255, 255, 255, 0.88);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", "Tajawal", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--dark);
    background: var(--light);
    line-height: 1.6;
}

html[lang="ar"] body,
body[dir="rtl"] {
    font-family: "Tajawal", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

/* Home / Coming Soon */

.home-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.35), transparent 35%),
        linear-gradient(135deg, #020617, #0f172a 45%, #1e3a8a);
}

.coming-soon-wrapper {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.coming-soon-card {
    width: min(620px, 100%);
    padding: 56px 40px;
    text-align: center;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.brand-badge {
    display: inline-flex;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 14px;
    margin-bottom: 20px;
}

.coming-soon-card h1 {
    font-size: clamp(44px, 8vw, 82px);
    line-height: 1;
    margin: 0 0 24px;
}

.coming-soon-card p {
    margin: 0 auto 32px;
    max-width: 480px;
    color: #dbeafe;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}

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

.logo {
    font-weight: 800;
    font-size: 24px;
    color: var(--primary-dark);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    color: var(--muted);
    font-weight: 600;
}

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

/* Buttons */

.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    border-radius: 999px;
    font-weight: 700;
    transition: 0.2s ease;
}

.primary-button {
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.28);
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(37, 99, 235, 0.35);
}

.secondary-button {
    color: var(--primary-dark);
    background: #e0ecff;
}

.secondary-button:hover {
    background: #d4e5ff;
}

/* Hero */

.hero {
    padding: 88px 0 80px;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.16), transparent 32%),
        linear-gradient(180deg, #ffffff, #f8fafc);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.eyebrow,
.section-label {
    display: inline-flex;
    margin-bottom: 14px;
    color: var(--primary);
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.02em;
}

.hero h1 {
    margin: 0 0 22px;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.12;
    letter-spacing: -0.02em;
}

html[lang="ar"] .hero h1,
html[lang="ar"] .section-heading h2,
html[lang="ar"] .two-columns h2,
html[lang="ar"] .contact-card h2 {
    letter-spacing: 0;
}

.hero p {
    margin: 0 0 32px;
    color: var(--muted);
    font-size: 18px;
    max-width: 640px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-card {
    position: relative;
}

.mock-window {
    border-radius: 28px;
    background: white;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.16);
}

.mock-topbar {
    height: 48px;
    background: #f1f5f9;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 18px;
}

.mock-topbar span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e1;
}

.dashboard-preview {
    padding: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.preview-card {
    padding: 18px;
    border-radius: 20px;
    background: #f8fafc;
    border: 1px solid var(--border);
}

.preview-card.large {
    grid-column: span 2;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
}

.preview-card strong {
    display: block;
    margin-bottom: 8px;
}

.preview-card p {
    margin: 0;
    color: var(--primary-dark);
    font-weight: 800;
}

.preview-list {
    grid-column: span 2;
    display: grid;
    gap: 12px;
}

.preview-list div {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border-radius: 16px;
    background: white;
    border: 1px solid var(--border);
}

.preview-list span {
    font-weight: 800;
    color: var(--primary);
}

.preview-list p {
    margin: 0;
    font-size: 14px;
    color: var(--dark);
}

/* Sections */

.section {
    padding: 78px 0;
}

.problem-section {
    background: #0f172a;
    color: white;
}

.problem-section p {
    color: #cbd5e1;
    font-size: 18px;
}

.two-columns {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    align-items: center;
}

.section-heading {
    max-width: 680px;
    margin-bottom: 36px;
}

.section-heading h2,
.two-columns h2,
.contact-card h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.feature-card,
.price-card,
.contact-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 26px;
    padding: 28px;
    box-shadow: 0 16px 44px rgba(15, 23, 42, 0.06);
}

.feature-card h3,
.price-card h3 {
    margin: 0 0 12px;
    font-size: 22px;
}

.feature-card p,
.price-card p,
.contact-card p {
    margin: 0;
    color: var(--muted);
}

.target-section {
    background: white;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tags span {
    padding: 12px 18px;
    border-radius: 999px;
    background: #eff6ff;
    color: var(--primary-dark);
    font-weight: 700;
}

.pricing-section {
    background: #f8fafc;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.price {
    margin: 20px 0 8px;
    font-size: 48px;
    font-weight: 900;
    color: var(--primary-dark);
}

.price-card.highlighted {
    border-color: rgba(37, 99, 235, 0.45);
    box-shadow: 0 22px 58px rgba(37, 99, 235, 0.16);
}

.pricing-note {
    color: var(--muted);
    margin-top: 18px;
}

.contact-section {
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.18), transparent 35%),
        #ffffff;
}

.contact-card {
    text-align: center;
    max-width: 780px;
}

.contact-card p {
    margin: 16px auto 28px;
    max-width: 560px;
}

/* Footer */

.site-footer {
    padding: 28px 0;
    background: #020617;
    color: #cbd5e1;
}

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

.footer-content p {
    margin: 0;
}

.footer-content a {
    color: white;
}

/* Responsive */

@media (max-width: 900px) {
    .hero-grid,
    .two-columns,
    .features-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 56px;
    }

    .nav-links {
        gap: 14px;
        font-size: 14px;
    }
}

@media (max-width: 620px) {
    .header-content {
        height: auto;
        padding: 18px 0;
        flex-direction: column;
        gap: 14px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
    }

    .dashboard-preview {
        grid-template-columns: 1fr;
    }

    .preview-card.large,
    .preview-list {
        grid-column: span 1;
    }

    .footer-content {
        flex-direction: column;
        gap: 10px;
    }

    .coming-soon-card {
        padding: 42px 24px;
    }
}

/* Screenshots */

.screenshots-section {
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.12), transparent 35%),
        #ffffff;
}

.section-heading p {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 17px;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.screenshot-card {
    overflow: hidden;
    background: white;
    border: 1px solid var(--border);
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
    transition: 0.25s ease;
}

.screenshot-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.12);
}

.screenshot-card img {
    display: block;
    width: 100%;
    height: 310px;
    object-fit: cover;
    object-position: top center;
    border-bottom: 1px solid var(--border);
}

.screenshot-caption {
    padding: 22px;
}

.screenshot-caption h3 {
    margin: 0 0 8px;
    color: var(--primary-dark);
    font-size: 22px;
}

.screenshot-caption p {
    margin: 0;
    color: var(--muted);
}

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

    .screenshot-card img {
        height: auto;
    }
}

/* Image Lightbox */

.screenshot-card img {
    cursor: zoom-in;
}

.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background: rgba(2, 6, 23, 0.82);
    backdrop-filter: blur(10px);
}

.image-lightbox.show {
    display: flex;
}

.lightbox-content {
    position: relative;
    width: min(1200px, 96vw);
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    width: 100%;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 24px;
    background: white;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

.lightbox-close {
    position: absolute;
    top: -18px;
    right: -18px;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: white;
    color: var(--dark);
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.lightbox-close:hover {
    background: #eff6ff;
    color: var(--primary-dark);
}

#lightboxCaption {
    margin: 18px 0 0;
    max-width: 900px;
    color: white;
    text-align: center;
    font-size: 17px;
}

.no-scroll {
    overflow: hidden;
}

html[lang="ar"] .lightbox-close {
    right: auto;
    left: -18px;
}

@media (max-width: 700px) {
    .image-lightbox {
        padding: 18px;
    }

    .lightbox-content img {
        border-radius: 18px;
    }

    .lightbox-close {
        top: -14px;
        right: -10px;
    }

    html[lang="ar"] .lightbox-close {
        right: auto;
        left: -10px;
    }

    #lightboxCaption {
        font-size: 14px;
    }
}