:root {
    --primary: #06b6d4;
    --primary-light: #22d3ee;
    --primary-dark: #0e7490;
    --accent: #f59e0b;
    --accent-light: #fbbf24;
    --bg-dark: #0a0a0b;
    --bg-card: #111113;
    --bg-elevated: #18181b;
    --text-primary: #fafafa;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --border: rgba(255, 255, 255, 0.06);
    --gradient-primary: linear-gradient(135deg, #06b6d4 0%, #10b981 100%);
    --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 60px rgba(6, 182, 212, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    direction: ltr;
}

html[dir="rtl"] {
    direction: rtl;
}

/* Force reflow helper class for RTL/LTR switching */
.force-reflow {
    animation: none;
}

@keyframes forceReflow {
    from { opacity: 0.99; }
    to { opacity: 1; }
}

/* Default LTR styles - applied when no dir attribute or dir="ltr" */
html:not([dir="rtl"]) {
    direction: ltr !important;
    text-align: left !important;
}

html:not([dir="rtl"]) .logo {
    flex-direction: row !important;
}

html:not([dir="rtl"]) .nav-links a::after {
    left: 0 !important;
    right: auto !important;
}

html:not([dir="rtl"]) .hero-content {
    direction: ltr !important;
}

html:not([dir="rtl"]) .hero-text {
    text-align: left !important;
}

html:not([dir="rtl"]) .tab {
    flex-direction: row !important;
}

html:not([dir="rtl"]) .footer-links {
    flex-direction: row !important;
}

html:not([dir="rtl"]) .feature-card,
html:not([dir="rtl"]) .tab-content,
html:not([dir="rtl"]) .workflow-tab-content,
html:not([dir="rtl"]) .section-header,
html:not([dir="rtl"]) .section-title,
html:not([dir="rtl"]) .section-desc {
    text-align: left !important;
}

html:not([dir="rtl"]) .lang-dropdown {
    right: 0 !important;
    left: auto !important;
}

html:not([dir="rtl"]) .download-btn,
html:not([dir="rtl"]) .download-feature,
html:not([dir="rtl"]) .footer-logo {
    flex-direction: row !important;
}

html:not([dir="rtl"]) .btn-info {
    text-align: left !important;
}

body {
    font-family: 'Outfit', 'Noto Sans SC', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    /* Default direction - will be overridden by [dir="rtl"] */
    direction: ltr;
}

/* Ensure all child elements inherit correct direction by default */
body * {
    direction: inherit;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
    z-index: 1000;
    background: rgba(10, 10, 11, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(10, 10, 11, 0.95);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.logo-icon {
    width: 40px;
    height: 40px;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-icon img {
	width:100%;
}

.logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-center {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #06b6d4, #10b981);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--primary-light) !important;
}

.nav-links a.active::after {
    width: 100% !important;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-right-mobile {
    display: none;
}

.lang-selector {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.lang-btn:hover {
    border-color: var(--primary);
}

.lang-btn svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.lang-selector.active .lang-btn svg {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    min-width: 140px;
    max-height: 320px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}

.lang-dropdown::-webkit-scrollbar {
    width: 6px;
}

.lang-dropdown::-webkit-scrollbar-track {
    background: var(--bg-elevated);
    border-radius: 3px;
}

.lang-dropdown::-webkit-scrollbar-thumb {
    background: var(--primary-dark);
    border-radius: 3px;
}

.lang-dropdown::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

.lang-selector.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    padding: 0.75rem 1rem;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.lang-option:hover {
    background: var(--bg-elevated);
}

.lang-option.active {
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary-light);
}

.nav-cta {
    padding: 0.6rem 1.5rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.3);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.wave-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 200px;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.1), transparent);
    animation: wave 10s linear infinite;
}

.wave-1 {
    animation-delay: 0s;
    opacity: 0.3;
}

.wave-2 {
    animation-delay: -3.3s;
    opacity: 0.2;
    height: 150px;
}

.wave-3 {
    animation-delay: -6.6s;
    opacity: 0.1;
    height: 100px;
}

@keyframes wave {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(14, 165, 233, 0.15);
    top: -10%;
    right: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: rgba(245, 158, 11, 0.1);
    bottom: -10%;
    left: -5%;
    animation-delay: -10s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -20px) scale(1.05); }
    50% { transform: translate(-20px, 30px) scale(0.95); }
    75% { transform: translate(20px, 20px) scale(1.02); }
}

.sound-wave-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.6;
}

