/* ============================================================
   DevCloud Design System
   Stripe-inspired corporate aesthetic
   Light base, purple brand, dark mode support
   ============================================================ */

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

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--text);
}

h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    letter-spacing: -0.025em;
}

h3 {
    font-size: 1.25rem;
    letter-spacing: -0.015em;
}

h4 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

p {
    color: var(--text-2);
    line-height: 1.7;
}

/* ── CSS Variables (Light) ────────────────────────────────── */

:root {
    --bg: #ffffff;
    --surface: #f8f9fb;
    --surface-2: #f1f3f7;
    --border: #e2e5eb;
    --text: #0f172a;
    --text-2: #475569;
    --text-3: #94a3b8;

    --primary: #362466;
    --primary-light: #4a3480;
    --accent: #5b4cdb;
    --accent-light: #8677f0;
    --accent-subtle: rgba(91, 76, 219, 0.12);

    --blue: #3b82f6;
    --blue-subtle: rgba(59, 130, 246, 0.1);
    --amber: #f59e0b;
    --amber-subtle: rgba(245, 158, 11, 0.1);
    --green: #10b981;

    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --transition: 0.2s ease;
    --transition-slow: 0.4s ease;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.1), 0 8px 20px rgba(0, 0, 0, 0.05);

    --nav-height: 72px;

    /* Aliases for product page CSS files */
    --text-muted: var(--text-3);
    --text-secondary: var(--text-2);
    --border-light: var(--border);
    --bg-subtle: var(--surface);
    --bg-muted: var(--surface-2);
}

/* ── CSS Variables (Dark) ─────────────────────────────────── */

[data-theme="dark"] {
    --bg: #0a0a0f;
    --surface: #12121a;
    --surface-2: #1a1a26;
    --border: #2a2a3a;
    --text: #f1f5f9;
    --text-2: #a1a8b8;
    --text-3: #5a6070;

    --primary: #7c6bc4;
    --primary-light: #9585d6;
    --accent: #a496ff;
    --accent-light: #c4baff;
    --accent-subtle: rgba(164, 150, 255, 0.14);

    --blue-subtle: rgba(59, 130, 246, 0.15);
    --amber-subtle: rgba(245, 158, 11, 0.15);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.35), 0 4px 12px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.4), 0 8px 20px rgba(0, 0, 0, 0.25);

    /* Aliases */
    --text-muted: var(--text-3);
    --text-secondary: var(--text-2);
    --border-light: var(--border);
    --bg-subtle: var(--surface);
    --bg-muted: var(--surface-2);

    color-scheme: dark;
}

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

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

/* ── Navigation ───────────────────────────────────────────── */

.nav {
    position: fixed;
    top: 16px;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition-slow);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
    padding: 0 20px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition-slow);
    gap: 16px;
}

[data-theme="dark"] .nav-container {
    background: rgba(10, 10, 15, 0.8);
}

.nav.scrolled .nav-container {
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--text);
    transition: var(--transition);
    flex-shrink: 0;
}

.nav-logo:hover {
    opacity: 0.8;
}

