/* ============================================
   HERO SLIDER CSS - COMPLETE WITH 8 ANIMATIONS
   ============================================ */

/* Reset & Base Styles */
:root {
    --primary-dark: #0a192f;
    --primary-blue: #1a365d;
    --accent-cyan: #00b4d8;
    --accent-green: #00ff88;
    --accent-red: #ff6b6b;
    --accent-purple: #7209b7;
    --accent-yellow: #f0db4f;
    --white: #ffffff;
    --black: #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Hero Container */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
    background: var(--primary-dark);
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Slide Base Styles */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.2s;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Overlay for better text readability */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(10, 25, 47, 0.85) 0%,
        rgba(10, 25, 47, 0.6) 50%,
        rgba(10, 25, 47, 0.3) 100%
    );
    z-index: 2;
}

/* Content Styling */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    height: 100%;
}

.slide-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 0 100px;
    max-width: 800px;
}

.slide-badge {
    display: inline-block;
    background: rgba(0, 180, 216, 0.95);
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease 0.3s both;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.slide-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--white);
    animation: fadeInUp 0.8s ease 0.5s both;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.slide-title .highlight {
    color: var(--accent-cyan);
    position: relative;
    display: inline-block;
}

.slide-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(0, 180, 216, 0.3);
    z-index: -1;
}

.slide-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
    animation: fadeInUp 0.8s ease 0.7s both;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.slide-stats {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    animation: fadeInUp 0.8s ease 1.1s both;
}

.stat {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-cyan);
    font-size: 14px;
    font-weight: 500;
}

.stat i {
    font-size: 18px;
}

/* Animation Containers */
.animation-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

/* ============================================
   1. MATRIX CODE RAIN ANIMATION
   ============================================ */
.matrix-animation {
    background: #000;
}

#matrixCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.matrix-char {
    position: absolute;
    color: #0f0;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    text-shadow: 0 0 5px #0f0;
    opacity: 0;
    animation: matrixFall linear infinite;
}

@keyframes matrixFall {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    95% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

/* ============================================
   2. HACKING TERMINAL ANIMATION
   ============================================ */
.hacking-animation {
    background: #0a192f;
    display: flex;
    align-items: center;
    justify-content: center;
}

.terminal {
    width: 80%;
    max-width: 800px;
    height: 400px;
    background: rgba(0, 20, 40, 0.9);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(0, 255, 0, 0.3);
    z-index: 2;
    position: relative;
}

.terminal-header {
    background: #111;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
}

.terminal-buttons {
    display: flex;
    gap: 8px;
}

.terminal-buttons span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.close { background: #ff5f56; }
.minimize { background: #ffbd2e; }
.maximize { background: #27ca3f; }

.terminal-title {
    color: #0f0;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

.terminal-content {
    padding: 20px;
    color: #0f0;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.6;
    height: calc(100% - 50px);
    overflow: hidden;
    position: relative;
}

.terminal-line {
    margin-bottom: 5px;
    opacity: 0;
    animation: typeIn 0.1s forwards;
}

@keyframes typeIn {
    to { opacity: 1; }
}

.cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background: #0f0;
    margin-left: 2px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hacking-glitch {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(0, 255, 0, 0.1) 50%, transparent 70%);
    animation: glitch 3s infinite;
    z-index: 1;
}

@keyframes glitch {
    0%, 100% { transform: translateX(0); opacity: 0.1; }
    10% { transform: translateX(-2px); opacity: 0.3; }
    20% { transform: translateX(2px); opacity: 0.1; }
    30% { transform: translateX(-1px); opacity: 0.2; }
    40% { transform: translateX(1px); opacity: 0.1; }
}

/* ============================================
   3. CYBERSECURITY ANIMATION
   ============================================ */
.cybersecurity-animation {
    background: #001122;
}

#cyberCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.cyber-nodes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.cyber-node {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--accent-cyan);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; }
}

.cyber-shield {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 100px;
    color: var(--accent-cyan);
    text-shadow: 0 0 30px var(--accent-cyan);
    animation: rotateShield 20s linear infinite;
    z-index: 3;
}

@keyframes rotateShield {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ============================================
   4. DEVELOPMENT ANIMATION
   ============================================ */
.development-animation {
    background: #1a1a2e;
    display: flex;
    align-items: center;
    justify-content: center;
}

.code-editor {
    width: 70%;
    max-width: 700px;
    height: 350px;
    background: #1e1e1e;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(0, 150, 255, 0.3);
    z-index: 2;
}

.editor-header {
    background: #252526;
    padding: 12px 20px;
    border-bottom: 1px solid #333;
}

.file-name {
    color: #fff;
    font-family: 'Consolas', monospace;
    font-size: 14px;
}

.editor-content {
    padding: 20px;
    height: calc(100% - 50px);
    overflow: auto;
}

.editor-content pre {
    margin: 0;
    color: #d4d4d4;
    font-family: 'Consolas', monospace;
    font-size: 14px;
    line-height: 1.6;
}

.code-line {
    opacity: 0;
    animation: typeCode 0.5s forwards;
}

@keyframes typeCode {
    to { opacity: 1; }
}

.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.floating-icons i {
    position: absolute;
    font-size: 40px;
    color: rgba(0, 180, 216, 0.5);
    animation: floatIcon 15s infinite linear;
}

.floating-icons i:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    color: var(--accent-yellow);
}

.floating-icons i:nth-child(2) {
    top: 60%;
    left: 15%;
    animation-delay: -3s;
    color: #3776ab;
}

.floating-icons i:nth-child(3) {
    top: 30%;
    right: 15%;
    animation-delay: -6s;
    color: #007396;
}

.floating-icons i:nth-child(4) {
    top: 70%;
    right: 20%;
    animation-delay: -9s;
    color: #61dafb;
}

.floating-icons i:nth-child(5) {
    top: 50%;
    left: 50%;
    animation-delay: -12s;
    color: #68a063;
}

@keyframes floatIcon {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(30px, 30px) rotate(90deg);
    }
    50% {
        transform: translate(0, 60px) rotate(180deg);
    }
    75% {
        transform: translate(-30px, 30px) rotate(270deg);
    }
}

/* ============================================
   5. HARDWARE CIRCUIT ANIMATION
   ============================================ */
.hardware-animation {
    background: #000;
}

#circuitCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.circuit-components {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.cpu, .ram, .gpu {
    position: absolute;
    font-size: 60px;
    color: var(--accent-red);
    text-shadow: 0 0 20px var(--accent-red);
    animation: componentGlow 3s infinite alternate;
}

.cpu {
    top: 30%;
    left: 20%;
}

.ram {
    top: 60%;
    left: 70%;
}

.gpu {
    top: 40%;
    left: 60%;
}

@keyframes componentGlow {
    0% {
        filter: drop-shadow(0 0 5px currentColor);
        transform: scale(1);
    }
    100% {
        filter: drop-shadow(0 0 20px currentColor);
        transform: scale(1.1);
    }
}

.electric-pulses {
    position: absolute;
    width: 100%;
    height: 100%;
}

.pulse {
    position: absolute;
    width: 4px;
    height: 100px;
    background: var(--accent-green);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--accent-green);
    animation: electricPulse 1s linear infinite;
}

