/* ========================================
   SAH OXYGEN – Landing Page Styles
   ======================================== */

:root {
    --gold: #D4A820;
    --gold-light: #E8C84A;
    --gold-dark: #B8901A;
    --dark: #0A0A0F;
    --dark-2: #111118;
    --dark-3: #1A1A24;
    --dark-4: #242430;
    --white: #FFFFFF;
    --gray-100: #F4F4F6;
    --gray-200: #E2E2E8;
    --gray-300: #C4C4CE;
    --gray-400: #9494A4;
    --gray-500: #6B6B80;
    --font-en: 'Inter', sans-serif;
    --font-ar: 'Cairo', sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-en);
    background: var(--dark);
    color: var(--gray-200);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

html[lang="ar"] body {
    font-family: var(--font-ar);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    -webkit-tap-highlight-color: transparent;
}

button {
    -webkit-tap-highlight-color: transparent;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    gap: 8px;
}

.btn-primary {
    background: var(--gold);
    color: var(--dark);
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 168, 32, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

/* ========================================
   SECTION HEADERS
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(212, 168, 32, 0.1);
    border: 1px solid rgba(212, 168, 32, 0.25);
    border-radius: 50px;
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    font-weight: 800;
    line-height: 1.2;
}

.section-subtitle {
    max-width: 640px;
    margin: 16px auto 0;
    font-size: 1.05rem;
    color: var(--gray-400);
    line-height: 1.8;
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    border-bottom: 1px solid rgba(212, 168, 32, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.navbar.scrolled .nav-logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-links a {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-300);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
    background: rgba(212, 168, 32, 0.08);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--gray-300);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-ar);
    white-space: nowrap;
}

.lang-toggle:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.nav-cta {
    padding: 8px 20px;
    background: var(--gold);
    color: var(--dark);
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
}

.nav-cta:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.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
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-bg-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
}

.hero-orb-1 {
    width: 600px;
    height: 600px;
    background: var(--gold);
    top: -200px;
    right: -200px;
    animation: orbFloat 20s ease-in-out infinite;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: #1e6bb8;
    bottom: -100px;
    left: -100px;
    animation: orbFloat 25s ease-in-out infinite reverse;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-particles {
    position: absolute;
    inset: 0;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(0); }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { opacity: 0; transform: translateY(-100vh); }
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 820px;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(212, 168, 32, 0.1);
    border: 1px solid rgba(212, 168, 32, 0.3);
    border-radius: 50px;
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 28px;
    animation: fadeInUp 0.8s ease-out;
}

.hero h1 {
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 24px;
}

.hero-line {
    display: block;
    color: var(--white);
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: backwards;
}

.hero-line:nth-child(1) { animation-delay: 0.15s; }
.hero-line:nth-child(2) { animation-delay: 0.3s; }

.hero-accent {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--gray-400);
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.45s backwards;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    animation: fadeInUp 0.8s ease-out 0.75s backwards;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
}

.stat-suffix {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   ABOUT
   ======================================== */
.about {
    padding: 120px 0;
    background: var(--dark-2);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 168, 32, 0.3), transparent);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--gray-300);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-card {
    padding: 28px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    transition: var(--transition);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-card:hover {
    border-color: rgba(212, 168, 32, 0.2);
    background: rgba(212, 168, 32, 0.04);
    transform: translateY(-2px);
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 168, 32, 0.1);
    border-radius: 10px;
    color: var(--gold);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-card h3 {
    font-size: 1.1rem;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 6px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--gray-400);
    line-height: 1.6;
}

/* ========================================
   FACILITY
   ======================================== */
.facility {
    padding: 120px 0;
    position: relative;
}

.facility::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 168, 32, 0.3), transparent);
}

.facility-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
    margin-bottom: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    aspect-ratio: 1;
}

.gallery-item.gallery-large {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 20px;
    background: linear-gradient(to top, rgba(10, 10, 15, 0.85), transparent);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

.gallery-caption span {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
}

.facility-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.facility-highlight-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 28px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    transition: var(--transition);
    flex: 1;
}

.facility-highlight-card:hover {
    border-color: rgba(212, 168, 32, 0.2);
    background: rgba(212, 168, 32, 0.04);
    transform: translateY(-2px);
}

.facility-highlight-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 168, 32, 0.1);
    border-radius: 12px;
    color: var(--gold);
}