.nav-logo-img {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

[data-theme="dark"] .nav-logo-img {
    filter: brightness(1.15);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.nav-links a {
    padding: 8px 14px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-2);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Theme Toggle */

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    color: var(--text-2);
    transition: var(--transition);
}

.theme-toggle:hover {
    background: var(--accent-subtle);
    color: var(--accent);
}

.icon-sun {
    display: none;
}

[data-theme="dark"] .icon-moon {
    display: none;
}

[data-theme="dark"] .icon-sun {
    display: block;
}

/* Mobile Nav Toggle */

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

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

.hero {
    position: relative;
    padding: 160px 0 80px;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -200px;
    right: -100px;
    width: 800px;
    height: 800px;
    background: radial-gradient(
        circle at center,
        rgba(108, 92, 231, 0.12) 0%,
        rgba(108, 92, 231, 0.04) 40%,
        transparent 70%
    );
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

[data-theme="dark"] .hero-glow {
    background: radial-gradient(
        circle at center,
        rgba(108, 92, 231, 0.18) 0%,
        rgba(108, 92, 231, 0.06) 40%,
        transparent 70%
    );
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 560px;
}

.hero-content h1 {
    margin-bottom: 20px;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    margin-bottom: 24px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    background: var(--accent-subtle);
    border: 1px solid rgba(108, 92, 231, 0.15);
    border-radius: 100px;
    letter-spacing: 0.01em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 50%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="dark"] .gradient-text {
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 50%, #c4b5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-2);
    margin-bottom: 32px;
    max-width: 500px;
}

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

.hero-visual {
    position: relative;
    z-index: 1;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

.hero-stat {
    text-align: center;
}

.hero-stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.hero-stat-text {
    display: block;
    font-size: 0.875rem;
    color: var(--text-3);
    margin-top: 4px;
    font-weight: 500;
}

/* ── Browser Frame ────────────────────────────────────────── */

.browser-frame {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: box-shadow var(--transition-slow), transform var(--transition-slow);
}

.browser-frame:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-2px);
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.browser-dots {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.browser-dots span {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.browser-dots span:nth-child(1) {
    background: #ff5f57;
}

.browser-dots span:nth-child(2) {
    background: #febc2e;
}

.browser-dots span:nth-child(3) {
    background: #28c840;
}

[data-theme="dark"] .browser-dots span:nth-child(1) {
    background: rgba(255, 95, 87, 0.6);
}

[data-theme="dark"] .browser-dots span:nth-child(2) {
    background: rgba(254, 188, 46, 0.6);
}

[data-theme="dark"] .browser-dots span:nth-child(3) {
    background: rgba(40, 200, 64, 0.6);
}

.browser-url {
    flex: 1;
    padding: 6px 12px;
    font-size: 0.75rem;
    color: var(--text-3);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.browser-body {
    display: flex;
    min-height: 220px;
}

.browser-body--map {
    flex-direction: column;
    min-height: 300px;
}

.browser-body--map svg {
    flex: 1;
    width: 100%;
    height: auto;
    display: block;
}

/* ── Dashboard Mockup ─────────────────────────────────────── */

.dash-sidebar {
    width: 48px;
    padding: 12px 8px;
    background: var(--surface);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
}

.dash-nav-item {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: var(--surface-2);
    transition: var(--transition);
}

.dash-nav-item.active {
    background: var(--accent);
}

.dash-main {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.dash-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.dash-metric {
    padding: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dash-metric-label {
    font-size: 0.65rem;
    color: var(--text-3);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dash-metric-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}

.dash-metric-trend {
    font-size: 0.7rem;
    font-weight: 600;
}

.dash-metric-trend.up {
    color: var(--green);
}

.dash-chart {
    flex: 1;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dash-chart-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.dash-bars {
    flex: 1;
    display: flex;
    align-items: flex-end;
    gap: 6px;
    min-height: 60px;
}

.dash-bar {
    flex: 1;
    height: var(--h, 50%);
    background: linear-gradient(to top, var(--accent), var(--accent-light));
    border-radius: 3px 3px 0 0;
    transition: opacity var(--transition);
    opacity: 0.85;
}

.dash-bar:hover {
    opacity: 1;
}

/* ── Map Info Bar ─────────────────────────────────────────── */

.map-info-bar {
    display: flex;
    padding: 10px 16px;
    background: var(--surface);
    border-top: 1px solid var(--border);
    gap: 24px;
}

.map-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.map-info span {
    font-size: 0.7rem;
    color: var(--text-3);
    font-weight: 500;
}

.map-info strong {
    font-size: 0.8rem;
    color: var(--text);
    font-weight: 600;
}

/* ── Trust Bar ────────────────────────────────────────────── */

.trust {
    padding: 60px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--surface);
}

.trust-label {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-3);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.trust-track-wrap {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
}

.trust-track {
    display: flex;
    gap: 48px;
    width: max-content;
    animation: scroll-trust 60s linear infinite;
}

.trust-track:hover {
    animation-play-state: paused;
}

.trust-item {
    flex-shrink: 0;
}

.trust-item img {
    height: 52px;
    width: auto;
    border-radius: var(--radius-sm);
    background: white;
    padding: 6px;
    object-fit: contain;
    filter: grayscale(0.3);
    opacity: 0.8;
    transition: var(--transition);
}

.trust-item img:hover {
    filter: grayscale(0);
    opacity: 1;
}

[data-theme="dark"] .trust-item img {
    opacity: 0.6;
}

[data-theme="dark"] .trust-item img:hover {
    opacity: 0.9;
}

@keyframes scroll-trust {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ── Section Intro & Label ────────────────────────────────── */

.section-intro {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.section-intro h2 {
    margin-bottom: 12px;
}

.section-intro p {
    font-size: 1.05rem;
}

.label {
    display: inline-block;
    padding: 5px 14px;
    margin-bottom: 16px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    background: var(--accent-subtle);
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ── Section Spacing ──────────────────────────────────────── */

.services,
.products,
.about,
.partnership {
    padding: 100px 0;
}

.featured {
    padding: 100px 0;
    background: var(--surface);
}

/* ── Grid System ──────────────────────────────────────────── */

.grid {
    display: grid;
    gap: 24px;
}

.grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

/* ── Cards ────────────────────────────────────────────────── */

.card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: box-shadow var(--transition-slow), transform var(--transition-slow), border-color var(--transition);
}

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

.card h3 {
    margin-bottom: 8px;
}

.card p {
    font-size: 0.938rem;
    line-height: 1.7;
    color: var(--text);
}

/* Card -- Service */

.card--service {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card--service .card-icon {
    margin-bottom: 12px;
}

.card--service h3 {
    font-size: 1.1rem;
}

/* Card -- Product */

.card--product {
    display: flex;
    flex-direction: column;
    gap: 8px;
    cursor: pointer;
}

.card--product:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
    background: var(--surface);
}

.card--product h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0;
}

.card--product p {
    flex: 1;
}

/* Card -- About */

.card--about {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.card--about h3 {
    font-size: 1.05rem;
}

/* Card Elements */

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--accent-subtle);
    color: var(--accent);
    flex-shrink: 0;
}

.card-icon--purple {
    background: var(--accent-subtle);
    color: var(--accent);
}

.card-icon--blue {
    background: var(--blue-subtle);
    color: var(--blue);
}

.card-icon--amber {
    background: var(--amber-subtle);
    color: var(--amber);
}

.card-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.01em;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    margin-top: auto;
    padding-top: 8px;
    transition: gap var(--transition);
}

.card--product:hover .card-link {
    gap: 10px;
}

.card-link svg {
    transition: transform var(--transition);
}

.card--product:hover .card-link svg {
    transform: translateX(2px);
}

.card-num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.03em;
    line-height: 1;
    opacity: 0.7;
}

/* ── Featured Section ─────────────────────────────────────── */

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

.featured-content {
    max-width: 520px;
}

.featured-content h2 {
    margin-bottom: 16px;
}

.featured-content > p {
    margin-bottom: 24px;
    font-size: 1.025rem;
}

.featured-visual {
    position: relative;
}

.featured-grid--reverse .featured-content {
    order: 2;
}

.featured-grid--reverse .featured-visual {
    order: 1;
}

.featured--alt {
    background: var(--surface);
}

[data-theme="dark"] .featured--alt {
    background: var(--surface-2);
}

/* Chat mockup */

.browser-body--chat {
    padding: 20px;
    display: flex;
    flex-direction: column;
    min-height: 260px;
}

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

.chat-msg {
    display: flex;
}

.chat-msg--user {
    justify-content: flex-end;
}

.chat-msg--bot {
    justify-content: flex-start;
}

.chat-bubble {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--text);
}

.chat-msg--user .chat-bubble {
    background: var(--accent);
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-msg--bot .chat-bubble {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-bottom-left-radius: 4px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

[data-theme="dark"] .chat-msg--bot .chat-bubble {
    background: var(--surface);
}

.chat-source {
    font-size: 0.7rem;
    color: var(--accent);
    font-weight: 500;
    opacity: 0.85;
}

.chat-typing {
    display: flex;
    gap: 4px;
    padding: 10px 14px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 12px;
    border-bottom-left-radius: 4px;
    width: fit-content;
}

.chat-typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-3);
    animation: typing 1.4s infinite;
}

.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 60%, 100% { opacity: 0.3; transform: scale(0.8); }
    30% { opacity: 1; transform: scale(1); }
}

/* Workflow mockup */

.browser-body--workflow {
    padding: 20px;
    min-height: 240px;
}

.workflow-mock {
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    padding: 16px 0;
    justify-content: center;
}

.wf-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 14px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--surface);
    min-width: 80px;
    text-align: center;
    flex-shrink: 0;
}

.wf-node svg {
    color: var(--text-3);
}

.wf-node span {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
}

.wf-node--trigger { border-color: var(--accent); }
.wf-node--trigger svg { color: var(--accent); }
.wf-node--process { border-color: #3b82f6; }
.wf-node--process svg { color: #3b82f6; }
.wf-node--ai { border-color: #f59e0b; }
.wf-node--ai svg { color: #f59e0b; }
.wf-node--action { border-color: #10b981; }
.wf-node--action svg { color: #10b981; }

.wf-connector {
    width: 24px;
    height: 2px;
    background: var(--border);
    flex-shrink: 0;
}

.workflow-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.wf-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.wf-stat strong {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
}

.wf-stat span {
    font-size: 0.7rem;
    color: var(--text-3);
}

/* ── Check List ───────────────────────────────────────────── */

.check-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.check-list li {
    position: relative;
    padding-left: 28px;
    font-size: 0.95rem;
    color: var(--text-2);
    line-height: 1.6;
}

.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 16px;
    height: 16px;
    background: var(--accent);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 10px 10px;
    background-position: center;
    background-repeat: no-repeat;
}

.check-list--compact {
    gap: 16px;
    margin-bottom: 32px;
}

.check-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.925rem;
    color: var(--text-2);
    line-height: 1.6;
}

.check-item svg {
    flex-shrink: 0;
    color: var(--accent);
    margin-top: 2px;
}

.check-item strong {
    color: var(--text);
}

/* ── Partnership Section ──────────────────────────────────── */

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

.partnership-content {
    max-width: 540px;
}

.partnership-content h2 {
    margin-bottom: 16px;
}

.partnership-content > p {
    margin-bottom: 28px;
    font-size: 1.025rem;
}

.partnership-visual {
    display: flex;
    justify-content: center;
}

.partner-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 440px;
}

.partner-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.partner-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.partner-logo-item span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
}

.partner-logo-img {
    width: 64px;
    height: 64px;
    border-radius: var(--radius);
    object-fit: cover;
    border: 1px solid var(--border);
}

[data-theme="dark"] .partner-logo-img {
    background: rgba(255, 255, 255, 0.05);
}

.partner-connector {
    color: var(--accent);
    display: flex;
    align-items: center;
}

.chargily-logo-wrap {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 8px;
    background: var(--bg);
}

.chargily-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.chargily-logo--dark {
    display: none;
}

[data-theme="dark"] .chargily-logo--light {
    display: none;
}

[data-theme="dark"] .chargily-logo--dark {
    display: block;
}

.partner-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.partner-stat {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.partner-stat strong {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
}

.partner-stat span {
    font-size: 0.75rem;
    color: var(--text-3);
    font-weight: 500;
}

/* ── CTA Section ──────────────────────────────────────────── */

.cta {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #1a0f33 0%, #362466 40%, #4a3480 70%, #2d1b59 100%);
    overflow: hidden;
}

[data-theme="dark"] .cta {
    background: linear-gradient(135deg, #100a20 0%, #1e1444 40%, #2a1a5c 70%, #160e30 100%);
}

.cta-glow {
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(
        circle at center,
        rgba(108, 92, 231, 0.3) 0%,
        rgba(108, 92, 231, 0.1) 40%,
        transparent 70%
    );
    border-radius: 50%;
    pointer-events: none;
}

.cta-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-inner h2 {
    color: #ffffff;
    margin-bottom: 16px;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

.cta-inner p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 36px;
    line-height: 1.7;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    transition: all var(--transition);
    white-space: nowrap;
    cursor: pointer;
    line-height: 1.4;
}

.btn--primary {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
}

.btn--primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(108, 92, 231, 0.3);
    transform: translateY(-1px);
}

[data-theme="dark"] .btn--primary:hover {
    background: #8a7cf0;
    border-color: #8a7cf0;
    box-shadow: 0 4px 16px rgba(164, 150, 255, 0.35);
}

.btn--ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}

.btn--ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-subtle);
}

.btn--ghost-light {
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.25);
}

