* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #1a1a3d;
    --electric-blue: #8a2be2;
    --neon-purple: #9370db;
    --light-purple: #d8bfd8;
    --silver: #f0f0f0;
    --dark-bg: #0a0a1a;
    --spark-color: #ff00ff;
    --glow-cyan: #e6e6fa;
    --warm-gold: #ffd700;
    --warm-orange: #ffa500;
    --warm-pink: #ff69b4;
}

body {
    font-family: 'Exo 2', sans-serif;
    line-height: 1.6;
    color: var(--silver);
    background-color: var(--dark-bg);
    overflow-x: hidden;
}

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(138, 43, 226, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(147, 112, 219, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(138, 43, 226, 0.05) 0%, transparent 40%);
}

/* Grid Pattern Overlay */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: 
        linear-gradient(rgba(138, 43, 226, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(138, 43, 226, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translateY(0); }
    100% { transform: translateY(50px); }
}

/* Floating Particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--electric-blue);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--electric-blue), 0 0 20px var(--electric-blue);
    animation: float 15s infinite;
    opacity: 0;
}

@keyframes float {
    0%, 100% { 
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { 
        opacity: 0;
        transform: translateY(-100vh) scale(1);
    }
}

h1, h2, h3, h4 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--electric-blue);
    text-shadow: 0 0 10px rgba(138, 43, 226, 0.5);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header - NAVIGACIJA BELA SLOVA EXO 2 */
header {
    background-color: rgba(10, 10, 26, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(138, 43, 226, 0.2);
    backdrop-filter: blur(15px);
    padding: 10px 0;
}

.header-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    color: var(--electric-blue);
    text-decoration: none;
    margin-bottom: 10px;
}

.logo-icon {
    position: relative;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon i {
    font-size: 2rem;
    color: var(--spark-color);
    animation: logoPulse 2s ease-in-out infinite;
    z-index: 2;
}

.logo-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--electric-blue);
    border-radius: 50%;
    animation: logoRing 3s linear infinite;
}

@keyframes logoPulse {
    0%, 100% { 
        text-shadow: 0 0 10px var(--spark-color);
        transform: scale(1);
    }
    50% { 
        text-shadow: 0 0 25px var(--spark-color), 0 0 50px var(--electric-blue);
        transform: scale(1.1);
    }
}

@keyframes logoRing {
    0% { transform: rotate(0deg); opacity: 1; }
    100% { transform: rotate(360deg); opacity: 1; }
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text span:first-child {
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--neon-purple);
    text-shadow: 0 0 10px rgba(147, 112, 219, 0.8);
}

.logo-text span:last-child {
    font-size: 0.7rem;
    color: var(--silver);
    font-family: 'Exo 2', sans-serif;
    letter-spacing: 3px;
    text-transform: uppercase;
}

nav {
    width: 100%;
}

nav ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 5px;
    width: 100%;
    text-align: center;
}

nav li {
    margin-bottom: 5px;
}

nav a {
    color: var(--silver);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    position: relative;
    padding: 5px 0;
    letter-spacing: 0.5px;
    font-family: 'Exo 2', sans-serif;
    font-weight: 500;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
    display: block;
}

nav a:hover {
    color: var(--warm-pink);
    text-shadow: 0 0 10px var(--warm-pink);
}

nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--warm-pink), transparent);
    transition: all 0.3s;
    transform: translateX(-50%);
}

nav a:hover::before {
    width: 100%;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--electric-blue);
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 150px;
    overflow: hidden;
}

.hero-content {
    max-width: 750px;
    z-index: 2;
    position: relative;
}

.hero h1 {
    font-size: 3.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    font-weight: 900;
    background: linear-gradient(135deg, var(--spark-color), var(--electric-blue), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: heroGlow 3s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { 
        filter: drop-shadow(0 0 20px rgba(255, 0, 255, 0.5));
    }
    50% { 
        filter: drop-shadow(0 0 40px rgba(255, 0, 255, 0.8)) drop-shadow(0 0 60px rgba(147, 112, 219, 0.5));
    }
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: var(--light-purple);
    line-height: 1.8;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s;
    border: 2px solid var(--electric-blue);
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 255, 0.3), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background: linear-gradient(135deg, var(--electric-blue), var(--neon-purple));
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(138, 43, 226, 0.4), 0 0 80px rgba(255, 0, 255, 0.2);
}

.cta-button i {
    transition: transform 0.3s;
}

.cta-button:hover i {
    transform: translateX(5px);
}