.sound-wave-line {
    position: absolute;
    width: 200%;
    height: 60%;
    left: 0;
    top: 0;
}

.sound-wave-line-2 {
    top: auto;
    bottom: 10%;
    transform: scaleY(-1);
}

.wave-line {
    stroke-width: 1.5;
    stroke-linecap: round;
    filter: blur(1px);
}

.wave-line-1 {
    stroke: rgba(6, 182, 212, 0.15);
    animation: waveLineMove 8s ease-in-out infinite, waveLinePulse 4s ease-in-out infinite;
}

.wave-line-2 {
    stroke: rgba(16, 185, 129, 0.12);
    animation: waveLineMove 10s ease-in-out infinite reverse, waveLinePulse 5s ease-in-out infinite 0.5s;
}

.wave-line-3 {
    stroke: rgba(6, 182, 212, 0.1);
    animation: waveLineMove 12s ease-in-out infinite, waveLinePulse 6s ease-in-out infinite 1s;
}

.wave-line-4 {
    stroke: rgba(245, 158, 11, 0.08);
    animation: waveLineMove 9s ease-in-out infinite reverse, waveLinePulse 4.5s ease-in-out infinite 1.5s;
}

.wave-line-5 {
    stroke: rgba(6, 182, 212, 0.12);
    animation: waveLineMove 11s ease-in-out infinite, waveLinePulse 5.5s ease-in-out infinite 0.3s;
}

.wave-line-6 {
    stroke: rgba(16, 185, 129, 0.1);
    animation: waveLineMove 13s ease-in-out infinite reverse, waveLinePulse 6.5s ease-in-out infinite 0.8s;
}

@keyframes waveLineMove {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes waveLinePulse {
    0%, 100% {
        stroke-width: 1.5;
        opacity: 0.6;
    }
    50% {
        stroke-width: 2.5;
        opacity: 1;
    }
}

.wave-bars-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    padding: 0 5%;
    gap: 2%;
    opacity: 0.3;
}

.bg-wave-bar {
    flex: 1;
    max-width: 20px;
    height: var(--height);
    background: linear-gradient(to top, rgba(6, 182, 212, 0.6), rgba(16, 185, 129, 0.3));
    border-radius: 4px 4px 0 0;
    animation: bgWaveBarPulse 2s ease-in-out infinite;
    animation-delay: var(--delay);
    transform-origin: bottom;
}

@keyframes bgWaveBarPulse {
    0%, 100% {
        transform: scaleY(0.3);
        opacity: 0.3;
    }
    50% {
        transform: scaleY(1);
        opacity: 0.8;
    }
}

.hero-content {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    text-align: left;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease forwards;
}

.badge-icon {
    font-size: 1rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.1s forwards;
    opacity: 0;
}

.title-main {
    display: block;
    color: var(--text-primary);
}

.title-sub {
    display: block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 0.6em;
    font-weight: 600;
    margin-top: 0.5rem;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 2rem;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease 0.3s forwards;
    opacity: 0;
}
.hero-actions i {
	display:block;
	width:1.6rem;
	height:1.6rem;
}
.hero-actions i img {
	width:100%;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(14, 165, 233, 0.3);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 16px;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animate-btn {
    animation: pulse 2s ease-in-out infinite;
}

.audio-formats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.audio-format-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s ease;
    min-width: 100px;
    min-height: 80px;
}

.audio-format-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(6, 182, 212, 0.1);
}

.format-from {
    font-size: 1.2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.format-to {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.audio-format-item.more-btn {
    background: var(--gradient-primary);
    border: none;
    cursor: pointer;
}

.audio-format-item.more-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(6, 182, 212, 0.3);
}

.format-more-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    text-align: center;
	min-height: 60px;
	line-height: 60px;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary-light);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-visual {
    animation: fadeInUp 0.8s ease 0.5s forwards;
    opacity: 0;
}

.audio-wave-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 420px;
    border-radius: 10px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
	background: url(../images/banner.png) no-repeat center;
	background-size:100% 100%; 
	box-shadow: 0 0px 30px rgba(14, 165, 233, 0.25);
}

