/* ============================================================
   Osboon Landing Page — Styles
   landing.css

   CRITICAL: NO hardcoded colors. ALL colors via CSS variables
   from dashboard_base.css / dashboard_themes.css.
   This enables future dynamic theming.

   Fonts: Playfair Display (headings) + Nunito Sans (body)
   — self-hosted, declared in landing.html <style> block.
   ============================================================ */


/* ── Reset (same as dashboard_base.css) ──────────────────── */

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

:root {
    /* Inherit from dashboard_base.css when loaded together.
       Fallback values here for standalone preview only. */
    --navy:        #1b2a4a;
    --navy-mid:    #243459;
    --accent:      #3a82c4;
    --bg:          #e8edf5;
    --bg-alt:      #dce3ef;
    --white:       #ffffff;
    --text:        #1b2a4a;
    --muted:       #5a6b82;
    --border:      #bcc8d9;
    --input-bg:    #f8fafc;
    --nav-end:     #1e3c6e;
    --radius-sm:   8px;
    --radius-md:   12px;
    --radius-lg:   16px;
    --shadow-sm:   0 2px 8px rgba(27, 42, 74, 0.09);
    --shadow-md:   0 4px 20px rgba(27, 42, 74, 0.13);
    --shadow-lg:   0 12px 40px rgba(27, 42, 74, 0.18);
    --transition:  0.18s ease;
}

html { overflow-y: auto; scroll-behavior: smooth; }
body {
    font-family: 'Nunito Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}


/* ── Sticky Nav ──────────────────────────────────────────── */

.landing-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(135deg, var(--navy) 0%, var(--nav-end) 100%);
    box-shadow: var(--shadow-md);
    padding: 0 40px;
}

.landing-nav-row {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Language picker — far left */
.landing-lang-picker {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    position: relative;
}

.landing-lang-picker .flag-img {
    width: 22px;
    height: 16px;
    border-radius: 2px;
    object-fit: cover;
}

.landing-lang-picker .lang-name {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    font-weight: 600;
}

.landing-lang-picker .lang-arrow {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.6rem;
    transition: transform var(--transition);
}

/* Language dropdown */
.landing-lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    min-width: 180px;
    z-index: 200;
    overflow: hidden;
}

.landing-lang-dropdown.open { display: block; }

.landing-lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    cursor: pointer;
    font-size: 0.82rem;
    color: var(--text);
    transition: background var(--transition);
    text-decoration: none;
}

.landing-lang-option:hover { background: var(--bg); }

.landing-lang-option .flag-img {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    object-fit: cover;
}

/* Logo + tagline */
.landing-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.landing-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.landing-tagline {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Spacer pushes login to the right */
.landing-nav-spacer { flex: 1; }

/* Inline login fields */
.landing-login-form {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.landing-login-input {
    width: 140px;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.78rem;
    transition: border-color var(--transition), background var(--transition);
}

.landing-login-input::placeholder { color: rgba(255, 255, 255, 0.4); }
.landing-login-input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.15);
}

.landing-login-btn {
    padding: 7px 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--white);
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition);
    white-space: nowrap;
}

.landing-login-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.5);
}


/* ── What's New Banner (subtle, muted) ───────────────────── */

.whatsnew-banner {
    background: transparent;
    padding: 10px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.whatsnew-banner a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 0.78rem;
    text-decoration: none;
    transition: color var(--transition);
}

.whatsnew-banner a:hover { color: var(--accent); }

.whatsnew-banner .whatsnew-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

.whatsnew-banner .whatsnew-arrow {
    font-size: 0.9rem;
    transition: transform var(--transition);
}

.whatsnew-banner a:hover .whatsnew-arrow { transform: translateX(3px); }


/* ── Hero (split layout) ─────────────────────────────────── */

.landing-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 380px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 40px 44px;
    gap: 40px;
    align-items: center;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    font-weight: 400;
    color: var(--navy);
    line-height: 1.2;
}

.hero-slogan {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.15rem;
    color: var(--muted);
    line-height: 1.5;
}

.hero-desc {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.8;
    max-width: 440px;
}

.hero-pillars {
    display: flex;
    gap: 24px;
    margin-top: 4px;
}

.hero-pillar {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.02em;
}

.hero-pillar-dot {
    color: var(--accent);
    margin-right: 6px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 8px;
    padding: 12px 32px;
    border: 2px solid var(--accent);
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--accent);
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}

.hero-cta:hover {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(58, 130, 196, 0.3);
}

/* Hero right — gradient area with SVG */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(155deg, var(--navy) 0%, var(--navy-mid) 55%, var(--nav-end) 100%);
    border-radius: var(--radius-lg);
    padding: 40px;
    min-height: 360px;
    position: relative;
    overflow: hidden;
}

.hero-visual::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 200px; height: 200px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}

.hero-visual svg,
.hero-visual img {
    max-width: 100%;
    max-height: 340px;
    width: 100%;
}


/* ── Section Shared Styles ───────────────────────────────── */