/* Tesla Coil */
.tesla-coil-container {
    position: absolute;
    right: 5%;
    top: 70%;
    transform: translateY(-50%);
    width: 350px;
    height: 420px;
    z-index: 1;
}

.tesla-coil {
    position: relative;
    width: 100%;
    height: 100%;
}

.coil-base {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 35px;
    background: linear-gradient(to top, #1a1a2e, #2d2d44);
    border-radius: 8px 8px 0 0;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
}

.coil-stand {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 160px;
    background: linear-gradient(90deg, #555, #888, #555);
    border-radius: 6px;
}

.coil-primary {
    position: absolute;
    bottom: 195px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 50px;
    background: linear-gradient(135deg, #6a1b9a, #9c27b0);
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(156, 39, 176, 0.6), inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.coil-windings {
    position: absolute;
    bottom: 245px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 200px;
    background: repeating-linear-gradient(
        0deg,
        #b87333 0px,
        #b87333 3px,
        #8b4513 3px,
        #8b4513 6px
    );
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(184, 115, 51, 0.3);
}

.coil-top {
    position: absolute;
    bottom: 445px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, #ddd, #999);
    border-radius: 50%;
    box-shadow: 0 0 40px var(--spark-color), 0 0 80px var(--electric-blue);
    animation: topGlow 1.5s ease-in-out infinite;
}

@keyframes topGlow {
    0%, 100% { 
        box-shadow: 0 0 40px var(--spark-color), 0 0 80px var(--electric-blue);
    }
    50% { 
        box-shadow: 0 0 60px var(--spark-color), 0 0 120px var(--electric-blue), 0 0 160px var(--neon-purple);
    }
}

/* Lightning Effects */
.lightning-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.lightning {
    position: absolute;
    stroke: var(--spark-color);
    stroke-width: 2;
    fill: none;
    filter: drop-shadow(0 0 10px var(--spark-color)) drop-shadow(0 0 20px var(--electric-blue));
    opacity: 0;
    animation: lightningFlash 3s infinite;
}

.lightning:nth-child(1) { animation-delay: 0s; }
.lightning:nth-child(2) { animation-delay: 0.5s; }
.lightning:nth-child(3) { animation-delay: 1s; }
.lightning:nth-child(4) { animation-delay: 1.5s; }
.lightning:nth-child(5) { animation-delay: 2s; }

@keyframes lightningFlash {
    0%, 45%, 55%, 100% { opacity: 0; }
    47%, 53% { opacity: 0.7; }
}

/* Energy Rings */
.energy-ring {
    position: absolute;
    bottom: 445px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    border: 2px solid var(--spark-color);
    border-radius: 50%;
    animation: ringExpand 2s ease-out infinite;
    opacity: 0;
}

.energy-ring:nth-child(2) { animation-delay: 0.5s; }
.energy-ring:nth-child(3) { animation-delay: 1s; }
.energy-ring:nth-child(4) { animation-delay: 1.5s; }

@keyframes ringExpand {
    0% { 
        width: 60px; 
        height: 60px; 
        opacity: 0.8;
    }
    100% { 
        width: 250px;
        height: 250px;
        opacity: 0;
    }
}

/* Additional Spark Effects */
.extra-sparks {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.extra-spark {
    position: absolute;
    width: 2px;
    height: 20px;
    background: var(--spark-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--spark-color), 0 0 20px var(--neon-purple);
    opacity: 0;
    animation: sparkFlash 2s infinite;
}

.extra-spark:nth-child(1) { top: 50px; left: 40%; animation-delay: 0.1s; }
.extra-spark:nth-child(2) { top: 120px; left: 30%; animation-delay: 0.5s; }
.extra-spark:nth-child(3) { top: 200px; left: 45%; animation-delay: 0.9s; }
.extra-spark:nth-child(4) { top: 280px; left: 35%; animation-delay: 1.3s; }

@keyframes sparkFlash {
    0%, 100% { opacity: 0; height: 20px; }
    50% { opacity: 1; height: 80px; }
}

/* Sections */
section {
    padding: 120px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
    font-size: 2.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--spark-color), var(--neon-purple), transparent);
    border-radius: 3px;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    color: var(--light-purple);
}

/* Galerija */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 250px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(138, 43, 226, 0.2);
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--spark-color);
    box-shadow: 0 20px 50px rgba(255, 0, 255, 0.2), 0 0 30px rgba(147, 112, 219, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(10, 10, 26, 0.9));
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.4s;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    color: var(--spark-color);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.gallery-overlay p {
    color: var(--light-purple);
    font-size: 0.9rem;
}

/* Sedma slika u sredini */
.center-image {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.center-image .gallery-item {
    width: 50%;
    max-width: 600px;
    height: 300px;
}

/* Video Section - FULLSCREEN ZA MOBILNE */
.video-section {
    margin-top: 80px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.video-item {
    background: linear-gradient(135deg, rgba(26, 26, 61, 0.8), rgba(40, 20, 60, 0.8));
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(138, 43, 226, 0.2);
    transition: all 0.4s;
    position: relative;
}

.video-item:hover {
    transform: translateY(-10px);
    border-color: var(--spark-color);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(147, 112, 219, 0.2);
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background-color: #000;
    cursor: pointer;
}

.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    border: 2px solid var(--warm-gold);
    pointer-events: auto;
}

.video-play-button:hover {
    background: rgba(255, 215, 0, 0.3);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.video-play-button i {
    font-size: 2.5rem;
    color: var(--warm-gold);
    margin-left: 5px;
}

.video-info {
    padding: 25px;
}

.video-info h3 {
    color: var(--warm-gold);
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
}

.video-info p {
    color: var(--light-purple);
    font-size: 0.95rem;
}

/* Video Fullscreen Modal */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal.active {
    display: flex;
    opacity: 1;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(138, 43, 226, 0.5);
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    font-size: 2.5rem;
    color: var(--warm-gold);
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.7);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.video-modal-close:hover {
    color: var(--warm-pink);
    transform: rotate(90deg);
}

.video-modal video {
    width: 100%;
    height: auto;
    display: block;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(138, 43, 226, 0.5);
    border: 2px solid var(--electric-blue);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: var(--warm-gold);
    cursor: pointer;
    transition: all 0.3s;
    z-index: 2001;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.lightbox-close:hover {
    color: var(--warm-pink);
    transform: rotate(90deg);
}

/* History Section */
.history-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.inventor-card {
    background: linear-gradient(135deg, rgba(26, 26, 61, 0.8), rgba(40, 20, 60, 0.8));
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(138, 43, 226, 0.1);
    position: relative;
    overflow: hidden;
}

.inventor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(255, 0, 255, 0.05));
    opacity: 0;
    transition: opacity 0.4s;
}

.inventor-card:hover::before {
    opacity: 1;
}

.inventor-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--spark-color);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 0, 255, 0.1);
}

