/* ========================================
   THE SPACE - Tech Company Website
   Modern Dark Theme with Code Aesthetics
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

:root {
    /* Core Colors */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a25;
    --bg-card: #16161f;
    
    /* Accent Colors */
    --accent-primary: #00d4ff;
    --accent-secondary: #7c3aed;
    --accent-tertiary: #10b981;
    --accent-warning: #f59e0b;
    --accent-pink: #ec4899;
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #7c3aed 50%, #ec4899 100%);
    --gradient-glow: linear-gradient(135deg, rgba(0, 212, 255, 0.3) 0%, rgba(124, 58, 237, 0.3) 100%);
    --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
    
    /* Effects */
    --glow-primary: 0 0 30px rgba(0, 212, 255, 0.3);
    --glow-secondary: 0 0 30px rgba(124, 58, 237, 0.3);
    --border-glow: 1px solid rgba(0, 212, 255, 0.2);
    
    /* Spacing & Sizing */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Font */
    --font-main: 'Cairo', sans-serif;
    --font-code: 'JetBrains Mono', monospace;
}

/* ========== Reset & Base ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" fill="none" stroke="%2300d4ff" stroke-width="1.5" opacity="0.8"/><circle cx="12" cy="12" r="6" fill="%2300d4ff" opacity="0.4"/><circle cx="12" cy="12" r="2" fill="%2300d4ff"/></svg>') 12 12, auto;
}

a, button, .service-card, .product-card, input, textarea, select, .nav-links a, .btn {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" fill="none" stroke="%237c3aed" stroke-width="1.5" opacity="0.9"/><circle cx="12" cy="12" r="6" fill="%237c3aed" opacity="0.5"/><circle cx="12" cy="12" r="2" fill="%237c3aed"/></svg>') 12 12, pointer;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-secondary);
}

/* Selection */
::selection {
    background: var(--accent-primary);
    color: var(--bg-primary);
}

/* ========== Utility Classes ========== */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
}

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

.glow-text {
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

/* ========== Animated Background ========== */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: -1;
}

.bg-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.15;
    pointer-events: none;
    z-index: -1;
}

.bg-glow-1 {
    top: -200px;
    right: -200px;
    background: var(--accent-primary);
}

.bg-glow-2 {
    bottom: -200px;
    left: -200px;
    background: var(--accent-secondary);
}

.bg-glow-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--accent-tertiary);
    opacity: 0.08;
}

/* ========== Header & Navigation ========== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-normal);
}

header.scrolled {
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    padding: 15px 0;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.logo .bracket {
    color: var(--accent-primary);
    font-family: var(--font-code);
    font-weight: 400;
}

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

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 5px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-normal);
    position: relative;
}

/* Dropdown Menu */
.nav-links li.dropdown {
    position: relative;
}

.nav-links .dropdown > a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links .dropdown > a::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.75rem;
    transition: var(--transition-normal);
}

.nav-links .dropdown:hover > a::after,
.nav-links .dropdown.active > a::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 10px;
}

.nav-links .dropdown:hover .dropdown-menu,
.nav-links .dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-normal);
    margin-bottom: 5px;
}

.dropdown-menu a:last-child {
    margin-bottom: 0;
}

.dropdown-menu a i {
    width: 20px;
    text-align: center;
    color: var(--accent-primary);
    font-size: 1rem;
}

.dropdown-menu a:hover {
    background: rgba(0, 212, 255, 0.1);
    color: var(--accent-primary);
    transform: translateX(-5px);
}

[dir="ltr"] .dropdown-menu {
    right: auto;
    left: 0;
}

[dir="ltr"] .dropdown-menu a:hover {
    transform: translateX(5px);
}

.nav-links a:hover {
    color: var(--text-primary);
    background: rgba(0, 212, 255, 0.1);
}

.nav-links a.active {
    color: var(--accent-primary);
}