.wave-bar {
    width: 8px;
    background: var(--gradient-primary);
    border-radius: 4px;
    animation: waveBar 1.5s ease-in-out infinite;
    animation-delay: var(--delay);
}

@keyframes waveBar {
    0%, 100% {
        height: 20px;
    }
    50% {
        height: 120px;
    }
}

.visual-info {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.info-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-value {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-family: monospace;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.scroll-arrows {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.scroll-arrow {
    width: 16px;
    height: 16px;
    border-left: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    transform: rotate(-45deg);
}

.scroll-arrow.arrow-1 {
    width: 12px;
    height: 12px;
    border-color: var(--primary-light);
}

.scroll-arrow.arrow-2 {
    width: 16px;
    height: 16px;
    border-color: var(--primary);
}

.scroll-arrow.arrow-3 {
    width: 20px;
    height: 20px;
    border-color: var(--primary-dark);
}

.scroll-arrows {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: arrowsBounce 2s ease-in-out infinite;
}

@keyframes arrowsBounce {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    50% {
        transform: translateY(10px);
        opacity: 1;
    }
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    font-size: 0.85rem;
    color: var(--primary-light);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    display: block;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

.features {
    background: var(--bg-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(14, 165, 233, 0.3);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(14, 165, 233, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-light);
}

.feature-icon img {
	width:70%;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.formats {
    background: var(--bg-card);
}

.professional-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.professional-tabs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tab {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.tab:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(6, 182, 212, 0.1);
}

.tab.active {
    background: var(--gradient-primary);
    border-color: var(--primary);
    color: white;
}

.tab.active .tab-content h3,
.tab.active .tab-content p {
    color: white;
}

.tab-icon {
    width: 48px;
    height: 48px;
    background: none;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}
.tab-icon img {
	width:70%;
}

.tab-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.tab-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.professional-visual {
    position: relative;
    height: 100%;
    min-height: 500px;
    overflow: hidden;
}

.professional-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: stretch;
}

.professional-visual .tab-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.professional-visual .tab-content.active {
    opacity: 1;
    visibility: visible;
}

.software-interface {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.software-interface img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scenarios {
    background: var(--bg-card);
    padding: 6rem 0 0 0;
}

.scenarios-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 1rem;
    height: 660px;
}

.scenarios-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.scenarios-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
    flex: 1;
}

.scenarios-row:last-child {
    grid-template-columns: 1fr 2fr;
}

.scenario-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
    display: flex;
    flex-direction: column;
}

.scenario-card.card-right {
    height: 100%;
}

.scenario-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.scenario-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(6, 182, 212, 0.2);
}

.scenario-image {
    position: relative;
    flex: 1;
    overflow: hidden;
}

.scenario-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.scenario-card:hover .scenario-image img {
    transform: scale(1.05);
}

.scenario-overlay {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.scenario-overlay .scenario-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.scenario-overlay .scenario-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

.scenario-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
}

.scenario-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: white;
}

.scenario-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6rem;
	min-height: 3.2rem;
    margin: 0;
}

.workflow {
    background: var(--bg-dark);
}

.workflow-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content:space-between;
}

.workflow-tab {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.workflow-tab.visible {
    opacity: 1;
    transform: translateY(0);
}

.workflow-tab:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(6, 182, 212, 0.1);
}

.workflow-tab.active {
    background: var(--gradient-primary);
    border-color: var(--primary);
    color: white;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 2rem;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.workflow-tab.active .step-number {
    background: white;
    color: var(--primary);
}

.step-content {
    text-align: center;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(14, 165, 233, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
}

.workflow-tab.active .step-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.workflow-tab h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.workflow-tab.active h3 {
    color: white;
}

.workflow-tab-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    min-height: 400px;
}

.workflow-tab-content .tab-content {
    display: none;
    opacity: 0;
    transition: all 0.3s ease;
}

.workflow-tab-content .tab-content.active {
    display: block;
    opacity: 1;
}

.workflow-content-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.workflow-content-inner h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
}

.workflow-content-inner p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    line-height: 1.6;
}

.workflow-visual {
    width: 100%;
    max-width: 800px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.workflow-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.languages-section {
    background: var(--bg-card);
    padding:0 0 6rem 0;
}

.languages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.language-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.language-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.15);
}