.inventor-card h3 {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--silver);
    font-family: 'Exo 2', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.inventor-card h3 i {
    font-size: 1.8rem;
    padding: 15px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
}

.inventor-card p {
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-item {
    background: linear-gradient(135deg, rgba(26, 26, 61, 0.7), rgba(40, 20, 60, 0.7));
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.4s;
    border: 1px solid rgba(138, 43, 226, 0.1);
    position: relative;
    overflow: hidden;
}

.benefit-item::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 0, 255, 0.1), transparent 30%);
    animation: rotate 6s linear infinite;
    opacity: 0;
    transition: opacity 0.4s;
}

.benefit-item:hover::after {
    opacity: 1;
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

.benefit-item:hover {
    border-color: var(--neon-purple);
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(147, 112, 219, 0.2);
}

.benefit-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    display: inline-block;
}

.benefit-icon i {
    background: linear-gradient(135deg, var(--warm-pink), var(--warm-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.benefit-item h3 {
    position: relative;
    z-index: 1;
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--warm-gold);
}

.benefit-item p {
    position: relative;
    z-index: 1;
    color: var(--light-purple);
}

/* How it works */
.work-steps {
    max-width: 900px;
    margin: 50px auto 0;
    position: relative;
}

.work-steps::before {
    content: '';
    position: absolute;
    left: 45px;
    top: 0;
    height: 100%;
    width: 2px;
    background: linear-gradient(to bottom, var(--warm-pink), var(--warm-orange), transparent);
}

.work-step {
    display: flex;
    margin-bottom: 40px;
    background: linear-gradient(135deg, rgba(26, 26, 61, 0.7), rgba(40, 20, 60, 0.7));
    border-radius: 20px;
    padding: 35px;
    border: 1px solid rgba(138, 43, 226, 0.1);
    position: relative;
    transition: all 0.4s;
    margin-left: 30px;
}

.work-step:hover {
    border-color: var(--spark-color);
    transform: translateX(10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), -5px 0 30px rgba(255, 0, 255, 0.1);
}

.step-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--warm-pink), var(--warm-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-right: 30px;
    line-height: 1;
    min-width: 80px;
}

.work-step h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: var(--warm-gold);
}