.nav-links .lang-switch a {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: var(--accent-primary);
    font-family: var(--font-code);
    font-size: 0.85rem;
}

.nav-links .lang-switch a:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    box-shadow: var(--glow-primary);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--accent-primary);
    padding: 10px;
}

/* ========== Hero Section ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 0 60px;
    overflow: hidden;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 10;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 20;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-family: var(--font-main);
    color: var(--accent-primary);
    margin-bottom: 25px;
}

.hero-badge i {
    animation: pulse 2s infinite;
}

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

.hero h1 {
    font-size: clamp(1.75rem, 4.5vw, 3.2rem);
    font-weight: 800;
    font-family: var(--font-main);
    line-height: 1.2;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.hero h1 .line {
    display: inline;
    margin-bottom: 0;
    margin-left: 5px;
}

.hero h1 .highlight {
    position: relative;
    display: inline-block;
}

.hero h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background: var(--gradient-primary);
    opacity: 0.3;
    z-index: -1;
    border-radius: 4px;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.15rem);
    font-family: var(--font-main);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 35px;
    line-height: 1.7;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Code Blocks in Hero - Decorative Background Elements */
.code-block {
    position: fixed;
    font-family: var(--font-code);
    font-size: 0.65rem;
    line-height: 1.4;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 212, 255, 0.08);
    border-radius: var(--radius-sm);
    backdrop-filter: blur(6px);
    opacity: 0.2;
    pointer-events: none;
    z-index: 0;
    max-width: 180px;
    animation: float-code 30s ease-in-out infinite;
}

.code-block.left {
    top: 15%;
    left: 1%;
    animation-delay: 0s;
}

.code-block.right {
    top: 15%;
    right: 1%;
    animation-delay: 15s;
}

@keyframes float-code {
    0%, 100% { transform: translateY(0px) translateX(0px); opacity: 0.2; }
    33% { transform: translateY(-10px) translateX(5px); opacity: 0.25; }
    66% { transform: translateY(5px) translateX(-5px); opacity: 0.15; }
}

/* Decorative Code Lines Background */
.decorative-code-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.04;
    overflow: hidden;
    font-family: var(--font-code);
}

.decorative-code-lines::before {
    content: '<!DOCTYPE html>\A<html>\A  <head>\A    <title>Innovation</title>\A  </head>\A  <body>\A    <div class="future">\A      <code>Building...</code>\A    </div>\A  </body>\A</html>';
    position: absolute;
    top: 8%;
    left: 4%;
    font-size: 0.65rem;
    color: var(--accent-primary);
    white-space: pre;
    line-height: 1.8;
    letter-spacing: 0.5px;
    animation: code-fade 25s ease-in-out infinite;
}

.decorative-code-lines::after {
    content: 'const innovation = {\A  creativity: true,\A  technology: "cutting-edge",\A  passion: Infinity\A};\A\Afunction buildFuture() {\A  return success;\A}';
    position: absolute;
    bottom: 15%;
    right: 6%;
    font-size: 0.65rem;
    color: var(--accent-secondary);
    white-space: pre;
    line-height: 1.8;
    letter-spacing: 0.5px;
    animation: code-fade 30s ease-in-out infinite reverse;
}

@keyframes code-fade {
    0%, 100% { opacity: 0.04; transform: translateY(0px); }
    50% { opacity: 0.06; transform: translateY(-10px); }
}

/* Tech Stack Marquee - Hidden */
.tech-marquee {
    display: none;
}

.tech-track {
    display: flex;
    gap: 60px;
    animation: marquee 30s linear infinite;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-family: var(--font-code);
    font-size: 0.9rem;
    white-space: nowrap;
}

.tech-item i {
    font-size: 1.5rem;
    color: var(--accent-primary);
}

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

