/* WhisperMe Homepage - Enhanced Modern Design */

:root {
  --primary-gradient: linear-gradient(135deg, #8585ff, #66ccff);
  --dark-bg: #121212;
  --card-bg: #1a1a1a;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --success-color: #4caf50;
}

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

body {
  background: var(--dark-bg);
  color: var(--text-primary);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
}

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

/* Welcome Modal */
.modal-content {
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
  border: 1px solid rgba(133, 133, 255, 0.3);
  border-radius: 20px;
}

.welcome-emoji {
  font-size: 4rem;
  margin-bottom: 20px;
}

.welcome-heading {
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  margin-bottom: 15px;
}

.welcome-message {
  color: var(--text-secondary);
  margin-bottom: 25px;
}

/* Hero Section */
.hero-section {
  padding: 80px 0 80px;
  background: linear-gradient(135deg, #121212 0%, #1a1a1a 40%, #2a2a4a 100%);
  position: relative;
  overflow: hidden;
}

.floating-features-section {
  padding: 90px 0 80px;
  background: linear-gradient(135deg, #121212, #181830);
  border-bottom: 1px solid rgba(133, 133, 255, 0.2);
  text-align: center;
}

.feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(133, 133, 255, 0.2);
  border: 1px solid rgba(133, 133, 255, 0.4);
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 1rem;
  color: #8585ff;
  font-weight: 600;
}

.feature-badge.standalone {
  margin: 0 auto 30px;
}

.floating-card-showcase {
  position: relative;
  width: 100%;
  min-height: 520px;
}

.floating-feature-card {
  position: absolute;
  background: rgba(26, 26, 42, 0.95);
  border: 1px solid rgba(133, 133, 255, 0.25);
  border-radius: 20px;
  padding: 22px 24px;
  width: 190px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  animation: float 7s ease-in-out infinite;
  backdrop-filter: blur(6px);
}

.floating-feature-card i {
  font-size: 1.8rem;
}

.floating-feature-card p {
  font-weight: 700;
  margin: 0;
}

.status-chip {
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 600;
}

.status-chip.success {
  background: rgba(76, 175, 80, 0.15);
  color: #4caf50;
}

.status-chip.info {
  background: rgba(102, 204, 255, 0.15);
  color: #66ccff;
}

.status-chip.warning {
  background: rgba(255, 152, 0, 0.15);
  color: #ff9800;
}

.status-chip.dark {
  background: rgba(255, 255, 255, 0.1);
  color: #f5f5f5;
}

.feature-card-1 {
  top: 5%;
  left: 6%;
  animation-delay: 0s;
  color: #66ccff;
}

.feature-card-2 {
  top: 12%;
  left: 40%;
  animation-delay: 1s;
  color: #ffb347;
}

.feature-card-3 {
  top: 60%;
  left: 45%;
  animation-delay: 2s;
  color: #ff6b35;
}

.feature-card-4 {
  top: 24%;
  left: 66%;
  animation-delay: 3s;
  color: #4caf50;
}

.feature-card-5 {
  bottom: 30%;
  left: 26%;
  animation-delay: 4s;
  color: #a29bfe;
}

.feature-card-6 {
  bottom: 34%;
  left: 50%;
  animation-delay: 5s;
  color: #00bcd4;
}

.feature-card-7 {
  bottom: 10%;
  left: 12%;
  animation-delay: 6s;
  color: #ff4081;
}

.feature-card-8 {
  bottom: 6%;
  left: 70%;
  animation-delay: 6.5s;
  color: #ffc107;
}

.feature-card-10 {
  bottom: 46%;
  left: 10%;
  animation-delay: 7.5s;
  color: #5ed1ff;
}

.feature-card-11 {
  bottom: 20%;
  left: 78%;
  animation-delay: 8s;
  color: #ff8c42;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 50%,
      rgba(133, 133, 255, 0.15),
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 50%,
      rgba(102, 204, 255, 0.15),
      transparent 50%
    );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.badge-wrapper {
  margin-bottom: 25px;
}

.hero-badge {
  display: inline-block;
  background: rgba(133, 133, 255, 0.2);
  border: 1px solid rgba(133, 133, 255, 0.4);
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 0.95rem;
  color: #8585ff;
  font-weight: 600;
}

.hero-badge i {
  margin-right: 8px;
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 25px;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  gap: 25px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.stat-card {
  flex: 1;
  min-width: 140px;
  background: rgba(133, 133, 255, 0.1);
  border: 1px solid rgba(133, 133, 255, 0.3);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(133, 133, 255, 0.5);
  box-shadow: 0 10px 30px rgba(133, 133, 255, 0.2);
}

.stat-card h3 {
  font-size: 2.2rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  margin-bottom: 8px;
}

.stat-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-large {
  padding: 16px 36px;
  font-size: 1.1rem;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
}

.btn-primary {
  background: var(--primary-gradient);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(133, 133, 255, 0.4);
  color: white;
}

.btn-outline-primary {
  background: transparent;
  border: 2px solid #8585ff;
  color: #8585ff;
}

.btn-outline-primary:hover {
  background: rgba(133, 133, 255, 0.1);
  transform: translateY(-3px);
  color: #8585ff;
}

.btn-outline-light {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  color: white;
}

/* Modern Dropdown */
.modern-dropdown {
  background: #1a1a1a;
  border: 1px solid rgba(133, 133, 255, 0.3);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  margin-top: 8px;
}

.modern-dropdown .dropdown-item {
  color: var(--text-secondary);
  padding: 12px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modern-dropdown .dropdown-item:hover {
  background: rgba(133, 133, 255, 0.2);
  color: white;
}

/* Hero Visual */
.hero-visual {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.hero-image {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(133, 133, 255, 0.3);
}

/* Trusted By Section */
.trusted-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #1a1a1a, #121212);
  border-top: 1px solid rgba(133, 133, 255, 0.2);
  border-bottom: 1px solid rgba(133, 133, 255, 0.2);
}

.trusted-header {
  text-align: center;
  margin-bottom: 60px;
}

.trusted-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 15px;
}

.trusted-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Stats Showcase */
.stats-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
  margin-bottom: 50px;
}

.showcase-card {
  background: var(--card-bg);
  border: 1px solid rgba(133, 133, 255, 0.2);
  border-radius: 20px;
  padding: 35px 25px;
  text-align: center;
  transition: all 0.3s ease;
}

.showcase-card:hover {
  transform: translateY(-8px);
  border-color: rgba(133, 133, 255, 0.5);
  box-shadow: 0 15px 40px rgba(133, 133, 255, 0.2);
}

.showcase-icon {
  width: 70px;
  height: 70px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: white;
  transition: all 0.3s ease;
}

.showcase-card:hover .showcase-icon {
  transform: scale(1.1) rotate(5deg);
}

.showcase-card h4 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: white;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0;
}

/* Industries Grid */
.industries-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  align-items: center;
}

