:root {
  --bg: #061228;
  --bg-secondary: #07101a;
  --bg-tertiary: #0a1528;
  --card: #07101a;
  --card-hover: #0a1528;
  --muted: #a9b8c6;
  --muted-hover: #c8d7e6;
  --text: #e9f6ff;
  --text-secondary: #d1e4f7;
  --accent1: #ff6b35;
  --accent2: #00c2ff;
  --accent3: #8e6bff;
  --accent4: #ffd36b;
  --accent5: #ff5ce6;
  --glass: rgba(255, 255, 255, 0.03);
  --glass-hover: rgba(255, 255, 255, 0.06);
  --glass-strong: rgba(255, 255, 255, 0.08);
  --shadow-primary: rgba(0, 194, 255, 0.1);
  --shadow-secondary: rgba(142, 107, 255, 0.08);
  --maxw: 1200px;
  --radius: 16px;
  --radius-sm: 12px;
  --radius-lg: 20px;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(0, 194, 255, 0.25);
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* responsive base */
html,
body {
  height: 100%;
}
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(ellipse 800px 400px at 10% 10%, rgba(255, 107, 53, 0.08), transparent),
    radial-gradient(ellipse 600px 300px at 85% 85%, rgba(0, 194, 255, 0.06), transparent),
    radial-gradient(ellipse 400px 200px at 50% 50%, rgba(142, 107, 255, 0.04), transparent),
    linear-gradient(135deg, #031028 0%, #041021 25%, #061228 50%, #010516 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: 120px;
  overflow-x: hidden;
  animation: bgShift 25s ease-in-out infinite;
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0.01em;
}
@keyframes bgShift {
  0% {
    background-position: 0% 0%, 100% 100%, 50% 50%;
  }
  25% {
    background-position: 2% 1%, 98% 99%, 52% 48%;
  }
  50% {
    background-position: 5% 3%, 95% 97%, 48% 52%;
  }
  75% {
    background-position: 3% 2%, 97% 98%, 51% 49%;
  }
  100% {
    background-position: 0% 0%, 100% 100%, 50% 50%;
  }
}

.wrap {
  max-width: var(--maxw);
  margin: 20px auto;
  padding: 20px;
  box-sizing: border-box;
}
.top {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  position: relative;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
}
.logo {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: conic-gradient(from 180deg, var(--accent1), var(--accent2), var(--accent3), var(--accent4));
  background-size: 200% 200%;
  animation: logoShift 6s linear infinite;
  color: #071022;
  font-weight: 900;
  font-size: 18px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.55);
  object-fit: cover;
}
@keyframes logoShift {
  0% {
    filter: hue-rotate(0deg);
  }
  50% {
    filter: hue-rotate(40deg);
  }
  100% {
    filter: hue-rotate(0deg);
  }
}

h1 {
  margin: 0;
  font-size: clamp(16px, 2.2vw, 20px);
}
.tag {
  color: var(--muted);
  font-size: 13px;
}
nav {
  display: flex;
  gap: 10px;
  align-items: center;
}
nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 10px;
  transition: all .18s;
  cursor: pointer;
  font-weight: 700;
}
nav a:hover {
  color: var(--text);
  transform: translateY(-3px);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.02), transparent);
}

.hero {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 20px;
  margin-top: 18px;
  align-items: start;
}
.card {
  background: linear-gradient(135deg, var(--glass) 0%, var(--glass-strong) 50%, var(--glass) 100%), var(--card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow:
    0 8px 32px var(--shadow-primary),
    0 2px 8px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.15),
    0 2px 8px var(--shadow-primary);
  border-color: var(--border-hover);
}

