* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --cosmic-purple: #6b2fb5;
  --cosmic-blue: #1e3a8a;
  --nebula-pink: #d946ef;
  --space-dark: #0a0a1f;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --text-light: #e0e7ff;
  --text-white: #ffffff;
  --glow-blue: #60a5fa;
}

body {
  font-family: 'Exo 2', sans-serif;
  background: var(--space-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
  font-size: 14px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.header-cosmic {
  background: rgba(10, 10, 31, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  padding: 15px 0;
  position: relative;
  z-index: 1000;
}

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

.logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 18px;
  font-weight: 900;
  color: var(--text-white);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: linear-gradient(135deg, var(--glow-blue), var(--nebula-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-main {
  display: flex;
  gap: 25px;
}

.nav-main a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  transition: color 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-main a:hover {
  color: var(--glow-blue);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 20px;
  cursor: pointer;
}

.hero-cosmic {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 60px 0;
  background-image: url(../visual_gallery/hero.jpeg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.nebula-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      ellipse at 20% 50%,
      rgba(107, 47, 181, 0.4) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 80% 50%,
      rgba(30, 58, 138, 0.4) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 50% 80%,
      rgba(217, 70, 239, 0.3) 0%,
      transparent 50%
    );
  animation: nebulaPulse 15s ease-in-out infinite;
}

@keyframes nebulaPulse {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
}

.hero-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 15px;
  background: linear-gradient(
    135deg,
    var(--text-white),
    var(--glow-blue),
    var(--nebula-pink)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.3);
  }
}

.hero-subtitle {
  font-size: 18px;
  margin-bottom: 30px;
  color: var(--text-light);
  font-weight: 300;
}

.wireframe-container {
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
  width: 250px;
  height: 250px;
  z-index: 1;
}

.wireframe-model {
  width: 100%;
  height: 100%;
  border: 2px solid var(--glow-blue);
  border-radius: 50%;
  position: relative;
  animation: rotate3d 20s linear infinite;
  box-shadow: 0 0 40px rgba(96, 165, 250, 0.3);
}

.wireframe-model::before,
.wireframe-model::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid var(--glow-blue);
  border-radius: 50%;
}

.wireframe-model::before {
  width: 70%;
  height: 70%;
}

.wireframe-model::after {
  width: 40%;
  height: 40%;
}

@keyframes rotate3d {
  0% {
    transform: rotateY(0deg) rotateX(0deg);
  }
  100% {
    transform: rotateY(360deg) rotateX(360deg);
  }
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cosmic-purple), var(--cosmic-blue));
  color: var(--text-white);
  box-shadow: 0 4px 15px rgba(107, 47, 181, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(107, 47, 181, 0.6);
}

.btn-secondary {
  background: transparent;
  color: var(--glow-blue);
  border: 2px solid var(--glow-blue);
}

.btn-secondary:hover {
  background: var(--glow-blue);
  color: var(--space-dark);
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  padding: 35px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.section-about,
.section-features,
.section-gallery,
.section-cta,
.section-info,
.section-blog,
.section-products,
.section-contact,
.section-newsletter,
.section-legal,
.section-map {
  padding: 60px 0;
}

.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 32px;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-white);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.icon-large {
  font-size: 48px;
  color: var(--glow-blue);
  margin-bottom: 20px;
  display: block;
  text-align: center;
}

.glass-card h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--text-white);
  text-align: center;
}

.glass-card p {
  text-align: center;
  line-height: 1.8;
  font-size: 14px;
}

.features-grid,
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.feature-card,
.info-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s;
}

.feature-card:hover,
.info-card:hover {
  transform: translateY(-5px);
  border-color: var(--glow-blue);
}

.feature-card i,
.info-card i {
  font-size: 36px;
  color: var(--glow-blue);
  margin-bottom: 15px;
  display: block;
}

.feature-card h3,
.info-card h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--text-white);
}

.feature-card p,
.info-card p {
  font-size: 13px;
  line-height: 1.6;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(10, 10, 31, 0.95), transparent);
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.3s;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--text-white);
}

.cta-card {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.page-hero {
  padding: 80px 0 40px;
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(107, 47, 181, 0.2),
    rgba(30, 58, 138, 0.2)
  );
  border-bottom: 1px solid var(--glass-border);
}

.page-hero h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 38px;
  margin-bottom: 10px;
  color: var(--text-white);
  text-transform: uppercase;
}

.page-hero p {
  font-size: 16px;
  color: var(--text-light);
}

.blog-grid {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

.blog-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 25px;
  display: flex;
  gap: 20px;
  transition: transform 0.3s;
}

.blog-card:hover {
  transform: translateX(5px);
  border-color: var(--glow-blue);
}

