/* Dark Futuristic Theme - Global Styles */
:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #1a1a1a;
  --bg-card: #1e1e1e;
  --bg-gradient: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2a2a2a 100%);
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --text-muted: #666666;
  --accent-primary: #00d4ff;
  --accent-secondary: #ff6b35;
  --accent-gradient: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
  --border-color: #333333;
  --shadow-glow: 0 0 20px rgba(0, 212, 255, 0.3);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.5);
}

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

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-secondary);
}

/* Global animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(0, 212, 255, 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.8);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent-secondary);
  text-shadow: 0 0 10px currentColor;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

/* Header styles */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(26, 26, 26, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav {
  display: none;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
}

.nav a {
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
}

.nav a::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: width 0.3s ease;
}

.nav a:hover::before {
  width: 100%;
}

.nav-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.mobile-menu-toggle {
  display: block;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn::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;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--accent-gradient);
  color: white;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--accent-primary);
  border: 2px solid var(--accent-primary);
}

.btn-secondary:hover {
  background: var(--accent-primary);
  color: var(--bg-primary);
  box-shadow: var(--shadow-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.1);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), var(--shadow-glow);
}

.card:hover::before {
  opacity: 1;
}

/* Sections */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-hero {
  padding: 8rem 0 5rem;
  background: var(--bg-gradient);
  position: relative;
  overflow: hidden;
}

.section-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
}

/* Grid layouts */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);  /* Always 4 columns */
  gap: 2rem;
  max-width: 1400px;  /* Prevents over-stretching */
  margin: 0 auto;  /* Centers the grid */
}

/* Responsive behavior for smaller screens */
@media (max-width: 1200px) {
  .grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* Feature icons */
.icon {
  width: 3rem;
  height: 3rem;
  background: var(--accent-gradient);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  position: relative;
}

.icon::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--accent-gradient);
  border-radius: 10px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.icon:hover::after {
  opacity: 0.3;
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 3rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  text-align: center;
  color: var(--text-muted);
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

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

/* Animations */
.animate-fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

.animate-glow {
  animation: glow 2s ease-in-out infinite;
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* Responsive utilities */
@media (max-width: 767px) {
  .hidden-mobile {
    display: none;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-hero {
    padding: 6rem 0 3rem;
  }
}

@media (min-width: 768px) {
  .hidden-desktop {
    display: none;
  }
}

/* Text utilities */
.text-center {
  text-align: center;
}

.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-large {
  font-size: 1.25rem;
}

.text-small {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }

.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }

/* Special effects */
.glow-text {
  text-shadow: 0 0 10px var(--accent-primary);
}

.backdrop-blur {
  backdrop-filter: blur(10px);
}

/* Pricing table specific styles */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.pricing-card {
  position: relative;
  padding: 2rem;
}

.pricing-card.featured {
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-glow);
}

.pricing-card.featured::before {
  opacity: 1;
}

.price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-primary);
}

.price-period {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 400;
}

/* FAQ styles */
.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem 0;
}

.faq-question {
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--accent-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding-top: 0;
}

.faq-answer.open {
  max-height: 200px;
  padding-top: 1rem;
}

/* Modal styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: var(--text-primary);
}


.demo-video-player {
    width: 100%;
    max-width: 800px; /* Or whatever max fits nicely */
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px; /* Optional: for rounded edges */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Optional: nice touch */
}

.text-solid-white{
  background:none !important;
  -webkit-background-clip:initial !important;
  background-clip:initial !important;
  -webkit-text-fill-color:#fff !important;
  color:#fff !important;
}


.card-box {
  padding: 1.5rem;
  border-radius: 0.75rem;
  background-color: var(--bg-card);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s ease;
  text-align: center;
  border: 1px solid var(--border-color);
}


.card-box:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Animated Hero Headline */
.animated-headline {
    display: block;
}

.animated-headline .word {
    display: inline-block;
    margin: 0 0.15em;
}

