/* ================================================================
   Sarki Landing Page V2 - Official Site Styles
   ================================================================ */

/* ── Base Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: #fff; color: #0f172a; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ── Design Tokens (CSS Variables) ── */
:root {
    --primary-50: #eef2ff; --primary-100: #e0e7ff; --primary-200: #c7d2fe; --primary-300: #a5b4fc;
    --primary-400: #818cf8; --primary-500: #6366f1; --primary-600: #4f46e5; --primary-700: #4338ca;
    --primary-800: #3730a3; --primary-900: #312e81;
    --teal-50: #f0fdfa; --teal-500: #14b8a6; --teal-600: #0d9488; --teal-700: #0f766e;
    --success-50: #f0fdf4; --success-500: #22c55e; --success-600: #16a34a; --success-700: #15803d;
    --warning-50: #fffbeb; --warning-500: #f59e0b;
    --danger-50: #fef2f2; --danger-500: #ef4444; --danger-600: #dc2626; --danger-700: #b91c1c;
    --info-50: #eff6ff;
    --gray-50: #f9fafb; --gray-100: #f3f4f6; --gray-200: #e5e7eb; --gray-400: #9ca3af;
    --gray-500: #6b7280; --gray-800: #1e293b; --gray-900: #0f172a;
    --text-primary: #0f172a; --text-secondary: #64748b; --text-tertiary: #94a3b8;
    --border-light: #e2e8f0; --border-medium: #cbd5e1;
    --bg-secondary: #f8fafc; --bg-tertiary: #f1f5f9;
    --radius-sm: 6px; --radius-md: 8px; --radius-lg: 10px; --radius-xl: 14px; --radius-2xl: 20px; --radius-full: 9999px;
    --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.05); --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.07);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08); --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.15);
    --transition-fast: 150ms; --transition-base: 250ms;
}

/* ── Container ── */
.container,
.s2-landing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Header ── */
.s2-landing-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.s2-landing-header.scrolled {
    border-bottom-color: var(--border-light);
    box-shadow: 0 1px 12px rgb(0 0 0 / 0.04);
}

.s2-landing-header > .s2-landing-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 16px;
}

.s2-landing-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.s2-logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.s2-logo-text {
    font-size: 18px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.s2-landing-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.s2-nav-link {
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all 0.15s;
}

.s2-nav-link:hover {
    color: var(--text-primary);
    background: var(--bg-tertiary);
}

.s2-nav-link.active {
    color: var(--primary-600);
    font-weight: 600;
}

.s2-nav-divider {
    width: 1px;
    height: 20px;
    background: var(--border-light);
    margin: 0 8px;
}

.s2-landing-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.s2-landing-header .s2-mobile-menu-btn {
    display: none;
}

.rtl-text {
    direction: rtl;
    font-family: var(--font-ug);
}

/* ── Mobile Drawer ── */
.s2-mobile-drawer {
    display: none;
}

/* ── Hero ── */
.s2-hero {
    padding: 80px 0 60px;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgb(99 102 241 / 0.08), transparent),
        radial-gradient(ellipse 60% 40% at 80% 0%, rgb(20 184 166 / 0.06), transparent);
}

.s2-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.s2-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 6px 12px;
    background: var(--primary-50);
    border: 1px solid var(--primary-200);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-700);
    margin-bottom: 24px;
}

.s2-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-500);
    animation: s2-pulse 2s ease-in-out infinite;
}

