/* Global Styles */
:root {
  --primary-bg: #ffffff;
  --secondary-bg: #f9fafb;
  --dark-navy: #0a0e23;
  --purple: #7c3aed;
  --pink: #ec4899;
  --orange: #f59e0b;
  --blue: #4f46e5;
  --border-radius: 8px;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

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

body {
  font-family: "Inter", sans-serif;
  color: var(--dark-navy);
  line-height: 1.6;
  background-color: var(--primary-bg);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--dark-navy);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--purple);
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(
    to right,
    var(--purple),
    var(--pink),
    var(--orange)
  );
  color: white;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(124, 58, 237, 0.3);
  color: white;
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--purple);
  color: var(--purple);
  margin-left: 1rem;
}

.btn-secondary:hover {
  background-color: rgba(124, 58, 237, 0.1);
  transform: translateY(-2px);
  color: var(--purple);
}

.btn-waitlist {
  background-color: white;
  color: var(--purple);
  font-size: 1.05rem;
  padding: 0.85rem 1.75rem;
}

/* Header Styles */
.header {
  position: sticky;
  top: 0;
  background-color: var(--dark-navy);
  padding: 1rem 0;
  z-index: 100;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header.scrolled {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.logo {
  display: flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.95);
  transition: all 0.3s ease;
}

.logo:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.logo img {
  height: 40px;
}

/* Logo Icon Animation */
@keyframes logoPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 3px 6px rgba(124, 58, 237, 0.3);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
}

.logo-icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
  background-color: #fff;
  border-radius: 50%;
  padding: 3px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  animation: logoPulse 4s infinite ease-in-out;
}

.header .logo:hover .logo-icon {
  animation-duration: 1s;
}