.landing-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 40px;
}

.landing-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--navy);
    margin-bottom: 12px;
}

.landing-section-subtitle {
    font-size: 0.88rem;
    color: var(--muted);
    max-width: 600px;
    line-height: 1.75;
    margin-bottom: 28px;
}

/* Alternating section backgrounds for visual rhythm */
.landing-section-alt {
    background: var(--bg-alt);
}

/* Divider between sections */
.landing-divider {
    max-width: 1200px;
    margin: 0 auto;
    border: none;
    border-top: 1px solid var(--border);
}


/* ── What's New (full section — card grid) ───────────────── */

.whatsnew-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.whatsnew-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    box-shadow: var(--shadow-sm);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.whatsnew-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
}

.whatsnew-card-date {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.whatsnew-card-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.whatsnew-card-desc {
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.7;
}

.whatsnew-card.coming-soon {
    border-style: dashed;
    opacity: 0.7;
}

.whatsnew-card .badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.badge-new { background: rgba(58, 130, 196, 0.18); color: var(--accent); }
.badge-soon { background: rgba(122, 139, 163, 0.18); color: var(--muted); }



/* ── Osboon Hub ──────────────────────────────────────────── */

.hub-featured {
    background: var(--white);
    border: 2px solid var(--accent);
    border-radius: var(--radius-lg);
    padding: 32px 36px;
    display: flex;
    gap: 28px;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.hub-featured::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 120px; height: 120px;
    background: linear-gradient(135deg, rgba(58, 130, 196, 0.06) 0%, transparent 100%);
    border-radius: 0 0 0 100%;
}

.hub-featured-icon {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy), var(--accent));
    border-radius: var(--radius-md);
}

.hub-featured-icon svg { width: 36px; height: 36px; }

.hub-featured-body { flex: 1; }

.hub-featured-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 12px;
    background: rgba(58, 130, 196, 0.12);
    color: var(--accent);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.hub-featured-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--navy);
    margin-bottom: 8px;
}

.hub-featured-desc {
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.75;
}


/* ── Teaser Banners (Dev + AI) ───────────────────────────── */

.landing-teaser {
    background: linear-gradient(135deg, var(--navy) 0%, var(--nav-end) 100%);
    padding: 28px 40px;
    text-align: center;
}

.landing-teaser p {
    max-width: 1200px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.landing-teaser strong { color: var(--white); }


/* ── Pricing (single card with toggle) ───────────────────── */

.pricing-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    max-width: 640px;
    margin: 0 auto;
    box-shadow: var(--shadow-sm);
}

.pricing-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--navy);
    margin-bottom: 6px;
}

.pricing-free-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

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

.pricing-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.85rem;
    color: var(--text);
}

.pricing-list li .check {
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
}


/* ── Footer (two-column) ─────────────────────────────────── */

.landing-footer {
    background: var(--navy);
    padding: 36px 40px 24px;
}

.landing-footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.footer-brand .footer-logo {
    height: 36px;
    width: auto;
    margin-bottom: 8px;
}

.footer-brand .footer-tagline {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.footer-brand .footer-slogan {
    color: rgba(255, 255, 255, 0.35);
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 0.82rem;
}

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

.footer-links-row {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    margin-bottom: 16px;
}

.footer-links-row a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: color var(--transition);
}

.footer-links-row a:hover { color: var(--white); }

.footer-social {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    color: rgba(255, 255, 255, 0.6);
    transition: border-color var(--transition), color var(--transition);
}

.footer-social a:hover { border-color: rgba(255, 255, 255, 0.4); color: var(--white); }
.footer-social a svg { width: 16px; height: 16px; }

.footer-copyright {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.7rem;
    text-align: right;
}


/* ── Hero Subtitle (under h1) ──────────────────────────── */

.hero-subtitle {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: -12px;
}


/* ── Hero Profile Cards (People & Companies) ──────────── */

.hero-profiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 8px;
}

.hero-profile-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: border-color var(--transition), box-shadow 0.25s ease, transform 0.25s ease;
}

.hero-profile-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.hero-profile-card img {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.hero-profile-card strong {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 2px;
}

.hero-profile-card span {
    font-size: 0.7rem;
    color: var(--muted);
    line-height: 1.4;
}


/* ── Hub Coming Soon (full card) ──────────────────────── */

.hub-coming-soon {
    background: var(--white);
    border: 2px dashed var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 36px;
    display: flex;
    gap: 28px;
    align-items: center;
    box-shadow: var(--shadow-sm);
    transition: border-color var(--transition), transform 0.25s ease;
}

.hub-coming-soon:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.hub-coming-icon {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-alt);
    border-radius: var(--radius-md);
    color: var(--muted);
}

.hub-coming-icon svg { width: 32px; height: 32px; }

.hub-coming-body { flex: 1; }

.badge-soon-alt {
    background: rgba(122, 139, 163, 0.15);
    color: var(--muted);
}

.hub-suggest-link {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    transition: opacity var(--transition);
}

.hub-suggest-link:hover { opacity: 0.7; }