.s2-hero-title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.s2-hero-gradient {
    display: block;
    background: linear-gradient(135deg, var(--primary-500), var(--teal-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.s2-hero-desc {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: 32px;
}

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

/* Hero Visual */
.s2-hero-visual {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-2xl);
    padding: 24px;
    box-shadow:
        0 32px 64px -16px rgb(99 102 241 / 0.12),
        0 16px 32px -8px rgb(20 184 166 / 0.08);
}

.s2-hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.s2-hero-stat {
    padding: 16px;
    border-radius: var(--radius-xl);
    background: var(--bg-tertiary);
    text-align: center;
}

.s2-hero-stat.accent {
    background: var(--primary-50);
    border: 1px solid var(--primary-100);
}

.s2-hero-stat-value {
    font-size: 28px;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.s2-hero-stat.accent .s2-hero-stat-value {
    color: var(--primary-600);
}

.s2-hero-stat-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-top: 4px;
}

.s2-hero-stat-desc {
    font-size: 11px;
    color: var(--text-tertiary);
    margin-top: 2px;
}

.s2-hero-tags {
    padding: 16px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    background: var(--bg-secondary);
}

.s2-hero-tags-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.s2-hero-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.s2-hero-tag {
    padding: 4px 12px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

/* ── Trust Bar ── */
.s2-trust-bar {
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    background: linear-gradient(90deg, rgb(99 102 241 / 0.03), rgb(14 165 233 / 0.03), rgb(20 184 166 / 0.04));
    padding: 18px 0;
}

.s2-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.s2-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

/* ── Sections ── */
.s2-section {
    padding: 80px 0;
}

.s2-section--alt {
    background: var(--bg-tertiary);
}

.s2-section-header {
    max-width: 560px;
    margin-bottom: 48px;
}

.s2-section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 12px;
}

.s2-section-desc {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ── Feature Cards ── */
.s2-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.s2-feature-card {
    padding: 28px 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    transition: all 0.25s ease;
}

.s2-feature-card:hover {
    border-color: var(--primary-200);
    box-shadow: 0 8px 24px -8px rgb(99 102 241 / 0.12);
    transform: translateY(-4px);
}

.s2-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}

.s2-feature-icon--primary { background: var(--primary-50); }
.s2-feature-icon--secondary { background: var(--teal-50); }
.s2-feature-icon--accent { background: var(--info-50); }
.s2-feature-icon--info { background: var(--info-50); }
.s2-feature-icon--success { background: var(--success-50); }
.s2-feature-icon--warning { background: var(--warning-50); }

.s2-feature-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.s2-feature-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ── Solution Cards ── */
.s2-solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.s2-solution-card {
    padding: 28px 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
}

.s2-solution-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}

.s2-solution-icon--primary { background: var(--primary-50); }
.s2-solution-icon--secondary { background: var(--teal-50); }
.s2-solution-icon--accent { background: var(--info-50); }

.s2-solution-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.s2-solution-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex: 1;
}

.s2-solution-btn { align-self: flex-start; }

/* ── Pricing ── */
.s2-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.s2-pricing-card {
    padding: 28px 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    position: relative;
}

.s2-pricing-card--featured {
    border-color: var(--primary-300);
    box-shadow: 0 8px 32px -8px rgb(99 102 241 / 0.2);
}

.s2-pricing-badge {
    position: absolute;
    top: -12px;
    left: 24px;
    padding: 4px 14px;
    background: var(--primary-600);
    color: white;
    font-size: 12px;
    font-weight: 700;
    border-radius: var(--radius-full);
}

.s2-pricing-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.s2-pricing-desc {
    font-size: 14px;
    color: var(--text-tertiary);
    margin-bottom: 20px;
}

.s2-pricing-price {
    font-size: 36px;
    font-weight: 900;
    color: var(--primary-600);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.s2-pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 24px;
    flex: 1;
}

.s2-pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

/* ── FAQ ── */
.s2-faq-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.s2-faq-sidebar {
    position: sticky;
    top: 100px;
}

.s2-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.s2-faq-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.s2-faq-q {
    padding: 18px 20px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.s2-faq-q::after {
    content: '+';
    font-size: 20px;
    font-weight: 300;
    color: var(--text-tertiary);
    transition: transform 0.2s;
}

.s2-faq-item[open] .s2-faq-q::after {
    content: '−';
    transform: rotate(180deg);
}

.s2-faq-a {
    padding: 0 20px 18px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ── CTA ── */
.s2-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700), var(--teal-700));
    text-align: center;
    color: white;
}

