/* ============================================
   NOVA AUDIO — Premium Speaker Showcase
   Design System & Global Styles
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  /* Colors — Light Theme (White BG, Black Text) */
  --bg-primary: #ffffff;
  --bg-secondary: #f4f4f4;
  --bg-tertiary: #e0e0e0;
  --bg-card: #ffffff;
  --bg-glass: rgba(0, 0, 0, 0.03);
  --bg-glass-hover: rgba(0, 0, 0, 0.05);

  --text-primary: #111111;
  --text-secondary: #444444;
  --text-muted: #666666;

  --accent-cyan: #0091ea;
  --accent-blue: #0056d2;
  --accent-purple: #6200ea;
  --accent-violet: #6200ea;

  --gradient-primary: linear-gradient(135deg, #0091ea, #0056d2);
  --gradient-accent: linear-gradient(135deg, #0056d2, #6200ea);
  --gradient-hero: linear-gradient(135deg, #0091ea, #6200ea);

  --glow-cyan: 0 0 30px rgba(0, 145, 234, 0.2);
  --glow-blue: 0 0 30px rgba(0, 86, 210, 0.2);
  --glow-purple: 0 0 30px rgba(98, 0, 234, 0.2);

  --border-subtle: rgba(0, 0, 0, 0.1);
  --border-glow: rgba(0, 0, 0, 0.2);

  /* Typography */
  --font-primary: 'Outfit', sans-serif;
  --font-secondary: 'Space Grotesk', sans-serif;

  /* Spacing */
  --section-padding: 120px 0;
  --container-max: 1280px;
  --container-padding: 0 40px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-primary);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  border: none;
  outline: none;
  cursor: pointer;
  font-family: var(--font-primary);
  background: none;
}

input,
textarea,
select {
  font-family: var(--font-primary);
  outline: none;
  border: none;
  background: none;
}

/* ---------- Container ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-padding);
}

/* ---------- Typography ---------- */
.heading-xl {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.heading-lg {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.heading-md {
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.heading-sm {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 600;
  line-height: 1.3;
}

.text-lg {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.7;
  color: var(--text-secondary);
}

.text-md {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.text-gradient {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-glow {
  text-shadow: none;
}

.label {
  font-family: var(--font-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}

/* ---------- Section Styles ---------- */
.section {
  padding: var(--section-padding);
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 80px;
}

.section-header .label {
  margin-bottom: 16px;
  display: inline-block;
}

.section-header .heading-lg {
  margin-bottom: 20px;
}

.section-header .text-lg {
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #ffffff;
  border-color: #0091ea;
  box-shadow: 0 4px 15px rgba(0, 145, 234, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 145, 234, 0.3);
}

.btn-secondary {
  background: var(--bg-glass);
  color: var(--text-primary);
  border: 1px solid var(--border-glow);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--bg-glass-hover);
  border-color: var(--accent-cyan);
  box-shadow: var(--glow-cyan);
  transform: translateY(-2px);
}

.btn-icon {
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 50%;
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ---------- Cards ---------- */
.glass-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 40px;
  transition: var(--transition-smooth);
}

.glass-card:hover {
  background: var(--bg-glass-hover);
  border-color: rgba(0, 145, 234, 0.25);
  box-shadow: 0 10px 30px rgba(0, 145, 234, 0.1);
  transform: translateY(-4px);
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition-smooth);
  background: #111111;
  /* Keep header black */
  color: #ffffff;
}

.navbar.scrolled {
  background: rgba(17, 17, 17, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 0;
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.nav-logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo-icon svg {
  width: 22px;
  height: 22px;
  fill: #ffffff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ffffff;
  transition: var(--transition-smooth);
  border-radius: 2px;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px;
  font-size: 0.85rem;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: var(--transition-fast);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(5px) translateX(5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-5px) translateX(5px);
}

/* ---------- Footer ---------- */
.footer {
  background: #1a1a1a;
  /* Keep footer dark */
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand .nav-logo {
  margin-bottom: 20px;
}

.footer-brand .text-md {
  max-width: 300px;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.footer-social a:hover {
  background: var(--bg-glass-hover);
  border-color: var(--accent-cyan);
  box-shadow: 0 4px 15px rgba(0, 145, 234, 0.25);
  transform: translateY(-2px);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  fill: rgba(255, 255, 255, 0.7);
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #ffffff;
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 6px 0;
}

.footer-col a:hover {
  color: #0091ea;
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links a:hover {
  color: #0091ea;
}

/* ---------- Animations & Keyframes ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(0, 145, 234, 0.2);
  }

  50% {
    box-shadow: 0 0 40px rgba(0, 145, 234, 0.3);
  }
}

@keyframes rotate-slow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes wave-move {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

@keyframes slide-in-left {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slide-in-right {
  from {
    opacity: 0;
    transform: translateX(60px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Background Effects ---------- */
.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: -1;
  pointer-events: none;
}

.bg-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.bg-glow-orb.cyan {
  background: rgba(0, 145, 234, 0.08);
}

.bg-glow-orb.purple {
  background: rgba(98, 0, 234, 0.08);
}

.bg-glow-orb.blue {
  background: rgba(0, 86, 210, 0.08);
}

/* ---------- Sound Wave Animation ---------- */
.sound-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 40px;
}

.sound-wave .bar {
  width: 3px;
  background: var(--gradient-primary);
  border-radius: 3px;
  animation: sound-bar 1.2s ease-in-out infinite;
}

.sound-wave .bar:nth-child(1) {
  height: 40%;
  animation-delay: 0s;
}

.sound-wave .bar:nth-child(2) {
  height: 70%;
  animation-delay: 0.1s;
}

.sound-wave .bar:nth-child(3) {
  height: 100%;
  animation-delay: 0.2s;
}

.sound-wave .bar:nth-child(4) {
  height: 60%;
  animation-delay: 0.3s;
}

.sound-wave .bar:nth-child(5) {
  height: 80%;
  animation-delay: 0.4s;
}

.sound-wave .bar:nth-child(6) {
  height: 50%;
  animation-delay: 0.5s;
}

.sound-wave .bar:nth-child(7) {
  height: 90%;
  animation-delay: 0.15s;
}

.sound-wave .bar:nth-child(8) {
  height: 30%;
  animation-delay: 0.35s;
}

@keyframes sound-bar {

  0%,
  100% {
    transform: scaleY(0.3);
  }

  50% {
    transform: scaleY(1);
  }
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #ffffff;
}

::-webkit-scrollbar-thumb {
  background: #cccccc;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0091ea;
}

/* ---------- Page Transition ---------- */
.page-transition-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.page-transition-overlay.active {
  opacity: 1;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px 0;
    --container-padding: 0 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
    --container-padding: 0 20px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(17, 17, 17, 0.98);
    color: #ffffff;
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    transform: translateX(100%);
    transition: var(--transition-smooth);
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-cta.desktop-only {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .section-header {
    margin-bottom: 50px;
  }

  .glass-card {
    padding: 28px;
  }
}

@media (max-width: 480px) {
  :root {
    --container-padding: 0 16px;
  }

  .btn {
    padding: 14px 28px;
    font-size: 0.9rem;
  }
}

/* ---------- Floating WhatsApp Button ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 40px rgba(37, 211, 102, 0.15);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: wa-pulse 2s ease-in-out infinite;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6), 0 0 60px rgba(37, 211, 102, 0.25);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
}

.whatsapp-float .wa-tooltip {
  position: absolute;
  right: 70px;
  background: rgba(18, 18, 26, 0.95);
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateX(10px);
  backdrop-filter: blur(10px);
}

.whatsapp-float:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@keyframes wa-pulse {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 40px rgba(37, 211, 102, 0.15);
  }

  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6), 0 0 60px rgba(37, 211, 102, 0.25);
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }

  .whatsapp-float .wa-tooltip {
    display: none;
  }
}