.industry-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(133, 133, 255, 0.1);
  border: 1px solid rgba(133, 133, 255, 0.3);
  padding: 12px 24px;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.industry-badge:hover {
  background: rgba(133, 133, 255, 0.2);
  border-color: rgba(133, 133, 255, 0.5);
  transform: translateY(-3px);
}

.industry-badge i {
  font-size: 1.3rem;
  color: #8585ff;
}

.industry-badge span {
  font-size: 0.95rem;
  font-weight: 600;
  color: white;
}

/* Section Headers */
.section-header {
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
}

/* Demo Section */
.demo-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #1a1a1a, #121212);
}

.video-wrapper {
  max-width: 1000px;
  margin: 0 auto 60px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(133, 133, 255, 0.3);
}

.demo-video {
  width: 100%;
  display: block;
}

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

.benefit-card {
  background: var(--card-bg);
  border: 1px solid rgba(133, 133, 255, 0.2);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.benefit-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.benefit-card:hover {
  transform: translateY(-10px);
  border-color: rgba(133, 133, 255, 0.5);
  box-shadow: 0 20px 50px rgba(133, 133, 255, 0.2);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: white;
}

.benefit-card h4 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.benefit-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Use Cases Section */
.use-cases-section {
  padding: 100px 0;
  background: var(--dark-bg);
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.use-case-card {
  background: var(--card-bg);
  border: 1px solid rgba(133, 133, 255, 0.2);
  border-radius: 20px;
  padding: 40px 30px;
  transition: all 0.3s ease;
  opacity: 0;
  transform: scale(0.95);
}

.use-case-card.animate-in {
  opacity: 1;
  transform: scale(1);
}

.use-case-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(133, 133, 255, 0.5);
  box-shadow: 0 20px 50px rgba(133, 133, 255, 0.2);
}

.card-icon {
  width: 70px;
  height: 70px;
  background: var(--primary-gradient);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  margin-bottom: 20px;
}

.use-case-card h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.features-list li {
  padding: 10px 0;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 12px;
}

.features-list li i {
  color: var(--success-color);
  font-size: 0.9rem;
}

/* Workflow Section */
.workflow-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #1a1a1a, #121212);
}