.facility-highlight-icon svg {
    width: 24px;
    height: 24px;
}

.facility-highlight-card h3 {
    font-size: 1.1rem;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 6px;
}

.facility-highlight-card p {
    font-size: 0.9rem;
    color: var(--gray-400);
    line-height: 1.6;
}

html[dir="rtl"] .facility-highlight-card {
    flex-direction: row-reverse;
    text-align: right;
}

/* ========================================
   PRODUCTS
   ======================================== */
.products {
    padding: 120px 0;
    position: relative;
}

.product-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.product-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

.oxygen-molecule {
    position: relative;
    width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.molecule-core {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 0 60px rgba(212, 168, 32, 0.3);
}

.molecule-core span {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--dark);
}

.molecule-core sub {
    font-size: 1.2rem;
}

.molecule-ring {
    position: absolute;
    border: 1px solid rgba(212, 168, 32, 0.15);
    border-radius: 50%;
}

.molecule-ring-1 {
    width: 180px;
    height: 180px;
    animation: ringRotate 15s linear infinite;
}

.molecule-ring-2 {
    width: 240px;
    height: 240px;
    animation: ringRotate 20s linear infinite reverse;
}

.molecule-ring-3 {
    width: 280px;
    height: 280px;
    border-style: dashed;
    animation: ringRotate 30s linear infinite;
}

@keyframes ringRotate {
    to { transform: rotate(360deg); }
}

.molecule-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(212, 168, 32, 0.5);
}

.molecule-dot-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: dotPulse 2s ease-in-out infinite;
}

.molecule-dot-2 {
    bottom: 20px;
    right: 10px;
    animation: dotPulse 2s ease-in-out 0.7s infinite;
}

.molecule-dot-3 {
    bottom: 20px;
    left: 10px;
    animation: dotPulse 2s ease-in-out 1.4s infinite;
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.4); opacity: 1; }
}

.product-details h3 {
    font-size: 2rem;
    color: var(--white);
    font-weight: 800;
    margin-bottom: 16px;
}

.product-desc {
    font-size: 1.05rem;
    color: var(--gray-400);
    line-height: 1.8;
    margin-bottom: 32px;
}

.product-specs {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 36px;
}

.spec {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    transition: var(--transition);
}

.spec:hover {
    border-color: rgba(212, 168, 32, 0.2);
}

.spec-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
}

.spec-icon svg {
    width: 20px;
    height: 20px;
}

.spec strong {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.spec span {
    font-size: 0.95rem;
    color: var(--white);
    font-weight: 500;
}

/* ========================================
   WHY US
   ======================================== */
.why-us {
    padding: 120px 0;
    background: var(--dark-2);
    position: relative;
}

.why-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 168, 32, 0.3), transparent);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.advantage-card {
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), transparent);
    opacity: 0;
    transition: var(--transition);
}

