:root {
    /* Colors */
    --bg-dark: #07070b;
    --bg-card: rgba(20, 20, 30, 0.6);
    --primary-cyan: #00f3ff;
    --primary-purple: #bc13fe;
    --text-main: #e0e0e0;
    --text-muted: #888899;
    --terminal-green: #00ff00;
    
    /* Gradients */
    --gradient-cyber: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
    --glass-border: rgba(255, 255, 255, 0.05);
    
    /* Fonts */
    --font-main: 'Cairo', 'Outfit', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    position: relative;
}

/* Background Elements */
.cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: 
        linear-gradient(rgba(0, 243, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 243, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: -2;
    pointer-events: none;
    perspective: 1000px;
    transform: rotateX(60deg) scale(2.5) translateY(-20%);
    opacity: 0.3;
}

.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.15;
    pointer-events: none;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-cyan);
    top: -100px;
    left: -100px;
    animation: floatOrb 10s ease-in-out infinite alternate;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--primary-purple);
    bottom: -100px;
    right: -100px;
    animation: floatOrb 15s ease-in-out infinite alternate-reverse;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

.highlight {
    background: var(--gradient-cyber);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cyber-text {
    font-family: var(--font-mono);
    color: var(--primary-cyan);
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
    direction: ltr;
    display: inline-block;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    text-align: center;
    font-family: var(--font-main);
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-cyber);
    color: #fff;
    box-shadow: 0 0 20px rgba(188, 19, 254, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--primary-cyan);
}

.btn-secondary:hover {
    background: rgba(0, 243, 255, 0.1);
    box-shadow: inset 0 0 10px rgba(0, 243, 255, 0.2);
}

.btn-lang {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    font-size: 0.9rem;
    margin-inline-end: 15px;
}

.btn-lang:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(7, 7, 11, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

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

/* Logo (nav + footer) */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 8px;
    filter: drop-shadow(0 0 8px rgba(0, 243, 255, 0.6)) drop-shadow(0 0 4px rgba(188, 19, 254, 0.4));
    transition: var(--transition);
    flex-shrink: 0;
}

.logo:hover .logo-img {
    filter: drop-shadow(0 0 14px rgba(0, 243, 255, 0.9)) drop-shadow(0 0 8px rgba(188, 19, 254, 0.7));
    transform: scale(1.08) rotate(-3deg);
}

.logo-text {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    font-size: 1.1rem;
}

.nav-link:hover {
    color: var(--primary-cyan);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--primary-cyan);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

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

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(188, 19, 254, 0.1);
    border: 1px solid rgba(188, 19, 254, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary-purple);
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 10px;
}

html[lang="en"] .hero-title {
    font-size: 4rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-cta .fas {
    margin-inline-start: 8px;
}

.tech-stack {
    display: flex;
    gap: 20px;
    font-size: 1.8rem;
    color: var(--text-muted);
}

.tech-stack i {
    transition: var(--transition);
}

.tech-stack i:hover {
    color: var(--primary-cyan);
    transform: translateY(-5px);
}

/* 3D Flipper Profile Image */
.hero-image-wrapper {
    display: flex;
    justify-content: center;
}

.profile-card {
    padding: 20px;
    width: 100%;
    max-width: 380px;
    text-align: center;
    border-top: 1px solid rgba(0, 243, 255, 0.3);
    border-bottom: 1px solid rgba(188, 19, 254, 0.3);
}

.image-flipper {
    background-color: transparent;
    width: 100%;
    height: 400px;
    perspective: 1000px;
    margin-bottom: 20px;
    cursor: pointer;
}

.flipper-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.image-flipper:hover .flipper-inner {
    transform: rotateY(180deg);
}

.flipper-front, .flipper-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.flipper-front {
    background-color: #111;
}

.flipper-back {
    background-color: #0a0a0a;
    transform: rotateY(180deg);
}

.flipper-front img, .flipper-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-label {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    border: 1px solid var(--text-muted);
    white-space: nowrap;
}

.cyber-label {
    color: var(--primary-cyan);
    border-color: var(--primary-cyan);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
    font-family: var(--font-mono);
}

.card-info h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.role-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Sections */
section {
    padding: 100px 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.about-content {
    padding: 40px;
}

.about-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-cyan);
}

.about-content p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.about-content strong {
    color: var(--text-main);
}

.certifications {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.cert-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(188, 19, 254, 0.2);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.cert-badge:hover {
    border-color: var(--primary-purple);
    box-shadow: 0 0 15px rgba(188, 19, 254, 0.2);
}

.cert-badge i {
    color: var(--primary-purple);
}

/* Terminal Window */
.terminal-window {
    background: #0d0d12;
    border-radius: 12px;
    border: 1px solid #333;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    direction: ltr; /* Keep terminal LTR */
    text-align: left;
}

.terminal-header {
    background: #1a1a24;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #333;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.terminal-title {
    margin-left: 15px;
    color: #888;
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

.terminal-body {
    padding: 20px;
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--terminal-green);
    line-height: 1.5;
    height: 300px;
    overflow-y: auto;
    /* Scrollbar styling - thin & themed */
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 243, 255, 0.15) transparent;
}

.terminal-body::-webkit-scrollbar {
    width: 4px;
}

.terminal-body::-webkit-scrollbar-track {
    background: transparent;
}

.terminal-body::-webkit-scrollbar-thumb {
    background: rgba(0, 243, 255, 0.2);
    border-radius: 2px;
}

.cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background: var(--terminal-green);
    animation: blink 1s step-end infinite;
    vertical-align: middle;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 40px 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.cyber-border::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: var(--gradient-cyber);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 243, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-cyan);
    margin-bottom: 25px;
    border: 1px solid rgba(0, 243, 255, 0.2);
}

.highlight-icon {
    background: rgba(188, 19, 254, 0.1);
    color: var(--primary-purple);
    border: 1px solid rgba(188, 19, 254, 0.2);
}

.cyber-icon {
    background: rgba(0, 255, 0, 0.05);
    color: var(--terminal-green);
    border: 1px solid rgba(0, 255, 0, 0.2);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
    flex-grow: 1;
}

.btn-wa-order {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.15), rgba(37, 211, 102, 0.15));
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    border: 1px solid rgba(0, 243, 255, 0.3);
    margin-top: auto;
}

.btn-wa-order:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.3), rgba(37, 211, 102, 0.3));
    border-color: #25d366;
}

.btn-wa-order i {
    font-size: 1.2rem;
    color: #25d366;
}

/* Platforms Section */
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.platform-card {
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.platform-card:hover::before {
    transform: scaleX(1);
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.platform-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 243, 255, 0.2);
}

.platform-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.platform-card:hover .platform-img img {
    transform: scale(1.05);
}

.platform-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.platform-content h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--primary-cyan);
}

.platform-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.coming-soon-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(188, 19, 254, 0.9);
    color: #fff;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 0 10px rgba(188, 19, 254, 0.5);
    letter-spacing: 1px;
}

.available-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 243, 255, 0.9);
    color: #07070b;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
    letter-spacing: 1px;
}

.product-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #111;
    border-bottom: 1px solid rgba(0, 243, 255, 0.2);
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.product-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.product-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-cyan);
}

.product-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 15px;
    flex-grow: 1;
}

.product-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-main);
    margin-bottom: 20px;
}

.btn-product-disabled {
    padding: 10px 20px;
    background: #222;
    color: #666;
    border: 1px solid #333;
    border-radius: 6px;
    cursor: not-allowed;
    font-family: inherit;
    font-weight: 600;
}

/* Contact Form Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

.contact-info {
    padding: 30px;
}

.contact-info h3 {
    margin-bottom: 25px;
    font-size: 1.4rem;
    color: var(--primary-cyan);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
}

.info-item strong {
    display: block;
    margin-bottom: 5px;
    color: var(--text-main);
}

.info-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-form-container {
    padding: 40px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.cyber-input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.cyber-input:focus {
    outline: none;
    border-color: var(--primary-cyan);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
    background: rgba(0, 0, 0, 0.6);
}

textarea.cyber-input {
    resize: vertical;
    min-height: 120px;
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Footer */
.footer {
    background: #050508;
    padding: 60px 0 30px;
    border-top: 1px solid #111;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 10px;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    backdrop-filter: blur(5px);
}

.footer-links a:hover {
    color: var(--primary-cyan);
    border-color: var(--primary-cyan);
    background: rgba(0, 243, 255, 0.05);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 243, 255, 0.15);
}

.hosted-badge {
    margin-top: 20px;
    padding: 8px 16px;
    background: #111;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #666;
    border: 1px solid #222;
}



/* Responsive */
@media (max-width: 992px) {
    .hero-container, .about-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        order: 2;
        text-align: center;
    }
    
    .hero-cta, .tech-stack {
        justify-content: center;
    }
    
    .hero-desc {
        margin: 0 auto 40px;
    }
    
    .hero-image-wrapper {
        order: 1;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    /* ── Navbar Mobile ── */
    .navbar {
        padding: 12px 0;
    }

    .menu-toggle {
        display: block;
        margin-inline-end: 4px;
    }

    /* إخفاء نص اللوجو - تبقى الأيقونة فقط */
    .logo-text {
        display: none;
    }

    /* تصغير أيقونة اللوجو قليلاً */
    .logo-img {
        width: 36px;
        height: 36px;
    }

    /* إخفاء زرار تثبيت التطبيق نهائياً على الموبايل */
    #pwaInstallBtn {
        display: none !important;
    }

    /* تقليل المسافة في nav-actions وإجبار الترتيب من اليسار لليمين */
    .nav-actions {
        gap: 6px;
        direction: ltr; /* الهامبرجر (أول عنصر) يبقى دائماً أقصى الشمال */
    }

    .btn-lang {
        padding: 7px 12px;
        font-size: 0.82rem;
        margin-inline-end: 0;
    }

    .nav-links {
        position: fixed;
        top: 62px;
        left: 0;
        width: 100%;
        background: rgba(7, 7, 11, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        gap: 20px;
        border-bottom: 1px solid var(--glass-border);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-in-out;
    }

    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .hide-mobile {
        display: none;
    }

    .profile-card {
        max-width: 320px;
    }
    
    .image-flipper {
        height: 340px;
    }

    .hero-title {
        font-size: 2.2rem;
    }
    html[lang="en"] .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .about-content {
        padding: 20px;
    }

    /* Mobile Performance Optimizations */
    .cyber-grid {
        transform: none !important; /* Flatten 3D grid layout on mobile to save GPU cycles */
        opacity: 0.12 !important;
    }

    .glow-orb {
        animation: none !important; /* Stop animating large blur layers on mobile */
        filter: blur(50px) !important; /* Reduce blur overhead */
        opacity: 0.08 !important;
    }

    .glass-panel {
        backdrop-filter: none !important; /* Disable expensive backdrop-filter on mobile browsers */
        -webkit-backdrop-filter: none !important;
        background: rgba(15, 15, 25, 0.95) !important; /* High-performance fallback */
    }
}