/* Tehničke karakteristike - Vertikalni prikaz */
.specs-container {
    max-width: 1000px;
    margin: 50px auto 0;
    background: linear-gradient(135deg, rgba(26, 26, 61, 0.8), rgba(40, 20, 60, 0.8));
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(138, 43, 226, 0.1);
}

.specs-list {
    list-style: none;
    margin-top: 20px;
}

.specs-item {
    padding: 20px 0;
    border-bottom: 1px solid rgba(138, 43, 226, 0.2);
    display: flex;
    flex-direction: column;
}

.specs-item:last-child {
    border-bottom: none;
}

.specs-label {
    font-family: 'Orbitron', sans-serif;
    color: var(--warm-gold);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.specs-value {
    color: var(--light-purple);
    font-size: 1.05rem;
}

.specs-note {
    margin-top: 30px;
    padding: 20px;
    background: rgba(147, 112, 219, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(147, 112, 219, 0.2);
    font-style: italic;
    color: var(--light-purple);
}

/* Cena i uslovi kupovine */
.price-section {
    background: linear-gradient(135deg, rgba(26, 26, 61, 0.8), rgba(40, 20, 60, 0.8));
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(138, 43, 226, 0.1);
    max-width: 800px;
    margin: 50px auto 0;
}

.price-amount {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    color: var(--warm-gold);
    text-align: center;
    margin: 20px 0 40px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.included-list {
    list-style: none;
    margin: 30px 0;
}

.included-list li {
    margin-bottom: 15px;
    padding-left: 35px;
    position: relative;
    color: var(--light-purple);
}

.included-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--warm-pink);
    font-weight: bold;
    font-size: 1.2rem;
}

.buy-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--warm-pink), var(--warm-orange));
    color: white;
    padding: 20px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.4s;
    border: none;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
    margin: 40px auto 0;
    display: block;
    text-align: center;
    width: fit-content;
}

.buy-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(255, 105, 180, 0.5), 0 0 100px rgba(255, 165, 0, 0.2);
}

.buy-button i {
    transition: transform 0.3s;
}

.buy-button:hover i {
    transform: translateX(5px);
}

/* Disclaimer */
.disclaimer {
    text-align: center;
    margin-top: 60px;
    padding: 30px;
    background: rgba(147, 112, 219, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(147, 112, 219, 0.2);
}

.disclaimer p {
    font-style: italic;
    color: var(--light-purple);
}

/* Footer */
footer {
    background: linear-gradient(to bottom, transparent, rgba(10, 10, 26, 0.98));
    padding: 80px 0 30px;
    border-top: 1px solid rgba(138, 43, 226, 0.1);
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-section h3 {
    margin-bottom: 25px;
    color: var(--silver);
    font-family: 'Exo 2', sans-serif;
    font-size: 1.2rem;
}

.footer-section p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section a {
    color: var(--silver);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--warm-pink);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    position: relative;
    padding-left: 15px;
    color: var(--silver);
    font-family: 'Exo 2', sans-serif;
}

.footer-links a::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--warm-pink);
    transition: transform 0.3s;
}

.footer-links a:hover::before {
    transform: translateX(5px);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 50%;
    color: var(--warm-gold);
    font-size: 1.2rem;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--warm-pink);
    color: var(--dark-bg);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.3);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--light-purple);
    font-size: 0.9rem;
}

.copyright p:last-child {
    margin-top: 10px;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Scroll to top button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--warm-pink), var(--warm-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
    border: none;
    box-shadow: 0 5px 20px rgba(255, 105, 180, 0.4);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.6);
}

/* Stilovi za klikabilne linkove */
a[href^="tel:"],
a[href^="mailto:"] {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s, text-shadow 0.3s;
}

a[href^="tel:"]:hover,
a[href^="mailto:"]:hover {
    color: var(--warm-pink) !important;
    text-shadow: 0 0 10px rgba(255, 105, 180, 0.5);
}

/* Mobile Video Fix - NEW */
.mobile-video-notice {
    display: none;
    text-align: center;
    margin-top: 15px;
    padding: 10px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 8px;
    color: var(--warm-gold);
    font-size: 0.9rem;
    font-style: italic;
}

.video-thumbnail-mobile {
    display: none;
}