.card:hover::before {
  opacity: 1;
}
.hero-left h2 {
  margin: 0 0 20px 0;
  font-size: clamp(28px, 4.5vw, 48px);
  line-height: 1.2;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.lead {
  color: var(--muted);
  margin-bottom: 12px;
  font-size: clamp(13px, 1.2vw, 15px);
}
.badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 10px 0;
}
.badge {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  background: var(--glass);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.badge.secondary {
  background: var(--glass-strong);
  border-color: var(--border-hover);
}
.cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0 0 0;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
  align-items: stretch;
}
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  color: #ffffff;
  background: linear-gradient(135deg, #8e6bff 0%, #a78bfa 50%, #7c3aed 100%);
  box-shadow:
    0 4px 16px rgba(142, 107, 255, 0.3),
    0 2px 8px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
  text-transform: none;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
}

.btn:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #a78bfa 0%, #8e6bff 50%, #9333ea 100%);
  box-shadow:
    0 8px 24px rgba(142, 107, 255, 0.4),
    0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn:active {
  transform: translateY(-1px);
  box-shadow:
    0 4px 16px rgba(142, 107, 255, 0.3),
    0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn.secondary {
  background: rgba(142, 107, 255, 0.1);
  backdrop-filter: blur(10px);
  color: var(--text);
  border: 1px solid rgba(142, 107, 255, 0.3);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  font-weight: 600;
  text-transform: none;
}

.btn.secondary:hover {
  background: rgba(142, 107, 255, 0.18);
  border-color: rgba(142, 107, 255, 0.6);
  box-shadow:
    0 8px 24px rgba(142, 107, 255, 0.25),
    0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-3px);
}

.btn.secondary:active {
  transform: translateY(-1px);
  box-shadow:
    0 4px 16px rgba(142, 107, 255, 0.15),
    0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn.ghost {
  background: transparent;
  color: var(--accent2);
  border: 1px solid var(--border);
  box-shadow: none;
  text-transform: none;
  font-weight: 500;
}

.btn.ghost:hover {
  border-color: var(--accent2);
  background: rgba(0, 194, 255, 0.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}
.accent-line {
  height: 8px;
  border-radius: 10px;
  margin-top: 12px;
  background: linear-gradient(90deg, var(--accent1), var(--accent2), var(--accent3));
  background-size: 200% 100%;
  animation: lineShift 6s linear infinite;
}
@keyframes lineShift {
  0% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 0%;
  }
  100% {
    background-position: 0% 0%;
  }
}
.preview {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 550px;
  align-self: start;
  background: linear-gradient(135deg, rgba(3, 10, 18, 0.6) 0%, rgba(3, 10, 18, 0.9) 100%);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border: 1px solid var(--border);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
}

.preview:hover {
  transform: scale(1.01);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.screenshot {
  height: 280px;
  border-radius: 10px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.02);
  overflow: hidden;
}
.screenshot::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.07) 50%,
    rgba(255, 255, 255, 0.03)
  );
  transform: translateX(-120%);
  animation: shimmer 5s linear infinite;
}
@keyframes shimmer {
  to {
    transform: translateX(120%);
  }
}
.muted {
  color: var(--muted);
  font-size: 0.95rem;
}


.comprehensive-footer {
  margin-top: 80px;
  padding: 80px 40px 30px;
  background: linear-gradient(180deg, rgba(6, 8, 20, 0.95) 0%, rgba(2, 6, 18, 0.98) 50%, rgba(1, 4, 12, 0.95) 100%);
  border-top: 1px solid var(--border-hover);
  color: rgba(223, 246, 255, 0.9);
  position: relative;
  overflow: hidden;
}

.comprehensive-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(0, 194, 255, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(142, 107, 255, 0.02) 0%, transparent 50%);
  pointer-events: none;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  margin: 0 0 20px 0;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.footer-column p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-column ul li a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: var(--accent2);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
}


.platform-logos {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.platform-logos img {
  max-width: 600px;
  width: 100%;
  height: auto;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.platform-logos img:hover {
  opacity: 1;
}

@media (max-width: 768px) {
  .platform-logos img {
    max-width: 100%;
    padding: 0 20px;
  }
}
/* End platform logos styling */

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
}

@media (max-width: 768px) {
  .comprehensive-footer {
    padding: 40px 20px 20px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}


/* Enhanced form styling */
.contact-form input,
.contact-form textarea {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(15, 23, 42, 0.6) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  position: relative;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent2);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.8) 100%);
  box-shadow:
    0 0 0 2px rgba(0, 194, 255, 0.2),
    0 8px 24px rgba(0, 194, 255, 0.1);
  transform: translateY(-1px);
}