.workflow-steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.workflow-card {
  flex: 1;
  min-width: 280px;
  background: var(--card-bg);
  border: 1px solid rgba(133, 133, 255, 0.2);
  border-radius: 20px;
  padding: 40px 30px;
  position: relative;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.workflow-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.workflow-card:hover {
  transform: translateY(-10px);
  border-color: rgba(133, 133, 255, 0.5);
  box-shadow: 0 20px 50px rgba(133, 133, 255, 0.2);
}

.workflow-card.active {
  border-color: rgba(133, 133, 255, 0.6);
  background: linear-gradient(
    135deg,
    rgba(133, 133, 255, 0.1),
    rgba(102, 204, 255, 0.1)
  );
}

.step-number {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 3rem;
  font-weight: 800;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.3;
}

.workflow-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2.5rem;
  color: white;
}

.workflow-card h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  font-weight: 700;
  text-align: center;
}

.workflow-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.workflow-features li {
  padding: 8px 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  text-align: center;
}

.workflow-arrow {
  font-size: 2rem;
  color: rgba(133, 133, 255, 0.5);
}

/* Tools Section */
.tools-section {
  padding: 100px 0;
  background: var(--dark-bg);
}

.tools-carousel {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-behavior: smooth;
  cursor: grab;
  padding: 20px 0;
}

.tools-carousel::-webkit-scrollbar {
  height: 8px;
}

.tools-carousel::-webkit-scrollbar-track {
  background: rgba(133, 133, 255, 0.1);
  border-radius: 10px;
}

.tools-carousel::-webkit-scrollbar-thumb {
  background: rgba(133, 133, 255, 0.4);
  border-radius: 10px;
}

.tools-carousel::-webkit-scrollbar-thumb:hover {
  background: rgba(133, 133, 255, 0.6);
}

.tool-card {
  flex: 0 0 350px;
  background: var(--card-bg);
  border: 1px solid rgba(133, 133, 255, 0.2);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  opacity: 0;
  transform: scale(0.95);
}

.tool-card.animate-in {
  opacity: 1;
  transform: scale(1);
}

.tool-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(133, 133, 255, 0.5);
  box-shadow: 0 20px 50px rgba(133, 133, 255, 0.2);
}

.tool-image {
  height: 220px;
  overflow: hidden;
}

.tool-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.tool-card:hover .tool-image img {
  transform: scale(1.1);
}

.tool-content {
  padding: 25px;
}

.tool-content h4 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.tool-content p {
  color: var(--text-secondary);
  margin-bottom: 15px;
  line-height: 1.6;
}

.tool-link {
  color: #8585ff;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.tool-link:hover {
  color: #66ccff;
  gap: 12px;
}

/* Testimonials Section */
.testimonials-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #1a1a1a, #121212);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: var(--card-bg);
  border: 1px solid rgba(133, 133, 255, 0.2);
  border-radius: 20px;
  padding: 35px 30px;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.testimonial-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.testimonial-card:hover {
  transform: translateY(-10px);
  border-color: rgba(133, 133, 255, 0.5);
  box-shadow: 0 20px 50px rgba(133, 133, 255, 0.2);
}

.stars {
  margin-bottom: 20px;
}

.stars i {
  color: #ffc107;
  font-size: 1.1rem;
  margin-right: 4px;
}

.testimonial-text {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 25px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author strong {
  display: block;
  color: white;
  font-size: 1rem;
  margin-bottom: 4px;
}

.testimonial-author span {
  display: block;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Final CTA Section */
.final-cta-section {
  padding: 100px 0;
  background: var(--dark-bg);
}

.cta-card {
  background: var(--primary-gradient);
  border-radius: 30px;
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1),
    transparent 70%
  );
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-card h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: white;
}

.cta-card p {
  font-size: 1.2rem;
  margin-bottom: 35px;
  color: rgba(255, 255, 255, 0.9);
}

.cta-note {
  margin-top: 25px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .workflow-steps {
    flex-direction: column;
  }

  .workflow-arrow {
    transform: rotate(90deg);
    margin: 20px 0;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .cta-card {
    padding: 60px 30px;
  }

  .floating-badge {
    font-size: 0.8rem;
    padding: 10px 16px;
  }

  .badge-1,
  .badge-2,
  .badge-3 {
    position: static;
    display: inline-flex;
    margin: 10px 5px;
  }

  .floating-card-showcase {
    min-height: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    padding: 10px;
  }

  .floating-feature-card {
    position: static;
    width: 100%;
    max-width: none;
    margin: 0;
    animation: none;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-stats {
    gap: 15px;
  }

  .stat-card h3 {
    font-size: 1.8rem;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn-large {
    width: 100%;
    justify-content: center;
  }

  .floating-card-showcase {
    min-height: auto;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
  }

  .feature-badge {
    font-size: 0.85rem;
    padding: 10px 18px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .tool-card {
    flex: 0 0 280px;
  }
}