/* ========== Buttons ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 35px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition-normal);
    cursor: pointer;
    border: none;
    font-family: var(--font-main);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-primary);
    box-shadow: 0 5px 30px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.4);
}

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

.btn-outline:hover {
    border-color: var(--accent-primary);
    background: rgba(0, 212, 255, 0.1);
    color: var(--accent-primary);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* ========== Section Styling ========== */
section {
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

section .container {
    position: relative;
    z-index: 5;
}

main {
    position: relative;
    z-index: 1;
}

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

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-main);
    font-size: 0.85rem;
    color: var(--accent-primary);
    background: rgba(0, 212, 255, 0.1);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    position: relative;
    transition: all 0.3s ease;
    animation: tagPulse 3s ease-in-out infinite;
}

.section-tag:hover {
    background: rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.2);
}

@keyframes tagPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(0, 212, 255, 0);
    }
}


.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 20px;
}

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

/* ========== Services Section ========== */
.services {
    background: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-normal);
    transform: scaleX(0);
    transform-origin: left;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 25px 60px rgba(0, 212, 255, 0.2), 0 0 40px rgba(124, 58, 237, 0.15);
    background: linear-gradient(145deg, rgba(0, 212, 255, 0.05) 0%, var(--bg-card) 100%);
}

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


.service-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: 25px;
    font-size: 1.8rem;
    color: var(--accent-primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    transform: rotate(0deg) scale(1);
}

.service-icon::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: var(--radius-md);
    background: var(--gradient-primary);
    opacity: 0;
    filter: blur(15px);
    transition: var(--transition-normal);
    z-index: -1;
}

.service-card:hover .service-icon {
    background: var(--accent-primary);
    color: var(--bg-primary);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5), 0 0 60px rgba(124, 58, 237, 0.3);
    transform: rotate(5deg) scale(1.1);
}

.service-card:hover .service-icon::before {
    opacity: 0.6;
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    transition: var(--transition-normal);
    position: relative;
}

.service-card:hover h3 {
    color: var(--accent-primary);
    transform: translateX(3px);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.service-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.service-link:hover {
    gap: 12px;
    transform: translateX(-3px);
}

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

.service-link i {
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(-5px);
}

/* ========== Products Section ========== */
.products {
    background: var(--bg-primary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--gradient-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 35px;
    transition: var(--transition-normal);
    position: relative;
}

.product-card::before {
    content: '{}';
    position: absolute;
    top: 20px;
    left: 25px;
    font-family: var(--font-code);
    font-size: 1.2rem;
    color: var(--accent-primary);
    opacity: 0.08;
    font-weight: 300;
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(124, 58, 237, 0.4);
    box-shadow: 0 25px 60px rgba(0, 212, 255, 0.25), 0 0 40px rgba(124, 58, 237, 0.2);
    background: linear-gradient(145deg, rgba(0, 212, 255, 0.05) 0%, var(--bg-card) 100%);
}

.product-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(0, 212, 255, 0.2));
    border-radius: var(--radius-lg);
    margin-bottom: 25px;
    font-size: 2rem;
    color: var(--accent-secondary);
    transition: var(--transition-normal);
    position: relative;
}

.product-icon::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: var(--radius-lg);
    background: var(--gradient-primary);
    opacity: 0;
    filter: blur(15px);
    transition: var(--transition-normal);
    z-index: -1;
}

.product-card:hover .product-icon {
    background: var(--accent-primary);
    color: var(--bg-primary);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5), 0 0 60px rgba(124, 58, 237, 0.3);
    transform: rotate(5deg) scale(1.1);
}

.product-card:hover .product-icon::before {
    opacity: 0.6;
}

.product-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    transition: var(--transition-normal);
    position: relative;
}

.product-card:hover h3 {
    color: var(--accent-primary);
    transform: translateX(3px);
}

.product-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.product-tag {
    font-family: var(--font-code);
    font-size: 0.75rem;
    padding: 5px 12px;
    background: rgba(0, 212, 255, 0.1);
    color: var(--accent-primary);
    border-radius: 20px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-normal);
}

