/* ──────────────────────────────────────────────
   WerWer Landing Page — landing.css
   Brand: Leaf Green · Deep Navy · Ocean Teal · Ice Blue
   Font: Alexandria (Arabic + Latin)
   ────────────────────────────────────────────── */

/* ── Tokens ─────────────────────────────────── */

:root {
    --green: #66BA5C;
    --green-dark: #4A8F42;
    --green-btn: #358430;
    --green-btn-hover: #2D7028;
    --green-light: #E8F5E6;
    --navy: #093041;
    --navy-90: rgba(9,48,65,0.9);
    --teal: #11516F;
    --ice: #E3F8FF;
    --snow: #FAFCFD;
    --white: #FFFFFF;
    --slate: #4A6274;
    --mist: #8FA8B7;
    --mist-on-white: #5E7A8A;
    --light-gray: #E8EEF1;
    --success: #66BA5C;
    --error: #D32F2F;

    --shadow-sm: 0 1px 3px rgba(9,48,65,0.06);
    --shadow-md: 0 4px 16px rgba(9,48,65,0.08);
    --shadow-lg: 0 8px 32px rgba(9,48,65,0.12);
    --shadow-card: 0 2px 12px rgba(9,48,65,0.06);
    --shadow-card-hover: 0 8px 24px rgba(9,48,65,0.12);

    --section-py: 100px;
    --section-py-mobile: 60px;
    --container-max: 1140px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 50px;

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

/* ── Reset ──────────────────────────────────── */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: 'Alexandria', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--slate);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ── Container ──────────────────────────────── */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Typography ─────────────────────────────── */

.section-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--navy);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--slate);
    max-width: 640px;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

/* ── Buttons ────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    padding: 16px 32px;
    border-radius: var(--radius-pill);
    transition: all 0.3s var(--ease-out-expo);
    white-space: nowrap;
}

.btn--primary {
    background: var(--green-btn);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(53,132,48,0.3);
}

.btn--primary:hover {
    background: var(--green-btn-hover);
    box-shadow: 0 6px 24px rgba(53,132,48,0.4);
    transform: translateY(-2px);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.4);
}

.btn--outline:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.1);
}

.btn--outline-dark {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--light-gray);
}

.btn--outline-dark:hover {
    border-color: var(--green);
    color: var(--green);
}

.btn--full { width: 100%; }

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn--secondary-on-dark {
    background: transparent;
    color: var(--green);
    border: 2px solid var(--green);
}

.btn--secondary-on-dark:hover {
    background: var(--green);
    color: var(--white);
}

/* ── Navbar ─────────────────────────────────── */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: all 0.4s var(--ease-out-expo);
}

.navbar.scrolled {
    background: var(--snow);
    box-shadow: var(--shadow-md);
    padding: 12px 0;
}

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

.navbar__logo img {
    height: 40px;
    width: auto;
    transition: opacity 0.3s ease;
}

.navbar__nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.navbar__link {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    transition: color 0.3s ease;
    position: relative;
}

.navbar__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--green);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s var(--ease-out-expo);
}

.navbar__link:hover::after {
    transform: scaleX(1);
}

.navbar__link:hover {
    color: var(--white);
}

.navbar.scrolled .navbar__link {
    color: var(--slate);
}

.navbar.scrolled .navbar__link:hover {
    color: var(--navy);
}

.navbar__actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-toggle {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.12);
    border-radius: var(--radius-pill);
    padding: 4px;
    font-size: 13px;
    font-weight: 600;
    overflow: hidden;
}

.lang-toggle__option {
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    transition: all 0.3s var(--ease-out-expo);
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    line-height: 1;
}

.lang-toggle__option.active {
    background: var(--white);
    color: var(--navy);
}

.navbar.scrolled .lang-toggle {
    background: var(--light-gray);
}

.navbar.scrolled .lang-toggle__option {
    color: var(--slate);
}

.navbar.scrolled .lang-toggle__option.active {
    background: var(--navy);
    color: var(--white);
}

