/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #0a0a0a;
  color: #fff;
  font-family: 'Roboto', sans-serif;
  overflow-x: hidden;
}

.neon-text {
  text-shadow: 0 0 10px #00f3ff, 0 0 20px #00f3ff, 0 0 30px #00f3ff;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 15px 20px;
  z-index: 10000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1001;
  position: relative;
}

.menu-btn span {
  width: 100%;
  height: 3px;
  background: #00f3ff;
  transition: 0.3s;
  border-radius: 2px;
}

.nav-links {
  display: flex;
  gap: 15px;
  transition: 0.5s;
}

.nav-links a {
  padding: 12px 25px;
  text-decoration: none;
  font-family: 'Orbitron', sans-serif;
  font-size: 13px;
  border-radius: 8px;
  transition: all 0.3s;
  background: linear-gradient(145deg, #00f3ff, #0066ff);
  color: white !important;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  box-shadow: 0 4px 15px rgba(0, 243, 255, 0.3);
  border: none;
  white-space: nowrap;
}

.nav-links a:hover {
  background: linear-gradient(145deg, #ff00ff, #cc00ff);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 0, 255, 0.4);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .nav { top: 0; }
  .menu-btn { display: flex; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    max-width: 300px;
    background: rgba(0, 0, 0, 0.98);
    flex-direction: column;
    padding: 80px 20px 20px;
    border-left: 2px solid #00f3ff33;
    backdrop-filter: blur(15px);
    align-items: center;
    z-index: 13000; /* above site content */
  }
  .nav-links.active { right: 0; }
  .nav-links a {
    width: 100%;
    font-size: 16px;
    padding: 15px 20px;
  }
  .nav-links a:hover { background: linear-gradient(145deg, #ff00ff, #cc00ff); }
}

.logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 3rem;
  background: linear-gradient(45deg, #00f3ff, #ff00ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(0, 243, 255, 0.5), 0 0 60px rgba(255, 0, 255, 0.5);
  position: relative;
}

/* Hero */
.hero {
  height: 100vh;
  background: linear-gradient(45deg, #000000, #00172e, #000000);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero-logo {
  width: 800px;
  max-width: 100%;
  margin: 0 auto 30px;
  display: block;
  filter: drop-shadow(0 0 30px #00f3ffaa);
  animation: logo-float 3s ease-in-out infinite;
  -webkit-animation: logo-float 3s ease-in-out infinite;
  -moz-animation: logo-float 3s ease-in-out infinite;
  -o-animation: logo-float 3s ease-in-out infinite;
}

@-webkit-keyframes logo-float { 0%, 100% { transform: translateY(0);} 50% { transform: translateY(-20px);} }
@-moz-keyframes logo-float { 0%, 100% { transform: translateY(0);} 50% { transform: translateY(-20px);} }
@-o-keyframes logo-float { 0%, 100% { transform: translateY(0);} 50% { transform: translateY(-20px);} }
@keyframes logo-float { 0%, 100% { transform: translateY(0);} 50% { transform: translateY(-20px);} }

.hero::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, #00f3ff22, transparent);
  animation: rotate 20s linear infinite;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #00f3ff33;
  padding: 20px;
  border-radius: 10px;
  transition: 0.3s;
}

.feature-card:hover { transform: translateY(-5px); background: rgba(0, 243, 255, 0.05); }

.screenshot-section {
  max-width: 1200px;
  margin: 100px auto;
  padding: 20px;
  display: flex;
  gap: 40px;
  align-items: center;
}

.screenshot-frame { flex: 1; border: 3px solid #00f3ff; border-radius: 10px; overflow: hidden; box-shadow: 0 0 30px #00f3ff33; }
.screenshot-frame img { width: 100%; display: block; }

.btn {
  padding: 12px 35px;
  background: linear-gradient(45deg, #00f3ff, #a200ff);
  border: none;
  border-radius: 25px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  text-transform: uppercase;
}

/* Cyber visuals */
.cyber-title { display: none; }
.cyber-subtitle { font-size: 1.5rem; color: #fff; margin: 30px 0; position: relative; text-shadow: 0 0 10px #00f3ff; }
.cyber-grid { position: absolute; width: 100%; height: 100%; background-image: linear-gradient(rgba(0, 243, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 243, 255, 0.05) 1px, transparent 1px); background-size: 30px 30px; pointer-events: none; }
.cyber-particles { position: absolute; width: 100%; height: 100%; pointer-events: none; }

/* Global particles background — fix overflow by avoiding 100vw */
#particles-bg {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100% !important;
  height: 100% !important;
  z-index: 0;
  pointer-events: none;
}

/* Ensure all site content stays above the global particles, but don't affect overlays */
body > *:not(#particles-bg):not(.email-modal-overlay):not(.modal-overlay) { position: relative; }

.cyber-btn { padding: 20px 50px; background: linear-gradient(45deg, #00f3ff, #ff00ff); border: none; border-radius: 50px; color: #000; font-weight: 900; font-size: 1.2rem; text-transform: uppercase; position: relative; overflow: hidden; transition: 0.3s; cursor: pointer; }
.cyber-btn::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent); transition: 0.5s; }
.cyber-btn:hover { transform: scale(1.05); box-shadow: 0 0 50px rgba(0, 243, 255, 0.5); }
.cyber-btn:hover::before { left: 100%; }

@keyframes glitch { 0%{transform:translate(0)}20%{transform:translate(-2px,2px)}40%{transform:translate(-2px,-2px)}60%{transform:translate(2px,2px)}80%{transform:translate(2px,-2px)}100%{transform:translate(0)} }

@media (max-width: 768px) {
  .cyber-title { font-size: 3rem; }
  .cyber-subtitle { font-size: 1rem; }
}

.feature-list { flex: 1; position: relative; padding: 30px; border-radius: 15px; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(10px); border: 1px solid #00f3ff33; box-shadow: 0 0 40px #00f3ff1a; }
.feature-list h2 { font-family: 'Orbitron', sans-serif; color: #00f3ff; font-size: 2.5em; margin-bottom: 30px; }

@keyframes pulse { 0% {opacity: .4; transform: scale(1);} 50% {opacity: 1; transform: scale(1.2);} 100% {opacity: .4; transform: scale(1);} }

@media (max-width: 768px) {
  .feature-list { width: 100%; margin-top: 30px; }
  .feature-list h2 { font-size: 2em; text-align: center; padding-left: 0; }
  .feature-list h2::before { display: none; }
  .feature-list li { padding: 15px; }
  .hero-logo { width: 300px; margin-bottom: 20px; }
}

/* Email modal styles (near-fullscreen, above all) */
.email-modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.3); backdrop-filter: blur(10px); display: none; justify-content: center; align-items: center; z-index: 50000; opacity: 0; transition: opacity 0.3s; }
.email-modal-overlay.active { display: flex; opacity: 1; }
.email-modal { background: linear-gradient(45deg, #000a1f, #00172e); border: 2px solid #00f3ff; border-radius: 16px; padding: clamp(16px, 3vw, 32px); width: 95vw; max-width: 95vw; max-height: 90vh; position: relative; transform: scale(0.98); transition: transform 0.3s; overflow: auto; }
.email-modal-overlay.active .email-modal { transform: scale(1); max-width: 500px; }
.email-modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.email-modal-header h2 { color: #00f3ff; font-family: 'Orbitron', sans-serif; text-shadow: 0 0 15px #00f3ff; margin: 0; font-size: 1.5rem; }
.email-form { display: flex; flex-direction: column; gap: 15px; max-width: 480px; width: 100%; margin: 0 auto; }
.email-input { padding: 12px 15px; background: rgba(255,255,255,0.05); border: 1px solid #00f3ff33; border-radius: 8px; color: #fff; font-size: 16px; outline: none; transition: all 0.3s; }
.email-input:focus { border-color: #00f3ff; box-shadow: 0 0 10px #00f3ff33; }
.email-input::placeholder { color: #888; }
.email-info { font-size: 14px; color: #ccc; line-height: 1.4; }
.email-error { color: #ff6b6b; font-size: 14px; display: none; }
.email-error.show { display: block; }
.email-confirm-btn { padding: 12px 20px; border: none; background: linear-gradient(45deg, #00f3ff, #a200ff); border-radius: 8px; color: #fff; font-weight: 700; cursor: pointer; transition: 0.3s; }
.email-confirm-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 20px rgba(0, 243, 255, 0.2); }

/* Pricing modal (centered card) */
.modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.3); backdrop-filter: blur(10px); display: none; justify-content: center; align-items: center; z-index: 30000; opacity: 0; transition: opacity 0.3s; }
.modal-overlay.active { display: flex; opacity: 1; }
.modal { background: linear-gradient(45deg, #000a1f, #00172e); border: 2px solid #00f3ff; border-radius: 16px; padding: 24px; width: min(95%, 900px); max-height: 40vh; position: relative; transform: none; display: flex; flex-direction: column; overflow: auto; box-shadow: 0 10px 40px rgba(0,0,0,.6); }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.modal-header h2 { color: #00f3ff; font-family: 'Orbitron', sans-serif; text-shadow: 0 0 15px #00f3ff; }
.close-btn { background: none; border: none; color: #ff0000; font-size: 32px; cursor: pointer; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(50px, 1fr)); gap: 15px; }
.price-card { background: rgba(255,255,255,0.05); border: 1px solid #00f3ff33; border-radius: 10px; padding: 20px; text-align: center; box-shadow: 0 0 10px #00f3ff22; }
.price-card h3 { margin: 0 0 10px; color: #fff; font-family: 'Orbitron', sans-serif; }
.price { color: #00f3ff; font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.buy-btn { background: linear-gradient(45deg, #00f3ff, #a200ff); border: none; border-radius: 8px; color: white; padding: 10px 25px; cursor: pointer; transition: 0.3s; width: 100%; }
.buy-btn:hover { transform: scale(1.05); box-shadow: 0 0 15px #00f3ff55; }

@media (max-width: 480px) {
  .modal { padding: 20px; max-height: 65vh; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .price-card { padding: 15px; }
  .price { font-size: 20px; }
}

/* Ukraine overlay and banner */
.ukraine-warning-banner { position: fixed; top: 0; left: 0; right: 0; background: linear-gradient(135deg, #ffffff 0%, #ffffff 33%, #0033a0 33%, #0033a0 66%, #d52b1e 66%, #d52b1e 100%); color: #000; padding: 8px 16px; z-index: 20030; border-bottom: 2px solid #ff0000; display: none; text-align: center; min-height: 36px; display: flex; z-index:0; align-items: center; justify-content: center; }
body.has-warning-banner .nav { top: 4px; }
#ukraine-block-overlay { display: none; position: fixed; z-index: 20040; inset: 0; background: rgba(0,0,0,.95); color: #fff; align-items: center; justify-content: center; text-align: center; padding: 20px; }

/* Video section design */
.video-section { padding: 80px 20px; }
.video-container { max-width: 1200px; margin: 0 auto; display: grid; gap: 30px; }
@media (min-width: 992px) { .video-container { grid-template-columns: 1fr 1fr; } }
@media (max-width: 991.98px) { .video-container { grid-template-columns: 1fr; } }
.video-card { position: relative; border-radius: 15px; overflow: hidden; box-shadow: 0 0 30px #00f3ff33; border: 1px solid #00f3ff33; background: rgba(255,255,255,0.03); }
.video-card video { width: 100%; height: auto; display: block; }
.video-label { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,0.8); padding: 12px 16px; text-align: center; font-family: 'Orbitron', sans-serif; font-weight: 700; letter-spacing: .5px; }

/* Footer design */
.site-footer { background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,10,25,0.9) 20%, rgba(0,10,25,1) 100%);  padding: 40px 20px; text-align: center; margin-top: 80px; }
.site-footer p { margin: 0 0 10px; color: #bbb; font-size: 14px; }
.site-footer a { color: #00f3ff; text-decoration: none; font-weight: 600; }
.site-footer a:hover { text-decoration: underline; }

/* Media elements responsiveness */
img, video { max-width: 100%; height: auto; display: block; }

/* Utility containers if needed */
.container-custom { max-width: 1200px; margin: 0 auto; padding: 0 15px; }


/* Center the cyber hero section */
.cyber-hero {
  /* min-height: 100vh;*/
   display: flex;
   align-items: center;
   justify-content: center;
   text-align: center;
   padding: 120px 20px 40px;
   position: relative;
 }

 /* Ensure content inside hero stays centered on mobile too */
@media (max-width: 768px) {
  .cyber-hero { padding: 100px 16px 32px; }
}