.btn--ghost-light:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.btn--white {
    background: #ffffff;
    color: #362466;
    border-color: #ffffff;
}

.btn--white:hover {
    background: #f1f5f9;
    border-color: #f1f5f9;
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.btn--sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.btn--lg {
    padding: 14px 32px;
    font-size: 0.95rem;
}

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

.btn-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-group--center {
    justify-content: center;
}

/* ── Contact Section ──────────────────────────────────────── */

.contact {
    padding: 100px 0;
    background: var(--surface);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 12px;
}

.contact-info > p {
    margin-bottom: 32px;
    font-size: 1.025rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.contact-item svg {
    flex-shrink: 0;
    color: var(--accent);
    margin-top: 2px;
}

.contact-item div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-item strong {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}

.contact-item span {
    font-size: 0.875rem;
    color: var(--text-2);
}

/* Contact Form */

.contact-form {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-field label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
}

.form-field input,
.form-field textarea {
    padding: 12px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
    outline: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: var(--text-3);
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-subtle);
    background: var(--bg);
}

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

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

.footer {
    padding: 64px 0 0;
    border-top: 1px solid var(--border);
}

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

.footer-brand {
    max-width: 280px;
}

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

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-3);
    line-height: 1.7;
}

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

.footer-col h4 {
    color: var(--text);
    margin-bottom: 4px;
}

