@import url('https://fonts.googleapis.com/css2?family=Syncopate:wght@400;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --color-violet: #5B21B6;
  --color-violet-glow: rgba(91, 33, 182, 0.4);
  --color-chrome: #E2E8F0;
  --color-chrome-dark: #94A3B8;
  --color-blue: #2563EB;
  --color-blue-glow: rgba(37, 99, 235, 0.4);
  --color-black: #09090B;
  --color-dark: #121216;
  --color-dark-card: #18181F;
  --color-white: #FFFFFF;
  --font-heading: 'Syncopate', sans-serif;
  --font-body: 'Inter', sans-serif;
  --border-glow: rgba(226, 232, 240, 0.15);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --chrome-gradient: linear-gradient(135deg, #E2E8F0 0%, #94A3B8 50%, #E2E8F0 100%);
  --cosmic-gradient: linear-gradient(135deg, #09090B 0%, #121216 50%, #1A102F 100%);
}

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

body {
  background-color: var(--color-black);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(91, 33, 182, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(37, 99, 235, 0.1) 0%, transparent 45%);
  color: var(--color-chrome);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Base typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-white);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-black);
}
::-webkit-scrollbar-thumb {
  background: var(--color-violet);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-blue);
}

/* Chrome Framing Utility */
.chrome-frame {
  position: relative;
  border: 1px solid var(--border-glow);
  background: rgba(18, 18, 22, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 24px;
  overflow: hidden;
  transition: var(--transition-smooth);
}
.chrome-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-chrome), transparent);
  opacity: 0.7;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition-smooth);
}

header.scrolled {
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-glow);
  padding: 15px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.2em;
  color: var(--color-white);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--color-blue);
  position: relative;
  animation: logo-spin 4s linear infinite;
}

.logo-circle::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--color-violet);
  border-radius: 50%;
  top: -2px;
  left: 4px;
}

@keyframes logo-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.nav-menu {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  position: relative;
  padding: 5px 0;
  color: var(--color-chrome-dark);
}

.nav-link:hover, .nav-link.active {
  color: var(--color-white);
  text-shadow: 0 0 10px var(--color-blue-glow);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-blue), var(--color-violet));
  transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--color-chrome);
  margin: 5px 0;
  transition: var(--transition-smooth);
}

/* Background Cosmic Circles (Space Age Elements) */
.space-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(226, 232, 240, 0.05);
  pointer-events: none;
  z-index: -1;
}

.circle-1 {
  width: 600px;
  height: 600px;
  top: -100px;
  right: -200px;
  border: 1px solid rgba(91, 33, 182, 0.15);
  animation: float 20s ease-in-out infinite alternate;
}

.circle-2 {
  width: 400px;
  height: 400px;
  bottom: 10%;
  left: -150px;
  border: 1px solid rgba(37, 99, 235, 0.15);
  animation: float 15s ease-in-out infinite alternate-reverse;
}

.circle-orbit {
  width: 300px;
  height: 300px;
  border: 1px dashed rgba(226, 232, 240, 0.1);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: spin 60s linear infinite;
}

@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(40px) rotate(10deg); }
}

@keyframes spin {
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 80px;
  overflow: hidden;
}

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

.hero-tagline {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--color-blue);
  margin-bottom: 20px;
  display: block;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.1;
  margin-bottom: 30px;
  font-weight: 700;
  background: linear-gradient(to bottom, #FFFFFF 40%, #A5B4FC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.125rem;
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto 40px;
  color: var(--color-chrome-dark);
}

.cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  padding: 18px 36px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
}

.btn-primary {
  background: var(--color-violet);
  color: var(--color-white);
  box-shadow: 0 0 20px var(--color-violet-glow);
}

.btn-primary:hover {
  background: var(--color-blue);
  box-shadow: 0 0 25px var(--color-blue-glow);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--color-chrome);
  border: 1px solid var(--color-chrome-dark);
}