@keyframes electricPulse {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

/* ============================================
   6. NETWORKING ANIMATION
   ============================================ */
.networking-animation {
    background: #0c0c0c;
}

#networkCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.network-devices {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.server, .router, .switch {
    position: absolute;
    font-size: 50px;
    color: #4cc9f0;
    text-shadow: 0 0 20px #4cc9f0;
    animation: devicePulse 2s infinite;
}

.server {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.router {
    top: 60%;
    left: 40%;
    animation-delay: 0.5s;
}

.switch {
    top: 30%;
    left: 70%;
    animation-delay: 1s;
}

@keyframes devicePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.data-packets {
    position: absolute;
    width: 100%;
    height: 100%;
}

.packet {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #4361ee;
    border-radius: 50%;
    box-shadow: 0 0 10px #4361ee;
    animation: movePacket 3s linear infinite;
}

@keyframes movePacket {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translate(200px, 200px);
        opacity: 0;
    }
}

/* ============================================
   7. GRAPHICS DESIGN ANIMATION
   ============================================ */
.graphics-animation {
    background: linear-gradient(45deg, 
        #ff6b6b, #4ecdc4, #45b7d1, 
        #96ceb4, #feca57, #ff9ff3);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.color-palette {
    position: absolute;
    top: 20%;
    left: 10%;
    width: 200px;
    height: 200px;
    background: conic-gradient(
        red, yellow, lime, aqua, 
        blue, magenta, red
    );
    border-radius: 50%;
    animation: rotatePalette 20s linear infinite;
    filter: blur(10px);
    opacity: 0.7;
}

@keyframes rotatePalette {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.design-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    border: 2px solid white;
    animation: floatShape 20s infinite ease-in-out;
}

.shape.circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    top: 30%;
    right: 20%;
    animation-delay: 0s;
}

.shape.square {
    width: 120px;
    height: 120px;
    top: 60%;
    left: 20%;
    animation-delay: -5s;
}

.shape.triangle {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    top: 40%;
    left: 50%;
    animation-delay: -10s;
}

@keyframes floatShape {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, 50px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 30px) rotate(240deg);
    }
}

.brush-strokes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.brush-stroke {
    position: absolute;
    height: 4px;
    background: white;
    border-radius: 2px;
    transform-origin: left center;
    animation: brushPaint 3s infinite;
}

@keyframes brushPaint {
    0% {
        transform: scaleX(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: scaleX(1);
        opacity: 0;
    }
}

/* ============================================
   8. DATA VISUALIZATION ANIMATION
   ============================================ */
.data-animation {
    background: #2d3047;
}

#dataCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.data-charts {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    z-index: 2;
}

.chart {
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.bar-chart::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 20%;
    height: 60%;
    background: var(--accent-red);
    animation: barGrow 3s infinite alternate;
}

.bar-chart::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 40%;
    width: 20%;
    height: 80%;
    background: #4ecdc4;
    animation: barGrow 3s infinite alternate 0.5s;
}

