/**
 * Everyday Voice™ — Electric Violet & Cyber Telecom Design System
 * Primary Host: voice.everydayitinc.com
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;600;800&display=swap');

:root {
  --v-bg: #060a14;
  --v-surface: #0b1122;
  --v-card: rgba(14, 23, 46, 0.82);
  --v-card-hover: rgba(22, 34, 68, 0.95);
  
  --v-purple: #a855f7;
  --v-purple-light: #c084fc;
  --v-purple-glow: rgba(168, 85, 247, 0.4);
  
  --v-cyan: #38bdf8;
  --v-cyan-glow: rgba(56, 189, 248, 0.35);
  --v-emerald: #10b981;
  --v-amber: #f59e0b;
  --v-red: #ef4444;
  
  --v-border: rgba(148, 163, 184, 0.15);
  --v-border-purple: rgba(168, 85, 247, 0.45);
  --v-border-cyan: rgba(56, 189, 248, 0.4);
  
  --v-text: #f8fafc;
  --v-muted: #94a3b8;
  --v-dim: #64748b;
  
  --v-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  --v-shadow-purple: 0 20px 50px rgba(168, 85, 247, 0.25);
  
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 32px;
  --radius-pill: 9999px;
  
  --trans: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--v-bg);
  color: var(--v-text);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  letter-spacing: -0.015em;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Ambient Purple & Cyan Glows */
.voice-ambient-top {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.22) 0%, rgba(56, 189, 248, 0.1) 45%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.voice-ambient-mid {
  position: absolute;
  top: 1300px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(192, 132, 252, 0.15) 0%, transparent 70%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

/* Typography & Headings */
h1, h2, h3, h4, h5, h6 {
  color: #ffffff;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.gradient-text-voice {
  background: linear-gradient(135deg, #ffffff 0%, #c084fc 45%, #a855f7 75%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.eyebrow-pill-voice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: var(--v-purple-light);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

/* Top Universal Switcher */
.top-ecosystem-bar {
  background: rgba(4, 7, 14, 0.95);
  border-bottom: 1px solid var(--v-border);
  padding: 8px 0;
  font-size: 0.82rem;
  backdrop-filter: blur(16px);
  position: relative;
  z-index: 100;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.ecosystem-nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ecosystem-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--v-muted);
  border: 1px solid transparent;
  transition: var(--trans);
}

.ecosystem-chip:hover,
.ecosystem-chip.active {
  color: #fff;
  background: rgba(168, 85, 247, 0.15);
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.2);
}

.pulse-beacon {
  width: 8px;
  height: 8px;
  background-color: var(--v-emerald);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseBeacon 2s infinite;
}

@keyframes pulseBeacon {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Main Navigation Header */
.voice-header {
  position: sticky;
  top: 0;
  background: rgba(6, 10, 20, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--v-border);
  padding: 16px 0;
  z-index: 99;
}

.voice-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #a855f7 0%, #7e22ce 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  box-shadow: 0 0 20px var(--v-purple-glow);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.brand-text-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.03em;
  display: flex;
  flex-direction: column;
}

.brand-text-subtitle {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--v-purple-light);
}

.nav-menu-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-menu-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--v-muted);
  transition: var(--trans);
}

.nav-menu-links a:hover,
.nav-menu-links a.active {
  color: #fff;
  text-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

/* Buttons */
.btn-voice {
  background: linear-gradient(135deg, #a855f7 0%, #7e22ce 100%);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 12px 26px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 25px rgba(168, 85, 247, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--trans);
}

.btn-voice:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(168, 85, 247, 0.6);
  color: #fff;
}

.btn-voice-cyan {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 12px 26px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--trans);
}

.btn-voice-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(56, 189, 248, 0.6);
  color: #fff;
}

.btn-voice-outline {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--v-border);
  backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--trans);
}

.btn-voice-outline:hover {
  border-color: var(--v-purple-light);
  background: rgba(168, 85, 247, 0.12);
  color: var(--v-purple-light);
  transform: translateY(-2px);
}

/* Sound Waveform Animation */
.sound-wave {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 24px;
}

.sound-bar {
  width: 4px;
  background: var(--v-purple-light);
  border-radius: 2px;
  animation: soundBounce 1.2s ease-in-out infinite alternate;
}

.sound-bar:nth-child(2) { animation-delay: 0.2s; height: 16px; background: #38bdf8; }
.sound-bar:nth-child(3) { animation-delay: 0.4s; height: 22px; background: #c084fc; }
.sound-bar:nth-child(4) { animation-delay: 0.1s; height: 14px; background: #a855f7; }
.sound-bar:nth-child(5) { animation-delay: 0.3s; height: 18px; background: #34d399; }

@keyframes soundBounce {
  0% { transform: scaleY(0.3); }
  100% { transform: scaleY(1); }
}

/* Glassmorphism Cards */
.voice-card {
  background: var(--v-card);
  border: 1px solid var(--v-border);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  box-shadow: var(--v-shadow);
  backdrop-filter: blur(16px);
  transition: var(--trans);
  position: relative;
  overflow: hidden;
}

.voice-card:hover {
  transform: translateY(-6px);
  border-color: var(--v-border-purple);
  background: var(--v-card-hover);
  box-shadow: var(--v-shadow-purple);
}

/* Interactive Softphone Webpad */
.dialpad-container {
  max-width: 380px;
  margin: 0 auto;
  background: #080d1a;
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.85);
}

.dialer-screen {
  background: #04070e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  text-align: center;
  margin-bottom: 24px;
}

.dialer-digits {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  min-height: 40px;
  letter-spacing: 0.08em;
}

.dialpad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.dial-key {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  height: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: var(--trans);
  user-select: none;
}

.dial-key:hover,
.dial-key:active {
  background: rgba(168, 85, 247, 0.25);
  border-color: #c084fc;
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
}

.dial-num {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
}

.dial-sub {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--v-muted);
  letter-spacing: 0.1em;
  margin-top: 2px;
}

.dial-action-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.btn-call-start {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.5);
  transition: var(--trans);
}

.btn-call-start:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.7);
}

.btn-call-end {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.5);
  transition: var(--trans);
}

/* Footer */
.voice-footer {
  background: #020408;
  border-top: 1px solid var(--v-border);
  padding: 70px 0 30px;
  margin-top: 80px;
  font-size: 0.9rem;
}

.voice-mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--v-border);
  color: #fff;
  font-size: 1.2rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: var(--trans);
}

.voice-mobile-toggle:hover {
  background: rgba(168, 85, 247, 0.2);
  border-color: var(--v-purple);
  color: var(--v-purple-light);
}

@media (max-width: 900px) {
  .voice-mobile-toggle { display: inline-flex; }
  .voice-header-inner { position: relative; }
  .nav-menu-links {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    background: rgba(6, 10, 20, 0.98);
    border: 1px solid var(--v-border);
    border-radius: var(--radius-md);
    padding: 16px;
    flex-direction: column;
    gap: 8px;
    box-shadow: var(--v-shadow);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 1000;
  }
  .nav-menu-links.open { display: flex !important; }
  .nav-menu-links li a {
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    display: block;
    width: 100%;
  }
  .nav-menu-links li a:hover, .nav-menu-links li a.active {
    background: rgba(168, 85, 247, 0.15);
    color: var(--v-purple-light);
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .top-bar-inner { justify-content: center; text-align: center; }
  .ecosystem-nav-links { justify-content: center; }
  .brand-text-title span { font-size: 1.1rem; }
}