.section-title.with-logo:hover::before {
  animation: logoPulse 1s ease-in-out;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.trendscribe-header .logo-icon {
  width: 28px;
  height: 28px;
  vertical-align: -7px;
}

.top-trends h3 .logo-icon {
  width: 22px;
  height: 22px;
  vertical-align: -5px;
  margin-right: 4px;
}

.nav ul {
  display: flex;
  align-items: center;
}

.nav li {
  margin-left: 1rem;
}

.nav a {
  position: relative;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  display: inline-block;
}

.nav a:hover {
  background: linear-gradient(to right, var(--purple), var(--pink));
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav a::after {
  display: none;
}

/* Hero Section */
.hero {
  padding: 5rem 0;
  background-color: white;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  background-image: radial-gradient(
    circle at 70% 70%,
    rgba(124, 58, 237, 0.05) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  opacity: 0.5;
  animation: moveWave 15s infinite alternate ease-in-out;
  z-index: 0;
}

@keyframes moveWave {
  0% {
    transform: translateY(-5%) translateX(-2%);
  }
  100% {
    transform: translateY(5%) translateX(2%);
  }
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.hero-text {
  flex: 1;
}

.hero-image {
  flex: 1;
  position: relative;
}

.superheadline {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding: 0.35rem 1rem;
  background: linear-gradient(to right, var(--purple), var(--pink));
  color: white;
  border-radius: 4px;
  letter-spacing: 0.05em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  position: relative;
  box-shadow: 0 4px 10px rgba(124, 58, 237, 0.25);
  animation: pulse-glow 2s infinite alternate ease-in-out;
  transform: rotate(-1deg);
}

.superheadline::after {
  content: "🔥";
  position: absolute;
  top: -12px;
  right: -8px;
  font-size: 1.2rem;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 4px 10px rgba(124, 58, 237, 0.25);
  }
  100% {
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.4);
  }
}

.subhead {
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  margin-top: 2rem;
}

/* Dashboard Preview */
.dashboard-preview {
  background-color: #0a0e23;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  max-width: 500px;
  margin: 0 auto;
  color: white;
  animation: pulse 8s infinite alternate ease-in-out;
  transform-origin: center;
}

.trendscribe-header {
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dashboard-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
}

.live-indicator {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.15);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.7rem;
}

.live-dot {
  width: 8px;
  height: 8px;
  background-color: #f43f5e;
  border-radius: 50%;
  margin-right: 4px;
  animation: pulse 1.5s infinite;
}

.refresh-timer {
  opacity: 0.7;
}

.logo-text {
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
}

.top-trends h3 {
  margin-bottom: 0.5rem;
  color: white;
  display: flex;
  align-items: center;
}

.trend-update {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.category-badge,
.threshold-badge {
  background-color: rgba(124, 58, 237, 0.3);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
}

.threshold-badge {
  background-color: rgba(236, 72, 153, 0.3);
}

.trends-list {
  margin: 1.5rem 0;
}

.trend-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  gap: 0.75rem;
  padding: 0.5rem;
  border-radius: 6px;
  transition: background-color 0.3s ease;
  position: relative;
}

.trend-item:hover {
  background-color: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.rank {
  font-weight: 700;
  width: 1.5rem;
  opacity: 0.8;
}

.thumbnail {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.trend-category {
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.thumbnail.blue {
  background-color: #2563eb;
}

.thumbnail.orange {
  background-color: #f59e0b;
}

.title {
  flex: 1;
  font-size: 0.9rem;
}

.score {
  font-weight: 600;
  color: var(--purple);
  position: relative;
  display: inline-block;
  background: linear-gradient(to right, var(--purple), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.trend-details {
  position: absolute;
  top: -6px;
  right: 10px;
  font-size: 0.7rem;
  padding: 0.15rem 0.4rem;
  background-color: rgba(245, 158, 11, 0.2);
  border-radius: 3px;
  opacity: 0;
  transform: translateY(-5px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.trend-item:hover .trend-details {
  opacity: 1;
  transform: translateY(0);
}

#trend-1 .trend-details {
  background-color: rgba(236, 72, 153, 0.2);
}

#trend-2 .trend-details {
  background-color: rgba(124, 58, 237, 0.2);
}

#trend-3 .trend-details {
  background-color: rgba(245, 158, 11, 0.2);
}

.score::after {
  content: "↑";
  position: absolute;
  top: -8px;
  right: -12px;
  font-size: 0.8rem;
  color: #f43f5e;
  animation: fadeInOut 4s infinite;
  -webkit-text-fill-color: #f43f5e;
}

.trend-item:nth-child(1) .score::after {
  animation-delay: 0s;
}

.trend-item:nth-child(2) .score::after {
  animation-delay: 1.3s;
}

.trend-item:nth-child(3) .score::after {
  animation-delay: 2.6s;
}

.dashboard-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
}

.refresh-btn {
  padding: 0.5rem 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.refresh-icon {
  display: inline-block;
  transition: transform 0.5s ease;
  font-size: 1.1rem;
  line-height: 1;
}

.refresh-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.refresh-btn:hover .refresh-icon {
  transform: rotate(180deg);
}

.refreshing .refresh-icon {
  animation: spin 1s infinite linear;
}

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

.view-all {
  font-size: 0.875rem;
  color: white;
  opacity: 0.8;
}

.view-all:hover {
  opacity: 1;
  color: white;
  text-decoration: underline;
}

/* Pain + Solution Section */
.pain-solution {
  background-color: var(--secondary-bg);
  padding: 5rem 0;
}

.columns-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.feature-list li {
  display: flex;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(to right, var(--purple), var(--pink));
  border-radius: 50%;
  margin-right: 1rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  transform: scale(1);
  transition: transform 0.3s ease;
}

.feature-list li:hover .icon {
  transform: scale(1.1);
}

.icon.trends-die::before {
  content: "📈";
}

.icon.data-overload::before {
  content: "🤯";
}

.icon.off-brand::before {
  content: "😥";
}

.icon.spike-alerts::before {
  content: "⚡️";
}

.icon.ai-assist::before {
  content: "🤖";
}

.icon.laser-focus::before {
  content: "🎯";
}

.mockup-preview {
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.dashboard-mockup {
  width: 100%;
  display: block;
}

/* Features Gallery */
.features {
  background-color: white;
  padding: 5rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.25rem;
  position: relative;
}

.section-title.with-logo {
  padding-top: 60px;
}

.section-title.with-logo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background-color: white;
  border-radius: 50%;
  background-image: url("/assets/images/logo icon only.png");
  background-size: 70%;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.35);
  border: 3px solid rgba(236, 72, 153, 0.3);
}

.feature-card {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--border-radius);
  padding: 2px;
  background: linear-gradient(
    to right,
    var(--purple),
    var(--pink),
    var(--orange)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

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

.feature-img {
  height: auto;
  background-color: #0a0e23;
  overflow: hidden;
}

.feature-card .feature-img {
  flex: 0 0 auto;
}

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

.feature-card:hover .feature-img img {
  transform: scale(1.03);
}

.feature-card h3 {
  padding: 1.25rem 1.5rem 0.5rem;
  font-size: 1.25rem;
  background-color: white;
  margin-bottom: 0;
  flex: 0 0 auto;
}

.feature-card p {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.95rem;
  color: #4b5563;
  flex: 1 0 auto;
}

/* Feature combo images */
.combo-images {
  position: relative;
  background-color: #0a0e23;
}

.combo-images .primary-img {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.combo-images .secondary-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover .combo-images .primary-img {
  opacity: 0;
}

.feature-card:hover .combo-images .secondary-img {
  opacity: 1;
}

/* User Flow section */
.user-flow-container {
  margin-top: 5rem;
  text-align: center;
  background: rgba(124, 58, 237, 0.03);
  padding: 3rem 1rem;
  border-radius: var(--border-radius);
}

.user-flow-title {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--dark-navy);
}

.user-flow-description {
  max-width: 700px;
  margin: 0 auto 2rem;
  color: #4b5563;
}

.user-flow-image {
  max-width: 450px;
  margin: 0 auto;
  box-shadow: var(--shadow);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: transform 0.3s ease;
  position: relative;
  cursor: pointer;
  /* Height constraint to reduce displayed size by 45% */
  max-height: 250px;
}

.user-flow-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.user-flow-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  max-height: 250px;
}

/* Clickable image overlay */
.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(124, 58, 237, 0.8);
  color: white;
  padding: 10px;
  text-align: center;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.user-flow-image:hover .image-overlay {
  opacity: 1;
}

/* Image Popup/Lightbox */
.image-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-popup.active {
  display: flex;
  opacity: 1;
}

.popup-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

#popup-image {
  width: 100%;
  height: auto;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.close-popup {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
}

.close-popup:hover {
  color: var(--pink);
}

.clickable-image {
  cursor: pointer;
}

@media (max-width: 768px) {
  section {
    padding: 3rem 0;
  }

  .form-group {
    flex-direction: column;
  }

  .form-group input {
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
  }

  .form-group button {
    border-radius: var(--border-radius);
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .user-flow-container {
    padding: 2rem 1rem;
  }

  .user-flow-title {
    font-size: 1.5rem;
  }

  .nav ul {
    gap: 0.5rem;
  }

  .nav a {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
  }

  .logo {
    padding: 4px 8px;
  }

  .logo img {
    height: 28px;
  }

  img {
    max-width: 100%;
    height: auto;
  }
}

/* Waitlist Section */
.waitlist {
  background: linear-gradient(
    to right,
    var(--purple),
    var(--pink),
    var(--orange)
  );
  color: white;
  text-align: center;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.waitlist::before,
.waitlist::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 120px;
  background-color: white;
}

.waitlist::before {
  top: -50px;
  border-radius: 0 0 50% 70% / 0 0 120% 80%;
  transform: scaleX(1.2);
}

.waitlist::after {
  bottom: -50px;
  border-radius: 70% 50% 0 0 / 80% 120% 0 0;
  transform: scaleX(1.2);
}

.waitlist .container {
  position: relative;
  z-index: 1;
}

.waitlist h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.waitlist p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.waitlist-form {
  max-width: 500px;
  margin: 0 auto;
}

.form-group {
  display: flex;
  margin-bottom: 1rem;
}

.form-group input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-family: "Inter", sans-serif;
  font-size: 1rem;
}

.form-group button {
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.form-note {
  font-size: 0.875rem;
  opacity: 0.9;
  margin-top: 1rem;
}

/* Contact Section */
.contact {
  padding: 4rem 0;
  background-color: white;
}

.contact .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact h2 {
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

.contact p {
  margin-bottom: 0.5rem;
}

.contact a {
  color: var(--purple);
}

.social-icons {
  display: flex;
  margin-top: 1.5rem;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(to right, var(--purple), var(--pink));
  color: white;
  margin-right: 1rem;
  transition: all 0.3s ease;
}

.social-icons a svg {
  fill: white;
  width: 20px;
  height: 20px;
}

.social-icons a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

/* Footer */
.footer {
  background-color: var(--dark-navy);
  color: white;
  padding: 2.5rem 0 2rem;
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.footer-nav {
  width: 100%;
  margin-bottom: 2rem;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav li {
  margin: 0 1rem 0.5rem;
}

.footer-copyright {
  font-size: 0.875rem;
  opacity: 0.8;
  position: relative;
  padding-top: 1.5rem;
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-copyright::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
}

.footer-copyright .footer-logo {
  margin-bottom: 0.75rem;
}

/* Make section title logos larger and more noticeable */
.section-title.with-logo {
  padding-top: 60px;
}

.section-title.with-logo::before {
  width: 50px;
  height: 50px;
  background-size: 70%;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.35);
  border: 3px solid rgba(236, 72, 153, 0.3);
}

.sneak-peek .section-title.with-logo::before {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 15px rgba(236, 72, 153, 0.5);
  border: 3px solid rgba(255, 255, 255, 0.2);
}

/* Success message */
.success-message {
  color: white;
  background-color: rgba(0, 0, 0, 0.2);
  padding: 1rem;
  border-radius: var(--border-radius);
  font-weight: 500;
}

/* Focus Outline for Accessibility */
button:focus,
a:focus,
input:focus {
  outline: 2px solid var(--purple);
  outline-offset: 2px;
}

/* Sneak Peek Section */
.sneak-peek {
  padding: 5rem 0;
  background-color: #0f1225;
  color: white;
}

.sneak-peek .section-title {
  color: white;
  margin-bottom: 1rem;
}

.sneak-peek-subhead {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.125rem;
  opacity: 0.9;
}

.sneak-peek-interactive {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.category-select-container {
  margin-bottom: 2rem;
  text-align: center;
}

.category-select-container label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.category-select {
  background-color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  border: none;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  color: var(--dark-navy);
  cursor: pointer;
  width: 100%;
  max-width: 300px;
}

.sneak-peek-results {
  margin-bottom: 2rem;
  min-height: 100px;
}

.placeholder-message {
  text-align: center;
  opacity: 0.7;
  font-style: italic;
}

.trend-result {
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.trend-result .title {
  flex: 1;
}

.trend-result .score {
  color: var(--pink);
  font-weight: 700;
}

.generate-hook-btn {
  background: linear-gradient(to right, var(--purple), var(--pink));
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: var(--border-radius);
  margin: 0 auto 2rem;
  font-weight: 500;
  display: block;
  cursor: pointer;
  transition: all 0.3s ease;
}

.generate-hook-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(124, 58, 237, 0.3);
}

.hook-output {
  background: rgba(124, 58, 237, 0.2);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin-bottom: 2rem;
  min-height: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s ease;
}

.hook-output.active {
  min-height: 80px;
  max-height: 200px;
}

.follow-up-cta {
  text-align: center;
  font-size: 1.125rem;
}

.waitlist-link {
  color: var(--pink);
  text-decoration: underline;
  transition: all 0.3s ease;
}

.waitlist-link:hover {
  color: white;
}

/* Responsive Styles */
@media (max-width: 992px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero-content {
    flex-direction: column;
  }

  .hero-text,
  .hero-image {
    flex: none;
    width: 100%;
  }

  .columns-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact .container {
    grid-template-columns: 1fr;
  }

  .footer .container {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-nav li {
    margin: 0 1rem 0.5rem;
  }
}

/* AI Generation Showcase */
.ai-generation-showcase {
  padding: 5rem 0;
  background: linear-gradient(
    to right,
    rgba(124, 58, 237, 0.05),
    rgba(236, 72, 153, 0.05)
  );
}

.ai-showcase-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  font-size: 1.125rem;
  color: #4b5563;
}

.ai-showcase-content {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.ai-showcase-image {
  flex: 1;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.3s ease;
  border: 1px solid rgba(124, 58, 237, 0.1);
}

.ai-showcase-image:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 30px rgba(124, 58, 237, 0.15);
}

.ai-showcase-image img {
  width: 100%;
  height: auto;
  display: block;
}

.ai-showcase-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ai-feature {
  padding: 1.5rem;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.ai-feature:hover {
  transform: translateX(10px);
}

.ai-feature h3 {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ai-feature-icon {
  font-size: 1.25rem;
}

.ai-feature p {
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.5;
}

@media (max-width: 992px) {
  .ai-showcase-content {
    flex-direction: column;
  }

  .ai-showcase-image,
  .ai-showcase-features {
    width: 100%;
  }
}

.sneak-peek .section-title.with-logo::before {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(236, 72, 153, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

/* Make the logo more prominently used in the footer too */
.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-logo .logo-icon {
  width: 30px;
  height: 30px;
  margin-right: 10px;
  background-color: rgba(255, 255, 255, 0.9);
}

.footer-logo .footer-brand {
  color: white;
  font-size: 1.25rem;
  font-weight: 600;
}

.footer-nav a {
  color: white;
  opacity: 0.8;
  transition: opacity 0.3s ease;
  font-size: 0.9rem;
}

.footer-nav a:hover {
  opacity: 1;
  color: white;
}

/* Mobile responsiveness for nav menu */
@media (max-width: 768px) {
  .nav ul {
    gap: 0.5rem;
  }

  .nav a {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
  }

  .logo {
    padding: 4px 8px;
  }

  .logo img {
    height: 28px;
  }
}

/* Logo icon animations for section titles */
.section-title.with-logo::before {
  animation: logoPulse 5s infinite ease-in-out;
  transition: all 0.3s ease;
}

.section-title.with-logo:hover::before {
  animation: logoPulse 1s ease-in-out;
  transform: translateY(-3px) scale(1.05);
}

/* Waitlist Counter Badge in Header */
.waitlist-counter-badge {
  background: linear-gradient(to right, var(--purple), var(--pink));
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 10px rgba(124, 58, 237, 0.3);
  animation: pulse 3s infinite alternate ease-in-out;
  margin-left: 1.5rem;
}

.waitlist-counter-badge .fire-icon {
  margin-right: 0.4rem;
  font-size: 1rem;
}

.waitlist-counter-badge .counter-text {
  white-space: nowrap;
}

#header-counter {
  font-weight: 700;
  color: #fff;
  display: inline-block;
}

/* Large Waitlist Counter in Waitlist Section */
.waitlist-counter-large {
  margin: 1.5rem auto 2.5rem;
  text-align: center;
  max-width: 400px;
  position: relative;
}

.waitlist-counter-large .counter-value {
  font-size: 3.5rem;
  font-weight: 800;
  background: -webkit-linear-gradient(white, rgba(255, 255, 255, 0.7));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  position: relative;
  display: inline-block;
}

.waitlist-counter-large .counter-value::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 4px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 2px;
}

.waitlist-counter-large .counter-label {
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0.8rem 0 0.4rem;
}

.waitlist-counter-large .counter-message {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 0.6rem 1rem;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 500;
  margin-top: 1rem;
  display: inline-block;
  animation: pulse 2s infinite alternate ease-in-out;
}

/* Counter increment animation */
@keyframes counterPop {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
  100% {
    transform: scale(1);
  }
}

.counter-animate {
  animation: counterPop 0.5s ease-out;
}

/* Mobile responsiveness for counters */
@media (max-width: 992px) {
  .header .container {
    flex-wrap: wrap;
  }

  .waitlist-counter-badge {
    margin: 0.75rem 0 0;
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .waitlist-counter-large .counter-value {
    font-size: 3rem;
  }
}

/* Hero Limited Spots Counter */
.hero-limited-spots {
  margin: 1.5rem 0;
  max-width: 400px;
}

.spots-indicator {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.spots-progress {
  flex: 1;
  height: 8px;
  background-color: rgba(124, 58, 237, 0.2);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.spots-progress-bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 76%; /* Matches initial counter number */
  background: linear-gradient(to right, var(--purple), var(--pink));
  border-radius: 4px;
  animation: progressPulse 2s infinite alternate ease-in-out;
}

.spots-counter {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.spots-counter-value {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--purple);
}

#hero-counter {
  font-size: 1.3rem;
  color: var(--pink);
}

.spots-counter-label {
  font-size: 0.8rem;
  opacity: 0.7;
}

.spots-message {
  display: inline-block;
  background-color: rgba(124, 58, 237, 0.1);
  border-left: 3px solid var(--purple);
  padding: 0.6rem 1rem;
  font-weight: 500;
  border-radius: 0 4px 4px 0;
  color: var(--purple);
  animation: fadeInOut 5s infinite alternate ease-in-out;
}

.spots-fire {
  display: inline-block;
  margin-right: 0.5rem;
  animation: shake 1s infinite;
}

@keyframes progressPulse {
  0% {
    opacity: 0.8;
  }
  100% {
    opacity: 1;
  }
}

@keyframes shake {
  0%,
  100% {
    transform: rotate(-5deg);
  }
  50% {
    transform: rotate(5deg);
  }
}

@keyframes fadeInOut {
  0%,
  70%,
  100% {
    opacity: 0;
    transform: translateY(0);
  }
  10%,
  60% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

/* Animation Keyframes */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: var(--shadow);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  }
  100% {
    transform: scale(1);
    box-shadow: var(--shadow);
  }
}

@keyframes fadeInOut {
  0%,
  70%,
  100% {
    opacity: 0;
    transform: translateY(0);
  }
  10%,
  60% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

/* Accessibility */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.visually-hidden:focus {
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  white-space: normal;
  padding: 1rem;
  margin: 1rem;
  background-color: white;
  color: var(--dark-navy);
  z-index: 9999;
}

/* Performance optimizations */
img {
  max-width: 100%;
  display: block;
  height: auto;
}

/* Responsive images */
@media (max-width: 768px) {
  img {
    max-width: 100%;
    height: auto;
  }
}

/* Image loading error styling */
.image-loading-error {
  position: relative;
  background-color: #f8f9fa;
  border: 1px dashed #ccc;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.image-loading-error::after {
  content: "Image loading...";
  position: absolute;
  bottom: 10px;
  left: 10px;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
}

.feature-img img {
  transition: opacity 0.3s ease;
}