/* Hamburger */
.navbar__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    cursor: pointer;
}

.navbar__hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s var(--ease-out-expo);
    border-radius: 2px;
}

.navbar.scrolled .navbar__hamburger span {
    background: var(--navy);
}

.navbar__hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.navbar__hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.navbar__hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer */
.navbar__drawer {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 24px;
    flex-direction: column;
    gap: 4px;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.navbar__drawer.open {
    display: flex;
}

.navbar__drawer .navbar__link {
    color: var(--slate);
    padding: 12px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--light-gray);
}

.navbar__drawer .navbar__link:last-child {
    border-bottom: none;
}

.navbar__drawer .navbar__link:hover {
    color: var(--green);
}

.navbar__drawer .navbar__link::after {
    display: none;
}

/* ── Hero ───────────────────────────────────── */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
    padding: 120px 0 160px;
    overflow: hidden;
}

.hero__pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.8) 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.6) 1px, transparent 1px),
        radial-gradient(circle at 60% 80%, rgba(255,255,255,0.5) 1px, transparent 1px);
    background-size: 60px 60px, 80px 80px, 50px 50px;
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.hero__title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.55;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero__subtitle {
    font-size: 19px;
    font-weight: 400;
    line-height: 1.8;
    color: var(--ice);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero__ctas {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero__props {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.hero__prop {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    font-weight: 500;
}

.hero__prop svg {
    width: 18px;
    height: 18px;
    color: var(--green);
    flex-shrink: 0;
}

/* Hero wave */
.hero__wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    z-index: 3;
    line-height: 0;
}

.hero__wave svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Hero entrance animation */
.hero__content {
    opacity: 0;
    transform: translateY(32px);
    animation: heroEntrance 0.8s var(--ease-out-expo) 0.2s forwards;
}

@keyframes heroEntrance {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Features ───────────────────────────────── */

.features {
    background: var(--snow);
    padding: var(--section-py) 0;
}

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

.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    box-shadow: var(--shadow-card);
    transition: all 0.4s var(--ease-out-expo);
    border: 1px solid transparent;
}

.feature-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-4px);
    border-color: var(--green-light);
}

.feature-card__icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--green-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-card__icon svg {
    width: 28px;
    height: 28px;
    color: var(--green);
}

.feature-card__title {
    font-size: 18px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 10px;
    line-height: 1.3;
}

.feature-card__desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--slate);
}

/* ── How It Works ───────────────────────────── */

.how-it-works {
    background: var(--white);
    padding: var(--section-py) 0;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    position: relative;
}

/* Connector line between steps */
.steps::before {
    content: '';
    position: absolute;
    top: 32px;
    left: calc(16.66% + 32px);
    right: calc(16.66% + 32px);
    height: 2px;
    background: repeating-linear-gradient(
        90deg,
        var(--green) 0,
        var(--green) 8px,
        transparent 8px,
        transparent 16px
    );
}

[dir="rtl"] .steps::before {
    background: repeating-linear-gradient(
        -90deg,
        var(--green) 0,
        var(--green) 8px,
        transparent 8px,
        transparent 16px
    );
}

.step {
    text-align: center;
    position: relative;
}

.step__number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--green);
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 16px rgba(102,186,92,0.25);
}

.step__title {
    font-size: 18px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 10px;
    line-height: 1.3;
}

.step__desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--slate);
    max-width: 280px;
    margin: 0 auto;
}

/* ── For Wholesalers (dark) ─────────────────── */

.for-wholesalers {
    background: var(--navy);
    padding: var(--section-py) 0;
    position: relative;
    overflow: hidden;
}

/* Infinity watermark */
.for-wholesalers__watermark {
    position: absolute;
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 320px;
    font-weight: 800;
    color: rgba(255,255,255,0.03);
    pointer-events: none;
    line-height: 1;
    user-select: none;
}

[dir="rtl"] .for-wholesalers__watermark {
    right: auto;
    left: -60px;
}

.for-wholesalers .section-title {
    color: var(--white);
}