@keyframes barGrow {
    0% { height: 20%; }
    100% { height: 80%; }
}

.data-stream {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.stream-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-purple), transparent);
    animation: streamFlow 2s linear infinite;
}

@keyframes streamFlow {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateX(100vw);
        opacity: 0;
    }
}

/* ============================================
   SLIDER CONTROLS
   ============================================ */
.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 1000;
    pointer-events: none;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    padding: 0;
    outline: none;
    border: none;
    pointer-events: auto;
    z-index: 1001;
}

.slider-nav:hover {
    background: rgba(0, 180, 216, 0.9);
    border-color: var(--accent-cyan);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 180, 216, 0.5);
}

.slider-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.slider-nav.prev {
    left: 30px;
}

.slider-nav.next {
    right: 30px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 1000;
    pointer-events: auto;
}

.dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: blur(5px);
    outline: none;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: scale(1.1);
}

.dot.active {
    background: var(--accent-cyan);
    color: white;
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(0, 180, 216, 0.7);
}

.dot.active:hover {
    background: var(--accent-cyan);
    transform: scale(1.4);
}

/* Autoplay Progress */
.autoplay-progress {
    position: absolute;
    bottom: 40px;
    right: 30px;
    width: 48px;
    height: 48px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--accent-cyan);
}

.autoplay-progress svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.autoplay-progress circle {
    fill: none;
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 3;
    stroke-linecap: round;
}

.autoplay-progress circle:last-child {
    stroke: var(--accent-cyan);
    stroke-dasharray: 138.16;
    stroke-dashoffset: 138.16;
    transition: stroke-dashoffset 0.5s ease;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    animation: bounce 2s infinite;
    pointer-events: auto;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    padding-top: 10px;
    margin: 0 auto 10px;
    backdrop-filter: blur(5px);
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--accent-cyan);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

.arrow {
    text-align: center;
    color: var(--accent-cyan);
    font-size: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

@keyframes scroll {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(15px);
        opacity: 0;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .slide-content {
        max-width: 700px;
    }
}

@media (max-width: 992px) {
    .slide-content {
        padding: 100px 0 80px;
        max-width: 600px;
        text-align: center;
        align-items: center;
    }
    
    .slide-description {
        text-align: center;
    }
    
    .slide-stats {
        justify-content: center;
    }
    
    .slider-nav {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
    
    .slider-nav.prev {
        left: 20px;
    }
    
    .slider-nav.next {
        right: 20px;
    }
    
    .terminal,
    .code-editor {
        width: 90%;
        height: 300px;
    }
    
    .floating-icons i {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 500px;
        max-height: 700px;
    }
    
    .slide-content {
        padding: 80px 0 60px;
    }
    
    .slide-title {
        font-size: clamp(2rem, 4vw, 3rem);
    }
    
    .slide-description {
        font-size: 1rem;
        background: rgba(10, 25, 47, 0.7);
        padding: 15px;
        border-radius: 10px;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .slider-dots {
        bottom: 30px;
    }
    
    .dot {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .terminal,
    .code-editor {
        height: 250px;
    }
    
    .data-charts {
        gap: 20px;
    }
    
    .chart {
        width: 100px;
        height: 100px;
    }
    
    .cyber-shield {
        font-size: 70px;
    }
    
    .cpu, .ram, .gpu {
        font-size: 40px;
    }
    
    .server, .router, .switch {
        font-size: 35px;
    }
    
    .color-palette {
        width: 150px;
        height: 150px;
    }
    
    .autoplay-progress {
        display: none;
    }
    
    .slide-overlay {
        background: linear-gradient(
            90deg,
            rgba(10, 25, 47, 0.9) 0%,
            rgba(10, 25, 47, 0.7) 100%
        );
    }
}

@media (max-width: 576px) {
    .slide-content {
        padding: 60px 0 40px;
    }
    
    .slider-nav {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .slider-nav.prev {
        left: 10px;
    }
    
    .slider-nav.next {
        right: 10px;
    }
    
    .slider-dots {
        bottom: 20px;
        gap: 8px;
    }
    
    .dot {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    .slide-badge {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .terminal,
    .code-editor {
        height: 200px;
    }
    
    .data-charts {
        flex-direction: column;
        gap: 15px;
    }
    
    .chart {
        width: 80px;
        height: 80px;
    }
    
    .floating-icons i {
        font-size: 20px;
    }
    
    .scroll-indicator {
        display: none;
    }
}

/* Tablet Landscape */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .hero {
        height: 80vh;
        min-height: 400px;
    }
    
    .slide-content {
        padding: 60px 0 40px;
    }
    
    .slide-title {
        font-size: 2.5rem;
    }
    
    .slide-description {
        font-size: 1rem;
        max-width: 500px;
    }
}

/* High-resolution displays */
@media (min-resolution: 192dpi) {
    .slide-title,
    .slide-description {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    }
    
    .matrix-char,
    .terminal-content,
    .editor-content pre {
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .scroll-indicator {
        animation: none;
    }
    
    .wheel {
        animation: none;
    }
    
    .autoplay-progress circle:last-child {
        animation: none;
    }
}