.footer-col a,
.footer-col span {
    font-size: 0.875rem;
    color: var(--text-2);
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    font-size: 0.825rem;
    color: var(--text-3);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 0.825rem;
    color: var(--text-2);
    transition: color var(--transition);
}

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

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

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* ── Premium Micro-Interactions ──────────────────────────── */

/* Button press feedback */
.btn:active {
    transform: scale(0.97);
    transition: transform 0.1s ease;
}

/* Button loading state */
.btn--loading {
    pointer-events: none;
    opacity: 0.8;
}

/* Button success state */
.btn--success {
    background: var(--green) !important;
    border-color: var(--green) !important;
    color: #fff !important;
}

/* Nav link hover indicator */
.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
    transition: width 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                left 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-links a:hover::after {
    width: 60%;
    left: 20%;
}

/* Card icon lift on parent hover */
.card--service:hover .card-icon {
    transform: translateY(-2px);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Product card hover — clean accent border */

/* About card number scale on hover */
.card--about:hover .card-num {
    transform: scale(1.15);
    opacity: 1;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Gradient text shimmer */
@keyframes shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.gradient-text {
    background-size: 200% auto;
    animation: shimmer 6s ease-in-out infinite;
}

[data-theme="dark"] .gradient-text {
    background-size: 200% auto;
}

/* Floating browser frame */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hero-visual .browser-frame {
    animation: float 5s ease-in-out infinite;
}

.hero-visual .browser-frame:hover {
    animation-play-state: paused;
}

/* Dashboard bar transition */
.dash-bar {
    transition: --h 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Form focus glow */
.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-subtle),
                0 0 16px rgba(108, 92, 231, 0.08);
}

/* Hero stat number tabular nums */
.hero-stat-num {
    font-variant-numeric: tabular-nums;
}

/* Trust items smooth grayscale transition */
.trust-item img {
    transition: filter 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
}

.trust-item img:hover {
    transform: scale(1.05);
}

/* Footer link hover with slide */
.footer-col a {
    position: relative;
    display: inline-block;
}

.footer-col a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.footer-col a:hover::after {
    width: 100%;
}

/* ── Responsive -- 1024px ─────────────────────────────────── */

@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-content {
        max-width: 100%;
        text-align: start;
    }

    .hero-sub {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        max-width: 560px;
        margin: 0 auto;
    }

    .hero-stats {
        margin-top: 56px;
    }

    .featured-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .featured-grid--reverse .featured-content,
    .featured-grid--reverse .featured-visual {
        order: unset;
    }

    .featured-content {
        max-width: 100%;
    }

    .workflow-mock {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }

    .wf-connector {
        display: none;
    }

    .wf-node {
        min-width: 70px;
        padding: 10px 12px;
    }

    .workflow-stats {
        gap: 16px;
    }

    .chat-bubble {
        max-width: 90%;
        font-size: 0.75rem;
    }

    .partnership-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .partnership-content {
        max-width: 100%;
    }

    .grid--3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: calc(var(--nav-height) + 8px);
        left: 16px;
        right: 16px;
        flex-direction: column;
        background: var(--bg);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        padding: 16px;
        box-shadow: var(--shadow-lg);
        gap: 4px;
    }

    [data-theme="dark"] .nav-links {
        background: var(--surface);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 12px 16px;
        width: 100%;
        border-radius: var(--radius-sm);
    }

    .nav-links a::after {
        display: none;
    }

    .nav-links a:hover {
        background: var(--surface);
    }

    .nav-toggle {
        display: flex;
    }

    .nav-actions .btn {
        display: none;
    }
}