.language-flag {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.language-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.language-code {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.download {
    position: relative;
    overflow: hidden;
}

.download-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.download-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
}

.download-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.download-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--accent-light);
    margin-bottom: 1.5rem;
}

.download-text h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.download-text p {
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.download-actions {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.download-btn.primary {
    background: var(--gradient-primary);
    border: none;
}

.download-btn.primary:hover {
    box-shadow: 0 15px 40px rgba(14, 165, 233, 0.3);
}

.btn-icon {
    width:3.6rem;
	height:3.6rem;
}
.btn-icon img {
	width:100%;
}

.btn-info {
    text-align: left;
}

.btn-label {
    display: block;
    font-size: 1.0rem;
    color: var(--text-muted);
}

.download-btn.primary .btn-label {
    color: rgba(255, 255, 255, 0.7);
}

.btn-platform {
    font-weight: 600;
	font-size:1.4rem;
}

.download-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.download-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.download-feature svg {
    width: 18px;
    height: 18px;
    stroke: var(--primary-light);
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.3);
    transition: all 0.3s ease;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
}
.back-to-top img {
	width:60%;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(14, 165, 233, 0.4);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 3rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    margin-bottom: 1.5rem;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.footer-logo .logo-icon {
    width: 24px;
    height: 24px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        text-align: center;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .formats-showcase {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .professional-container {
        grid-template-columns: 1fr;
    }
    
    .professional-visual {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 1rem;
    }

    .nav-center {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        border-bottom: 1px solid var(--border);
    }

    .nav-center.active {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .nav-links a {
        display: block;
        padding: 0.75rem;
    }

    .nav-right {
        display: none;
    }

    .nav-right-mobile {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding: 1rem;
        background: var(--bg-card);
        border-radius: 12px;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 6rem 1rem 3rem;
    }
	
	.audio-wave-visual {
		height:300px;
	}

    .section-container {
        padding: 2rem 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .workflow-steps {
        flex-direction: column;
    }

    .workflow-connector {
        transform: rotate(90deg);
    }

    .download-actions {
        flex-direction: column;
        align-items: center;
    }

    .download-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .professional-visual {
        min-height: 300px;
    }
    
    .professional-container {
        grid-template-columns: 1fr;
    }
    
    .professional-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
    
    .professional-tabs .tab {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1rem;
		gap:0.4rem;
    }
    
    .professional-tabs .tab-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 0.3rem;
		border:1px solid #fff;
		border-radius: 50%;
    }
    
    .professional-tabs .tab-icon img {
        width: 50%;
    }
    
    .professional-tabs .tab-content h3 {
        font-size: 0.85rem;
        margin-bottom: 0;
    }
    
    .professional-tabs .tab-content p {
        display: none;
    }
    
    .software-interface {
        padding: 1rem;
    }
    
    .workflow-tabs {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 0.5rem;
    }
    
    .workflow-tab {
        min-width: auto;
        max-width: none;
        flex: 1;
        padding:2rem 0.5rem 0.5rem 0.5rem;
    }
    
    .workflow-tab .step-number {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
        top: -20px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .workflow-tab .step-icon {
        width: 50px;
        height: 50px;
        margin: 0 auto 0.75rem;
    }
    
    .workflow-tab .step-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .workflow-tab h3 {
        font-size: 0.9rem;
    }
    
    .workflow-tab-content {
        min-height: 350px;
    }
    
    .workflow-visual {
        height: 200px;
    }
	
	.scenarios {
		padding:2rem 0 0 0;
	}
    
    .scenarios-grid {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .scenarios-left {
        gap: 1rem;
    }
    
    .scenarios-row {
        grid-template-columns: 1fr;
    }
    
    .scenarios-row:last-child {
        grid-template-columns: 1fr;
    }
    
    .scenario-card {
        height: 200px;
    }
    
    .scenario-card.card-1,
    .scenario-card.card-2,
    .scenario-card.card-3,
    .scenario-card.card-4,
    .scenario-card.card-right {
        grid-column: 1;
        grid-row: auto;
        height: 200px;
    }
	.language-card {
		padding:0.5rem 1rem 1rem 1rem;
	}
	footer {
		padding:1.5rem 1rem;
	}
	.footer-links {
		gap:1rem;
	}
    .footer-brand,.footer-links {
		margin-bottom:1rem;
	}
}

/* LTR (default) language support - ensure proper reset when switching from RTL */
html[dir="ltr"] {
    direction: ltr;
    text-align: left;
}

html[dir="ltr"] .logo {
    flex-direction: row;
}

html[dir="ltr"] .nav-links a::after {
    left: 0;
    right: auto;
}

html[dir="ltr"] .hero-content {
    grid-template-columns: 1fr 1fr;
}

html[dir="ltr"] .hero-text {
    text-align: left;
}

html[dir="ltr"] .hero-desc {
    margin-left: auto;
    margin-right: 0;
}

html[dir="ltr"] .hero-actions {
    flex-direction: row;
}

html[dir="ltr"] .hero-stats {
    flex-direction: row;
}

html[dir="ltr"] .tab {
    flex-direction: row;
}

html[dir="ltr"] .footer-links {
    flex-direction: row;
}

html[dir="ltr"] .feature-icon,
html[dir="ltr"] .tab-icon,
html[dir="ltr"] .step-icon {
    margin-left: 0;
    margin-right: 0;
}

html[dir="ltr"] .tab-content {
    text-align: left;
}

html[dir="ltr"] .workflow-tab-content {
    text-align: left;
}

html[dir="ltr"] .lang-dropdown {
    right: 0;
    left: auto;
}

html[dir="ltr"] .btn-icon {
    margin-left: 0;
    margin-right: 1rem;
}

html[dir="ltr"] .download-btn {
    flex-direction: row;
}

html[dir="ltr"] .btn-info {
    text-align: left;
}

html[dir="ltr"] .download-feature {
    flex-direction: row;
}

html[dir="ltr"] .footer-logo {
    flex-direction: row;
}

/* Force reflow helper class for RTL/LTR switching */
.force-rtl-reflow {
    animation: rtlReflow 0.1s ease-in-out;
}

@keyframes rtlReflow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.99; }
}

/* LTR (default) language support - ensure proper reset when switching from RTL */
html[dir="ltr"],
html:not([dir="rtl"]):not([dir="ltr"]) {
    direction: ltr;
    text-align: left;
}

html[dir="ltr"] .logo,
html:not([dir="rtl"]):not([dir="ltr"]) .logo {
    flex-direction: row;
}

html[dir="ltr"] .nav-links a::after,
html:not([dir="rtl"]):not([dir="ltr"]) .nav-links a::after {
    left: 0;
    right: auto;
}

html[dir="ltr"] .hero-content,
html:not([dir="rtl"]):not([dir="ltr"]) .hero-content {
    direction: ltr;
}

html[dir="ltr"] .hero-text,
html:not([dir="rtl"]):not([dir="ltr"]) .hero-text {
    text-align: left;
}

html[dir="ltr"] .tab,
html:not([dir="rtl"]):not([dir="ltr"]) .tab {
    flex-direction: row;
}

html[dir="ltr"] .footer-links,
html:not([dir="rtl"]):not([dir="ltr"]) .footer-links {
    flex-direction: row;
}

html[dir="ltr"] .feature-card,
html[dir="ltr"] .tab-content,
html[dir="ltr"] .workflow-tab-content,
html[dir="ltr"] .section-header,
html[dir="ltr"] .section-title,
html[dir="ltr"] .section-desc,
html:not([dir="rtl"]):not([dir="ltr"]) .feature-card,
html:not([dir="rtl"]):not([dir="ltr"]) .tab-content,
html:not([dir="rtl"]):not([dir="ltr"]) .workflow-tab-content,
html:not([dir="rtl"]):not([dir="ltr"]) .section-header,
html:not([dir="rtl"]):not([dir="ltr"]) .section-title,
html:not([dir="rtl"]):not([dir="ltr"]) .section-desc {
    text-align: left;
}

html[dir="ltr"] .lang-dropdown,
html:not([dir="rtl"]):not([dir="ltr"]) .lang-dropdown {
    right: 0;
    left: auto;
}

html[dir="ltr"] .download-btn,
html[dir="ltr"] .download-feature,
html[dir="ltr"] .footer-logo,
html:not([dir="rtl"]):not([dir="ltr"]) .download-btn,
html:not([dir="rtl"]):not([dir="ltr"]) .download-feature,
html:not([dir="rtl"]):not([dir="ltr"]) .footer-logo {
    flex-direction: row;
}

html[dir="ltr"] .btn-info,
html:not([dir="rtl"]):not([dir="ltr"]) .btn-info {
    text-align: left;
}

/* RTL language support */
html[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .logo {
    flex-direction: row-reverse;
}

html[dir="rtl"] .nav-links a::after {
    left: auto;
    right: 0;
}

html[dir="rtl"] .hero-content {
    grid-template-columns: 1fr 1fr;
}

html[dir="rtl"] .hero-text {
    text-align: right;
}

html[dir="rtl"] .hero-desc {
    margin-left: 0;
    margin-right: auto;
}

html[dir="rtl"] .hero-actions {
    flex-direction: row;
}

html[dir="rtl"] .hero-stats {
    flex-direction: row-reverse;
}

html[dir="rtl"] .tab {
    flex-direction: row-reverse;
}

html[dir="rtl"] .footer-links {
    flex-direction: row-reverse;
}

html[dir="rtl"] .feature-icon,
html[dir="rtl"] .tab-icon,
html[dir="rtl"] .step-icon {
    margin-left: 0;
    margin-right: 0;
}

html[dir="rtl"] .tab-content {
    text-align: right;
}

html[dir="rtl"] .workflow-tab-content {
    text-align: right;
}

html[dir="rtl"] .lang-dropdown {
    right: auto;
    left: 0;
}

html[dir="rtl"] .btn-icon {
    margin-left: 1rem;
    margin-right: 0;
}

html[dir="rtl"] .download-btn {
    flex-direction: row;
}

html[dir="rtl"] .btn-info {
    text-align: right;
}

html[dir="rtl"] .download-feature {
    flex-direction: row-reverse;
}

html[dir="rtl"] .footer-logo {
    flex-direction: row-reverse;
}

html[dir="rtl"] .workflow-tab {
    text-align: right;
}

html[dir="rtl"] .workflow-tab .step-content {
    text-align: right;
}

html[dir="rtl"] .workflow-tab-content {
    text-align: right;
}

html[dir="rtl"] .workflow-content-inner {
    text-align: right;
}

html[dir="rtl"] .scenarios-grid {
    text-align: right;
}

html[dir="rtl"] .scenario-card {
    text-align: right;
}

html[dir="rtl"] .scenario-content {
    text-align: right;
}

html[dir="rtl"] .languages-grid {
    text-align: right;
}

html[dir="rtl"] .language-card {
    text-align: center;
}

html[dir="rtl"] .download-actions {
    flex-direction: row;
    justify-content: center;
}

html[dir="rtl"] .download-btn {
    text-align: right;
}

html[dir="rtl"] .download-features {
    justify-content: center;
}

html[dir="rtl"] .footer-container {
    text-align: right;
}

html[dir="rtl"] .footer-brand {
    text-align: right;
}

html[dir="rtl"] .footer-links {
    text-align: right;
}

html[dir="rtl"] .footer-copyright {
    text-align: right;
}

html[dir="rtl"] .nav-center {
    text-align: right;
}

html[dir="rtl"] .nav-links {
    text-align: right;
}

html[dir="rtl"] .nav-right-mobile {
    text-align: right;
}

html[dir="rtl"] .mobile-menu-btn {
    margin-left: auto;
    margin-right: 0;
}

html[dir="rtl"] .workflow-tab .step-number {
    right: auto;
    left: 2rem;
}

html[dir="rtl"] .workflow-tab .step-icon {
    margin-left: 1rem;
    margin-right: auto;
}

html[dir="rtl"] .step-content h3 {
    text-align: right;
}


/* Additional RTL fixes */
html[dir="rtl"] .audio-wave-visual {
    text-align: center;
}

html[dir="rtl"] .visual-info {
    text-align: center;
}

html[dir="rtl"] .visual-info .info-label,
html[dir="rtl"] .visual-info .info-value {
    text-align: center;
}

html[dir="rtl"] .download-content {
    text-align: center;
}

html[dir="rtl"] .download-text {
    text-align: center;
}

html[dir="rtl"] .download-text h2,
html[dir="rtl"] .download-text p {
    text-align: center;
}

html[dir="rtl"] .professional-visual {
    text-align: right;
}

html[dir="rtl"] .tab-content.active {
    text-align: right;
}

html[dir="rtl"] .workflow-visual {
    text-align: right;
}

html[dir="rtl"] .workflow-content-inner h3,
html[dir="rtl"] .workflow-content-inner p {
    text-align: right;
}

html[dir="rtl"] .nav-right {
    text-align: right;
}

html[dir="rtl"] .lang-selector {
    text-align: right;
}

html[dir="rtl"] .lang-btn {
    flex-direction: row-reverse;
}

html[dir="rtl"] .lang-dropdown {
    text-align: right;
}

html[dir="rtl"] .lang-option {
    text-align: right;
}

html[dir="rtl"] .back-to-top {
    left: 2rem;
    right: auto;
}

html[dir="rtl"] .scenario-card .scenario-content {
    text-align: right;
}

html[dir="rtl"] .scenario-overlay {
    text-align: right;
    left: 1rem;
    right: auto;
}

html[dir="rtl"] .scroll-indicator {
    text-align: center;
}

html[dir="rtl"] .workflow-tabs {
    flex-direction: row-reverse;
}

html[dir="rtl"] .workflow-tab {
    text-align: right;
}

html[dir="rtl"] .workflow-tab.active {
    text-align: right;
}

html[dir="rtl"] .workflow-tab-content .tab-content {
    text-align: right;
}

html[dir="rtl"] .step-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

html[dir="rtl"] .step-content h3 {
    text-align: center;
}

html[dir="rtl"] .feature-card h3,
html[dir="rtl"] .feature-card p {
    text-align: right;
}

html[dir="rtl"] .tab-content h3,
html[dir="rtl"] .tab-content p {
    text-align: right;
}

html[dir="rtl"] .btn-primary,
html[dir="rtl"] .btn-secondary {
    text-align: center;
}

html[dir="rtl"] .download-btn {
    text-align: center;
}

html[dir="rtl"] .download-btn .btn-info {
    text-align: center;
}

html[dir="rtl"] .download-features {
    text-align: center;
}

html[dir="rtl"] .footer-brand,
html[dir="rtl"] .footer-links,
html[dir="rtl"] .footer-copyright {
    text-align: center;
}

/* Fix RTL layout issues */
html[dir="rtl"] .logo {
    justify-content: flex-end;
}

html[dir="rtl"] .nav-container {
    justify-content: space-between;
}

html[dir="rtl"] .hero-actions {
    justify-content: center;
}

html[dir="rtl"] .feature-card,
html[dir="rtl"] .tab,
html[dir="rtl"] .workflow-tab {
    text-align: right;
}


/* Mobile RTL fixes */
@media (max-width: 768px) {
    [dir="rtl"] .hero-text {
        text-align: center;
    }
    
    [dir="rtl"] .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    [dir="rtl"] .nav-right-mobile {
        flex-direction: column-reverse;
        align-items: stretch;
    }
    
    [dir="rtl"] .nav-right-mobile .lang-selector {
        width: 100%;
    }
    
    [dir="rtl"] .lang-btn {
        justify-content: space-between;
    }
    
    [dir="rtl"] .mobile-menu-btn {
        right: 1rem;
        left: auto;
    }
    
    [dir="rtl"] .workflow-tabs {
        flex-direction: column-reverse;
    }
    
    [dir="rtl"] .workflow-tab {
        text-align: center;
    }
    
    [dir="rtl"] .workflow-tab .step-content h3 {
        text-align: center;
    }
    
    [dir="rtl"] .scenarios-grid {
        grid-template-columns: 1fr;
    }
    
    [dir="rtl"] .scenario-card {
        text-align: center;
    }
    
    [dir="rtl"] .scenario-content {
        text-align: center;
    }
    
    [dir="rtl"] .download-actions {
        flex-direction: column;
        align-items: center;
    }
    
    [dir="rtl"] .download-btn {
        width: 100%;
        justify-content: center;
    }
    
    [dir="rtl"] .download-features {
        flex-direction: column;
        align-items: center;
    }
    
    [dir="rtl"] .footer-links {
        flex-direction: column;
        align-items: center;
    }
}