.read-more:hover {
    gap: 12px;
}

/* ========== Stats Section ========== */
.stats {
    background: var(--bg-secondary);
    padding: 80px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

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

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 10px;
    font-family: var(--font-code);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* ========== About Section ========== */
.about {
    background: var(--bg-primary);
}

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

.about-content h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.2;
}

.about-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 30px;
}

.features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-normal);
}

.feature-item:hover {
    border-color: rgba(0, 212, 255, 0.2);
    transform: translateX(-10px);
}

[dir="ltr"] .feature-item:hover {
    transform: translateX(10px);
}

.feature-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.15);
    border-radius: var(--radius-sm);
    color: var(--accent-tertiary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-weight: 700;
    margin-bottom: 5px;
}

.feature-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* Terminal/Code Visual */
.about-visual {
    position: relative;
}

.terminal-window {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-dot.red { background: #ff5f56; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green { background: #27ca40; }

.terminal-title {
    flex: 1;
    text-align: center;
    font-family: var(--font-code);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.terminal-body {
    padding: 25px;
    font-family: var(--font-code);
    font-size: 0.85rem;
    line-height: 1.8;
    min-height: 300px;
}

.terminal-line {
    margin-bottom: 10px;
}

.terminal-prompt {
    color: var(--accent-tertiary);
}

.terminal-command {
    color: var(--text-primary);
}

.terminal-output {
    color: var(--text-muted);
    padding-right: 20px;
}

[dir="ltr"] .terminal-output {
    padding-right: 0;
    padding-left: 20px;
}

.terminal-cursor {
    display: inline-block;
    width: 10px;
    height: 18px;
    background: var(--accent-primary);
    animation: blink 1s infinite;
    vertical-align: middle;
}

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

/* ========== Contact Section ========== */
.contact {
    background: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-info > p {
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-normal);
}

.info-card:hover {
    border-color: rgba(0, 212, 255, 0.2);
    transform: translateX(-5px);
}

[dir="ltr"] .info-card:hover {
    transform: translateX(5px);
}

.info-card-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--accent-primary);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.info-card-content h4 {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1rem;
}

.info-card-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.info-card-content a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-normal);
}

.info-card-content a:hover {
    color: var(--accent-primary);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-form-wrapper h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--bg-secondary);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition-normal);
    outline: none;
}

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

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-primary);
    background: var(--bg-primary);
    box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* ========== Footer ========== */
footer {
    background: var(--bg-primary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 50px 0 20px;
}

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

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

.footer-brand p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: var(--transition-normal);
}

.social-links a:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--bg-primary);
    transform: translateY(-5px);
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--text-primary);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-normal);
    font-size: 0.9rem;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

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

.footer-bottom-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition-normal);
}

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

/* ========== Back to Top Button ========== */
.back-to-top {
    position: fixed !important;
    bottom: 30px !important;
    left: 30px !important;
    width: 50px !important;
    height: 50px !important;
    background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%) !important;
    border: none !important;
    border-radius: 50% !important;
    color: var(--text-primary) !important;
    font-size: 1.2rem !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease !important;
    z-index: 99999 !important;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3) !important;
    pointer-events: none;
}

.back-to-top.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.5);
    background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 50%, #ec4899 100%);
}

.back-to-top:active {
    transform: translateY(-2px) scale(1.05);
}

.back-to-top i {
    display: block;
}

@media (max-width: 768px) {
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        left: 20px;
        font-size: 1rem;
    }
}

/* ========== Page Hero (Internal Pages) ========== */
.page-hero {
    padding: 180px 0 100px;
    background: var(--bg-secondary);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero h1 {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 900;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    line-height: 1.2;
}

.page-hero p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-normal);
}

.breadcrumb a:hover {
    color: var(--accent-primary);
}

.breadcrumb span {
    color: var(--text-muted);
}