.for-wholesalers .section-subtitle {
    color: var(--ice);
}

.audience-section__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.audience-section__benefits {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 32px 0 40px;
}

.benefit {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.benefit__check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.benefit__check svg {
    width: 14px;
    height: 14px;
    color: var(--white);
}

.for-wholesalers .benefit__text {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255,255,255,0.85);
}

/* Illustration placeholder (infinity symbol visual) */
.audience-section__visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.audience-visual-graphic {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 4/3;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.for-wholesalers .audience-visual-graphic {
    background: linear-gradient(135deg, var(--teal) 0%, rgba(17,81,111,0.5) 100%);
    border: 1px solid rgba(255,255,255,0.08);
}

.audience-visual-graphic__symbol {
    font-size: 120px;
    font-weight: 800;
    opacity: 0.15;
    color: var(--green);
    line-height: 1;
}

/* Small floating cards inside the visual */
.audience-visual-graphic__card {
    position: absolute;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.1);
}

.for-wholesalers .audience-visual-graphic__card {
    color: rgba(255,255,255,0.7);
}

.audience-visual-graphic__card:nth-child(2) {
    top: 16%;
    right: 8%;
}

.audience-visual-graphic__card:nth-child(3) {
    bottom: 20%;
    left: 8%;
}

.audience-visual-graphic__card:nth-child(4) {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

[dir="rtl"] .audience-visual-graphic__card:nth-child(2) {
    right: auto;
    left: 8%;
}

[dir="rtl"] .audience-visual-graphic__card:nth-child(3) {
    left: auto;
    right: 8%;
}

/* ── For Retailers (light) ──────────────────── */

.for-retailers {
    background: var(--snow);
    padding: var(--section-py) 0;
}

.for-retailers .benefit__text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--slate);
}

.for-retailers .audience-visual-graphic {
    background: linear-gradient(135deg, var(--ice) 0%, var(--green-light) 100%);
    border: 1px solid var(--light-gray);
}

.for-retailers .audience-visual-graphic__symbol {
    color: var(--navy);
    opacity: 0.06;
}

.for-retailers .audience-visual-graphic__card {
    color: var(--slate);
    background: rgba(255,255,255,0.7);
    border-color: var(--light-gray);
}

/* ── Wave Divider ───────────────────────────── */

.wave-divider {
    line-height: 0;
    overflow: hidden;
}

.wave-divider svg {
    width: 100%;
    height: auto;
    display: block;
}

.wave-divider--flip {
    transform: scaleY(-1);
}

/* ── Contact Form ───────────────────────────── */

.contact {
    background: var(--ice);
    padding: var(--section-py) 0;
}

.contact__card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 56px 48px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
}

.contact__card .section-title {
    text-align: center;
}

.contact__card .section-subtitle {
    text-align: center;
    margin: 0 auto 40px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--light-gray);
    border-radius: var(--radius-md);
    font-size: 15px;
    color: var(--navy);
    background: var(--white);
    transition: all 0.3s ease;
    outline: none;
}

.form-input::placeholder {
    color: var(--mist-on-white);
}

.form-input:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(102,186,92,0.12);
}

.form-input.has-error {
    border-color: var(--error);
}

.form-input.has-error:focus {
    box-shadow: 0 0 0 3px rgba(229,57,53,0.12);
}

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

.form-error {
    font-size: 13px;
    color: var(--error);
    margin-top: 6px;
    line-height: 1.4;
}

/* User type cards */
.type-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.type-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 16px;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    font-size: 14px;
    font-weight: 500;
    color: var(--slate);
    text-align: center;
}

.type-card:hover {
    border-color: var(--green);
    background: var(--green-light);
}

.type-card--active {
    border-color: var(--green);
    background: var(--green-light);
    color: var(--navy);
}

.type-card__icon {
    font-size: 28px;
    line-height: 1;
}

/* Form success */
.form-success {
    text-align: center;
    padding: 32px 0;
}

.form-success__icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--green-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.form-success__icon svg {
    width: 36px;
    height: 36px;
    color: var(--green);
}

