/* ==========================================================================
   Sections - Hero, Features, Industries, Footer Styles
   ========================================================================== */

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  z-index: var(--z-sticky);
  transition: all var(--transition-base);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

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

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-white);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-link {
  padding: var(--space-2) var(--space-4);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-tertiary);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: var(--color-text-primary);
  background: var(--color-bg-tertiary);
}

.nav-cta {
  margin-left: var(--space-4);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  z-index: var(--z-modal);
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text-dark);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
  /* Hero section - NO additional top margin needed now */
  min-height: calc(100vh - 80px);
  padding-top: 40px;
  padding-bottom: 60px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Ensure scroll accounts for fixed header */
html {
  scroll-padding-top: var(--header-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 182, 212, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
  z-index: -1;
}

/* Floating Orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  z-index: -1;
}

.hero-orb-1 {
  width: 400px;
  height: 400px;
  background: rgba(6, 182, 212, 0.3);
  top: 10%;
  right: 10%;
  animation: float 6s ease-in-out infinite;
}

.hero-orb-2 {
  width: 300px;
  height: 300px;
  background: rgba(16, 185, 129, 0.2);
  bottom: 20%;
  left: 5%;
  animation: float 8s ease-in-out infinite reverse;
}

.hero-content {
  max-width: 800px;
}

.hero-title {
  font-size: var(--font-size-6xl);
  font-weight: var(--font-weight-extrabold);
  line-height: 1.1;
  margin-bottom: var(--space-6);
  color: var(--color-text-dark);
}

.hero-subtitle {
  font-size: var(--font-size-xl);
  color: var(--color-text-medium);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-8);
  max-width: 600px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  color: var(--color-text-medium);
}

.hero-trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-secondary);
}

/* ==========================================================================
   SOCIAL PROOF BAR
   ========================================================================== */

.social-proof {
  padding: var(--space-12) 0;
  background: var(--color-bg-light);
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
}

.social-proof-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  margin-bottom: var(--space-10);
}

.social-proof-stat {
  text-align: center;
}

.social-proof-stat .stat-value {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-extrabold);
  color: var(--color-text-dark);
  margin-bottom: var(--space-1);
}

.social-proof-stat .stat-label {
  font-size: var(--font-size-sm);
  color: var(--color-text-medium);
}

.integration-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.integration-bar-label {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  font-weight: var(--font-weight-medium);
}

/* ==========================================================================
   PROBLEM SECTION
   ========================================================================== */

.problem-section {
  padding: var(--space-16) 0;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.problem-card {
  text-align: center;
  padding: var(--space-8);
}

.problem-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(239, 68, 68, 0.1);
  border-radius: var(--radius-full);
  color: #EF4444;
}

.problem-icon svg {
  width: 32px;
  height: 32px;
}

.problem-stat {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-extrabold);
  color: var(--color-text-dark);
  margin-bottom: var(--space-2);
}

.problem-text {
  font-size: var(--font-size-base);
  color: var(--color-text-medium);
}

/* ==========================================================================
   AUDIO DEMOS SECTION
   ========================================================================== */

.audio-demos {
  padding: var(--space-24) 0;
  background: var(--color-bg-light);
}

.audio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.audio-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  transition: all var(--transition-base);
  min-height: 100%;
}

.audio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.audio-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.audio-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 182, 212, 0.1);
  border-radius: var(--radius-lg);
  color: var(--color-primary);
}

.audio-card-icon svg {
  width: 24px;
  height: 24px;
}

.audio-card-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-dark);
}

.audio-card-description {
  font-size: var(--font-size-sm);
  color: var(--color-text-medium);
  margin-bottom: var(--space-4);
  line-height: var(--line-height-relaxed);
  flex-grow: 1;
}

.audio-card-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-2);
  background: rgba(6, 182, 212, 0.1);
  color: var(--color-primary-dark);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-4);
}

/* Custom Audio Player */
.audio-player {
  background: var(--color-bg-light);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
}

.audio-player-controls {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.audio-play-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  color: var(--color-text-white);
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.audio-play-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.4);
}

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

.audio-progress-container {
  flex: 1;
}

.audio-progress {
  height: 6px;
  background: var(--color-border);
  border-radius: var(--radius-full);
  cursor: pointer;
  overflow: hidden;
}

.audio-progress-bar {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  width: 0%;
  transition: width 0.1s linear;
}

.audio-time {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-2);
  font-size: var(--font-size-xs);
  color: var(--color-text-light);
}

/* Waveform Visualization */
.audio-waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 32px;
  margin-bottom: var(--space-3);
}

.audio-waveform-bar {
  width: 4px;
  background: var(--color-primary);
  border-radius: var(--radius-full);
  opacity: 0.3;
  transition: all 0.1s ease;
}

.audio-waveform-bar.active {
  opacity: 1;
  animation: waveform 0.5s ease-in-out infinite alternate;
}

@keyframes waveform {
  0% { height: 8px; }
  100% { height: 100%; }
}

/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */

.features-section {
  padding: var(--space-24) 0;
}

/* Desktop: Standard grid layout */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

/* Desktop: Hide carousel dots */
.features-carousel-dots {
  display: none;
}

/* ==========================================================================
   HOW IT WORKS SECTION
   ========================================================================== */

.how-it-works {
  padding: var(--space-24) 0;
  background: var(--color-bg-light);
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  position: relative;
}

.steps-container::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(12.5% + 24px);
  right: calc(12.5% + 24px);
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  z-index: 0;
}

.step-item {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: var(--color-text-white);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  border-radius: var(--radius-full);
}

.step-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  color: var(--color-primary);
}

.step-icon svg {
  width: 32px;
  height: 32px;
}