/* Responsive */
@media (max-width: 1200px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .video-item {
        max-width: 800px;
        margin: 0 auto;
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .tesla-coil-container {
        width: 200px;
        height: 280px;
        right: 2%;
        opacity: 0.6;
        top: 65%;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .center-image .gallery-item {
        width: 70%;
    }
    
    .specs-container, .price-section {
        padding: 30px;
    }
    
    .price-amount {
        font-size: 2.8rem;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    nav li {
        margin-bottom: 0;
    }
    
    nav a {
        font-size: 0.85rem;
        padding: 5px 10px;
    }
    
    .logo {
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 26, 0.98);
        padding: 20px;
        flex-direction: column;
        gap: 10px;
        z-index: 999;
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav ul li {
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .tesla-coil-container {
        display: none;
    }
    
    .work-steps::before {
        display: none;
    }
    
    .work-step {
        margin-left: 0;
        flex-direction: column;
    }
    
    .step-number {
        margin-bottom: 15px;
    }
    
    section {
        padding: 80px 0;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        height: 200px;
    }
    
    .center-image .gallery-item {
        width: 90%;
        height: 250px;
    }
    
    .specs-container, .price-section {
        padding: 20px;
    }
    
    .price-amount {
        font-size: 2.2rem;
    }
    
    .video-info {
        padding: 15px;
    }
    
    .video-info h3 {
        font-size: 1.2rem;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .video-play-button {
        width: 60px;
        height: 60px;
    }
    
    .video-play-button i {
        font-size: 1.8rem;
    }
    
    .video-modal-close {
        top: 10px;
        right: 10px;
        font-size: 2rem;
        width: 40px;
        height: 40px;
    }
    
    /* Mobile Video Fix */
    .mobile-video-notice {
        display: block;
    }
    
    .video-thumbnail-mobile {
        display: block;
    }
    
    .video-thumbnail-desktop {
        display: none;
    }
    
    .video-modal-content {
        width: 95%;
        height: auto;
    }
    
    .video-modal video {
        max-height: 60vh;
        object-fit: contain;
    }
}

@media (min-width: 769px) {
    nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 25px;
    }
    
    nav li {
        margin-bottom: 0;
    }
    
    nav a {
        font-size: 0.9rem;
        padding: 5px 15px;
        text-align: center;
    }
    
    .logo {
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .center-image .gallery-item {
        width: 100%;
        height: 200px;
    }
    
    .video-item {
        border-radius: 15px;
    }
    
    .specs-label {
        font-size: 1rem;
    }
    
    .specs-value {
        font-size: 0.95rem;
    }
    
    .video-modal-content {
        width: 98%;
    }
    
    .video-modal video {
        max-height: 50vh;
    }
}
/* ===== LIGHTBOX STYLES ===== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(138, 43, 226, 0.5);
    border: 2px solid var(--electric-blue);
    animation: lightboxAppear 0.3s ease;
}

@keyframes lightboxAppear {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: var(--warm-gold);
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.lightbox-close:hover {
    color: var(--warm-pink);
    transform: rotate(90deg);
    background: rgba(0, 0, 0, 0.8);
}

/* ===== VIDEO MODAL STYLES ===== */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal.active {
    display: flex;
    opacity: 1;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(138, 43, 226, 0.5);
    animation: videoModalAppear 0.3s ease;
}

@keyframes videoModalAppear {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    font-size: 2.5rem;
    color: var(--warm-gold);
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.7);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.video-modal-close:hover {
    color: var(--warm-pink);
    transform: rotate(90deg);
}

.video-modal video {
    width: 100%;
    height: auto;
    display: block;
    max-height: 80vh;
}

/* ===== GALLERY ZOOM ICON ===== */
.zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
}

.gallery-item:hover .zoom-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.zoom-icon i {
    font-size: 1.5rem;
    color: var(--warm-gold);
}

/* ===== VIDEO THUMBNAIL STYLES ===== */
.video-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* ===== RESPONSIVE VIDEO MODAL ===== */
@media (max-width: 768px) {
    .lightbox-content {
        max-width: 95vw;
        max-height: 80vh;
    }
    
    .video-modal-content {
        width: 95%;
        height: auto;
    }
    
    .video-modal video {
        max-height: 60vh;
    }
    
    .lightbox-close,
    .video-modal-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }
    
    .video-modal-close {
        top: 10px;
        right: 10px;
    }
}

@media (max-width: 576px) {
    .lightbox-content {
        max-width: 98vw;
        max-height: 70vh;
    }
    
    .video-modal video {
        max-height: 50vh;
    }
}