.contact-form input:hover,
.contact-form textarea:hover {
  border-color: var(--border-hover);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.7) 100%);
  box-shadow: 0 4px 12px rgba(0, 194, 255, 0.1);
}

.contact-form button {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(135deg, var(--accent2) 0%, var(--accent5) 100%);
  box-shadow: 0 8px 24px rgba(0, 194, 255, 0.3);
  border: none;
  position: relative;
  overflow: hidden;
}

.contact-form button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.contact-form button:hover::before {
  left: 100%;
}

.contact-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 194, 255, 0.4);
}

.contact-form button:active {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 194, 255, 0.3);
}

@media (max-width: 768px) {
  .contact-form > div:first-child {
    grid-template-columns: 1fr !important;
  }
}
/* End contact form styles */

/* Enhanced neon-card and neon-title styles for advanced visual effects */
.neon-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border);
  position: relative;
}

.neon-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--accent2), var(--accent3), var(--accent5));
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.neon-card:hover::before {
  opacity: 0.8;
}

.neon-card:hover {
  border-color: var(--border-hover);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.15),
    0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.neon-title {
  background: linear-gradient(135deg, var(--accent2) 0%, var(--accent5) 50%, var(--accent3) 100%);
  background-size: 200% 200%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: neonGlow 4s ease-in-out infinite;
  position: relative;
}

@keyframes neonGlow {
  0%, 100% {
    background-position: 0% 50%;
    filter: brightness(1) hue-rotate(0deg);
  }
  50% {
    background-position: 100% 50%;
    filter: brightness(1.2) hue-rotate(10deg);
  }
}

.gradient-streak {
  position: relative;
  overflow: hidden;
}

.gradient-streak::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 214, 255, 0.1), transparent);
  animation: streak 3s infinite;
}

@keyframes streak {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.pop {
  transition: all 0.2s ease;
}

.pop:hover {
  transform: scale(1.05);
}
/* Advanced visual effects */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes morphingGradient {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes floatingParticles {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.7;
  }
  25% {
    transform: translateY(-10px) rotate(90deg);
    opacity: 1;
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 0.8;
  }
  75% {
    transform: translateY(-10px) rotate(270deg);
    opacity: 0.9;
  }
}

/* Utility classes for animations */
.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

.animate-slide-in-left {
  animation: slideInLeft 0.8s ease-out forwards;
}

.animate-slide-in-right {
  animation: slideInRight 0.8s ease-out forwards;
}


.animate-morphing-gradient {
  animation: morphingGradient 8s ease-in-out infinite;
}

.animate-floating {
  animation: floatingParticles 6s ease-in-out infinite;
}

/* Enhanced focus states for accessibility */
.btn:focus-visible,
.card:focus-visible {
  outline: 2px solid var(--accent2);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(0, 194, 255, 0.2);
}

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

/* Enhanced scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent2), var(--accent3));
  border-radius: 4px;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--accent3), var(--accent5));
}

/* End neon effects */

/* Added complete box styling for Quick Tool section */
.quick-tool-box {
  background: linear-gradient(135deg, rgba(0, 214, 255, 0.08), rgba(142, 107, 255, 0.08));
  border: 2px solid rgba(0, 214, 255, 0.25);
  border-radius: 16px;
  padding: 20px;
  min-width: 320px;
  box-shadow: 0 8px 32px rgba(0, 214, 255, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  transition: all 0.3s ease;
}

.quick-tool-box:hover {
  border-color: rgba(0, 214, 255, 0.4);
  box-shadow: 0 12px 48px rgba(0, 214, 255, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  transform: translateY(-4px);
}

.quick-tool-box strong {
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--accent2);
}


/* horizontal panel section (responsive) */
.h-scroll-outer {
  position: relative;
  margin-top: 30px;
  height: 70vh;
  overflow-x: auto;
  overflow-y: visible;
}
.h-scroll-inner {
  position: relative;
  top: 0;
  height: 100%;
  display: flex;
  gap: 18px;
  align-items: stretch;
  padding: 0;
  transition: transform 350ms cubic-bezier(0.22, 0.9, 0.27, 1);
  will-change: transform;
}
/* Updated panel to remove padding since it's now inside content wrapper */
.panel {
  flex: 0 0 100vw;
  height: 100%;
  box-sizing: border-box;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0.005));
  border: 1px solid rgba(255, 255, 255, 0.02);
  box-shadow: 0 18px 50px rgba(2, 6, 23, 0.5);
  overflow: visible;
  min-width: 100vw;
}
.panel h2 {
  margin-top: 4px;
}
.panel .col {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 18px;
}
.panel .info-card {
  background: transparent;
  padding: 16px;
  border-radius: 12px;
}
.panel .cards-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