.btn-secondary:hover {
  border-color: var(--color-white);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

/* Feature Grid */
.section {
  padding: 100px 20px;
  position: relative;
}

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

.section-header {
  text-align: center;
  margin-bottom: 70px;
}

.section-tag {
  color: var(--color-blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 20px;
}

.section-desc {
  max-width: 600px;
  margin: 0 auto;
  color: var(--color-chrome-dark);
}

/* Retro Space Grid & Cards */
.materials-grid, .grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.card {
  padding: 40px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-icon-wrapper {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 1px solid var(--color-chrome-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  position: relative;
  background: rgba(226, 232, 240, 0.03);
}

.card-icon-wrapper::before {
  content: '';
  position: absolute;
  width: 80%;
  height: 80%;
  border-radius: 50%;
  border: 1px dashed var(--color-blue);
  animation: spin 20s linear infinite;
}

.card-title {
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.card-text {
  color: var(--color-chrome-dark);
  font-size: 0.95rem;
  font-weight: 300;
}

/* Special Circle Showcase */
.showcase-container {
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.showcase-image-wrapper {
  flex: 1 1 450px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.showcase-circle-outer {
  width: 450px;
  height: 450px;
  border-radius: 50%;
  border: 1px solid var(--border-glow);
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.showcase-circle-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px dashed var(--color-violet);
  padding: 20px;
  position: relative;
}

.showcase-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: var(--color-dark-card);
}

.showcase-info {
  flex: 1 1 400px;
}

/* Category Filter (Products) */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(18, 18, 22, 0.6);
  border: 1px solid var(--border-glow);
  color: var(--color-chrome-dark);
  padding: 12px 24px;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-white);
}

/* Product Cards */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.product-card {
  transition: var(--transition-smooth);
}

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

.product-img-box {
  width: 100%;
  height: 300px;
  position: relative;
  background-color: var(--color-dark-card);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.product-img-box img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.product-card:hover .product-img-box img {
  transform: scale(1.08) rotate(2deg);
}

.product-meta {
  padding: 25px;
}

.product-category {
  font-size: 0.7rem;
  color: var(--color-blue);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 8px;
  font-weight: 700;
}

.product-title {
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.product-price {
  font-size: 1.1rem;
  color: var(--color-white);
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Form Styling with Floating Labels */
.contact-section {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: start;
}

@media (max-width: 968px) {
  .contact-section {
    grid-template-columns: 1fr;
  }
}

.form-group {
  position: relative;
  margin-bottom: 30px;
}

.form-input {
  width: 100%;
  padding: 16px 20px;
  background: rgba(9, 9, 11, 0.4);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  outline: none;
  font-family: var(--font-body);
  color: var(--color-white);
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.form-input:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.15);
}

.form-label {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-chrome-dark);
  font-size: 0.9rem;
  transition: var(--transition-smooth);
  pointer-events: none;
}

textarea.form-input {
  min-height: 150px;
  resize: vertical;
}

textarea.form-input ~ .form-label {
  top: 25px;
}

/* Floating behavior when active or filled */
.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
  top: 0;
  left: 15px;
  font-size: 0.75rem;
  background: var(--color-black);
  padding: 0 8px;
  color: var(--color-blue);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Custom Space Map (CSS Retro Map Visual) */
.space-map {
  width: 100%;
  height: 450px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-glow);
  background: #09090b;
}

.radar-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(37, 99, 235, 0.2);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.radar-1 { width: 100px; height: 100px; }
.radar-2 { width: 250px; height: 250px; }
.radar-3 { width: 400px; height: 400px; }

.radar-sweep {
  position: absolute;
  width: 50%;
  height: 50%;
  background: conic-gradient(from 0deg at bottom right, rgba(37, 99, 235, 0.15) 0%, transparent 50%);
  top: 0;
  left: 0;
  transform-origin: bottom right;
  animation: sweep 8s linear infinite;
}

@keyframes sweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.map-marker {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  text-align: center;
}

.marker-dot {
  width: 16px;
  height: 16px;
  background: var(--color-white);
  border: 3px solid var(--color-blue);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 20px var(--color-blue-glow);
  animation: pulse-dot 2s infinite;
}

.marker-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  margin-top: 10px;
  color: var(--color-white);
  white-space: nowrap;
}

@keyframes pulse-dot {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(37, 99, 235, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

.map-stars {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: 
    radial-gradient(1px 1px at 20px 30px, #eee, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 150px 70px, #fff, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 300px 200px, #ddd, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 80px 350px, #fff, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 220px 280px, #eee, rgba(0,0,0,0));
}

/* Testimonials */
.testimonials-carousel {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding: 20px 0;
  scrollbar-width: none; /* Firefox */
}
.testimonials-carousel::-webkit-scrollbar {
  display: none; /* Safari & Chrome */
}

.testimonial-card {
  min-width: 350px;
  flex: 1 1 350px;
}

.testimonial-rating {
  color: var(--color-blue);
  margin-bottom: 20px;
  letter-spacing: 0.3em;
}

.testimonial-quote {
  font-size: 1rem;
  font-style: italic;
  font-weight: 300;
  margin-bottom: 30px;
  color: var(--color-chrome);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid var(--color-chrome-dark);
  background: var(--color-dark-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: var(--color-blue);
}

.author-info h4 {
  font-size: 0.8rem;
  margin-bottom: 3px;
}

.author-info span {
  font-size: 0.75rem;
  color: var(--color-chrome-dark);
}

/* Footer */
footer {
  border-top: 1px solid var(--border-glow);
  padding: 80px 20px 30px;
  background: #09090b;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto 50px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand h3 {
  margin-bottom: 20px;
}

.footer-brand p {
  color: var(--color-chrome-dark);
  margin-bottom: 20px;
  font-size: 0.95rem;
  font-weight: 300;
}

.footer-links h4 {
  font-size: 0.8rem;
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--color-chrome-dark);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--color-white);
  padding-left: 5px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid rgba(226, 232, 240, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-chrome-dark);
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

/* GDPR Cookie Consent Modal */
.gdpr-banner {
  position: fixed;
  bottom: 30px;
  left: 30px;
  right: 30px;
  max-width: 500px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  padding: 30px;
  transform: translateY(150%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gdpr-banner.show {
  transform: translateY(0);
}

.gdpr-title {
  font-size: 0.9rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gdpr-text {
  font-size: 0.85rem;
  color: var(--color-chrome-dark);
  margin-bottom: 20px;
}

.gdpr-buttons {
  display: flex;
  gap: 15px;
}

.gdpr-btn {
  flex: 1;
  padding: 12px 20px;
  font-size: 0.65rem;
}

/* Scroll Reveal animation states */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Custom Scroll Reveal Directions */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.revealed, .reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Mobile Responsiveness adjustments */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: rgba(9, 9, 11, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    transition: var(--transition-smooth);
    border-left: 1px solid var(--border-glow);
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-toggle {
    display: block;
    z-index: 1001;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -8px);
  }
}

/* legal page styling */
.legal-container {
  max-width: 800px;
  margin: 120px auto 80px;
  padding: 40px 20px;
}

.legal-title {
  margin-bottom: 40px;
  text-align: center;
}

.legal-content h2 {
  font-size: 1.1rem;
  margin: 35px 0 15px;
  color: var(--color-white);
}

.legal-content p {
  color: var(--color-chrome-dark);
  margin-bottom: 15px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.legal-content ul {
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--color-chrome-dark);
}

.legal-content li {
  margin-bottom: 8px;
}
