:root {
  --bg-start: #034AA6;
  --bg-end: #048ABF;
  --glass-bg: rgba(255, 255, 255, 0.2);
  --glass-border: rgba(255, 255, 255, 0.3);
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg-start);
  background: linear-gradient(135deg, var(--bg-start) 0%, var(--bg-end) 100%);
  font-family: 'Montserrat', sans-serif;
  color: white;
  overflow-x: hidden;
  min-height: 100vh;
}

.main-wrapper {
  background: linear-gradient(135deg, var(--bg-start) 0%, var(--bg-end) 100%);
}

.text-stroke {
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
  color: transparent;
}

.text-stroke-strong {
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.4);
  color: transparent;
}

/* Base Models (Mobile First) */
.hero-title {
  font-size: 15vw;
  line-height: 0.95;
  font-weight: bold;
  letter-spacing: -0.05em;
  opacity: 0.8;
  user-select: none;
  word-break: break-word;
  padding-bottom: 1rem;
  margin-top: 1rem;
}

.hero-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: -1rem;
  margin-left: 0.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.brand-logo {
  font-size: 0.7rem;
  gap: 0.35rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  font-style: italic;
  color: white;
  text-decoration: none;
}

.brand-logo div {
  padding: 0.25rem;
}

.brand-logo svg {
  width: 16px;
  height: 16px;
}

nav {
  padding-top: 0.75rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

nav .glass-panel {
  padding: 0.5rem 0.75rem;
  width: 100%;
  border-radius: 9999px;
}

.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
}

.glass-btn {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  color: white;
}

.hotline-btn {
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.search-btn {
  padding: 0.35rem;
}

.search-btn svg {
  width: 16px;
  height: 16px;
}

/* Tablet & Desktop Queries */
@media (min-width: 768px) {

  /* Using important for nav padding to override tailwind px-4 md:px-12 if necessary, but ideally HTML classes should handle it. 
     Since original code had !important, we'll map the tablet metrics smoothly without !important first, trusting Tailwind spacing. */
  .brand-logo {
    font-size: 1rem;
    gap: 0.5rem;
  }

  .brand-logo div {
    padding: 0.5rem;
  }

  .brand-logo svg {
    width: 24px;
    height: 24px;
  }

  .hotline-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    gap: 0.5rem;
  }

  .search-btn {
    padding: 0.5rem;
  }

  .search-btn svg {
    width: 20px;
    height: 20px;
  }

  .hero-title {
    font-size: 10vw;
    margin-top: -13rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
    margin-top: -14.5rem;
  }
}

@media (min-width: 860px) {
  .hero-title {
    font-size: 90px;
  }
}

/* Mobile & Tablet Overlap Fix */
@media (max-width: 1023px) {
  main .grid>.absolute.top-1\/2 {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    translate: none !important;
    margin: 2rem auto !important;
    justify-self: center !important;
    display: flex;
    justify-content: center;
  }
}

/* Shared Components */
.product-image {
  width: 100%;
  max-height: 50vh !important;
  object-fit: contain !important;
  border-radius: 2.5rem;
}

.ambient-blob {
  position: absolute;
  border-radius: 9999px;
  filter: blur(120px);
  opacity: 0.3;
  mix-blend-mode: overlay;
}

.blob-1 {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: white;
}

.blob-2 {
  bottom: -10%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: #048ABF;
}

@keyframes float-blob {
  0% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -50px) scale(1.1);
  }

  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }

  100% {
    transform: translate(0, 0) scale(1);
  }
}

.animate-float-blob {
  animation: float-blob 20s infinite alternate ease-in-out;
}

.animate-float-blob-reverse {
  animation: float-blob 25s infinite alternate-reverse ease-in-out;
}

@keyframes scan-line {
  0% {
    top: 0%;
  }

  50% {
    top: 100%;
  }

  100% {
    top: 0%;
  }
}

.animate-scan-line {
  animation: scan-line 2s infinite linear;
}

.result-item {
  padding: 10px 15px;
  color: white;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background 0.2s;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.result-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.share-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.share-icon:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: white;
  transform: translateY(-2px);
}

.canvas-container {
  position: relative;
  max-width: 1000px;
  margin: 2rem auto;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  background: rgba(0, 0, 0, 0.2);
}

.main-img {
  width: 100%;
  display: block;
  transition: all 0.5s ease;
}

.blur-mode .main-img {
  filter: blur(8px) brightness(0.4);
  transform: scale(1.02);
}

.hotspot {
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 10;
}

.hotspot:hover,
.hotspot.active {
  border-color: #22d3ee;
  background: rgba(34, 211, 238, 0.1);
  z-index: 20;
  transform: scale(1.05);
}

.hotspot::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 8px;
  height: 8px;
  background: #22d3ee;
  border-radius: 50%;
  transform: translate(50%, -50%);
  box-shadow: 0 0 10px #22d3ee;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 1.5rem;
  backdrop-filter: blur(4px);
}

.modal-overlay.active {
  display: flex;
}

.widget {
  background: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  padding: 2rem;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .widget {
  transform: translateY(0);
}

.category-tag {
  font-size: 0.7rem;
  color: #22d3ee;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: block;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}