.advantage-card:hover {
    border-color: rgba(212, 168, 32, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.advantage-card:hover::before {
    opacity: 1;
}

.advantage-number {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(212, 168, 32, 0.1);
    line-height: 1;
    margin-bottom: 16px;
}

.advantage-card h3 {
    font-size: 1.3rem;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 12px;
}

.advantage-card p {
    font-size: 0.95rem;
    color: var(--gray-400);
    line-height: 1.7;
}

/* ========================================
   CONTACT
   ======================================== */
.contact {
    padding: 120px 0;
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.contact-intro {
    font-size: 1.1rem;
    color: var(--gray-300);
    line-height: 1.8;
    margin-bottom: 32px;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    transition: var(--transition);
}

a.contact-card:hover {
    border-color: var(--gold);
    background: rgba(212, 168, 32, 0.06);
    transform: translateX(4px);
}

html[dir="rtl"] a.contact-card:hover {
    transform: translateX(-4px);
}

.contact-card-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 168, 32, 0.1);
    border-radius: 12px;
    color: var(--gold);
}

.contact-card-icon svg {
    width: 24px;
    height: 24px;
}

.contact-card strong {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.contact-card span {
    font-size: 1rem;
    color: var(--white);
    font-weight: 500;
}

.contact-map {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    min-height: 400px;
}

.contact-map iframe {
    display: block;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    padding: 60px 0 0;
    background: var(--dark-2);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 40px;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.7;
    max-width: 320px;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    color: var(--gray-500);
    font-size: 0.9rem;
    padding: 5px 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
    transform: translateX(4px);
}

html[dir="rtl"] .footer-links a:hover {
    transform: translateX(-4px);
}

.footer-contact a,
.footer-contact span {
    display: block;
    color: var(--gray-500);
    font-size: 0.9rem;
    padding: 3px 0;
}

.footer-contact a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* ========================================
   RTL SUPPORT
   ======================================== */
html[dir="rtl"] {
    direction: rtl;
}

html[dir="rtl"] .hero-accent {
    direction: rtl;
}

html[dir="rtl"] .feature-card {
    flex-direction: row-reverse;
    text-align: right;
}

html[dir="rtl"] .spec {
    flex-direction: row-reverse;
    text-align: right;
}

html[dir="rtl"] .contact-card {
    flex-direction: row-reverse;
    text-align: right;
}

html[dir="rtl"] .advantage-card {
    text-align: right;
}

html[dir="rtl"] .advantage-card::before {
    background: linear-gradient(270deg, var(--gold), transparent);
}

html[dir="rtl"] .about-text {
    text-align: right;
}

html[dir="rtl"] .product-showcase .product-visual {
    order: 2;
}

html[dir="rtl"] .product-showcase .product-details {
    order: 1;
}

html[dir="rtl"] .product-details {
    text-align: right;
}

html[dir="rtl"] .about-grid .about-text {
    order: 2;
}

html[dir="rtl"] .about-grid .about-features {
    order: 1;
}

html[dir="rtl"] .contact-grid .contact-info {
    order: 2;
}

html[dir="rtl"] .contact-grid .contact-map {
    order: 1;
}

html[dir="rtl"] .contact-intro {
    text-align: right;
}

html[dir="rtl"] .footer-brand {
    text-align: right;
}

html[dir="rtl"] .footer-links,
html[dir="rtl"] .footer-contact {
    text-align: right;
}

/* ========================================
   MENU-OPEN SCROLL LOCK
   ======================================== */
html.menu-open,
html.menu-open body {
    overflow: hidden;
    overscroll-behavior: none;
}

/* ========================================
   SCROLL REVEAL ANIMATIONS
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .about-grid,
    .product-showcase,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .facility-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-visual {
        padding: 30px;
        order: -1;
    }

    .product-details {
        text-align: center;
    }

    .product-details .btn {
        margin: 0 auto;
    }

    html[dir="rtl"] .product-details {
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .contact-map {
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .nav-container {
        padding: 0 16px;
    }

    .nav-logo img {
        height: 38px;
    }

    .navbar.scrolled .nav-logo img {
        height: 34px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        z-index: 999;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transition: visibility 0.35s, opacity 0.35s ease;
    }

    .nav-links.open {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links li {
        opacity: 0;
        transform: translateY(14px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .nav-links.open li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links.open li:nth-child(1) { transition-delay: 0.06s; }
    .nav-links.open li:nth-child(2) { transition-delay: 0.12s; }
    .nav-links.open li:nth-child(3) { transition-delay: 0.18s; }
    .nav-links.open li:nth-child(4) { transition-delay: 0.24s; }
    .nav-links.open li:nth-child(5) { transition-delay: 0.30s; }
    .nav-links.open li:nth-child(6) { transition-delay: 0.36s; }

    .nav-links a {
        font-size: 1.3rem;
        padding: 14px 28px;
        min-height: 48px;
    }

    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
    }

    .nav-cta {
        display: none;
    }

    .lang-toggle {
        min-height: 44px;
        min-width: 44px;
        justify-content: center;
        z-index: 1001;
        position: relative;
    }

    .hero {
        padding: 100px 16px 60px;
        min-height: calc(100vh - 60px);
        min-height: calc(100dvh - 60px);
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 6px 14px;
        letter-spacing: 0.04em;
    }

    .hero h1 {
        font-size: clamp(2rem, 9vw, 3.5rem);
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 28px;
        padding: 0 8px;
    }

    .hero-actions {
        margin-bottom: 40px;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-suffix {
        font-size: 1.1rem;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .section-header {
        margin-bottom: 36px;
    }

    .section-tag {
        font-size: 0.75rem;
        padding: 5px 12px;
        margin-bottom: 14px;
    }

    .section-header h2 {
        font-size: clamp(1.6rem, 5.5vw, 2.2rem);
        padding: 0 8px;
    }

    .section-subtitle {
        font-size: 0.92rem;
        padding: 0 8px;
    }

    .about,
    .facility,
    .products,
    .why-us,
    .contact {
        padding: 64px 0;
    }

    .about-text p {
        font-size: 0.95rem;
    }

    .feature-card {
        padding: 20px;
        gap: 14px;
    }

    .feature-icon {
        width: 42px;
        height: 42px;
    }

    .feature-card h3 {
        font-size: 1rem;
    }

    .feature-card p {
        font-size: 0.85rem;
    }

    .facility-gallery {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-bottom: 28px;
    }

    .gallery-item {
        border-radius: 10px;
    }

    .gallery-caption {
        opacity: 1;
        padding: 10px 14px;
    }

    .gallery-caption span {
        font-size: 0.75rem;
    }

    .facility-highlights {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .facility-highlight-card {
        padding: 20px;
        gap: 14px;
    }

    .facility-highlight-icon {
        width: 42px;
        height: 42px;
    }

    .facility-highlight-card h3 {
        font-size: 1rem;
    }

    .facility-highlight-card p {
        font-size: 0.85rem;
    }

    .product-showcase {
        gap: 32px;
    }

    .product-visual {
        padding: 20px;
    }

    .product-details h3 {
        font-size: 1.5rem;
    }

    .product-desc {
        font-size: 0.92rem;
        margin-bottom: 24px;
    }

    .spec {
        padding: 12px 14px;
        gap: 10px;
    }

    .oxygen-molecule {
        width: 180px;
        height: 180px;
    }

    .molecule-core {
        width: 80px;
        height: 80px;
    }

    .molecule-core span {
        font-size: 1.5rem;
    }

    .molecule-ring-1 { width: 120px; height: 120px; }
    .molecule-ring-2 { width: 150px; height: 150px; }
    .molecule-ring-3 { width: 180px; height: 180px; }

    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .advantage-card {
        padding: 24px;
    }

    .advantage-number {
        font-size: 2.2rem;
        margin-bottom: 10px;
    }

    .advantage-card h3 {
        font-size: 1.15rem;
    }

    .advantage-card p {
        font-size: 0.88rem;
    }

    .contact-intro {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }

    .contact-card {
        padding: 16px 18px;
        gap: 14px;
    }

    .contact-card-icon {
        width: 44px;
        height: 44px;
    }

    .contact-card strong {
        font-size: 0.75rem;
    }

    .contact-card span {
        font-size: 0.9rem;
    }

    .contact-map {
        min-height: 280px;
        border-radius: 12px;
    }

    .footer {
        padding: 48px 0 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }

    .footer-logo {
        height: 40px;
        margin: 0 auto 12px;
        display: block;
    }

    .footer-brand p {
        max-width: 100%;
        margin: 0 auto;
    }

    .footer-links h4,
    .footer-contact h4 {
        margin-bottom: 12px;
    }

    html[dir="rtl"] .footer-brand,
    html[dir="rtl"] .footer-links,
    html[dir="rtl"] .footer-contact {
        text-align: center;
    }

    .footer-bottom {
        padding: 16px 0;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        padding: 0 16px;
    }

    .hero-actions .btn {
        width: 100%;
        padding: 16px 24px;
        font-size: 1rem;
        min-height: 52px;
    }

    .hero-stats {
        flex-direction: row;
        gap: 20px;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .stat-suffix {
        font-size: 1rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .stat-divider {
        width: 1px;
        height: 32px;
    }

    .lang-toggle {
        padding: 8px 14px;
        min-height: 44px;
        font-size: 0.82rem;
    }

    .facility-gallery {
        gap: 8px;
    }

    .gallery-item.gallery-large {
        grid-column: 1 / -1;
        grid-row: span 1;
        aspect-ratio: 16/10;
    }

    .contact-cards {
        gap: 10px;
    }

    .btn {
        min-height: 48px;
    }
}

@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-badge {
        font-size: 0.65rem;
        padding: 5px 10px;
    }

    .hero-stats {
        gap: 14px;
    }

    .stat-number {
        font-size: 1.4rem;
    }

    .section-header h2 {
        font-size: 1.4rem;
    }
}