/* ── Pricing Grid (two cards) ─────────────────────────── */

.pricing-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-free {
    border-color: var(--accent);
    border-width: 2px;
    position: relative;
}

.pricing-badge-free {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 14px;
    background: rgba(58, 130, 196, 0.15);
    color: var(--accent);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.pricing-badge-premium {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 14px;
    background: rgba(122, 139, 163, 0.12);
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.pricing-premium-card {
    opacity: 0.75;
}

.pricing-premium-card h3 {
    color: var(--muted);
}

.pricing-cta {
    display: inline-block;
    padding: 10px 28px;
    border: 2px solid var(--accent);
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--accent);
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: background var(--transition), color var(--transition), box-shadow var(--transition);
    margin-top: 8px;
}

.pricing-cta:hover {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(58, 130, 196, 0.3);
}


/* ── FAQ ───────────────────────────────────────────────── */

.faq-list {
    max-width: 700px;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item:last-child { border-bottom: none; }

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 0;
    border: none;
    background: none;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--navy);
    cursor: pointer;
    text-align: left;
    transition: color var(--transition);
}

.faq-question:hover { color: var(--accent); }

.faq-arrow {
    font-size: 0.7rem;
    color: var(--muted);
    transition: transform 0.25s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.open .faq-arrow { transform: rotate(180deg); }

.faq-answer {
    display: none;
    padding: 0 0 18px;
}

.faq-item.open .faq-answer { display: block; }

.faq-answer p {
    font-size: 0.84rem;
    color: var(--muted);
    line-height: 1.8;
}

body.rtl .faq-question { text-align: right; }
body.rtl .faq-arrow { margin-left: 0; margin-right: 16px; }


/* ── Feature Highlights (icon row below hero) ──────────── */

.landing-features {
    display: flex;
    justify-content: center;
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 36px 40px;
    flex-wrap: wrap;
}

.feature-item {
    flex: 1;
    min-width: 140px;
    max-width: 200px;
    text-align: center;
    padding: 20px 12px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.feature-icon svg { width: 28px; height: 28px; }

.feature-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 2px;
}

.feature-sub {
    font-size: 0.68rem;
    color: var(--muted);
    letter-spacing: 0.02em;
}




/* ── Card Hover Lift ───────────────────────────────────── */

.whatsnew-card {
    transition: transform 0.25s ease, border-color var(--transition), box-shadow 0.25s ease;
}

.whatsnew-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.hub-featured {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hub-featured:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.pricing-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pricing-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}


/* ── Login Form Shake ──────────────────────────────────── */

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-8px); }
    40% { transform: translateX(8px); }
    60% { transform: translateX(-6px); }
    80% { transform: translateX(6px); }
}

.landing-login-form.shake {
    animation: shake 0.4s ease;
}

.landing-login-form.shake .landing-login-input {
    border-color: rgba(220, 80, 80, 0.6);
}


/* ── Scroll Reveal ───────────────────────────────────────── */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered children inside reveal containers */
.reveal-child {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-child.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ── RTL Support ─────────────────────────────────────────── */

body.rtl { direction: rtl; text-align: right; }

body.rtl .landing-nav-row { flex-direction: row-reverse; }
body.rtl .landing-login-form { flex-direction: row-reverse; }
body.rtl .landing-hero { direction: rtl; }
body.rtl .hero-pillars { flex-direction: row-reverse; }
body.rtl .footer-links { text-align: left; }
body.rtl .footer-links-row { justify-content: flex-start; }
body.rtl .footer-social { justify-content: flex-start; }
body.rtl .footer-copyright { text-align: left; }


/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 900px) {
    .landing-hero { grid-template-columns: 1fr; min-height: auto; padding: 40px 24px; }
    .hero-visual { min-height: 280px; }
    .landing-features { gap: 8px; }
    .feature-item { min-width: 120px; padding: 14px 8px; }
    .hub-featured { flex-direction: column; text-align: center; }
    .hub-coming-soon { flex-direction: column; text-align: center; }
    .hero-profiles { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 480px; }
    .landing-footer-inner { grid-template-columns: 1fr; }
    .footer-links { text-align: left; }
    .footer-links-row { justify-content: flex-start; }
    .footer-social { justify-content: flex-start; }
    .footer-copyright { text-align: left; }
}

@media (max-width: 600px) {
    .landing-nav { padding: 0 16px; }
    .landing-nav-row { gap: 8px; }
    .landing-tagline { display: none; }
    .landing-login-input { width: 100px; }
    .landing-hero { padding: 32px 16px; }
    .hero-text h1 { font-size: 1.8rem; }
    .hero-profiles { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 100%; }
    .landing-section { padding: 36px 16px; }
    .landing-features { padding: 24px 16px; gap: 8px; }
    .feature-item { min-width: 100px; }
    .whatsnew-grid { grid-template-columns: 1fr; }
    .pricing-card { padding: 32px 24px; }
    .landing-footer { padding: 32px 16px 24px; }
}
