/* Utility Classes */
.hidden {
  display: none !important;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background: linear-gradient(
    to bottom,
    #f8f4fc 0%,
    #f3eefe 30%,
    #e8d8f4 70%,
    #e3d0f6 100%
  );
  min-height: 100vh;
  scroll-behavior: smooth;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-padding-top: 80px; /* Account for fixed navbar */
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #2d1b4f;
  overflow-x: hidden;
  background: linear-gradient(
    to bottom,
    #f8f4fc 0%,
    #f3eefe 30%,
    #e8d8f4 70%,
    #e3d0f6 100%
  );
  min-height: 100vh;
  scroll-behavior: smooth;
}

/* Navigation */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(177, 140, 217, 0.1);
  padding: 1rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1rem;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-utilities {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-logo {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #2d1b4f;
  display: flex;
  align-items: center;
}

.nav-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}

.nav-logo-link:hover {
  opacity: 0.8;
}

.nav-logo-image {
  height: 40px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  display: block;
  visibility: visible;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.language-selector {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  color: #2d1b4f;
  font-size: 0.875rem;
  font-weight: 500;
  position: relative;
  z-index: 10000;
}

.language-selector:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.language-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(177, 140, 217, 0.2);
  z-index: 9999;
  max-height: 300px;
  overflow-y: auto;
  display: none;
  margin-top: 0.5rem;
  min-width: 200px;
  width: auto;
}

.language-dropdown.active {
  display: block;
}

.language-option {
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
  color: #2d1b4f;
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(177, 140, 217, 0.1);
  position: relative;
  white-space: nowrap;
}

.language-option:last-child {
  border-bottom: none;
}

.language-option:hover {
  background-color: #f8f6fe;
}

.language-option.selected {
  background-color: #f0edf7;
  font-weight: 600;
}

.language-option.selected::after {
  content: "✓";
  position: absolute;
  right: 0.75rem;
  color: #2d1b4f;
  font-weight: bold;
}

.globe-icon {
  width: 16px;
  height: 16px;
}

.chevron-down {
  width: 12px;
  height: 12px;
}

.notification-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  color: #2d1b4f;
  position: relative;
}

.notification-icon:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.get-started-btn {
  background: #2d1b4f;
  color: white;
  border: none;
  border-radius: 20px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Inter", sans-serif;
}

.get-started-btn:hover {
  background: #1a0f2e;
  transform: translateY(-1px);
}

