/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
  color: #ffffff;
  background: #0a0a0a;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Header */
.top-header {
  background: linear-gradient(135deg, #00c2ff 0%, #0080ff 100%);
  padding: 8px 0;
  font-size: 0.85rem;
  font-weight: 500;
}

.header-info {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #ffffff;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 32px;
  width: 100%;
  background: rgba(17, 17, 17, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 194, 255, 0.2);
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  top: 0;
  background: rgba(10, 10, 10, 0.98);
  box-shadow: 0 4px 30px rgba(0, 194, 255, 0.1);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Orbitron", monospace;
}

.logo-icon {
  font-size: 28px;
  background: linear-gradient(135deg, #00c2ff, #0080ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 10px rgba(0, 194, 255, 0.5));
}

.logo-text {
  font-size: 24px;
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff, #00c2ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 194, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.nav-link:hover::before {
  left: 100%;
}

.nav-link:hover {
  color: #00c2ff;
  box-shadow: 0 0 20px rgba(0, 194, 255, 0.3);
}

.cart-wrapper {
  position: relative;
}

.cart-icon {
  position: relative;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  background: rgba(0, 194, 255, 0.1);
  border: 1px solid rgba(0, 194, 255, 0.3);
  transition: all 0.3s ease;
}

.cart-icon:hover {
  background: rgba(0, 194, 255, 0.2);
  box-shadow: 0 0 20px rgba(0, 194, 255, 0.3);
}

.cart-symbol {
  font-size: 20px;
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: linear-gradient(135deg, #ff0080, #ff4040);
  color: white;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 0 10px rgba(255, 0, 128, 0.5);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #00c2ff;
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at center, #1a1a2e 0%, #0a0a0a 100%);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.circuit-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(90deg, rgba(0, 194, 255, 0.1) 1px, transparent 1px), linear-gradient(rgba(0, 194, 255, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: circuitMove 20s linear infinite;
}

.glow-effect {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 194, 255, 0.1) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  animation: pulse 4s ease-in-out infinite;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-title {
  font-family: "Orbitron", monospace;
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
}

.title-main {
  display: block;
  color: #ffffff;
}

.title-accent {
  display: block;
  background: linear-gradient(135deg, #00c2ff, #0080ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(0, 194, 255, 0.3));
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #cccccc;
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-primary {
  position: relative;
  background: linear-gradient(135deg, #00c2ff, #0080ff);
  color: #ffffff;
  border: none;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 194, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 194, 255, 0.5);
}

.btn-glow {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover .btn-glow {
  left: 100%;
}

.btn-secondary {
  background: transparent;
  color: #00c2ff;
  border: 2px solid #00c2ff;
  padding: 14px 30px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-secondary:hover {
  background: rgba(0, 194, 255, 0.1);
  box-shadow: 0 0 20px rgba(0, 194, 255, 0.3);
}

.hero-image {
  position: relative;
}

.product-showcase {
  position: relative;
  text-align: center;
}

.showcase-img {
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 194, 255, 0.2);
  border: 1px solid rgba(0, 194, 255, 0.3);
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.floating-icon {
  position: absolute;
  font-size: 2rem;
  background: rgba(0, 194, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 194, 255, 0.3);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 3s ease-in-out infinite;
}

.floating-icon:nth-child(1) {
  top: 20%;
  right: 10%;
  animation-delay: 0s;
}

.floating-icon:nth-child(2) {
  top: 60%;
  left: 5%;
  animation-delay: 1s;
}

.floating-icon:nth-child(3) {
  bottom: 20%;
  right: 20%;
  animation-delay: 2s;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-family: "Orbitron", monospace;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #ffffff, #00c2ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #cccccc;
  max-width: 600px;
  margin: 0 auto;
}

/* Categories */
.categories {
  padding: 100px 0;
  background: linear-gradient(135deg, #111111 0%, #1a1a2e 100%);
}

.category-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.category-tab {
  background: rgba(0, 194, 255, 0.1);
  border: 1px solid rgba(0, 194, 255, 0.3);
  color: #ffffff;
  padding: 15px 25px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.category-tab:hover,
.category-tab.active {
  background: linear-gradient(135deg, #00c2ff, #0080ff);
  box-shadow: 0 4px 20px rgba(0, 194, 255, 0.3);
  transform: translateY(-2px);
}

.tab-icon {
  font-size: 1.2rem;
}

/* Products */
.products {
  padding: 100px 0;
  background: #0a0a0a;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.product-card {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  border: 1px solid rgba(0, 194, 255, 0.2);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 194, 255, 0.2);
  border-color: #00c2ff;
}

.product-card:hover::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 194, 255, 0.1), rgba(0, 128, 255, 0.1));
  pointer-events: none;
  z-index: 1;
}

.product-image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-discount {
  position: absolute;
  top: 15px;
  left: 15px;
  background: linear-gradient(135deg, #ff0080, #ff4040);
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 2;
}

.product-info {
  padding: 25px;
  position: relative;
  z-index: 2;
}

.product-name {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ffffff;
}

.product-category {
  color: #00c2ff;
  font-size: 0.9rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  font-weight: 500;
}

.product-price {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.current-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: #00c2ff;
}

.original-price {
  font-size: 1rem;
  color: #888;
  text-decoration: line-through;
}

.product-buttons {
  display: flex;
  gap: 10px;
}

.btn-detail,
.btn-buy {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-detail {
  background: rgba(0, 194, 255, 0.2);
  color: #00c2ff;
  border: 1px solid rgba(0, 194, 255, 0.3);
}

.btn-detail:hover {
  background: rgba(0, 194, 255, 0.3);
}

.btn-buy {
  background: linear-gradient(135deg, #00c2ff, #0080ff);
  color: white;
}

.btn-buy:hover {
  box-shadow: 0 4px 15px rgba(0, 194, 255, 0.3);
  transform: translateY(-1px);
}

/* Technology Section */
.technology {
  padding: 100px 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #111111 100%);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.tech-card {
  background: rgba(0, 194, 255, 0.05);
  border: 1px solid rgba(0, 194, 255, 0.2);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.tech-card:hover {
  background: rgba(0, 194, 255, 0.1);
  border-color: #00c2ff;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 194, 255, 0.2);
}

.tech-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 10px rgba(0, 194, 255, 0.5));
}

.tech-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ffffff;
}

.tech-card p {
  color: #cccccc;
  line-height: 1.6;
}

/* About Section */
.about {
  padding: 100px 0;
  background: #0a0a0a;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-description {
  color: #cccccc;
  margin-bottom: 20px;
  line-height: 1.8;
  font-size: 1.1rem;
}

.about-stats {
  display: flex;
  gap: 30px;
  margin-top: 40px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: "Orbitron", monospace;
  font-size: 2rem;
  font-weight: 700;
  color: #00c2ff;
  margin-bottom: 5px;
}

.stat-label {
  color: #cccccc;
  font-size: 0.9rem;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 194, 255, 0.1);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 194, 255, 0.1), transparent);
  border-radius: 20px;
}

/* Contact Section */
.contact {
  padding: 100px 0;
  background: linear-gradient(135deg, #111111 0%, #1a1a2e 100%);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-form {
  background: rgba(0, 194, 255, 0.05);
  border: 1px solid rgba(0, 194, 255, 0.2);
  border-radius: 20px;
  padding: 40px;
}

.form-group {
  position: relative;
  margin-bottom: 30px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 194, 255, 0.3);
  border-radius: 10px;
  padding: 15px;
  color: #ffffff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #00c2ff;
  box-shadow: 0 0 20px rgba(0, 194, 255, 0.2);
}

.form-group label {
  position: absolute;
  top: 15px;
  left: 15px;
  color: #888;
  transition: all 0.3s ease;
  pointer-events: none;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -10px;
  left: 10px;
  font-size: 0.8rem;
  color: #00c2ff;
  background: #111111;
  padding: 0 5px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: rgba(0, 194, 255, 0.05);
  border: 1px solid rgba(0, 194, 255, 0.2);
  border-radius: 15px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: rgba(0, 194, 255, 0.1);
  border-color: #00c2ff;
}

.contact-icon {
  font-size: 1.5rem;
  background: rgba(0, 194, 255, 0.2);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-details h4 {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 5px;
}

.contact-details p {
  color: #cccccc;
  line-height: 1.5;
}

/* Footer */
.footer {
  background: #000000;
  padding: 60px 0 30px;
  border-top: 1px solid rgba(0, 194, 255, 0.2);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-slogan {
  font-family: "Orbitron", monospace;
  font-size: 1.1rem;
  color: #00c2ff;
  margin: 15px 0;
}

.footer-description {
  color: #cccccc;
  line-height: 1.6;
  margin-bottom: 30px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(0, 194, 255, 0.1);
  border: 1px solid rgba(0, 194, 255, 0.3);
  border-radius: 50%;
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: rgba(0, 194, 255, 0.2);
  box-shadow: 0 0 20px rgba(0, 194, 255, 0.3);
  transform: translateY(-2px);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-column h4 {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 10px;
}

.footer-column a {
  color: #cccccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: #00c2ff;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 194, 255, 0.1);
  color: #888;
}

/* Animations */
@keyframes circuitMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 102px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 102px);
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 50px;
    transition: left 0.3s ease;
    border-top: 1px solid rgba(0, 194, 255, 0.2);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-link {
    font-size: 1.2rem;
    margin: 15px 0;
    padding: 15px 30px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .category-tabs {
    flex-direction: column;
    align-items: center;
  }

  .category-tab {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .tech-grid {
    grid-template-columns: 1fr;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-stats {
    justify-content: center;
    gap: 20px;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .section-title {
    font-size: 2rem;
  }

  .header-info {
    gap: 15px;
    font-size: 0.8rem;
  }

  .info-item {
    flex-direction: column;
    gap: 2px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .btn-primary,
  .btn-secondary {
    padding: 12px 24px;
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .contact-form {
    padding: 25px;
  }

  .floating-icon {
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
  }

  .about-stats {
    flex-direction: column;
    gap: 15px;
  }

  .stat-number {
    font-size: 1.5rem;
  }
}

/* High Performance Optimizations */
.product-card,
.tech-card,
.contact-item {
  will-change: transform;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .btn-primary,
  .btn-secondary {
    display: none !important;
  }

  body {
    background: white !important;
    color: black !important;
  }
}