.s2-cta-title {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.s2-cta-desc {
    font-size: 17px;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.s2-cta-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.s2-btn-cta-primary {
    background: white;
    color: var(--primary-700);
    border: none;
    font-weight: 700;
}
.s2-btn-cta-primary:hover {
    background: #f0f0ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgb(0 0 0 / 0.2);
}

.s2-btn-cta-secondary {
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.4);
}
.s2-btn-cta-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.7);
    color: white;
}

/* ── Footer ── */
.s2-landing-footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 60px 0 0;
}

.s2-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.s2-footer-brand .s2-landing-logo {
    margin-bottom: 16px;
}

.s2-footer-brand .s2-logo-icon {
    background: linear-gradient(135deg, var(--primary-400), var(--primary-600));
}

.s2-footer-brand .s2-logo-text {
    background: linear-gradient(135deg, #e2e8f0, #f8fafc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.s2-footer-about {
    font-size: 14px;
    line-height: 1.7;
    color: var(--gray-400);
    max-width: 280px;
}

.s2-footer-heading {
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-200);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.s2-footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.s2-footer-links a,
.s2-footer-links span {
    font-size: 14px;
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.15s;
}

.s2-footer-links a:hover { color: var(--gray-200); }

.s2-footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding: 20px 0;
    font-size: 13px;
    color: var(--gray-500);
}

/* ═══════════════════════════════
   Responsive
   ═══════════════════════════════ */