.animated-headline .letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px) rotateX(-90deg);
    animation: rollIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.animated-headline .word:not(.solid-white) .letter {
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.animated-headline .solid-white .letter {
    color: #ffffff;
    background: none;
    -webkit-text-fill-color: #ffffff;
}

.animated-headline .special-entrance .letter {
    animation: specialRollInGlow 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    transform: translateY(50px) rotateX(-120deg) scale(0.8);
}

@keyframes rollIn {
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

@keyframes specialRollInGlow {
    0% {
        opacity: 0;
        transform: translateY(50px) rotateX(-120deg) scale(0.8);
        text-shadow: none;
    }
    60% {
        transform: translateY(-5px) rotateX(10deg) scale(1.05);
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0) scale(1);
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.6), 0 0 60px rgba(0, 212, 255, 0.4);
    }
}

/* Cascading Hero Content Animations */
.hero-description {
    opacity: 0;
    transform: translateY(20px);
}

.hero-description.animate {
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: 0.3s;
}

.hero-buttons .btn {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
}

.hero-buttons .btn.animate-1 {
    animation: bounceInUp 0.7s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    animation-delay: 0.7s;
}

.hero-buttons .btn.animate-2 {
    animation: bounceInUp 0.7s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    animation-delay: 0.9s;
}

.hero-footer-text {
    opacity: 0;
    transform: translateY(15px);
}

.hero-footer-text.animate {
    animation: fadeInGlow 1s ease-out forwards;
    animation-delay: 1.3s;
}

@keyframes bounceInUp {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    60% {
        opacity: 1;
        transform: translateY(-8px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeInGlow {
    0% {
        opacity: 0;
        transform: translateY(15px);
        text-shadow: none;
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        text-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
    }
}

/* Stats Section Scroll Animations */
.stats-title {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.stats-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.card-box {
    opacity: 0;
    transform: translateY(50px) scale(0.9) rotateX(-15deg);
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.card-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #00d4ff 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.8s ease;
}

.card-box.visible {
    opacity: 1;
    transform: translateY(0) scale(1) rotateX(0);
}

.card-box.visible::before {
    transform: translateX(100%);
}

.card-box:nth-child(1) { transition-delay: 0.1s; }
.card-box:nth-child(2) { transition-delay: 0.2s; }
.card-box:nth-child(3) { transition-delay: 0.3s; }
.card-box:nth-child(4) { transition-delay: 0.4s; }
.card-box:nth-child(5) { transition-delay: 0.5s; }
.card-box:nth-child(6) { transition-delay: 0.6s; }
.card-box:nth-child(7) { transition-delay: 0.7s; }
.card-box:nth-child(8) { transition-delay: 0.8s; }

.card-box::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 0;
}

.card-box:hover::after {
    width: 300px;
    height: 300px;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    }
    50% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 212, 255, 0.3);
    }
}

.card-box.visible {
    animation: pulseGlow 3s ease-in-out infinite;
    animation-delay: 1s;
}

.stat-number {
    display: inline-block;
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00d4ff 0%, #00ffaa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Integrations Section Animations */
.integrations-title {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.integrations-title.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.integrations-subtitle {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
    transition-delay: 0.2s;
}

.integrations-subtitle.visible {
    opacity: 1;
    transform: translateY(0);
}

.integration-card {
    opacity: 0;
    transform: translateY(60px) rotateY(-20deg) scale(0.85);
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.integration-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #00d4ff 30%, #00ffaa 70%, transparent 100%);
    transition: left 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.integration-card.visible {
    opacity: 1;
    transform: translateY(0) rotateY(0) scale(1);
}

.integration-card.visible::before {
    left: 100%;
}

.integration-card:nth-child(1) { transition-delay: 0.1s; }
.integration-card:nth-child(2) { transition-delay: 0.25s; }
.integration-card:nth-child(3) { transition-delay: 0.4s; }
.integration-card:nth-child(4) { transition-delay: 0.55s; }

.integration-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.8s ease, height 0.8s ease;
    z-index: 0;
    opacity: 0;
}

.integration-card.visible::after {
    width: 250px;
    height: 250px;
    opacity: 1;
}

.integration-card:hover::after {
    width: 300px;
    height: 300px;
}

.integration-card h4 {
    position: relative;
    z-index: 1;
}

.integration-card p {
    position: relative;
    z-index: 1;
}

@keyframes gentlePulse {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    }
    50% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 212, 255, 0.25);
    }
}