.breadcrumb .current {
    color: var(--accent-primary);
}

/* ========== Light Theme ========== */
[data-theme="light"] {
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f1f5f9;
    --bg-card: #ffffff;
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    
    --border-glow: 1px solid rgba(0, 212, 255, 0.3);
    --gradient-card: linear-gradient(145deg, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0) 100%);
}

[data-theme="light"] .bg-grid {
    background-image: 
        linear-gradient(rgba(0, 212, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.05) 1px, transparent 1px);
}

[data-theme="light"] .bg-glow {
    opacity: 0.08;
}

[data-theme="light"] header.scrolled {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .service-card,
[data-theme="light"] .product-card,
[data-theme="light"] .info-card,
[data-theme="light"] .feature-item {
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .terminal-window {
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .contact-form-wrapper {
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea,
[data-theme="light"] .form-group select {
    background: var(--bg-tertiary);
    border: 2px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group textarea:focus,
[data-theme="light"] .form-group select:focus {
    background: var(--bg-secondary);
}

[data-theme="light"] footer {
    background: #0f172a;
}

[data-theme="light"] .nav-links a:hover {
    background: rgba(0, 212, 255, 0.1);
}

[data-theme="light"] .social-links a {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--text-secondary);
}

[data-theme="light"] .social-links a:hover {
    background: var(--accent-primary);
    color: white;
}

/* ========== Theme Toggle ========== */
.theme-toggle-li {
    display: flex !important;
    align-items: center;
}

.nav-links li .theme-toggle,
.theme-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(0, 212, 255, 0.15);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: var(--accent-primary);
    font-size: 1.15rem;
    transition: var(--transition-normal);
    margin: 0 8px;
}

.theme-toggle:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

[data-theme="light"] .theme-toggle {
    background: rgba(124, 58, 237, 0.1);
    border-color: rgba(124, 58, 237, 0.3);
    color: var(--accent-secondary);
}

[data-theme="light"] .theme-toggle:hover {
    background: var(--accent-secondary);
    color: white;
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
}

/* ========== Clients Section ========== */
.clients {
    background: var(--bg-secondary);
    padding: 100px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .clients {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    align-items: stretch;
}

.client-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 150px;
}

[data-theme="light"] .client-card {
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.client-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.2);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(124, 58, 237, 0.1));
}

.client-card img {
    max-width: 120px;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.8);
    opacity: 0.7;
    transition: var(--transition-normal);
}

[data-theme="light"] .client-card img {
    filter: grayscale(100%);
}

.client-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}


.client-logo-placeholder {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #00d4ff, #7c3aed);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
}

.client-card:hover .client-logo-placeholder {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(0, 212, 255, 0.5);
}

.client-card .client-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.5;
    display: block;
    margin-top: 10px;
    transition: color 0.3s ease;
}

.client-card:hover .client-name {
    color: var(--accent-primary);
}

/* ========== Departments Section ========== */
.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.department-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
}

[data-theme="light"] .department-card {
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.department-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-normal);
}

.department-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 212, 255, 0.2);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.department-card:hover::before {
    opacity: 1;
}

.department-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(124, 58, 237, 0.15));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--accent-primary);
    margin-bottom: 30px;
    transition: var(--transition-normal);
}

.department-card:hover .department-icon {
    background: var(--gradient-primary);
    color: var(--bg-primary);
    transform: scale(1.1) rotate(5deg);
}

.department-card h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.department-card > p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 25px;
}

.department-features {
    list-style: none;
    margin-bottom: 30px;
}

.department-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .department-features li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.department-features li:last-child {
    border-bottom: none;
}

.department-features li i {
    color: var(--accent-tertiary);
    font-size: 0.9rem;
}