/* Enhanced scrollbar visibility and layout for horizontal panel content */
.panel > div:first-child {
  overflow-x: auto !important;
  overflow-y: hidden;
  padding-bottom: 12px; /* add space for scrollbar */
}

.panel > div:first-child::-webkit-scrollbar {
  height: 10px;
}

.panel > div:first-child::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 5px;
  margin: 0 20px; /* add margin to scrollbar track */
}

.panel > div:first-child::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  border-radius: 5px;
  transition: background 0.3s;
}

.panel > div:first-child::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(90deg, var(--accent2), var(--accent3));
}

/* hover-scroll box: only scroll when pointer/touch is inside it */
.hover-scroll {
  overflow: hidden;
  max-height: calc(100% - 120px); /* leave room for header/footer inside panel */
  padding-right: 8px; /* give space for scrollbar */
  padding-bottom: 20px; /* add extra space for content */
}
.hover-scroll:hover {
  overflow: auto;
}
/* nice thin scrollbar */
.hover-scroll::-webkit-scrollbar {
  width: 10px;
}
.hover-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border-radius: 8px;
}

/* small animation helpers */
.floaty {
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0);
  }
}

/* anime-pop tweaks */
.anime-pop {
  animation: neonPulse 5.2s ease-in-out infinite;
  transform-origin: center;
}
@keyframes neonPulse {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-6px) scale(1.01);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

/* Enhanced responsive design */
@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr 360px;
  }
  .preview {
    height: auto;
  }
  .panel .col {
    grid-template-columns: 1fr;
  }

  /* Enhanced mobile animations - reduce motion for performance */
  .animate-fade-in-up,
  .animate-slide-in-left,
  .animate-slide-in-right,
  .animate-floating {
    animation-duration: 0.6s;
  }
}
@media (max-width: 880px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .preview {
    height: auto;
  }
  .top {
    align-items: flex-start;
  }
  .logo {
    width: 48px;
    height: 48px;
    font-size: 16px;
  }
  .h-scroll-outer {
    height: 60vh;
  }
}
@media (max-width: 560px) {
  .wrap {
    padding: 14px;
  }
  nav {
    width: 100%;
    gap: 8px;
    justify-content: flex-start;
  }
  .cta-row {
    gap: 12px;
    grid-template-columns: 1fr 1fr;
  }
  .btn {
    padding: 14px 20px;
    font-size: 14px;
  }
  .h-scroll-outer {
    height: 55vh;
  }

  /* Enhanced mobile touch targets */
  .btn, .card {
    min-height: 44px;
  }

  /* Reduce animations on mobile for performance */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  }
}

/* Accessibility improvements */
@media (prefers-contrast: high) {
  .card {
    border: 2px solid var(--border);
  }

  .btn {
    border: 2px solid currentColor;
  }
}

/* Focus visible improvements */
.btn:focus-visible,
.card:focus-visible,
.neon-card:focus-visible {
  outline: 3px solid var(--accent2);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(0, 194, 255, 0.2);
}