.integration-card.visible {
    animation: gentlePulse 4s ease-in-out infinite;
    animation-delay: 1.5s;
}

/*Enhanced Stats Cards*/

/* ============================================
   ENHANCED CARD STYLES FOR MAGIKA AI
   Add these styles to your styles.css file
   ============================================ */

/* Enhanced Stats Cards (Why Voice AI Matters) */
.card-box {
  padding: 2rem 1.5rem;
  border-radius: 16px;
  background: linear-gradient(145deg, #1e1e1e 0%, #252525 100%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: center;
  border: 1px solid rgba(0, 212, 255, 0.1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.card-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(0, 212, 255, 0.1) 50%, 
    transparent 100%);
  transition: left 0.6s ease;
}

.card-box:hover::before {
  left: 100%;
}

.card-box:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 212, 255, 0.3),
              0 0 80px rgba(0, 212, 255, 0.1);
  border-color: rgba(0, 212, 255, 0.5);
  background: linear-gradient(145deg, #252525 0%, #2a2a2a 100%);
}

.card-box .text-gradient {
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.card-box:hover .text-gradient {
  transform: scale(1.05);
  filter: brightness(1.2);
}

/* Pulsing glow effect on hover */
@keyframes cardPulse {
  0%, 100% {
    box-shadow: 0 12px 40px rgba(0, 212, 255, 0.3),
                0 0 80px rgba(0, 212, 255, 0.1);
  }
  50% {
    box-shadow: 0 12px 40px rgba(0, 212, 255, 0.4),
                0 0 100px rgba(0, 212, 255, 0.2);
  }
}

.card-box:hover {
  animation: cardPulse 2s ease-in-out infinite;
}

/* Enhanced Feature Cards (Voice Use Cases) */
.card {
  background: linear-gradient(145deg, #1e1e1e 0%, #232323 100%);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, 
    #00d4ff 0%, 
    #0099cc 25%, 
    transparent 50%, 
    #00d4ff 100%);
  border-radius: 16px;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
  background-size: 200% 200%;
  animation: gradientShift 3s ease infinite;
}

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

.card:hover::before {
  opacity: 0.6;
}

.card::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: all 0.6s ease;
  pointer-events: none;
}

.card:hover::after {
  width: 600px;
  height: 600px;
}

.card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 20px 60px rgba(0, 212, 255, 0.25),
              0 0 100px rgba(0, 212, 255, 0.15);
  border-color: rgba(0, 212, 255, 0.4);
}