/* ========== Responsive Design ========== */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .about-grid {
        gap: 50px;
    }
    
    .code-block {
        opacity: 0.12;
        max-width: 160px;
        font-size: 0.6rem;
        padding: 10px 14px;
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .code-block {
        display: none;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-visual {
        order: -1;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .menu-toggle {
        display: block;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    section {
        padding: 80px 0;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        align-items: stretch;
        padding: 100px 30px 30px;
        transition: var(--transition-slow);
        border-left: 1px solid rgba(0, 212, 255, 0.1);
        z-index: 999;
        overflow-y: auto;
    }
    
    [dir="ltr"] .nav-links {
        right: auto;
        left: -100%;
        border-left: none;
        border-right: 1px solid rgba(0, 212, 255, 0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    [dir="ltr"] .nav-links.active {
        right: auto;
        left: 0;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: 15px;
        text-align: center;
        font-size: 1.1rem;
    }
    
    .nav-links .dropdown > a::after {
        content: '\f106';
        margin-right: auto;
        margin-left: 10px;
    }
    
    .nav-links .dropdown.active > a::after {
        transform: rotate(180deg);
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: rgba(0, 0, 0, 0.2);
        margin-top: 10px;
        margin-bottom: 10px;
        display: none;
        padding: 10px;
        border-radius: var(--radius-md);
    }
    
    .nav-links .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu a {
        padding: 12px 20px;
        text-align: right;
        font-size: 0.95rem;
    }
    
    .dropdown-menu a:hover {
        transform: none;
    }
    
    .hero {
        padding: 140px 0 60px;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .code-block {
        display: none;
    }
    
    .services-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 30px;
    }
    
    .page-hero {
        padding: 150px 0 80px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .service-card,
    .product-card {
        padding: 30px 25px;
    }
    
    /* Black Box Product Card - Full Width Responsive */
    .product-card[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        padding: 40px 30px !important;
    }
    
    .product-card[style*="grid-template-columns: 1fr 1fr"] h3 {
        font-size: 1.5rem !important;
    }
    
    .product-card[style*="grid-template-columns: 1fr 1fr"] p {
        font-size: 1rem !important;
    }
    
    .product-card[style*="grid-template-columns: 1fr 1fr"] img {
        max-width: 100%;
        height: auto;
    }
    
    .terminal-body {
        font-size: 0.75rem;
        padding: 20px;
    }
    
    .about-content h2 {
        font-size: 2rem;
    }
    
    .code-block {
        display: none;
    }
    
    .decorative-code-lines::before,
    .decorative-code-lines::after {
        opacity: 0.02;
        font-size: 0.5rem;
    }
}

/* ========== Products Page Responsive ========== */
@media (max-width: 1024px) {
    /* Product Description Grid */
    section[style*="grid-template-columns: repeat(auto-fit, minmax(500px, 1fr))"] div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
    /* Product Description Section */
    section[style*="padding: 100px 0"] {
        padding: 60px 0 !important;
    }
    
    section[style*="padding: 120px 0 80px"] {
        padding: 80px 0 50px !important;
    }
    
    /* Product Description Grid */
    section[style*="grid-template-columns: repeat(auto-fit, minmax(500px, 1fr))"] div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    
    /* Title sizes on mobile */
    section h2[style*="font-size: 2rem"] {
        font-size: 1.6rem !important;
    }
    
    section h3[style*="font-size: 1.4rem"] {
        font-size: 1.2rem !important;
    }
    
    /* Paragraph sizes */
    section p[style*="font-size: 1.15rem"] {
        font-size: 1rem !important;
    }
    
    section p[style*="font-size: 1.1rem"] {
        font-size: 0.95rem !important;
    }
    
    /* Button sizes */
    section .btn[style*="padding: 20px 45px"] {
        padding: 16px 30px !important;
        font-size: 1rem !important;
    }
    
    /* Card padding */
    section div[style*="padding: 35px"], section div[style*="padding: 40px"] {
        padding: 25px !important;
    }
}

/* ========== Animations ========== */
/* Ensure content is always visible */
[data-aos] {
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
}
