@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&display=swap');

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

:root {
    --color-bg:           #ffffff;
    --color-surface:      #f8fafc;
    --color-surface2:     #f1f5f9;
    --color-accent:       #2563eb;
    --color-accent-hover: #1d4ed8;
    --color-accent-light: #eff6ff;
    --color-text:         #0f172a;
    --color-text-muted:   #64748b;
    --color-border:       #e2e8f0;
    --color-shadow:       rgba(15, 23, 42, .07);
    --font-main:          'Cairo', sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    background: var(--color-bg);
    color: var(--color-text);
    min-height: 100vh;
    line-height: 1.65;
    font-size: 16px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }

/* ── Nav ── */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 1px 4px var(--color-shadow);
}

.site-nav .inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: .7rem;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--color-text);
}

.nav-brand .dot {
    width: 34px; height: 34px;
    background: var(--color-accent);
    border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-size: .9rem;
    font-weight: 600;
    color: var(--color-text-muted);
    transition: color .15s;
}

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

.nav-cta {
    padding: .5rem 1.1rem;
    background: var(--color-accent);
    color: #fff !important;
    border-radius: 8px;
    font-size: .875rem;
    font-weight: 700;
    transition: background .15s, box-shadow .15s;
    box-shadow: 0 2px 8px rgba(37,99,235,.25);
}

.nav-cta:hover { background: var(--color-accent-hover) !important; box-shadow: 0 4px 12px rgba(37,99,235,.35); }