.card h3 {
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.card:hover h3 {
  color: #00d4ff;
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.card p {
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.card:hover p {
  color: #e0e0e0;
}

.card img {
  transition: all 0.5s ease;
  position: relative;
  z-index: 1;
}

.card:hover img {
  transform: scale(1.05);
  filter: brightness(1.1);
  box-shadow: 0 8px 24px rgba(0, 212, 255, 0.3);
}

.card audio {
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.card:hover audio {
  filter: brightness(1.1);
}

/* Enhanced Integration Cards */
.integration-card {
  background: linear-gradient(145deg, #1e1e1e 0%, #252525 100%);
  border: 1px solid rgba(0, 212, 255, 0.12);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.integration-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    #00d4ff 50%, 
    transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.integration-card:hover::before {
  transform: translateX(100%);
}

.integration-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 60px 60px;
  border-color: transparent transparent rgba(0, 212, 255, 0.1) transparent;
  transition: all 0.4s ease;
}

.integration-card:hover::after {
  border-width: 0 0 120px 120px;
  border-color: transparent transparent rgba(0, 212, 255, 0.2) transparent;
}

.integration-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 15px 50px rgba(0, 212, 255, 0.25),
              0 0 80px rgba(0, 212, 255, 0.1);
  border-color: rgba(0, 212, 255, 0.4);
  background: linear-gradient(145deg, #252525 0%, #2a2a2a 100%);
}

.integration-card h4 {
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.integration-card:hover h4 {
  color: #00d4ff;
  transform: translateX(5px);
}

.integration-card p {
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.integration-card:hover p {
  color: #e0e0e0;
  transform: translateX(3px);
}

/* Staggered hover effect for grid items */
.grid-4 .card-box:nth-child(1) { transition-delay: 0s; }
.grid-4 .card-box:nth-child(2) { transition-delay: 0.05s; }
.grid-4 .card-box:nth-child(3) { transition-delay: 0.1s; }
.grid-4 .card-box:nth-child(4) { transition-delay: 0.15s; }
.grid-4 .card-box:nth-child(5) { transition-delay: 0.05s; }
.grid-4 .card-box:nth-child(6) { transition-delay: 0.1s; }
.grid-4 .card-box:nth-child(7) { transition-delay: 0.15s; }
.grid-4 .card-box:nth-child(8) { transition-delay: 0.2s; }

/* Add subtle background pattern */
.card-box,
.card,
.integration-card {
  background-image: 
    linear-gradient(145deg, #1e1e1e 0%, #252525 100%),
    repeating-linear-gradient(45deg, 
      transparent, 
      transparent 10px, 
      rgba(0, 212, 255, 0.02) 10px, 
      rgba(0, 212, 255, 0.02) 20px);
}

/* Shine effect on hover */
@keyframes shine {
  0% {
    left: -100%;
  }
  100% {
    left: 200%;
  }
}

.card-box:hover::before,
.integration-card:hover::before {
  animation: shine 1.5s ease;
}

/* ============================================
   ENHANCED LOGO STYLES FOR MAGIKA AI
   Add these styles to your styles.css file
   ============================================ */

/* Enhanced Logo Design */
.logo-enhanced {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 900;
  font-size: 1.75rem;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
}

.logo-icon {
  font-size: 1.5rem;
  background: linear-gradient(135deg, #00d4ff 0%, #00ffaa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.5));
  animation: rotateStar 20s linear infinite;
  display: inline-block;
}

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

.logo-text {
  background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  position: relative;
}

.logo-ai {
  background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
  margin-left: 0.15rem;
  position: relative;
}

.logo-ai::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    #00d4ff 50%, 
    transparent 100%);
  opacity: 0.6;
}

/* Subtle hover effect */
.logo-enhanced:hover .logo-icon {
  filter: drop-shadow(0 0 12px rgba(0, 212, 255, 0.8));
  animation-play-state: paused;
}

.logo-enhanced:hover .logo-ai::before {
  opacity: 1;
  animation: underlineGlow 1.5s ease-in-out infinite;
}

@keyframes underlineGlow {
  0%, 100% {
    opacity: 0.6;
    transform: scaleX(1);
  }
  50% {
    opacity: 1;
    transform: scaleX(1.1);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .logo-enhanced {
    font-size: 1.5rem;
  }
  
  .logo-icon {
    font-size: 1.25rem;
  }
}

/* Alternative: If you want the old .logo class to use new styles */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 900;
  font-size: 1.75rem;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
}

.logo::before {
  content: '✦';
  font-size: 1.5rem;
  background: linear-gradient(135deg, #00d4ff 0%, #00ffaa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.5));
  animation: rotateStar 20s linear infinite;
  margin-right: 0.25rem;
}

.logo:hover::before {
  filter: drop-shadow(0 0 12px rgba(0, 212, 255, 0.8));
  animation-play-state: paused;
}

/* Form Input Styles for Demo Form */
.form-input {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 0.875rem 1rem;
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
  width: 100%;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
  background: var(--bg-secondary);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

/* Demo Form Container */
.demo-form {
  background: transparent;
}

/* Mobile responsiveness for grid */
@media (max-width: 768px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}