* { box-sizing: border-box; }
:root {
    --page: #f8fafc;
    --surface: #ffffff;
    --surface-soft: #eef7ff;
    --surface-card: linear-gradient(180deg, #f8fbff 0%, #eef7ff 100%);
    --text: #1e293b;
    --heading: #0f172a;
    --muted: #475569;
    --border: #dbeafe;
    --brand: #136df6;
    --brand-dark: #0d57e2;
    --brand-soft: #d9edff;
    --shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
}
body.dark-mode {
    --page: #07111f;
    --surface: #101f35;
    --surface-soft: #0b1628;
    --surface-card: linear-gradient(180deg, #142542 0%, #0d1b31 100%);
    --text: #e5eefb;
    --heading: #f8fbff;
    --muted: #b8cbe4;
    --border: #24476e;
    --brand: #54b4ff;
    --brand-dark: #2b90ff;
    --brand-soft: rgba(43, 144, 255, 0.16);
    --shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--page);
    color: var(--text);
    font-family: 'Heebo', sans-serif;
    direction: rtl;
}
a { color: inherit; }
a:focus-visible, button:focus-visible {
    outline: 3px solid #facc15;
    outline-offset: 3px;
}
.skip-link {
    position: absolute;
    top: -100%;
    right: 0;
    z-index: 99999;
    background: var(--brand);
    color: #fff;
    padding: 12px 24px;
    font-weight: 700;
    border-radius: 0 0 0 12px;
    text-decoration: none;
}
.skip-link:focus { top: 0; }
.site-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #0f172a;
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}
.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}
.nav-inner {
    width: min(1280px, calc(100% - 32px));
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}
.brand-link, .footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    text-decoration: none;
}
.brand-link > span:last-child {
    color: #fff;
    font-family: 'Rubik', 'Heebo', sans-serif;
    font-size: 1.25rem;
}
.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    overflow: hidden;
}
.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: nowrap;
    font-weight: 700;
}
.nav-links a { text-decoration: none; color: rgba(255,255,255,0.82); }
.nav-links a:hover { color: #fff; }
.nav-links a[href*="#contact"] {
    background: #136df6;
    border-radius: 999px;
    color: #fff;
    padding: 10px 24px;
    transition: background 0.2s ease, transform 0.2s ease;
}
.nav-links a[href*="#contact"]:hover {
    background: #0d57e2;
    transform: translateY(-1px);
}
.theme-toggle-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 999px;
    padding: 10px 16px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-family: 'Heebo', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.theme-toggle-button:hover {
    background: rgba(255,255,255,0.16);
    transform: translateY(-1px);
}
.theme-toggle-button[aria-pressed="true"] {
    background: #fff;
    border-color: #fff;
    color: #0f172a;
}
.hero {
    background: linear-gradient(135deg, #030914 0%, #071a33 48%, #0d57e2 100%);
    color: #fff;
    padding: 104px 0 72px;
}
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
    gap: 36px;
    align-items: center;
}
.eyebrow {
    display: inline-flex;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    padding: 7px 14px;
    font-size: 0.92rem;
    font-weight: 800;
}
h1, h2, h3 {
    color: var(--heading);
    font-family: 'Rubik', 'Heebo', sans-serif;
    line-height: 1.18;
}
.hero h1 {
    color: #fff;
    margin: 20px 0 16px;
    font-size: clamp(2.3rem, 5vw, 4.4rem);
}
.hero p {
    color: rgba(255,255,255,0.82);
    font-size: 1.22rem;
    line-height: 1.75;
    margin: 0 0 26px;
}
.hero-card, .card {
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
}
.hero-card {
    padding: 26px;
    color: var(--text);
}
.hero .hero-card h2,
.hero .hero-card h3 {
    color: var(--heading);
}
.hero .hero-card p,
.hero .hero-card li {
    color: var(--muted);
}
.hero .hero-card .price {
    color: var(--brand-dark);
}
.card .eyebrow,
.notice .eyebrow {
    background: var(--brand-soft);
    border-color: var(--border);
    color: var(--brand-dark);
}
.hero > .container > :not(.hero-card) .eyebrow {
    color: #fff;
}
.price {
    color: var(--brand-dark);
    font-weight: 900;
    font-size: 1.45rem;
}
.price-note {
    color: var(--muted);
    font-weight: 800;
    margin-top: -8px;
}
.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 900;
}
.btn-primary { background: linear-gradient(135deg, #136df6 0%, #0d57e2 100%); color: #fff; }
.btn-whatsapp { background: linear-gradient(135deg, #25D366 0%, #128C7E 100%); color: #fff; }
.btn-light { background: #fff; color: #0d2b55; }
section { padding: 70px 0; }
.section-soft { background: var(--surface-soft); }
.section-title {
    max-width: 760px;
    margin-bottom: 28px;
}
.section-title h2 {
    font-size: clamp(1.8rem, 3vw, 3rem);
    margin: 10px 0;
}
.section-title p, .card p, li { color: var(--muted); line-height: 1.75; }
.grid-2, .grid-3 {
    display: grid;
    gap: 18px;
}
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { padding: 26px; }
.card h3 { margin: 0 0 10px; font-size: 1.28rem; }
.card ul { margin: 0; padding-right: 20px; }
.plan-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.plan-card.featured {
    border-color: var(--brand);
    box-shadow: 0 18px 44px rgba(19, 109, 246, 0.16);
}
.plan-card .price {
    margin: 0;
}
.plan-card ul {
    flex: 1 1 auto;
}
.plan-badge {
    display: inline-flex;
    align-self: flex-start;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand-dark);
    padding: 6px 12px;
    font-weight: 900;
    font-size: 0.92rem;
}
.plan-callout {
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
    padding: 14px;
    margin: 8px 0 2px;
    list-style: none;
}
.plan-callout strong {
    display: block;
    color: var(--heading);
    margin-bottom: 4px;
}
.annual-note {
    margin-top: 18px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
    padding: 14px 18px;
    color: var(--muted);
    font-weight: 800;
}
.business-faq {
    display: grid;
    gap: 14px;
}
.business-faq article {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px;
}
.business-faq h3 {
    margin: 0 0 8px;
    font-size: 1.1rem;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}
.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow);
}
.testimonial-stars {
    color: #eab308;
    letter-spacing: 1px;
    font-weight: 900;
}
.blog-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 22px;
}
.blog-filter-button {
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--muted);
    padding: 9px 16px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}