/* ── Footer ── */
footer {
    background: #0f172a;
    border-top: 1px solid #1e293b;
    padding: 3rem 0;
    color: #94a3b8;
    font-size: .875rem;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand h3 { font-size: 1rem; font-weight: 800; color: #fff; margin-bottom: .6rem; }

.footer-col h4 {
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 1rem;
    color: #fff;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .4rem; }
.footer-col ul a { color: #94a3b8; font-size: .875rem; transition: color .15s; }
.footer-col ul a:hover { color: #fff; }

.footer-bottom {
    max-width: 1100px;
    margin: 2rem auto 0;
    padding: 1.5rem 1.5rem 0;
    border-top: 1px solid #1e293b;
    font-size: .8rem;
    color: #64748b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.5rem;
    border-radius: 10px;
    font-size: .95rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all .15s;
    font-family: var(--font-main);
}

.btn-primary {
    background: var(--color-accent);
    color: #fff;
    box-shadow: 0 2px 8px rgba(37,99,235,.25);
}
.btn-primary:hover { background: var(--color-accent-hover); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(37,99,235,.35); }

.btn-outline {
    background: transparent;
    color: var(--color-text);
    border: 1.5px solid var(--color-border);
}
.btn-outline:hover { border-color: var(--color-accent); color: var(--color-accent); }

.btn-whatsapp {
    background: #16a34a;
    color: #fff;
    font-size: 1rem;
    padding: .85rem 1.75rem;
    box-shadow: 0 2px 8px rgba(22,163,74,.25);
}
.btn-whatsapp:hover { background: #15803d; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(22,163,74,.35); }

/* ── Hero ── */
.hero {
    padding: 6rem 0 5rem;
    text-align: center;
    background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
    border-bottom: 1px solid var(--color-border);
}

.hero-tag {
    display: inline-block;
    background: var(--color-accent-light);
    color: var(--color-accent);
    padding: .35rem .9rem;
    border-radius: 20px;
    font-size: .8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(37,99,235,.2);
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -.02em;
    color: #0f172a;
}

.hero h1 span { color: var(--color-accent); }

.hero p {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    max-width: 560px;
    margin: 0 auto 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Cards ── */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.ws-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 1.75rem;
    transition: border-color .2s, box-shadow .2s;
    box-shadow: 0 1px 4px var(--color-shadow);
}
.ws-card:hover { border-color: rgba(37,99,235,.35); box-shadow: 0 4px 20px rgba(37,99,235,.1); }

.ws-card .icon {
    width: 44px; height: 44px;
    background: var(--color-accent-light);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.ws-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; color: #0f172a; }
.ws-card p  { font-size: .875rem; color: var(--color-text-muted); }

/* ── Section headings ── */
.section-label {
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--color-accent);
    margin-bottom: .75rem;
}

.section-heading {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -.02em;
    color: #0f172a;
}

.section-sub {
    font-size: 1rem;
    color: var(--color-text-muted);
    max-width: 560px;
    margin-bottom: 3rem;
}

/* ── Problem/Solution ── */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.problem-box, .solution-box {
    padding: 2rem;
    border-radius: 14px;
}

.problem-box {
    background: #fff5f5;
    border: 1px solid #fecaca;
}

.solution-box {
    background: var(--color-accent-light);
    border: 1px solid rgba(37,99,235,.25);
}

.problem-box h3 { color: #dc2626; font-size: 1rem; margin-bottom: .75rem; font-weight: 700; }
.solution-box h3 { color: var(--color-accent); font-size: 1rem; margin-bottom: .75rem; font-weight: 700; }

.check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    font-size: .9rem;
    color: var(--color-text-muted);
}

.check-list li::before {
    content: '✓';
    color: #16a34a;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: .05rem;
}

/* ── Features strip ── */
.feature-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

/* ── Lebanon section ── */
.lb-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    text-align: center;
}

.lb-item {
    padding: 1.5rem 1rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    box-shadow: 0 1px 4px var(--color-shadow);
}

.lb-item .emoji { font-size: 2rem; margin-bottom: .75rem; display: block; }
.lb-item h4 { font-size: .9rem; font-weight: 700; margin-bottom: .35rem; color: #0f172a; }
.lb-item p  { font-size: .78rem; color: var(--color-text-muted); }

/* ── CTA banner ── */
.cta-banner {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid rgba(37,99,235,.2);
    border-radius: 20px;
    padding: 4rem 2rem;
    text-align: center;
}

.cta-banner h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: .75rem; color: #0f172a; }
.cta-banner p  { color: var(--color-text-muted); margin-bottom: 2rem; }

/* ── Pricing ── */
.module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.module-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 4px var(--color-shadow);
    transition: box-shadow .2s, border-color .2s;
}
.module-card:hover { box-shadow: 0 4px 16px rgba(37,99,235,.1); border-color: rgba(37,99,235,.3); }

.module-card h3 { font-size: .95rem; font-weight: 700; margin-bottom: .4rem; color: #0f172a; }
.module-card p  { font-size: .825rem; color: var(--color-text-muted); }

/* ── FAQ ── */
.faq-item {
    border: 1px solid var(--color-border);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: .75rem;
    box-shadow: 0 1px 3px var(--color-shadow);
}

.faq-q {
    padding: 1.1rem 1.25rem;
    cursor: pointer;
    font-weight: 600;
    font-size: .95rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    transition: background .15s;
    color: #0f172a;
}
.faq-q:hover { background: var(--color-surface); }

.faq-a {
    padding: 0 1.25rem;
    max-height: 0;
    overflow: hidden;
    font-size: .875rem;
    color: var(--color-text-muted);
    background: #fff;
    transition: max-height .3s ease, padding .3s ease;
    border-top: 0px solid var(--color-border);
}

.faq-item.open .faq-a {
    max-height: 200px;
    padding: 1rem 1.25rem 1.25rem;
    border-top-width: 1px;
}

/* ── Contact ── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.contact-info h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: .75rem; color: #0f172a; }
.contact-info p  { color: var(--color-text-muted); margin-bottom: 1.5rem; font-size: .9rem; }

.contact-form {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 12px var(--color-shadow);
}

.form-group { margin-bottom: 1.25rem; }
.form-group label {
    display: block;
    font-size: .8rem;
    font-weight: 700;
    color: var(--color-text-muted);
    margin-bottom: .4rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: .7rem 1rem;
    background: var(--color-surface);
    border: 1.5px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text);
    font-size: .9rem;
    font-family: var(--font-main);
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(37,99,235,.1);
    background: #fff;
}

.form-group textarea { resize: vertical; min-height: 100px; }

/* ── Static pages ── */
.static-page { max-width: 760px; margin: 0 auto; padding: 4rem 1.5rem; }
.static-page h1 { font-size: 2rem; font-weight: 800; margin-bottom: .5rem; color: #0f172a; }
.static-page .updated { font-size: .8rem; color: var(--color-text-muted); margin-bottom: 3rem; }
.static-page h2 { font-size: 1.1rem; font-weight: 700; margin: 2rem 0 .75rem; color: #0f172a; }
.static-page p { font-size: .9rem; color: var(--color-text-muted); margin-bottom: 1rem; }
.static-page ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.static-page ul li { font-size: .9rem; color: var(--color-text-muted); margin-bottom: .35rem; }

/* ── Alert boxes ── */
.alert-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    font-size: .9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.alert-error {
    background: #fff5f5;
    border: 1px solid #fecaca;
    color: #dc2626;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    font-size: .9rem;
    margin-bottom: 1.5rem;
}

/* ── Alternating section backgrounds ── */
.section-alt { background: var(--color-surface); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }

/* ── Mobile ── */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .two-col { grid-template-columns: 1fr; }
    .feature-strip { grid-template-columns: 1fr 1fr; }
    .lb-grid { grid-template-columns: 1fr 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
    .contact-grid { grid-template-columns: 1fr; }
    .hero { padding: 4rem 0 3rem; }
}

@media (max-width: 480px) {
    .feature-strip { grid-template-columns: 1fr; }
}