.step-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-dark);
  margin-bottom: var(--space-2);
}

.step-description {
  font-size: var(--font-size-sm);
  color: var(--color-text-medium);
  line-height: var(--line-height-relaxed);
}

/* ==========================================================================
   INTEGRATIONS SECTION
   ========================================================================== */

.integrations-section {
  padding: var(--space-24) 0;
}

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.integration-category {
  text-align: center;
}

.integration-category h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-4);
  color: var(--color-text-dark);
}

.integration-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
}

.integration-logo {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-xl);
  transition: all var(--transition-fast);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.integration-logo:hover {
  border-color: var(--color-primary);
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.2);
  transform: translateY(-8px);
}

.integration-logo img,
.integration-logo svg {
  max-width: 50px;
  max-height: 50px;
}

/* Integration logo text styling */
.integration-logo svg text {
  font-weight: 700;
}

/* Tablet: Medium size integration logos */
@media (min-width: 768px) and (max-width: 1023px) {
  .integration-logo {
    width: 100px;
    height: 100px;
  }

  .integration-logo img,
  .integration-logo svg {
    max-width: 70px;
    max-height: 70px;
    width: 70px;
    height: 70px;
  }
}

/* Desktop: MUCH LARGER integration logos */
@media (min-width: 1024px) {
  .integration-logo {
    width: 140px;
    height: 140px;
    padding: var(--space-4);
    border-radius: 2rem;
    border-width: 3px;
  }

  .integration-logo img,
  .integration-logo svg {
    max-width: 100px;
    max-height: 100px;
    width: 100px;
    height: 100px;
  }

  .integration-logos {
    gap: var(--space-8);
  }

  .integration-category h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-6);
  }
}

/* ==========================================================================
   DASHBOARD SECTION
   ========================================================================== */

.dashboard-section {
  padding: var(--space-24) 0;
  background: var(--color-bg-light);
}

.dashboard-preview {
  background: var(--color-bg-white);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-xl);
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border);
}

.dashboard-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-dark);
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.dashboard-stat-card {
  background: var(--color-bg-light);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
}

.dashboard-stat-label {
  font-size: var(--font-size-xs);
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-1);
}

.dashboard-stat-value {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-dark);
}

.dashboard-stat-change {
  font-size: var(--font-size-xs);
  color: var(--color-secondary);
}

.dashboard-chart {
  height: 200px;
  background: var(--color-bg-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  padding: var(--space-4);
}

.chart-bar {
  width: 8%;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  transition: height 1s ease-out;
}

/* ==========================================================================
   INDUSTRIES SECTION
   ========================================================================== */

.industries-section {
  padding: var(--space-24) 0;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

/* ==========================================================================
   CONTACT / PRICING SECTION
   ========================================================================== */

.contact-section {
  padding: var(--space-24) 0;
  background: var(--color-bg-light);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
}

.contact-info h2 {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--space-4);
}

.contact-info > p {
  font-size: var(--font-size-lg);
  color: var(--color-text-medium);
  margin-bottom: var(--space-8);
}

.contact-benefits {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.contact-benefit {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--font-size-base);
  color: var(--color-text-medium);
}

.contact-benefit svg {
  width: 24px;
  height: 24px;
  color: var(--color-secondary);
  flex-shrink: 0;
}

.contact-form-wrapper {
  background: var(--color-bg-white);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-xl);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */

.faq-section {
  padding: var(--space-24) 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */

.cta-section {
  padding: var(--space-24) 0;
  background: var(--gradient-primary);
  color: var(--color-text-white);
  text-align: center;
}

.cta-section h2 {
  color: var(--color-text-white);
  font-size: var(--font-size-4xl);
  margin-bottom: var(--space-4);
}

.cta-section p {
  font-size: var(--font-size-lg);
  opacity: 0.9;
  margin-bottom: var(--space-8);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.cta-trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  opacity: 0.95;
}

.cta-trust-item svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  background: var(--color-bg-dark);
  color: var(--color-text-white);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--font-size-sm);
  margin-top: var(--space-4);
  margin-bottom: var(--space-6);
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  color: var(--color-text-white);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--color-primary);
}

.footer-column h4 {
  color: var(--color-text-white);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-4);
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--font-size-sm);
  transition: color var(--transition-fast);
}

.footer-column a:hover {
  color: var(--color-text-white);
}

.footer-bottom {
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
}

.footer-copyright {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.5);
}

.footer-nap {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.7);
}

.footer-nap a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-nap a:hover {
  color: var(--color-text-white);
}

/* ==========================================================================
   STATS BENTO GRID - REDUCE WHITESPACE
   ========================================================================== */

/* Reduce whitespace in large stat cards on desktop */
.stats-bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .stats-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .stats-bento-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

/* Large stat card - reduce padding on desktop */
.stat-card-large {
  padding: 2rem;
  min-height: 400px; /* Prevent excessive height */
}

@media (min-width: 1024px) {
  .stat-card-large {
    padding: 2.5rem; /* Less padding than before */
    grid-column: span 2;
    grid-row: span 2;
  }
}

/* Reduce bottom whitespace */
.stat-card-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem; /* Tighter spacing */
}

/* Compact the additional stats row */
.stat-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem; /* Reduced from 1.5rem */
  padding-top: 1.5rem; /* Reduced from 2rem */
  margin-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Satisfaction card - reduce height */
.satisfaction-card {
  padding: 2rem;
  display: flex;
  align-items: stretch; /* Use all available space */
}

@media (min-width: 1024px) {
  .satisfaction-card {
    grid-column: span 2;
    grid-row: span 1; /* Changed from span 2 */
    padding: 2.5rem;
  }
}