@media (max-width: 1024px) {
    .s2-hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .s2-hero-title { font-size: 38px; }
    .s2-features-grid { grid-template-columns: repeat(2, 1fr); }
    .s2-solutions-grid { grid-template-columns: repeat(2, 1fr); }
    .s2-pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .s2-faq-layout { grid-template-columns: 1fr; gap: 32px; }
    .s2-faq-sidebar { position: static; }
    .s2-footer-grid { grid-template-columns: 1fr 1fr; }
    .s2-trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .s2-landing-nav { display: none; }
    .s2-landing-header-actions { display: none; }
    .s2-landing-header .s2-mobile-menu-btn { display: flex; }

    /* Mobile drawer */
    .s2-mobile-drawer {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 200;
    }

    .s2-mobile-drawer-overlay {
        position: absolute;
        inset: 0;
        background: rgb(0 0 0 / 0.4);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s;
    }

    .s2-mobile-drawer.open .s2-mobile-drawer-overlay {
        opacity: 1;
        pointer-events: auto;
    }

    .s2-mobile-drawer-panel {
        position: absolute;
        top: 0;
        right: 0;
        width: 280px;
        height: 100%;
        background: var(--bg-secondary);
        padding: 20px;
        display: flex;
        flex-direction: column;
        gap: 8px;
        box-shadow: var(--shadow-2xl);
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }

    html[dir="rtl"] .s2-mobile-drawer-panel {
        right: auto;
        left: 0;
        transform: translateX(-100%);
    }

    .s2-mobile-drawer.open .s2-mobile-drawer-panel {
        transform: translateX(0);
    }

    html[dir="rtl"] .s2-mobile-drawer.open .s2-mobile-drawer-panel {
        transform: translateX(0);
    }

    .s2-mobile-drawer-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 12px;
    }

    .s2-mobile-drawer-link {
        display: block;
        padding: 12px;
        font-size: 15px;
        font-weight: 500;
        color: var(--text-primary);
        text-decoration: none;
        border-radius: var(--radius-md);
        transition: background 0.15s;
    }

    .s2-mobile-drawer-link:hover { background: var(--bg-tertiary); }

    .s2-mobile-drawer-footer {
        margin-top: auto;
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding-top: 20px;
    }

    .s2-hero { padding: 48px 0 40px; }
    .s2-hero-title { font-size: 32px; }
    .s2-hero-desc { font-size: 16px; }
    .s2-hero-stats-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .s2-hero-stat-value { font-size: 22px; }
    .s2-hero-stat { padding: 12px; }

    .s2-section { padding: 56px 0; }
    .s2-section-title { font-size: 26px; }

    .s2-features-grid,
    .s2-solutions-grid,
    .s2-pricing-grid { grid-template-columns: 1fr; }

    .s2-cta-title { font-size: 28px; }
    .s2-trust-grid { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 480px) {
    .s2-hero-title { font-size: 28px; }
    .s2-hero-stats-grid { grid-template-columns: 1fr; }
    .s2-hero-actions { flex-direction: column; }
    .s2-hero-actions .s2-btn { width: 100%; }
    .s2-cta-actions { flex-direction: column; align-items: center; }
    .s2-cta-actions .s2-btn { width: 100%; max-width: 300px; }
    .s2-footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ═══════════════════════════════════════════════════════════════
   HTML Class Aliases — Maps index.php class names to s2- styles
   ═══════════════════════════════════════════════════════════════ */

/* ── Header ── */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.8); backdrop-filter: blur(16px) saturate(180%); -webkit-backdrop-filter: blur(16px) saturate(180%); border-bottom: 1px solid transparent; transition: border-color 0.3s, box-shadow 0.3s; }
.site-header.scrolled { border-bottom-color: var(--border-light, #e2e8f0); box-shadow: 0 1px 12px rgb(0 0 0 / 0.04); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 18px; font-weight: 800; color: var(--text-primary, #0f172a); flex-shrink: 0; }
.nav-brand-icon { width: 36px; height: 36px; background: linear-gradient(135deg, var(--primary-500, #6366f1), var(--primary-700, #4338ca)); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: white; font-size: 18px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 8px 14px; font-size: 14px; font-weight: 500; color: var(--text-secondary, #64748b); text-decoration: none; border-radius: 8px; transition: all 0.15s; }
.nav-links a:hover { color: var(--text-primary, #0f172a); background: var(--bg-tertiary, #f1f5f9); }
.nav-actions { display: flex; align-items: center; gap: 8px; }

/* ── Language Dropdown ── */
.lang-dropdown { position: relative; }
.lang-toggle { display: flex; align-items: center; gap: 6px; padding: 6px 12px; font-size: 13px; font-weight: 600; color: var(--text-secondary, #64748b); border: 1px solid var(--border-light, #e2e8f0); border-radius: 8px; background: transparent; cursor: pointer; transition: all 0.15s; }
.lang-toggle:hover { border-color: var(--primary-300, #a5b4fc); color: var(--primary-600, #4f46e5); }
.lang-menu { position: absolute; top: calc(100% + 6px); right: 0; background: white; border: 1px solid var(--border-light, #e2e8f0); border-radius: 12px; padding: 6px; min-width: 140px; box-shadow: 0 12px 32px rgb(0 0 0 / 0.1); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all 0.2s; z-index: 50; }
.lang-dropdown.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu a { display: block; padding: 8px 14px; font-size: 14px; font-weight: 500; color: var(--text-secondary, #64748b); border-radius: 8px; transition: all 0.15s; }
.lang-menu a:hover { background: var(--primary-50, #eef2ff); color: var(--primary-600, #4f46e5); }
.lang-menu a.active { color: var(--primary-600, #4f46e5); font-weight: 700; background: var(--primary-50, #eef2ff); }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 20px; font-size: 14px; font-weight: 600; border-radius: 10px; border: none; cursor: pointer; transition: all 0.2s; text-decoration: none; white-space: nowrap; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: linear-gradient(135deg, var(--primary-500, #6366f1), var(--primary-700, #4338ca)); color: white; box-shadow: 0 4px 14px rgb(99 102 241 / 0.35), inset 0 1px 0 rgba(255,255,255,0.15); }
.btn-primary:hover { box-shadow: 0 8px 24px rgb(99 102 241 / 0.45); transform: translateY(-2px); }
.btn-outline { background: transparent; border: 1.5px solid var(--border-medium, #cbd5e1); color: var(--text-primary, #0f172a); }
.btn-outline:hover { border-color: var(--primary-400, #818cf8); color: var(--primary-600, #4f46e5); background: var(--primary-50, #eef2ff); box-shadow: 0 2px 8px rgb(99 102 241 / 0.08); }
.btn-ghost { background: transparent; color: var(--text-secondary, #64748b); }
.btn-ghost:hover { background: var(--bg-tertiary, #f1f5f9); color: var(--text-primary, #0f172a); }
.btn-white { background: white; color: var(--primary-700, #4338ca); font-weight: 700; }
.btn-white:hover { background: #f0f0ff; transform: translateY(-2px); box-shadow: 0 8px 24px rgb(0 0 0 / 0.2); }
.btn-outline-white { background: transparent; color: white; border: 1.5px solid rgba(255,255,255,0.4); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); }
.btn-sm { padding: 7px 14px; font-size: 13px; border-radius: 8px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-rounded { border-radius: 9999px; }

/* ── Mobile Menu Toggle ── */
.menu-toggle { display: none; padding: 8px; color: var(--text-primary, #0f172a); }
.menu-toggle svg { width: 24px; height: 24px; }

/* ── Mobile Drawer ── */
.mobile-overlay { display: none; position: fixed; inset: 0; z-index: 200; }
.mobile-overlay.open { display: block; }
.mobile-overlay.open .mobile-drawer { transform: translateX(0); }
.mobile-drawer { position: absolute; top: 0; right: 0; width: 300px; height: 100%; background: white; padding: 20px; display: flex; flex-direction: column; gap: 4px; box-shadow: -8px 0 32px rgb(0 0 0 / 0.15); transform: translateX(100%); transition: transform 0.3s ease; }
html[dir="rtl"] .mobile-drawer { right: auto; left: 0; transform: translateX(-100%); }
html[dir="rtl"] .mobile-overlay.open .mobile-drawer { transform: translateX(0); }
.drawer-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-size: 16px; }
.drawer-close { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--text-secondary, #64748b); background: var(--bg-tertiary, #f1f5f9); }
.mobile-nav-link { display: block; padding: 12px 14px; font-size: 15px; font-weight: 500; color: var(--text-primary, #0f172a); border-radius: 10px; transition: background 0.15s; }
.mobile-nav-link:hover { background: var(--primary-50, #eef2ff); color: var(--primary-600, #4f46e5); }
.drawer-divider { height: 1px; background: var(--border-light, #e2e8f0); margin: 8px 0; }
.drawer-actions { margin-top: auto; display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 1px solid var(--border-light, #e2e8f0); }

/* ── Hero ── */
.hero {
    padding: 100px 0 80px;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgb(99 102 241 / 0.1), transparent),
        radial-gradient(ellipse 60% 40% at 80% 0%, rgb(20 184 166 / 0.08), transparent),
        radial-gradient(ellipse 50% 30% at 20% 10%, rgb(14 165 233 / 0.05), transparent);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgb(99 102 241 / 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -150px; left: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgb(20 184 166 / 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 6px 18px 6px 8px;
    background: linear-gradient(135deg, var(--primary-50, #eef2ff), rgba(20 184 166, 0.05));
    border: 1px solid var(--primary-200, #c7d2fe);
    border-radius: 9999px; font-size: 13px; font-weight: 600;
    color: var(--primary-700, #4338ca); margin-bottom: 28px;
    box-shadow: 0 2px 8px rgb(99 102 241 / 0.08);
}
.hero-badge-dot {
    display: inline-flex; align-items: center; justify-content: center;
    width: 24px; height: 24px;
    background: linear-gradient(135deg, var(--primary-500, #6366f1), var(--primary-700, #4338ca));
    border-radius: 50%; color: white; font-size: 9px; font-weight: 800;
    letter-spacing: 0.05em;
    animation: badgePulse 2.5s ease-in-out infinite;
}
@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgb(99 102 241 / 0.4); }
    50% { box-shadow: 0 0 0 6px rgb(99 102 241 / 0); }
}
.hero-title {
    font-size: 52px; font-weight: 900; line-height: 1.1;
    letter-spacing: -0.035em; color: var(--text-primary, #0f172a);
    margin-bottom: 24px;
}
.hero-title-gradient {
    display: block;
    background: linear-gradient(135deg, var(--primary-500, #6366f1) 0%, var(--teal-500, #14b8a6) 50%, var(--primary-400, #818cf8) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
}
@keyframes gradientShift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}
.hero-desc { font-size: 18px; line-height: 1.8; color: var(--text-secondary, #64748b); max-width: 520px; margin-bottom: 36px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* ── Hero Card ── */
.hero-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(248,250,252,0.9));
    border: 1px solid var(--border-light, #e2e8f0);
    border-radius: 24px; padding: 28px;
    box-shadow:
        0 32px 64px -16px rgb(99 102 241 / 0.15),
        0 16px 32px -8px rgb(20 184 166 / 0.1),
        inset 0 1px 0 rgba(255,255,255,0.8);
    backdrop-filter: blur(20px);
    position: relative; overflow: hidden;
}
.hero-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--primary-500, #6366f1), var(--teal-500, #14b8a6), var(--primary-400, #818cf8));
    border-radius: 24px 24px 0 0;
}
.hero-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.hero-stat {
    padding: 18px 14px; border-radius: 16px;
    background: linear-gradient(145deg, var(--bg-tertiary, #f1f5f9), white);
    text-align: center; border: 1px solid transparent;
    transition: all 0.25s ease;
}
.hero-stat:nth-child(1) { border-color: rgba(99, 102, 241, 0.1); }
.hero-stat:nth-child(1):hover { border-color: rgba(99, 102, 241, 0.25); box-shadow: 0 4px 12px rgb(99 102 241 / 0.08); }
.hero-stat:nth-child(2) { border-color: rgba(20, 184, 166, 0.1); }
.hero-stat:nth-child(2):hover { border-color: rgba(20, 184, 166, 0.25); box-shadow: 0 4px 12px rgb(20 184 166 / 0.08); }
.hero-stat:nth-child(3) { border-color: rgba(34, 197, 94, 0.1); }
.hero-stat:nth-child(3):hover { border-color: rgba(34, 197, 94, 0.25); box-shadow: 0 4px 12px rgb(34 197 94 / 0.08); }
.hero-stat-label { font-size: 12px; font-weight: 600; color: var(--text-secondary, #64748b); margin-top: 4px; }
.hero-stat-value {
    font-size: 30px; font-weight: 900; letter-spacing: -0.03em;
    margin: 4px 0 2px;
}
.hero-stat:nth-child(1) .hero-stat-value { color: var(--primary-600, #4f46e5); }
.hero-stat:nth-child(2) .hero-stat-value { color: var(--teal-600, #0d9488); }
.hero-stat:nth-child(3) .hero-stat-value { color: var(--success-600, #16a34a); }
.hero-stat-desc { font-size: 11px; color: var(--text-tertiary, #94a3b8); }
.hero-abilities {
    padding: 18px; border-radius: 16px;
    border: 1px solid var(--border-light, #e2e8f0);
    background: white;
}
.hero-abilities-title {
    font-size: 13px; font-weight: 700;
    color: var(--text-secondary, #64748b);
    margin-bottom: 12px; display: flex; align-items: center; gap: 6px;
}
.hero-abilities-title::before {
    content: '🔥'; font-size: 14px;
}
.hero-abilities-list { display: flex; flex-wrap: wrap; gap: 8px; }
.ability-tag {
    padding: 5px 14px;
    background: linear-gradient(135deg, var(--primary-50, #eef2ff), rgba(20 184 166, 0.05));
    border: 1px solid var(--primary-100, #e0e7ff);
    border-radius: 9999px; font-size: 13px; font-weight: 500;
    color: var(--primary-700, #4338ca);
    transition: all 0.2s;
}
.ability-tag:hover {
    background: var(--primary-100, #e0e7ff);
    border-color: var(--primary-300, #a5b4fc);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgb(99 102 241 / 0.1);
}

/* ── Trust Bar ── */
.trust-bar { border-top: 1px solid var(--border-light, #e2e8f0); border-bottom: 1px solid var(--border-light, #e2e8f0); background: linear-gradient(90deg, rgb(99 102 241 / 0.03), rgb(14 165 233 / 0.03), rgb(20 184 166 / 0.04)); padding: 18px 0; }
.trust-bar-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--text-secondary, #64748b); }
.trust-check { color: var(--success-500, #22c55e); font-weight: 700; }

/* ── Sections ── */
.section { padding: 80px 0; }
.section-header { max-width: 560px; margin-bottom: 48px; }
.section-title { font-size: 32px; font-weight: 800; color: var(--text-primary, #0f172a); letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 12px; }
.section-subtitle { font-size: 17px; color: var(--text-secondary, #64748b); line-height: 1.6; }

/* ── Features ── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { padding: 28px 24px; background: var(--bg-secondary, #f8fafc); border: 1px solid var(--border-light, #e2e8f0); border-radius: 16px; transition: all 0.25s ease; }
.feature-card:hover { border-color: var(--primary-200, #c7d2fe); box-shadow: 0 8px 24px -8px rgb(99 102 241 / 0.12); transform: translateY(-4px); }
.feature-icon { width: 48px; height: 48px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 16px; }
.feature-icon--primary { background: var(--primary-50, #eef2ff); }
.feature-icon--accent { background: rgb(20 184 166 / 0.1); }
.feature-icon--gray { background: var(--bg-tertiary, #f1f5f9); }
.feature-title { font-size: 17px; font-weight: 700; color: var(--text-primary, #0f172a); margin-bottom: 8px; }
.feature-desc { font-size: 14px; line-height: 1.7; color: var(--text-secondary, #64748b); }

/* ── Solutions ── */
.solutions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.solution-card { padding: 28px 24px; background: var(--bg-secondary, #f8fafc); border: 1px solid var(--border-light, #e2e8f0); border-radius: 16px; display: flex; flex-direction: column; }
.solution-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.solution-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.solution-icon--primary { background: var(--primary-50, #eef2ff); }
.solution-icon--accent { background: rgb(20 184 166 / 0.1); }
.solution-icon--gray { background: var(--bg-tertiary, #f1f5f9); }
.solution-title { font-size: 17px; font-weight: 700; color: var(--text-primary, #0f172a); }
.solution-desc { font-size: 14px; line-height: 1.7; color: var(--text-secondary, #64748b); margin-bottom: 20px; flex: 1; }

/* ── Pricing ── */
.pricing-section { background: linear-gradient(180deg, #fff 0%, var(--bg-tertiary, #f1f5f9) 100%); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pricing-card { padding: 28px 24px; background: var(--bg-secondary, #f8fafc); border: 1px solid var(--border-light, #e2e8f0); border-radius: 16px; display: flex; flex-direction: column; position: relative; }
.pricing-card--featured { border-color: var(--primary-300, #a5b4fc); box-shadow: 0 8px 32px -8px rgb(99 102 241 / 0.2); }
.pricing-badge { position: absolute; top: -12px; left: 24px; padding: 4px 14px; background: var(--primary-600, #4f46e5); color: white; font-size: 12px; font-weight: 700; border-radius: 9999px; }
.pricing-name { font-size: 20px; font-weight: 800; color: var(--text-primary, #0f172a); margin-bottom: 4px; }
.pricing-desc { font-size: 14px; color: var(--text-tertiary, #94a3b8); margin-bottom: 20px; }
.pricing-price { font-size: 36px; font-weight: 900; color: var(--primary-600, #4f46e5); margin-bottom: 24px; letter-spacing: -0.02em; }
.pricing-features { list-style: none; padding: 0; margin-bottom: 24px; flex: 1; }
.pricing-features li { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 14px; color: var(--text-secondary, #64748b); }
.pricing-features .check { color: var(--success-500, #22c55e); font-weight: 700; }

/* ── FAQ ── */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.faq-aside { position: sticky; top: 100px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--bg-secondary, #f8fafc); border: 1px solid var(--border-light, #e2e8f0); border-radius: 16px; overflow: hidden; }
.faq-question { width: 100%; padding: 18px 20px; font-size: 15px; font-weight: 700; color: var(--text-primary, #0f172a); cursor: pointer; display: flex; align-items: center; justify-content: space-between; background: transparent; border: none; text-align: left; }
.faq-arrow { transition: transform 0.25s; color: var(--text-tertiary, #94a3b8); flex-shrink: 0; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.open .faq-answer { max-height: 200px; }
.faq-answer-inner { padding: 0 20px 18px; font-size: 14px; line-height: 1.7; color: var(--text-secondary, #64748b); }

/* ── CTA ── */
.cta-section { padding: 80px 0; background: linear-gradient(135deg, var(--primary-600, #4f46e5), var(--primary-700, #4338ca), var(--teal-700, #0f766e)); }
.cta-inner { text-align: center; color: white; }
.cta-title { font-size: 36px; font-weight: 900; margin-bottom: 12px; letter-spacing: -0.02em; }
.cta-desc { font-size: 17px; opacity: 0.9; margin-bottom: 32px; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ── */
.site-footer { background: var(--gray-900, #0f172a); color: var(--gray-400, #9ca3af); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; color: white; margin-bottom: 16px; }
.footer-brand-icon { width: 32px; height: 32px; background: linear-gradient(135deg, var(--primary-400, #818cf8), var(--primary-600, #4f46e5)); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: white; font-size: 16px; }
.footer-desc { font-size: 14px; line-height: 1.7; color: var(--gray-400, #9ca3af); max-width: 280px; }
.footer-heading { font-size: 14px; font-weight: 700; color: var(--gray-200, #e5e7eb); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.06em; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: var(--gray-400, #9ca3af); text-decoration: none; transition: color 0.15s; }
.footer-links a:hover { color: var(--gray-200, #e5e7eb); }
.footer-info p { font-size: 14px; color: var(--gray-400, #9ca3af); margin-bottom: 4px; }
.footer-bottom { border-top: 1px solid var(--gray-800, #1e293b); padding: 20px 0; font-size: 13px; color: var(--gray-500, #6b7280); }

/* ── Scroll Animations ── */
.animate-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.animate-in.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════
   Responsive — HTML Aliases
   ═══════════════════════════════ */

@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-title { font-size: 40px; }
    .hero-card { max-width: 560px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .solutions-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .faq-grid { grid-template-columns: 1fr; gap: 32px; }
    .faq-aside { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .trust-bar-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions { display: none; }
    .menu-toggle { display: flex; }
    .mobile-overlay { display: none; }
    .mobile-overlay.open { display: block; }
    .hero { padding: 48px 0 40px; }
    .hero-title { font-size: 32px; }
    .hero-desc { font-size: 16px; }
    .hero-stats-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .hero-stat-value { font-size: 22px; }
    .hero-stat { padding: 12px; }
    .hero-badge { font-size: 12px; margin-bottom: 20px; }
    .hero-cta { gap: 10px; }
    .hero-cta .btn-lg { padding: 12px 22px; font-size: 14px; }
    .section { padding: 56px 0; }
    .section-title { font-size: 26px; }
    .features-grid, .solutions-grid, .pricing-grid { grid-template-columns: 1fr; }
    .cta-title { font-size: 28px; }
    .trust-bar-inner { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 28px; }
    .hero-stats-grid { grid-template-columns: 1fr; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; }
    .cta-actions { flex-direction: column; align-items: center; }
    .cta-actions .btn { width: 100%; max-width: 300px; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}