.blog-filter-button.is-active,
.blog-filter-button:hover {
    border-color: var(--brand);
    color: var(--brand-dark);
}
.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 700;
    margin: 10px 0 0;
}
.pinned-section {
    margin-bottom: 42px;
}
.pinned-section h2 {
    margin: 0 0 16px;
}
.metric-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}
.metric-list span {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px 12px;
    color: var(--muted);
    background: var(--surface);
}
.article-content {
    max-width: 860px;
    margin: 0 auto;
}
.article-content h2 {
    margin: 34px 0 12px;
    font-size: clamp(1.35rem, 2.4vw, 2rem);
}
.article-content h2:first-child { margin-top: 0; }
.article-content p,
.article-content li {
    color: var(--muted);
    line-height: 1.9;
    font-size: 1.04rem;
}
.article-content p { margin: 0 0 18px; }
.article-content ul,
.article-content ol {
    margin: 0 0 20px;
    padding-right: 22px;
}
.article-content strong,
.article-content code {
    color: var(--heading);
}
.notice {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px;
}
.related-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.related-list a {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 10px 16px;
    text-decoration: none;
    color: var(--muted);
    font-weight: 800;
}
.related-list a:hover { border-color: var(--brand); color: var(--brand-dark); }
.site-footer {
    background: #020617;
    color: #cbd5e1;
    padding: 28px 0;
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}
.footer-logo-link {
    flex: 0 0 auto;
}
.footer-logo-full {
    width: 132px;
    max-width: min(42vw, 132px);
    height: auto;
    border-radius: 8px;
    background: #fff;
    display: block;
}
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: #cbd5e1; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 45;
    width: 60px;
    height: 60px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    color: #fff;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}
.whatsapp-float svg { width: 30px; height: 30px; }
.accessibility-widget-container {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 60;
}
.accessibility-toggle {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    border: 2px solid var(--brand);
    background: var(--surface);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow);
}
.accessibility-toggle svg { width: 26px; height: 26px; }
.accessibility-menu {
    position: absolute;
    right: 0;
    bottom: 70px;
    width: 244px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    box-shadow: var(--shadow);
}
.accessibility-menu.hidden { display: none; }
.accessibility-menu h3 { margin: 0 0 10px; font-size: 1rem; }
.accessibility-action {
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--text);
    padding: 9px 8px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}
.accessibility-action:hover { background: var(--surface-soft); }
.high-contrast, .high-contrast * {
    background: #000 !important;
    color: #fff !important;
    border-color: #fff !important;
}
.high-contrast a, .high-contrast a * {
    color: #ffff00 !important;
    text-decoration: underline;
}
@media (max-width: 800px) {
    .nav-inner {
        height: auto;
        min-height: 80px;
        padding: 14px 0;
        justify-content: center;
        flex-wrap: wrap;
    }
    .nav-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }
    .hero-grid, .grid-2, .grid-3, .testimonials-grid { grid-template-columns: 1fr; }
    .hero { padding-top: 86px; }
}
@media print {
    .site-nav, .accessibility-widget-container, .whatsapp-float { display: none !important; }
}