.blog-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--cosmic-purple), var(--cosmic-blue));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--text-white);
}

.blog-content {
  flex: 1;
}

.blog-date {
  display: block;
  font-size: 11px;
  color: var(--glow-blue);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-content h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--text-white);
  text-align: left;
}

.blog-content p {
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 15px;
  text-align: left;
}

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

.product-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--glow-blue);
}

.product-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, var(--cosmic-purple), var(--cosmic-blue));
  color: var(--text-white);
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-info {
  padding: 25px;
}

.product-info h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--text-white);
}

.product-info p {
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 15px;
  text-align: left;
}

.product-price {
  font-family: 'Orbitron', sans-serif;
  font-size: 24px;
  color: var(--glow-blue);
  margin-bottom: 15px;
  font-weight: 700;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.contact-form-wrapper,
.contact-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
  color: var(--text-light);
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--text-white);
  font-family: 'Exo 2', sans-serif;
  font-size: 13px;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--glow-blue);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 12px;
}

.checkbox-label input[type='checkbox'] {
  width: auto;
  margin-top: 2px;
  cursor: pointer;
}

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

.contact-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.contact-item i {
  font-size: 24px;
  color: var(--glow-blue);
  flex-shrink: 0;
  margin-top: 5px;
}

.contact-item h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 14px;
  margin-bottom: 5px;
  color: var(--text-white);
}

.contact-item p {
  font-size: 13px;
  line-height: 1.6;
  text-align: left;
}

.contact-item a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s;
}

.contact-item a:hover {
  color: var(--glow-blue);
}

.hours-card {
  text-align: center;
}

.hours-card i {
  font-size: 36px;
  color: var(--glow-blue);
  margin-bottom: 15px;
  display: block;
}

.hours-card h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--text-white);
}

.map-container {
  margin-top: 20px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

.thankyou-section,
.error-section {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
}

.thankyou-card,
.error-card {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.icon-success {
  font-size: 64px;
  color: #10b981;
  margin-bottom: 20px;
  display: block;
}

.icon-error {
  font-size: 64px;
  color: var(--glow-blue);
  margin-bottom: 20px;
  display: block;
}

.thankyou-card h1,
.error-card h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 32px;
  margin-bottom: 15px;
  color: var(--text-white);
}

.error-code {
  font-family: 'Orbitron', sans-serif;
  font-size: 72px;
  color: var(--glow-blue);
  margin: 20px 0;
  font-weight: 900;
}

.thankyou-actions,
.error-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
}

.legal-content h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 20px;
  margin: 30px 0 15px;
  color: var(--text-white);
  text-align: left;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 15px;
  text-align: left;
}

.legal-content strong {
  color: var(--text-white);
  font-weight: 600;
}

.footer-cosmic {
  background: rgba(10, 10, 31, 0.95);
  border-top: 1px solid var(--glass-border);
  padding: 25px 0;
  margin-top: 60px;
}

.footer-content {
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 12px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--glow-blue);
}

.copyright {
  font-size: 12px;
  color: var(--text-light);
}

.privacy-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 500px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 20px;
  z-index: 10000;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  display: none;
}

.privacy-popup.show {
  display: block;
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.popup-content p {
  font-size: 13px;
  margin-bottom: 15px;
  text-align: left;
}

.popup-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-accept {
  padding: 8px 20px;
  background: linear-gradient(135deg, var(--cosmic-purple), var(--cosmic-blue));
  color: var(--text-white);
  border: none;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s;
}

.btn-accept:hover {
  transform: translateY(-2px);
}

.btn-learn {
  padding: 8px 20px;
  background: transparent;
  color: var(--glow-blue);
  border: 1px solid var(--glow-blue);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
}

.btn-learn:hover {
  background: var(--glow-blue);
  color: var(--space-dark);
}

@media (max-width: 768px) {
  .nav-main {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 31, 0.98);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    display: none;
    border-bottom: 1px solid var(--glass-border);
  }

  .nav-main.active {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .wireframe-container {
    display: none;
  }

  .section-title {
    font-size: 26px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .features-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid,
  .products-grid {
    grid-template-columns: 1fr;
  }

  .blog-card {
    flex-direction: column;
  }

  .thankyou-actions,
  .error-actions {
    flex-direction: column;
  }

  .privacy-popup {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 14px;
  }

  .hero-title {
    font-size: 24px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .glass-card {
    padding: 20px;
  }

  .section-about,
  .section-features,
  .section-gallery,
  .section-cta,
  .section-info {
    padding: 40px 0;
  }

  .page-hero {
    padding: 60px 0 30px;
  }

  .page-hero h1 {
    font-size: 28px;
  }
}