.nav-link {
  color: #2d1b4f;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}

.nav-link:hover {
  color: #b18fff;
}

.nav-link.active {
  color: #b18fff;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #b18fff, #8b5cf6);
  border-radius: 1px;
}

/* Burger Menu */
.burger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.burger-menu span {
  width: 25px;
  height: 3px;
  background: #2d1b4f;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.burger-menu.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

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

.burger-menu.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Custom Properties */
:root {
  --wellness-light: #f3eefe;
  --wellness-accent: #e5d9f2;
  --wellness-soft: #b18cd9;
  --wellness-deep: #2d1b4f;
  --wellness-purple: #8b47ea;
  --shadow-soft: 0 4px 20px rgba(108, 63, 199, 0.08);
  --shadow-gentle: 0 8px 32px rgba(108, 63, 199, 0.12);
  --border-radius: 12px;
  --border-radius-lg: 20px;
  --border-radius-xl: 24px;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 0 4rem;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background: linear-gradient(
    to bottom,
    #f8f4fc 0%,
    #f3eefe 30%,
    #e8d8f4 70%,
    #e3d0f6 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-container {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  text-align: center;
}

.hero-logo {
  display: none;
}

.logo-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #b18fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-gentle);
}

.user-count-chip {
  display: none;
}

.hero-headline {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 44px;
  line-height: 1.15;
  color: #2d1e5f;
  margin: 0 0 20px 0;
  max-width: 600px;
  width: 100%;
}

.hero-subheadline {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  color: #5e4a8c;
  margin: 0 0 2rem 0;
  max-width: 480px;
  width: 100%;
}

.try-helixx-btn {
  font-weight: 500;
  font-size: 18px;
  background: #000;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 15px 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-soft);
  margin-top: 2rem;
}

.try-helixx-btn:hover {
  background: #1a0f2e;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(45, 27, 79, 0.3);
}

/* Video Placeholder */
.video-placeholder {
  margin: 2rem 0;
  display: flex !important;
  justify-content: center;
  padding: 0 0.5rem;
  visibility: visible !important;
}

.video-container {
  width: 100%;
  max-width: 1400px;
  height: 650px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(177, 140, 217, 0.3);
  box-shadow: 0 8px 32px rgba(45, 27, 79, 0.1);
  background: linear-gradient(135deg, #f8f6fe 0%, #e5d9f2 50%, #d0c2ff 100%);
  display: block !important;
  visibility: visible !important;
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  border: none;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8f6fe 0%, #e5d9f2 50%, #d0c2ff 100%);
  cursor: pointer;
  transition: all 0.3s ease;
}

.video-overlay:hover {
  background: linear-gradient(135deg, #f0ecfd 0%, #dcc8f0 50%, #c5b3f0 100%);
}

.video-text {
  position: absolute;
  top: 20px;
  left: 20px;
  color: white;
  font-family: "Playfair Display", serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.video-title {
  background: rgba(45, 27, 79, 0.8);
  padding: 8px 16px;
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.play-button {
  width: 80px;
  height: 80px;
  background: #e3d6ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(45, 27, 79, 0.2);
  transition: all 0.3s ease;
  border: 3px solid rgba(255, 255, 255, 0.3);
}

.play-button:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(45, 27, 79, 0.3);
  background: #d0c2ff;
}

.play-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-logo {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.video-logo svg {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Social Proof Toast */
.social-proof-toast {
  display: none;
}

/* How Helixx Works Section */
.how-it-works-section {
  width: 100%;
  padding: 5rem 1rem;
  font-family: "Inter", sans-serif;
}

.how-it-works-container {
  max-width: 1200px;
  margin: 0 auto;
}

.how-it-works-title {
  text-align: center;
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #2d1b4f;
  margin-bottom: 3rem;
  line-height: 1.2;
}

.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.how-it-works-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(177, 140, 217, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #e5d9f2;
}

.how-it-works-card:hover {
  box-shadow: 0 8px 32px rgba(177, 140, 217, 0.2);
  transform: translateY(-4px);
}

.step-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.step-title {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #2d1b4f;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.step-subtitle {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #5e4a8c;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.step-description {
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  color: #666;
  line-height: 1.5;
}

/* Signals Section */
.signals-section {
  width: 100%;
  padding: 5rem 1rem;
  font-family: "Inter", sans-serif;
}

.signals-container {
  max-width: 1280px;
  margin: 0 auto;
}

.signals-header {
  text-align: center;
  margin-bottom: 3rem;
}

.signals-title {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #2d1b4f;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.signals-subtitle {
  font-family: "Inter", sans-serif;
  font-size: 1.125rem;
  color: #5e4a8c;
  max-width: 32rem;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 500;
}

.category-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.category-chip {
  padding: 12px 24px;
  border-radius: 25px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s;
  border: 1px solid #e5d9f2;
  background: white;
  color: #2d1b4f;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(177, 140, 217, 0.1);
}

.category-chip:hover {
  background: #f8f6fe;
  border-color: #b18cd9;
  box-shadow: 0 4px 12px rgba(177, 140, 217, 0.15);
}

.category-chip.active {
  background: #b18cd9;
  color: white;
  border-color: #b18cd9;
  box-shadow: 0 4px 16px rgba(177, 140, 217, 0.25);
}

.signals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.signal-card {
  background: rgba(177, 143, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(177, 143, 255, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.signal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(177, 143, 255, 0.2);
  border-color: rgba(177, 143, 255, 0.4);
}

.signal-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

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

.signal-card:hover .signal-image img {
  transform: scale(1.05);
}

.signal-card.hidden-card {
  display: none;
}

.signal-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.signal-title {
  font-family: "Inter", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #2d1b4f;
  margin: 0;
  line-height: 1.4;
}

.signal-category {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #b18fff;
  color: white;
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.signal-category:hover {
  background: #8b5cf6;
  transform: translateY(-1px);
}

.category-icon {
  font-size: 1rem;
}

/* Benchmark Section */
.benchmark-section {
  width: 100%;
  padding: 5rem 1rem;
  font-family: "Inter", sans-serif;
  background: linear-gradient(135deg, #f8f6fe 0%, #e5d9f2 50%, #d0c2ff 100%);
}

.benchmark-container {
  max-width: 1200px;
  margin: 0 auto;
}

.benchmark-header {
  text-align: center;
  margin-bottom: 4rem;
}

.benchmark-title {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #2d1b4f;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.benchmark-subtitle {
  font-family: "Inter", sans-serif;
  font-size: 1.125rem;
  color: #5e4a8c;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.benchmark-layout {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(177, 140, 217, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.benchmark-main {
  flex: 1;
  max-width: 800px;
}

.chart-content {
  position: relative;
}

.metric-group {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.metric-group.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.benchmark-chart {
  flex: 1;
  max-width: 800px;
}

.chart-title {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #2d1b4f;
  margin-bottom: 1.5rem;
  text-align: center;
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #2d1b4f;
}

.legend-color {
  width: 12px;
  height: 12px;
  border-radius: 2px;
}

.legend-color.helixx {
  background: #c9a8ff;
}

.legend-color.woebot {
  background: #ff7b9c;
}

.legend-color.manus {
  background: #87e8d8;
}

.legend-color.chatgpt {
  background: #8cc6ff;
}

.legend-color.khealth {
  background: #b9fbc0;
}

.benchmark-bars {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.metric-group {
  background: rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid rgba(177, 140, 217, 0.1);
}

.metric-title {
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #2d1b4f;
  margin-bottom: 0.5rem;
}

.metric-question {
  font-size: 0.875rem;
  color: #5e4a8c;
  margin-bottom: 1rem;
  font-style: italic;
}

.bar-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.bar-label {
  min-width: 120px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #2d1b4f;
}

.bar-track {
  flex: 1;
  height: 24px;
  background: rgba(177, 140, 217, 0.1);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.bar {
  height: 100%;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
  transition: width 0.8s ease;
  min-width: 30px;
}

.bar.helixx {
  background: linear-gradient(90deg, #c9a8ff 0%, #b18fff 100%);
}

.bar.woebot {
  background: linear-gradient(90deg, #ff7b9c 0%, #ff6b8a 100%);
}

.bar.manus {
  background: linear-gradient(90deg, #87e8d8 0%, #6dd5c7 100%);
}

.bar.chatgpt {
  background: linear-gradient(90deg, #8cc6ff 0%, #7bb8ff 100%);
}

.bar.khealth {
  background: linear-gradient(90deg, #b9fbc0 0%, #a8f7b0 100%);
}

.benchmark-categories {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 250px;
}

.category-button {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(177, 140, 217, 0.2);
  border-radius: 12px;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
}

.category-button:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(177, 140, 217, 0.4);
  transform: translateY(-2px);
}

.category-button.active {
  background: rgba(201, 168, 255, 0.1);
  border-color: #c9a8ff;
  box-shadow: 0 4px 16px rgba(201, 168, 255, 0.2);
}

.category-button h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #2d1b4f;
  margin: 0;
  line-height: 1.4;
}

/* See More Button */
.see-more-container {
  text-align: center;
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.see-more-btn {
  background: linear-gradient(135deg, #b18fff 0%, #8b5cf6 100%);
  color: white;
  border: none;
  border-radius: 25px;
  padding: 12px 32px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(177, 140, 217, 0.3);
}

.see-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(177, 140, 217, 0.4);
}

/* Comparison Table Section */
.comparison-section {
  width: 100%;
  padding: 5rem 1rem;
  font-family: "Inter", sans-serif;
}

.comparison-container {
  max-width: 1200px;
  margin: 0 auto;
}

.comparison-header {
  text-align: center;
  margin-bottom: 3rem;
}

.comparison-title {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #2d1b4f;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.comparison-subtitle {
  font-family: "Inter", sans-serif;
  font-size: 1.125rem;
  color: #5e4d7c;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.comparison-table-container {
  background: white;
  border-radius: var(--border-radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  max-width: 1000px;
  margin: 0 auto;
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  min-width: 800px;
  border-collapse: collapse;
}

.table-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 1rem;
  background: #f8f6fe;
  border-radius: var(--border-radius);
  padding: 1rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: #2d1b4f;
  font-size: 0.875rem;
}

.header-cell {
  padding: 0.5rem;
  text-align: center;
  font-weight: 700;
}

.feature-header {
  text-align: left;
  font-weight: 700;
  color: #2d1b4f;
}

.helixx-header {
  color: #2d1b4f;
  font-weight: 700;
}

.table-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid #f3e8ff;
  align-items: center;
  transition: background-color 0.2s ease;
}

.table-row:hover {
  background: #faf9ff;
}

.table-row:last-child {
  border-bottom: none;
}

.feature-cell {
  padding: 0.5rem;
  font-weight: 600;
  color: #2d1b4f;
  font-size: 0.875rem;
  line-height: 1.4;
}

.data-cell {
  padding: 0.5rem;
  text-align: center;
  font-weight: 500;
  font-size: 0.875rem;
  border-radius: var(--border-radius);
  min-height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.data-cell.success {
  color: #059669;
  background: #ecfdf5;
}

.data-cell.fail {
  color: #dc2626;
  background: #fef2f2;
}

.data-cell.warning {
  color: #d97706;
  background: #fffbeb;
}

.comparison-caption {
  text-align: center;
  font-size: 0.875rem;
  color: #6b7280;
  font-style: italic;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #f3e8ff;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
}

.modal.active {
  display: flex;
}

.modal-content {
  background: #fff;
  border-radius: 24px;
  max-width: 420px;
  width: 100%;
  padding: 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  font-family: "Inter", sans-serif;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  color: #ccc;
  font-size: 20px;
  padding: 16px;
  line-height: 1;
  font-weight: 400;
  background: none;
  border: none;
  cursor: pointer;
}

.modal-title {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: center;
  color: #1a1a1a;
  width: 100%;
}

.modal-divider {
  height: 4px;
  width: 48px;
  background: #dcd1f9;
  border-radius: 9999px;
  margin: 0 auto 24px;
}

.modal-description {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  color: #666;
  margin-bottom: 24px;
  max-width: 300px;
  text-align: center;
  width: 100%;
}

.waitlist-form {
  width: 100%;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
}

.form-input {
  height: 48px;
  border-radius: 12px;
  border: 1px solid #e5e5e5;
  padding: 0 16px;
  font-size: 16px;
  margin-bottom: 16px;
  background: #fff;
  width: 100%;
  font-family: "Inter", sans-serif;
}

.form-input:focus {
  outline: none;
  border-color: var(--wellness-soft);
  box-shadow: 0 0 0 3px rgba(177, 140, 217, 0.1);
}

.form-error {
  color: #f00;
  font-size: 14px;
  text-align: center;
  margin-bottom: 8px;
  min-height: 20px;
}

.submit-btn {
  width: 100%;
  height: 56px;
  border-radius: 9999px;
  background: #000;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  margin-top: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  font-family: "Inter", sans-serif;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background: #333;
  transform: translateY(-2px);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Success Modal */
.modal-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 0;
  width: 100%;
}

.success-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.success-title {
  text-align: center;
  font-family: "Playfair Display", serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #6c3fc7;
  max-width: 420px;
}

.user-position {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 24px;
  color: #8b5cf6;
  max-width: 420px;
}

.referral-code-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: #f3eaff;
  border-radius: 12px;
  padding: 16px 24px;
  margin-bottom: 12px;
}

.referral-code-text {
  font-family: monospace;
  font-size: 20px;
  color: #6c3fc7;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.copy-btn {
  background: #6c3fc7;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 18px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
}

.copy-btn:hover {
  background: #5a3fa8;
  transform: translateY(-2px);
}

.copy-message {
  color: #6c3fc7;
  font-size: 14px;
  margin-top: 4px;
  min-height: 20px;
}

/* Signal Detail Modal */
.signal-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.signal-modal-content {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  width: 90%;
  max-width: 1200px;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(177, 143, 255, 0.2);
}

.signal-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  color: #666;
  cursor: pointer;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.signal-modal-close:hover {
  background: rgba(177, 143, 255, 0.1);
  color: #b18fff;
}

.signal-modal-tabs {
  display: flex;
  border-bottom: 1px solid rgba(177, 143, 255, 0.2);
  background: rgba(177, 143, 255, 0.05);
  padding: 0 30px;
}

.signal-tab {
  background: none;
  border: none;
  padding: 20px 30px;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.signal-tab.active {
  color: #b18fff;
  background: rgba(255, 255, 255, 0.9);
}

.signal-tab.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #b18fff;
}

.signal-modal-body {
  padding: 30px;
  overflow-y: auto;
  background: white;
  max-height: calc(90vh - 300px);
}

.signal-modal-image {
  width: 100%;
  height: 250px;
  background: linear-gradient(135deg, #5C5CFF 0%, #4A4AFF 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  border: 3px solid #5C5CFF;
  box-shadow: 0 4px 20px rgba(92, 92, 255, 0.3);
}

.signal-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blue-image-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #5C5CFF 0%, #4A4AFF 100%);
  border-radius: 20px 20px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.signal-section {
  margin-bottom: 30px;
}

.signal-section h4 {
  font-family: "Inter", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #2d1b4f;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(177, 143, 255, 0.2);
}

.signal-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.signal-section li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(177, 143, 255, 0.1);
  font-size: 0.95rem;
  line-height: 1.5;
  color: #4a5568;
}

.signal-section li:last-child {
  border-bottom: none;
}

.signal-section li::before {
  content: "•";
  color: #b18fff;
  font-weight: bold;
  margin-right: 8px;
}

.signal-section p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4a5568;
  margin: 0;
}

/* Insights sections styling */
.insights-section {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(177, 143, 255, 0.1);
}

.insights-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.insights-section h4 {
  color: #2d1b4f;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-family: "Inter", sans-serif;
}

.insights-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.insights-section li {
  color: #5e4d7c;
  line-height: 1.6;
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.insights-section li::before {
  content: "•";
  color: #b18fff;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.insights-section p {
  color: #5e4d7c;
  line-height: 1.6;
  margin: 0.5rem 0;
}

/* Case Studies Accordion */
.case-studies-accordion {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.case-study-item {
  border: 1px solid rgba(177, 143, 255, 0.2);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(177, 143, 255, 0.05);
}

.case-study-header {
  padding: 20px;
  background: rgba(177, 143, 255, 0.1);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.case-study-header:hover {
  background: rgba(177, 143, 255, 0.15);
}

.case-study-header span:first-child {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  color: #2d1b4f;
}

.case-study-chevron {
  color: #b18fff;
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.case-study-item:nth-child(1) .case-study-header {
  background: rgba(177, 143, 255, 0.1);
}

.case-study-item:nth-child(2) .case-study-header {
  background: rgba(255, 182, 193, 0.1);
}

.case-study-item:nth-child(3) .case-study-header {
  background: rgba(173, 216, 230, 0.1);
}

.case-study-content {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.case-study-content.active {
  padding: 20px;
  max-height: 500px;
}

.case-study-content p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #4a5568;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .how-it-works-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .signals-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .nav-container {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    max-width: 100vw;
    overflow: hidden;
  }

  .nav-left {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0.5rem 0;
  }

  .nav-logo {
    flex-shrink: 0;
  }

  .nav-logo-image {
    height: 32px;
    max-width: 120px;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    object-fit: contain;
    width: auto;
  }

  .nav-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    z-index: 1000;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
  }

  .nav-menu.active {
    display: flex;
  }

  /* Prevent body scrolling when mobile menu is active */
  body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
  }

  .burger-menu {
    display: flex;
    margin-left: auto;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 1001;
  }

  .nav-link {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2d1b4f;
    padding: 1rem 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
  }

  .nav-link:hover {
    background: rgba(177, 140, 217, 0.1);
    transform: translateY(-2px);
  }

  /* Removed nav-right, nav-utilities, language-selector, notification-icon, and get-started-btn styles */

  .language-dropdown {
    width: 200px;
    top: 100%;
    left: 0;
    right: auto;
    min-width: 200px;
    max-height: 300px;
    overflow-y: auto;
  }

  .language-option {
    padding: 8px 12px;
  }

  .hero-section {
    padding: 6rem 1rem 4rem;
  }

  .hero-headline {
    font-size: 32px;
  }

  .hero-subheadline {
    font-size: 16px;
  }

  .video-container {
    max-width: 100%;
    height: 300px;
  }

  .video-text {
    font-size: 16px;
  }

  .play-button {
    width: 50px;
    height: 50px;
  }

  .play-icon {
    width: 20px;
    height: 20px;
  }

  .video-logo {
    font-size: 12px;
  }

  .video-logo svg {
    width: 20px;
    height: 20px;
  }

  .how-it-works-title {
    font-size: 2rem;
  }

  .how-it-works-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .how-it-works-card {
    padding: 1.5rem;
  }

  .signals-title {
    font-size: 2rem;
  }

  .signals-subtitle {
    font-size: 16px;
  }

  .category-filters {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .category-chip {
    font-size: 14px;
    padding: 8px 12px;
  }

  .signals-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .benchmark-title {
    font-size: 2rem;
  }

  .benchmark-subtitle {
    font-size: 16px;
  }

  .benchmark-layout {
    flex-direction: column;
    gap: 2rem;
  }

  .benchmark-main {
    width: 100%;
  }

  .benchmark-chart {
    padding: 1rem;
  }

  .chart-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  .chart-legend {
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }

  .legend-item {
    font-size: 12px;
    gap: 0.25rem;
  }

  .legend-color {
    width: 12px;
    height: 12px;
  }

  .metric-group {
    padding: 1rem;
  }

  .metric-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }

  .metric-question {
    font-size: 14px;
    margin-bottom: 1rem;
  }

  .bar-container {
    margin-bottom: 0.75rem;
  }

  .bar-label {
    font-size: 12px;
    margin-bottom: 0.25rem;
  }

  .bar-track {
    height: 8px;
  }

  .bar {
    height: 8px;
    font-size: 10px;
  }

  .benchmark-categories {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }

  .category-button {
    font-size: 14px;
    padding: 12px 16px;
    width: 100%;
    text-align: left;
  }

  .category-button h4 {
    font-size: 14px;
    margin: 0;
  }

  .benchmarks-title {
    font-size: 1.5rem;
  }

  .benchmarks-subtitle {
    font-size: 14px;
  }

  .benchmarks-chart-container {
    padding: 1rem;
  }

  .benchmarks-legend {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .benchmark-row {
    flex-direction: column;
    gap: 0.5rem;
  }

  .benchmark-label {
    font-size: 14px;
  }

  .comparison-title {
    font-size: 2rem;
  }

  .comparison-subtitle {
    font-size: 16px;
  }

  .comparison-table-container {
    overflow-x: auto;
  }

  .comparison-table {
    min-width: 600px;
  }

  .table-header,
  .table-row {
    font-size: 14px;
  }

  .modal-content {
    margin: 1rem;
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .nav-container {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0 0.75rem;
    max-width: 100vw;
    overflow: hidden;
  }

  .nav-left {
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 0;
  }

  .nav-logo-image {
    height: 28px;
    max-width: 100px;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    object-fit: contain;
    width: auto;
  }

  .nav-menu {
    gap: 1.5rem;
  }

  .nav-link {
    font-size: 1.6rem;
    padding: 0.8rem 1.5rem;
  }

  /* Removed nav-right, nav-utilities, language-selector, notification-icon, and get-started-btn styles for 480px */

  .language-dropdown {
    max-height: 200px;
    margin-top: 0.25rem;
    min-width: 160px;
    max-height: 250px;
  }

  .language-option {
    padding: 0.375rem 0.5rem;
    font-size: 0.75rem;
  }

  .globe-icon {
    width: 12px;
    height: 12px;
  }

  .chevron-down {
    width: 10px;
    height: 10px;
  }

  .hero-section {
    background-size: cover;
    background-position: center;
    min-height: 100vh;
  }

  .hero-headline {
    font-size: 28px;
  }

  .signals-title {
    font-size: 1.75rem;
  }

  .category-filters {
    flex-direction: column;
    align-items: center;
  }

  .category-chip {
    width: 100%;
    max-width: 200px;
  }

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

  /* Benchmark Section Mobile 480px */
  .benchmark-title {
    font-size: 1.5rem;
  }

  .benchmark-subtitle {
    font-size: 0.875rem;
  }

  .benchmark-layout {
    padding: 0.75rem;
    gap: 1rem;
    flex-direction: column;
  }

  .benchmark-main {
    width: 100%;
  }

  .benchmark-chart {
    padding: 0.75rem;
  }

  .chart-title {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }

  .chart-legend {
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-bottom: 1rem;
  }

  .legend-item {
    font-size: 10px;
    gap: 0.2rem;
  }

  .legend-color {
    width: 8px;
    height: 8px;
  }

  .metric-group {
    padding: 0.75rem;
  }

  .metric-title {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }

  .metric-question {
    font-size: 12px;
    margin-bottom: 0.75rem;
  }

  .bar-container {
    margin-bottom: 0.5rem;
  }

  .bar-label {
    min-width: 60px;
    font-size: 0.7rem;
    margin-bottom: 0.2rem;
  }

  .bar-track {
    height: 12px;
  }

  .bar {
    font-size: 0.6rem;
    padding-right: 3px;
  }

  .benchmark-categories {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }

  .category-button {
    min-width: auto;
    width: 100%;
    padding: 8px 12px;
    font-size: 12px;
  }

  .category-button h4 {
    font-size: 12px;
    margin: 0;
  }

  .benchmarks-title {
    font-size: 1.75rem;
  }

  .benchmarks-subtitle {
    font-size: 0.875rem;
  }

  .benchmarks-chart-container {
    padding: 1rem;
  }

  .benchmarks-legend {
    flex-direction: column;
    gap: 0.5rem;
  }

  .benchmark-bars {
    gap: 0.25rem;
  }

  .benchmark-bar {
    min-width: 30px;
    padding-right: 4px;
  }

  .comparison-title {
    font-size: 1.75rem;
  }

  .comparison-subtitle {
    font-size: 0.875rem;
  }

  .comparison-table-container {
    padding: 1rem;
  }

  .comparison-table {
    min-width: 500px;
  }

  .table-header,
  .table-row {
    grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr 0.8fr;
    gap: 0.5rem;
    padding: 0.75rem;
  }

  .feature-cell,
  .data-cell {
    font-size: 0.75rem;
    padding: 0.375rem;
  }

  .header-cell {
    font-size: 0.75rem;
    padding: 0.375rem;
  }

  .signal-modal-content {
    max-width: 95vw;
    max-height: 95vh;
  }

  .signal-modal-image {
    height: 200px;
  }

  .signal-modal-content-area {
    padding: 1.5rem;
  }

  .signal-modal-title {
    font-size: 1.5rem;
  }

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

  .contact-title {
    font-size: 2rem;
  }

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

  .contact-form-container {
    padding: 1.5rem;
  }
}

/* Contact Page Styles */
.contact-section {
  width: 100%;
  min-height: 100vh;
  padding: 120px 1rem 5rem 1rem;
  background: linear-gradient(135deg, #f8f6fe 0%, #e5d9f2 50%, #d0c2ff 100%);
  font-family: "Inter", sans-serif;
  display: flex;
  align-items: center;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-header {
  text-align: center;
  margin-bottom: 4rem;
}

.contact-title {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  font-weight: 700;
  color: #2d1b4f;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.contact-subtitle {
  font-family: "Inter", sans-serif;
  font-size: 1.25rem;
  color: #5e4d7c;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.contact-content {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

/* Success message styles */
.success-message {
  text-align: center;
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  animation: successMessageSlideIn 0.6s ease-out forwards;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

@keyframes successMessageSlideIn {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.success-message .success-icon {
  font-size: 48px;
  color: #10b981;
  margin-bottom: 20px;
}

.success-message h3 {
  color: #2d1b4f;
  font-size: 24px;
  margin-bottom: 10px;
  font-weight: 600;
}

.success-message p {
  color: #5e4a8c;
  font-size: 16px;
  line-height: 1.6;
}

.contact-form-container {
  background: white;
  border-radius: 20px;
  padding: 50px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-group label {
  font-family: "Inter", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #2d1b4f;
  margin-bottom: 8px;
}

.contact-input {
  padding: 18px 20px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  color: #374151;
  background: #f9fafb;
  transition: all 0.3s ease;
  min-height: 55px;
}

select.contact-input {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 40px;
}
  outline: none;
  border-color: #b18fff;
  background: white;
  box-shadow: 0 0 0 3px rgba(177, 143, 255, 0.1);
}

.contact-input::placeholder {
  color: #9ca3af;
}

textarea.contact-input {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.contact-submit-btn {
  background: linear-gradient(135deg, #b18fff 0%, #8b5cf6 100%);
  color: white;
  border: none;
  padding: 20px 40px;
  border-radius: 12px;
  font-family: "Inter", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
  box-shadow: 0 4px 15px rgba(177, 143, 255, 0.3);
}

.contact-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(177, 143, 255, 0.4);
}

.contact-submit-btn:active {
  transform: translateY(0);
}

/* Success Message Styles */
.success-message {
  text-align: center;
  padding: 40px 20px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.success-message .success-icon {
  font-size: 3rem;
  color: #10b981;
  margin-bottom: 20px;
}

.success-message h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #2d1b4f;
  margin-bottom: 15px;
}

.success-message p {
  font-family: "Inter", sans-serif;
  font-size: 1.1rem;
  color: #5e4a8c;
  line-height: 1.6;
}

/* Powered By Section */
.powered-by-section {
    padding: 3rem 0;
    margin-top: 2rem;
}

.powered-by-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.powered-by-header {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
}

.logo-carousel {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 80px;
}

.logo-track {
    display: flex;
    align-items: center;
    animation: scroll 30s linear infinite;
    width: max-content;
}

.logo-item {
    flex-shrink: 0;
    margin: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 1 !important;
    visibility: visible !important;
}

.logo-image {
  height: 50px;
  width: auto;
  max-width: 120px;
  filter: grayscale(100%) brightness(0.7);
  transition: all 0.3s ease;
  opacity: 0.6;
  display: block !important;
  visibility: visible !important;
  object-fit: contain;
}

.logo-item:hover .logo-image {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
    transform: scale(1.05);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.logo-carousel:hover .logo-track {
    animation-play-state: paused;
}

/* Mobile responsive for Powered By section */
@media (max-width: 768px) {
    .powered-by-section {
        padding: 2rem 0;
    }
    
    .powered-by-header {
        font-size: 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .logo-carousel {
        height: 60px;
        overflow: visible !important;
    }
    
    .logo-track {
        animation: scroll 20s linear infinite !important;
    }
    
      .logo-image {
    height: 40px !important;
    max-width: 100px !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    object-fit: contain;
    width: auto;
  }
    
    .logo-item {
        margin: 0 1rem;
        opacity: 1 !important;
        visibility: visible !important;
    }
}

@media (max-width: 480px) {
    .powered-by-section {
        padding: 1.5rem 0;
    }
    
    .logo-carousel {
        height: 50px;
        overflow: visible !important;
    }
    
    .logo-track {
        animation: scroll 15s linear infinite !important;
    }
    
      .logo-image {
    height: 35px !important;
    max-width: 80px !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    object-fit: contain;
    width: auto;
  }
    
    .logo-item {
        margin: 0 0.75rem;
        opacity: 1 !important;
        visibility: visible !important;
    }
}

/* Footer Styles */
.footer {
  background: #f5f5f5;
  padding: 3rem 0 2rem;
  margin-top: 4rem;
  border-top: 1px solid #e0e0e0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  padding: 0 1rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.footer-logo-image {
  height: 35px;
  width: auto;
  max-width: 120px;
}

.footer-logo-icon {
  display: flex;
  align-items: center;
}

.footer-logo-text {
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #333;
}

.footer-description {
  color: #666;
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.footer-copyright {
  color: #666;
  font-size: 0.75rem;
  margin-top: auto;
}

.footer-heading {
  color: #333;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  color: #666;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.footer-link:hover {
  color: #333;
}

.external-arrow {
  width: 12px;
  height: 12px;
  color: #666;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1.5rem;
  }

  .footer-column {
    text-align: center;
    align-items: center;
  }

  .footer-logo {
    justify-content: center;
    margin-bottom: 1rem;
  }

  .nav-logo-image {
    height: 35px;
    max-width: 130px;
  }

  .footer-logo-image {
    height: 30px;
    max-width: 100px;
  }

  .footer-description {
    text-align: center;
    max-width: 500px;
    margin: 0 auto 1rem;
  }

  .footer-copyright {
    text-align: center;
    margin-top: 1rem;
  }

  .footer-heading {
    text-align: center;
    margin-bottom: 1rem;
  }

  .footer-links {
    align-items: center;
    gap: 0.75rem;
  }

  .footer-link {
    justify-content: center;
    text-align: center;
  }

  .video-container {
    height: 200px;
    max-width: 100%;
  }

  .video-text {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 2rem 0 1.5rem;
  }

  .footer-container {
    padding: 0 1rem;
    gap: 1.5rem;
  }

  .footer-column {
    text-align: center;
    align-items: center;
  }

  .footer-logo {
    justify-content: center;
    margin-bottom: 0.75rem;
  }

  .nav-logo-image {
    height: 30px;
    max-width: 110px;
  }

  .footer-logo-image {
    height: 25px;
    max-width: 80px;
  }

  .footer-logo-text {
    font-size: 1.1rem;
  }

  .footer-description {
    font-size: 0.8rem;
    text-align: center;
    max-width: 100%;
    margin: 0 auto 0.75rem;
    line-height: 1.4;
  }

  .footer-copyright {
    font-size: 0.7rem;
    text-align: center;
    margin-top: 0.75rem;
  }

  .footer-heading {
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 0.75rem;
  }

  .footer-links {
    align-items: center;
    gap: 0.5rem;
  }

  .footer-link {
    font-size: 0.8rem;
    justify-content: center;
    text-align: center;
    padding: 0.25rem 0;
  }

  .external-arrow {
    width: 10px;
    height: 10px;
  }

  .video-container {
    height: 250px;
  }

  .play-icon {
    width: 40px;
    height: 40px;
  }
}

/* Admin Dashboard Styles */
.admin-login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8f4fc 0%, #e8d8f4 100%);
  padding: 2rem;
}

.admin-login-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(45, 27, 79, 0.1);
  padding: 3rem;
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.admin-login-header h1 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 700;
  color: #2d1b4f;
  margin-bottom: 0.5rem;
}

.admin-login-header p {
  color: #6b7280;
  margin-bottom: 2rem;
}

.admin-login-form .form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.admin-login-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #2d1b4f;
}

.admin-login-form input {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.admin-login-form input:focus {
  outline: none;
  border-color: #b18cd9;
}

.admin-login-btn {
  width: 100%;
  background: #2d1b4f;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.admin-login-btn:hover {
  background: #1a0f2e;
}

.login-error {
  background: #fee2e2;
  color: #dc2626;
  padding: 0.75rem;
  border-radius: 8px;
  margin-top: 1rem;
  font-size: 0.875rem;
}

.login-error.hidden {
  display: none;
}

/* Admin Dashboard Layout */
.admin-dashboard {
  display: flex;
  min-height: 100vh;
  background: #f8fafc;
}

.admin-sidebar {
  width: 280px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 2rem;
  position: fixed;
  height: 100vh;
  overflow-y: auto;
}

.admin-sidebar-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: white;
}

.admin-sidebar-header p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.admin-user-info {
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  font-size: 0.95rem;
}

.admin-nav-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.admin-nav-item.active {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  font-weight: 500;
}

.admin-nav-item span:first-child {
  font-size: 1.2rem;
}

.unread-badge {
  background: #ef4444;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  margin-left: auto;
  animation: pulse 2s infinite;
}

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

.admin-sidebar-footer {
  margin-top: auto;
  padding-top: 2rem;
}

.admin-logout-btn {
  width: 100%;
  padding: 0.75rem;
  background: rgba(239, 68, 68, 0.8);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.admin-logout-btn:hover {
  background: #ef4444;
}

.admin-main {
  flex: 1;
  margin-left: 280px;
  padding: 2rem;
  overflow-y: auto;
}

.admin-section {
  display: none;
}

.admin-section.active {
  display: block;
}

.admin-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e2e8f0;
}

.admin-section-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: #1e293b;
  margin: 0;
}

.admin-add-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: transform 0.2s ease;
}

.admin-add-btn:hover {
  transform: translateY(-2px);
}

/* FILTERS AND SEARCH */
.admin-filters {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.admin-filter {
  padding: 0.5rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: white;
  min-width: 150px;
}

.admin-search {
  padding: 0.5rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: white;
  min-width: 250px;
  flex: 1;
}

.admin-search:focus,
.admin-filter:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* TABLE STYLES */
.admin-table-container {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  background: #f8fafc;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: #374151;
  border-bottom: 1px solid #e5e7eb;
}

.admin-table td {
  padding: 1rem;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: top;
}

.admin-table tr:hover {
  background: #f9fafb;
}

.admin-table tr:last-child td {
  border-bottom: none;
}

/* SUBMISSION STYLES */
.submission-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: #1f2937;
}

.unread-indicator {
  color: #ef4444;
  font-size: 1.2rem;
  animation: pulse 2s infinite;
}

.submission-subject {
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #6b7280;
}

.status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-badge.unread {
  background: #fef2f2;
  color: #dc2626;
}

.status-badge.read {
  background: #f0fdf4;
  color: #16a34a;
}

/* BUTTON STYLES */
.admin-btn-small {
  padding: 0.375rem 0.75rem;
  border: 1px solid #d1d5db;
  background: white;
  color: #374151;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  margin-right: 0.5rem;
}

.admin-btn-small:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

.admin-btn-small.mark-read {
  background: #10b981;
  color: white;
  border-color: #10b981;
}

.admin-btn-small.mark-read:hover {
  background: #059669;
}

/* MODAL STYLES */
.admin-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.admin-modal.hidden {
  opacity: 0;
  pointer-events: none;
}

.admin-modal-content {
  background: white;
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transform: scale(1);
  transition: transform 0.3s ease;
}

.admin-modal.hidden .admin-modal-content {
  transform: scale(0.95);
}

.admin-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.admin-modal-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #1f2937;
  margin: 0;
}

.admin-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #6b7280;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.admin-modal-close:hover {
  background: #f3f4f6;
}

.admin-modal-body {
  padding: 1.5rem;
}

.admin-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  padding: 1.5rem;
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
}

/* SUBMISSION DETAILS */
.submission-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.detail-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.detail-row.full-width {
  flex-direction: column;
  gap: 0.5rem;
}

.detail-row label {
  font-weight: 600;
  color: #374151;
  min-width: 120px;
  flex-shrink: 0;
}

.detail-row span {
  color: #6b7280;
  flex: 1;
}

.message-content {
  background: #f9fafb;
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid #667eea;
  color: #374151;
  line-height: 1.6;
  white-space: pre-wrap;
}

/* UNREAD ROW STYLES */
.unread-row {
  background: #fef7ff !important;
  border-left: 4px solid #8b5cf6;
}

.unread-row:hover {
  background: #f3e8ff !important;
}

/* ANALYTICS STYLES */
.admin-analytics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* Specific card sizing for better layout */
.analytics-card:nth-child(1) {
  grid-column: span 2;
}

.analytics-card:nth-child(2) {
  grid-column: span 1;
}

.analytics-card:nth-child(3) {
  grid-column: span 1;
}

.analytics-card:nth-child(4) {
  grid-column: span 2;
}

.analytics-card:nth-child(5) {
  grid-column: span 1;
}

.analytics-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.analytics-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: #1f2937;
  margin-bottom: 1.5rem;
}

.analytics-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.5rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #667eea;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #6b7280;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* TOP REFERRER STYLES */
.top-referrer-info h4 {
  color: #374151;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.referrer-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #f8fafc;
  padding: 1rem;
  border-radius: 8px;
}

.referrer-avatar {
  font-size: 2rem;
}

.referrer-details {
  flex: 1;
}

.referrer-name {
  font-weight: 600;
  color: #1f2937;
}

.referrer-code {
  color: #6b7280;
  font-size: 0.875rem;
}

.referrer-stats {
  color: #667eea;
  font-weight: 600;
}

/* FORM STYLES */
.admin-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.875rem;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

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

.admin-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

.admin-btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: transform 0.2s ease;
}

.admin-btn-primary:hover {
  transform: translateY(-2px);
}

.admin-btn-secondary {
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.2s ease;
}

.admin-btn-secondary:hover {
  background: #e5e7eb;
}

/* SUCCESS MESSAGE */
.success-message {
  position: fixed;
  top: 2rem;
  right: 2rem;
  background: #10b981;
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  transform: translateX(0);
  transition: transform 0.3s ease;
}

.success-message.hidden {
  transform: translateX(100%);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .admin-sidebar {
    width: 240px;
  }
  
  .admin-main {
    margin-left: 240px;
  }
  
  .admin-analytics {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  /* Reset card spans on smaller screens */
  .analytics-card:nth-child(1),
  .analytics-card:nth-child(2),
  .analytics-card:nth-child(3),
  .analytics-card:nth-child(4),
  .analytics-card:nth-child(5) {
    grid-column: span 1;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .admin-dashboard {
    flex-direction: column;
  }
  
  .admin-sidebar {
    width: 100%;
    height: auto;
    position: relative;
    padding: 1rem;
  }
  
  .admin-main {
    margin-left: 0;
    padding: 1rem;
  }
  
  .admin-nav {
    flex-direction: row;
    overflow-x: auto;
    gap: 0.5rem;
  }
  
  .admin-nav-item {
    white-space: nowrap;
    min-width: auto;
  }
  
  .admin-filters {
    flex-direction: column;
  }
  
  .admin-search {
    min-width: auto;
  }
  
  .admin-table {
    font-size: 0.875rem;
  }
  
  .admin-table th,
  .admin-table td {
    padding: 0.5rem;
  }
  
  .submission-subject {
    max-width: 150px;
  }
}

/* Section highlight effect for smooth scrolling */
.section-highlight {
    animation: sectionHighlight 2s ease-out;
}

@keyframes sectionHighlight {
    0% {
        background: rgba(177, 143, 255, 0.05);
    }
    50% {
        background: rgba(177, 143, 255, 0.1);
    }
    100% {
        background: transparent;
    }
}

/* Back to Top Button */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #b18fff, #8b5cf6);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(177, 143, 255, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
}

.back-to-top-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(177, 143, 255, 0.4);
}

.back-to-top-btn.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.back-to-top-btn svg {
    transform: rotate(-90deg);
    transition: transform 0.3s ease;
}

.back-to-top-btn:hover svg {
    transform: rotate(-90deg) scale(1.1);
}

/* Responsive adjustments for back to top button */
@media (max-width: 768px) {
    .back-to-top-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .back-to-top-btn {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
}

/* TOP REFERRERS LIST STYLES */
.top-referrers-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.top-referrer-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem;
  background: #f9fafb;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  transition: all 0.2s ease;
}

.top-referrer-item:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
}

.top-referrer-item:first-child {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-color: #f59e0b;
}

.top-referrer-item:nth-child(2) {
  background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
  border-color: #6366f1;
}

.top-referrer-item:nth-child(3) {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  border-color: #10b981;
}

.referrer-rank {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
}

.rank-number {
  font-weight: 700;
  font-size: 1.125rem;
  color: #374151;
  min-width: 2rem;
}

.referrer-info {
  flex: 1;
}

.referrer-name-main {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.referrer-source {
  font-size: 0.875rem;
  color: #6b7280;
}

.referrer-count {
  font-weight: 600;
  color: #667eea;
  background: rgba(102, 126, 234, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.875rem;
}

/* RECENT REFERRALS LIST STYLES */
.recent-referrals-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 400px;
  overflow-y: auto;
}

.recent-referral-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  background: #f9fafb;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  transition: all 0.2s ease;
}

.recent-referral-item:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
}

.referral-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.referral-user-info {
  flex: 1;
}

.referral-name {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.referral-email {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0.25rem;
}

.referral-code {
  font-size: 0.875rem;
  color: #667eea;
  font-weight: 500;
}

.referral-timestamp {
  font-size: 0.75rem;
  color: #9ca3af;
  text-align: right;
  white-space: nowrap;
}

/* SCROLLBAR STYLING FOR RECENT REFERRALS */
.recent-referrals-list::-webkit-scrollbar {
  width: 6px;
}

.recent-referrals-list::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 3px;
}

.recent-referrals-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.recent-referrals-list::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