/* ── Responsive -- 768px ──────────────────────────────────── */

@media (max-width: 768px) {
    .hero {
        padding: 130px 0 60px;
    }

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

    .hero-stat-num {
        font-size: 1.5rem;
    }

    .grid--3,
    .grid--4 {
        grid-template-columns: 1fr;
    }

    .services,
    .products,
    .about,
    .partnership {
        padding: 72px 0;
    }

    .featured {
        padding: 72px 0;
    }

    .cta {
        padding: 72px 0;
    }

    .contact {
        padding: 72px 0;
    }

    .section-intro {
        margin-bottom: 40px;
    }

    .card {
        padding: 24px;
    }

    .partner-card {
        padding: 28px;
    }

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

    .partner-connector {
        transform: rotate(90deg);
    }

    .partner-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .partner-stat {
        flex-direction: row;
        justify-content: space-between;
        padding: 8px 0;
        border-bottom: 1px solid var(--border);
        text-align: left;
    }

    .partner-stat:last-child {
        border-bottom: none;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .browser-body {
        min-height: 180px;
    }

    .dash-metrics {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .dash-metric {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .map-info-bar {
        flex-wrap: wrap;
        gap: 12px;
    }

    .contact-form {
        padding: 24px;
    }

    .btn-group {
        flex-direction: column;
    }

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

    .btn-group--center .btn {
        width: auto;
    }

    .check-list {
        margin-bottom: 24px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* ── Responsive -- 480px ──────────────────────────────────── */

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .nav {
        top: 8px;
    }

    .nav-container {
        padding: 0 12px;
        border-radius: var(--radius-lg);
        gap: 10px;
    }

    .hero {
        padding: 110px 0 48px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 40px;
        padding-top: 32px;
    }

    .hero-stat {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .btn--lg {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .btn-group--center {
        flex-direction: column;
        align-items: center;
    }

    .btn-group--center .btn {
        width: 100%;
    }

    .cta-inner h2 {
        font-size: 1.5rem;
    }

    .cta-inner p {
        font-size: 0.95rem;
    }

    .trust-track {
        gap: 32px;
    }

    .trust-item img {
        height: 42px;
    }

    .featured-grid {
        gap: 32px;
    }

    .wf-node {
        min-width: 60px;
        padding: 8px 10px;
    }

    .wf-node span {
        font-size: 0.6rem;
    }

    .workflow-stats {
        flex-wrap: wrap;
        gap: 12px;
    }

    .wf-stat strong {
        font-size: 0.8rem;
    }

    .chat-bubble {
        font-size: 0.7rem;
        padding: 8px 12px;
    }

    .chat-source {
        font-size: 0.6rem;
    }

    .browser-body--chat {
        padding: 14px;
        min-height: 200px;
    }

    .browser-body--workflow {
        padding: 14px;
        min-height: 180px;
    }
}

/* ── Selection, Scrollbar, Focus ──────────────────────────── */

::selection {
    background: var(--accent);
    color: #ffffff;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-3);
}

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

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ── Reduced Motion ───────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

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

    .trust-track {
        animation: none;
    }
}

/* ── Print ────────────────────────────────────────────────── */

@media print {
    .nav,
    .cta,
    .hero-glow,
    .cta-glow,
    .theme-toggle,
    .nav-toggle {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .hero {
        padding-top: 40px;
    }
}

/* ── Language Switcher ───────────────────────────────────── */

.lang-switcher {
    display: flex;
    gap: 2px;
    background: var(--surface-2);
    border-radius: 8px;
    padding: 2px;
    border: 1px solid var(--border);
}

.lang-btn {
    background: none;
    border: none;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: inherit;
    color: var(--text-3);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.02em;
}

.lang-btn:hover {
    color: var(--text);
    background: var(--surface);
}

.lang-btn.active {
    color: white;
    background: var(--accent);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

@media (max-width: 1024px) {
    .lang-btn {
        padding: 3px 7px;
        font-size: 0.7rem;
    }

    .lang-switcher {
        gap: 1px;
        padding: 1px;
    }

    .nav-actions {
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .lang-btn {
        padding: 2px 5px;
        font-size: 0.65rem;
    }

    .nav-actions {
        gap: 6px;
    }

    .theme-toggle {
        width: 34px;
        height: 34px;
    }

    .nav-logo-img {
        width: 30px;
        height: 30px;
    }

    .nav-logo {
        gap: 8px;
        font-size: 1rem;
    }
}

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

[dir="rtl"] body {
    font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
}

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

[dir="rtl"] .hero-inner {
    direction: rtl;
}

[dir="rtl"] .check-item {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] .check-item svg {
    margin-left: 0.75rem;
    margin-right: 0;
}

[dir="rtl"] .contact-item {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] .contact-item svg {
    margin-left: 0.75rem;
    margin-right: 0;
}

[dir="rtl"] .card-link svg {
    transform: scaleX(-1);
}

[dir="rtl"] .partner-connector svg {
    transform: scaleX(-1);
}

[dir="rtl"] .section-intro,
[dir="rtl"] .hero-content,
[dir="rtl"] .featured-content,
[dir="rtl"] .partnership-content,
[dir="rtl"] .contact-info {
    text-align: right;
}

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

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

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

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

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

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

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

[dir="rtl"] .form-field input,
[dir="rtl"] .form-field textarea {
    text-align: right;
}

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

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