.form-success h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
    line-height: 1.4;
}

.form-success p {
    font-size: 15px;
    color: var(--slate);
    line-height: 1.6;
}

/* ── Footer ─────────────────────────────────── */

.footer {
    background: var(--navy);
    padding: 64px 0 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer__brand-logo img {
    height: 36px;
    width: auto;
    margin-bottom: 16px;
}

.footer__tagline {
    font-size: 15px;
    line-height: 1.7;
    color: var(--mist);
    max-width: 320px;
}

.footer__heading {
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__link {
    font-size: 14px;
    color: var(--mist);
    transition: color 0.3s ease;
}

.footer__link:hover {
    color: var(--green);
}

.footer__contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--mist);
    margin-bottom: 12px;
}

.footer__contact-item svg {
    width: 18px;
    height: 18px;
    color: var(--green);
    flex-shrink: 0;
}

.footer__bar {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    text-align: center;
}

.footer__copyright {
    font-size: 13px;
    color: var(--mist);
}

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

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

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

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

@media (max-width: 1024px) {
    .navbar__nav { display: none; }
    .navbar__hamburger { display: flex; }

    .hero__title { font-size: 40px; }

    .features__grid { gap: 20px; }
    .feature-card { padding: 32px 24px; }

    .steps { gap: 36px; }

    .audience-section__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .audience-section__visual { order: -1; }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    .section-title { font-size: 28px; }
    .section-subtitle { font-size: 16px; }
    .section-header { margin-bottom: 48px; }

    .hero {
        min-height: auto;
        padding: 120px 0 120px;
    }

    .hero__title { font-size: 36px; }
    .hero__subtitle { font-size: 17px; }

    .hero__ctas {
        flex-direction: column;
        gap: 12px;
    }

    .hero__ctas .btn { width: 100%; }

    .hero__props {
        flex-direction: column;
        gap: 16px;
    }

    .features, .how-it-works, .for-wholesalers,
    .for-retailers, .contact {
        padding: var(--section-py-mobile) 0;
    }

    .features__grid {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .steps::before { display: none; }

    .step__desc { max-width: 360px; }

    .contact__card {
        padding: 36px 24px;
        border-radius: var(--radius-lg);
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .for-wholesalers__watermark {
        font-size: 200px;
    }
}

@media (max-width: 480px) {
    .hero__title { font-size: 30px; }
    .hero__subtitle { font-size: 16px; }

    .btn {
        font-size: 15px;
        padding: 14px 24px;
    }

    .feature-card { padding: 28px 20px; }
    .feature-card__title { font-size: 16px; }
    .feature-card__desc { font-size: 14px; }

    .step__number {
        width: 52px;
        height: 52px;
        font-size: 20px;
    }

    .type-cards { grid-template-columns: 1fr; }
}

/* ── RTL adjustments ────────────────────────── */

[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .section-header {
    text-align: center;
}

[dir="rtl"] .step { text-align: center; }

[dir="rtl"] .navbar__nav {
    flex-direction: row-reverse;
}

[dir="rtl"] .hero__ctas {
    flex-direction: row;
}

[dir="rtl"] .benefit {
    flex-direction: row;
}

[dir="rtl"] .footer__grid {
    direction: rtl;
}

@media (max-width: 768px) {
    [dir="rtl"] .hero__ctas {
        flex-direction: column;
    }
}

/* ── Focus ring for accessibility ───────────── */

:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 2px;
}

.btn:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 3px;
}

/* ── Skip link ──────────────────────────────── */

.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--green);
    color: var(--white);
    padding: 12px 24px;
    font-weight: 600;
    z-index: 200;
    border-radius: 0 0 var(--radius-sm) 0;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
}

/* ── Reduced motion ─────────────────────────── */

@media (prefers-reduced-motion: reduce) {
    .hero__content {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .btn,
    .feature-card,
    .form-input,
    .type-card,
    .navbar,
    .navbar__link::after {
        transition: none;
    }
}
