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

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: white;
  color: #333;
  line-height: 1.6;
  scroll-behavior: smooth;
}

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

/* Loading Overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(5px);
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #e5e7eb;
  border-top: 4px solid #3b82f6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

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

.hidden {
  display: none !important;
}

/* Header Styles */
.main-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition:
    all 0.3s ease,
    transform 0.3s ease;
}

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

/* Keyframe Animations */
@keyframes barGrow {
  from {
    width: 0%;
  }
  to {
    width: var(--target-width, 100%);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-size: 1.75rem;
  font-weight: bold;
  color: #3b82f6;
  line-height: 1;
}

.logo-tagline {
  font-size: 0.75rem;
  color: #6b7280;
  font-weight: 500;
  margin-top: 0.25rem;
}

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

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
  margin: 0;
}

.nav-link {
  text-decoration: none;
  color: #374151;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #3b82f6;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 2px;
  background: #3b82f6;
  border-radius: 1px;
}

.auth-section {
  margin-left: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sign-in-link {
  color: #374151 !important;
  font-weight: 500;
  text-decoration: none;
  padding: 0.5rem 0;
}

.sign-in-link:hover {
  color: #3b82f6 !important;
}

.admin-quick-access {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #f3f4f6;
  color: #6b7280;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
}

.admin-quick-access:hover {
  background: #3b82f6;
  color: white;
  border-color: #3b82f6;
  transform: translateY(-1px);
}

.admin-quick-access i {
  font-size: 14px;
}

.get-started-btn {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  border-radius: 6px;
  font-weight: 600;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  gap: 4px;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: #374151;
  transition: 0.3s;
  border-radius: 2px;
}

/* Button Styles */
.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  font-size: 0.9rem;
  line-height: 1;
  white-space: nowrap;
}

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

.btn-full {
  width: 100%;
}

.btn-primary {
  background: #3b82f6;
  color: white;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
  background: #e5e7eb;
  color: #374151;
  box-shadow: 0 4px 14px rgba(229, 231, 235, 0.3);
}

.btn-secondary:hover {
  background: #d1d5db;
  color: #1f2937;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(209, 213, 219, 0.4);
}

/* Main Content */
.main-content {
  padding-top: 80px;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      circle at 30% 20%,
      rgba(59, 130, 246, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 80%,
      rgba(37, 99, 235, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
}

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

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.375rem;
  color: #6b7280;
  max-width: 700px;
  margin: 0 auto 3rem;
  line-height: 1.6;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 4rem;
}

.trust-indicators {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 4rem;
  padding: 2rem 0;
}

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

.trust-number {
  display: block;
  font-size: 2rem;
  font-weight: bold;
  color: #3b82f6;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.trust-label {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 500;
}

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 1.25rem;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.fails-highlight {
  color: #ef4444;
  position: relative;
}

/* Why Traditional Polling Fails Section */
.polling-fails-section {
  background: white;
  padding: 5rem 0;
}

.polling-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
  align-items: center;
}

.democracy-data-card {
  padding: 2rem;
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
}

.card-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.card-description {
  color: #6b7280;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.data-points {
  space-y: 1rem;
}

.data-point {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: #374151;
}

.data-icon {
  margin-right: 0.75rem;
  font-size: 1.1rem;
}

.chart-container {
  background: #f9fafb;
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid #e5e7eb;
}

.chart-header {
  font-size: 1.125rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 1.5rem;
  text-align: center;
}

.comparison-bars {
  space-y: 1rem;
}

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

.bar-label {
  width: 140px;
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 500;
  flex-shrink: 0;
}

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

.bar {
  height: 24px;
  border-radius: 4px;
  transition: width 1.2s ease-out;
  position: relative;
  width: 0%;
}

.traditional-bar {
  background: linear-gradient(90deg, #3b82f6, #2563eb);
  width: 23%;
}

.support-bar {
  background: linear-gradient(90deg, #3b82f6, #2563eb);
  width: 34%;
}

.neutral-bar {
  background: linear-gradient(90deg, #10b981, #059669);
  width: 20%;
}

.oppose-bar {
  background: linear-gradient(90deg, #f59e0b, #d97706);
  width: 17%;
}

.strongly-oppose-bar {
  background: linear-gradient(90deg, #ef4444, #dc2626);
  width: 6%;
}

.bar-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  min-width: 35px;
}

/* Response Analysis */
.response-analysis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
  align-items: center;
}

.analysis-chart {
  background: #f9fafb;
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid #e5e7eb;
}

.age-breakdown {
  space-y: 1rem;
}

.age-group {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.age-label {
  width: 60px;
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 500;
  flex-shrink: 0;
}

.age-bar-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.age-bar {
  height: 20px;
  border-radius: 10px;
  transition: width 1.2s ease-out;
  animation: barGrow 1.2s ease-out forwards;
}

.age-bar[data-color="#8B5CF6"] {
  background: linear-gradient(90deg, #3b82f6, #2563eb);
}

.age-bar[data-color="#3B82F6"] {
  background: linear-gradient(90deg, #3b82f6, #2563eb);
}

.age-bar[data-color="#10B981"] {
  background: linear-gradient(90deg, #10b981, #059669);
}

.age-bar[data-color="#F59E0B"] {
  background: linear-gradient(90deg, #f59e0b, #d97706);
}

.age-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  min-width: 35px;
}

.real-people-card {
  padding: 2rem;
}

.verification-points {
  space-y: 1rem;
}

.verification-point {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: #374151;
}

.verify-icon {
  margin-right: 0.75rem;
  font-size: 1.1rem;
}

/* Accuracy Section */
.accuracy-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.predictive-intelligence-card {
  padding: 2rem;
}

.accuracy-chart {
  background: #f9fafb;
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid #e5e7eb;
}

.accuracy-bar-wrapper {
  space-y: 1.5rem;
}

.accuracy-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.accuracy-label {
  width: 100px;
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 500;
  flex-shrink: 0;
}

.accuracy-bar {
  flex: 1;
  height: 32px;
  border-radius: 6px;
  margin: 0 0.75rem;
  position: relative;
  transition: width 1.2s ease-out;
  width: 0%;
}

.traditional-accuracy {
  background: linear-gradient(90deg, #e5e7eb, #d1d5db);
  width: 57%;
}

.kratia-accuracy {
  background: linear-gradient(90deg, #3b82f6, #2563eb);
  width: 94%;
}

.accuracy-value {
  font-size: 1rem;
  font-weight: 700;
  color: #374151;
  min-width: 40px;
}

/* Impact Section */
.impact-section {
  background: #f9fafb;
  padding: 5rem 0;
}

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

.chart-card {
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.chart-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.chart-header {
  margin-bottom: 2rem;
}

.chart-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.75rem;
}

.chart-description {
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.5;
}

.chart-wrapper {
  height: 300px;
  margin-bottom: 2rem;
  position: relative;
}

.chart-stats {
  display: flex;
  justify-content: space-around;
  padding-top: 1.5rem;
  border-top: 1px solid #f3f4f6;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.75rem;
  font-weight: bold;
  color: #3b82f6;
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 0.25rem;
}

/* Advantage Section */
.advantage-section {
  padding: 5rem 0;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  margin-top: 2rem;
}

.advantage-card {
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.advantage-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  display: block;
}

.advantage-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
}

.advantage-description {
  color: #6b7280;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

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

.advantage-features li {
  color: #374151;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
}

.advantage-features li::before {
  content: "✓";
  color: #10b981;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

/* Registration Section */
.registration-section {
  background: #f9fafb;
  padding: 5rem 0;
}

.registration-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.user-card {
  background: white;
  border-radius: 20px;
  padding: 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.user-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.user-card.featured {
  border-color: #8b5cf6;
  transform: scale(1.05);
}

.user-card.featured:hover {
  transform: scale(1.05) translateY(-8px);
}

.popular-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 0 0 12px 12px;
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 1;
}

.card-header {
  padding: 2.5rem 2.5rem 1.5rem;
  text-align: center;
}

.influence-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 1.5rem;
  border-radius: 16px;
  margin-bottom: 1.5rem;
  font-weight: bold;
}

.basic-badge {
  background: linear-gradient(135deg, #e5e7eb, #d1d5db);
  color: #374151;
}

.verified-badge {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
}

.badge-multiplier {
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.badge-label {
  font-size: 0.75rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.75rem;
}

.card-subtitle {
  color: #6b7280;
  font-size: 1rem;
  line-height: 1.5;
}

.card-content {
  padding: 0 2.5rem 1.5rem;
}

.features-section,
.demographics-section {
  margin-bottom: 2rem;
}

.features-section h4,
.demographics-section h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 1rem;
}

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

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: #374151;
}

.feature-icon {
  color: #10b981;
  font-weight: bold;
  margin-right: 0.75rem;
  font-size: 1rem;
}

.demo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.demo-tag {
  background: #f3f4f6;
  color: #6b7280;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
}

.card-footer {
  padding: 0 2.5rem 2.5rem;
}

.signup-btn {
  font-size: 1rem;
  padding: 1rem 2rem;
  border-radius: 12px;
  transition: all 0.3s ease;
}

/* Security Section */
.security-section {
  padding: 5rem 0;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  margin-top: 2rem;
}

.security-card {
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.security-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.security-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  display: block;
}

.security-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
}

.security-description {
  color: #6b7280;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.security-badges {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.security-badge {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  padding: 0.375rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Platform Section */
.platform-section {
  background: #f9fafb;
  padding: 5rem 0;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  margin-top: 2rem;
}

.platform-card {
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.platform-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.platform-header {
  margin-bottom: 2rem;
}

.platform-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
}

.platform-description {
  color: #6b7280;
  font-size: 1rem;
  line-height: 1.6;
}

.hierarchy-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hierarchy-level {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hierarchy-arrow {
  color: #3b82f6;
  font-weight: bold;
  font-size: 1.25rem;
}

.feature-highlights {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.highlight-tag {
  padding: 0.375rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.highlight-tag.live {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
}

.highlight-tag.trend {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
}

.highlight-tag.monitor {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
}

.highlight-tag.ai {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
}

.highlight-tag.suggestions {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
}

.highlight-tag.analytics {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: white;
}

/* Footer */
.main-footer {
  background: #1f2937;
  color: white;
  padding: 4rem 0 2rem;
}

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

.brand-section {
  padding-right: 2rem;
}

.footer-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #3b82f6;
  margin-bottom: 1rem;
}

.footer-description {
  color: #d1d5db;
  line-height: 1.6;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-link {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: #3b82f6;
}

.footer-subtitle {
  font-size: 1rem;
  font-weight: 600;
  color: #f9fafb;
  margin-bottom: 1.5rem;
}

.footer-link {
  color: #d1d5db;
  text-decoration: none;
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #3b82f6;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: #9ca3af;
  font-size: 0.875rem;
}

/* Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.modal-content {
  background: white;
  border-radius: 16px;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  z-index: 1;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

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

.modal-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #9ca3af;
  cursor: pointer;
  padding: 0.25rem;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: #374151;
}

.modal-body {
  padding: 2rem;
}

/* Form Styles */
.signup-form {
  width: 100%;
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #374151;
  font-size: 0.9rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.875rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background: white;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

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

.password-strength {
  margin-top: 0.75rem;
}

.strength-bar {
  height: 4px;
  background: #e5e7eb;
  border-radius: 2px;
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.strength-bar::after {
  content: "";
  display: block;
  height: 100%;
  background: #ef4444;
  width: 0%;
  transition: all 0.3s ease;
}

.strength-text {
  font-size: 0.75rem;
  color: #6b7280;
  font-weight: 500;
}

.form-navigation {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.form-navigation .btn {
  flex: 1;
}

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

[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .charts-container,
  .registration-cards {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .user-card.featured {
    transform: none;
  }

  .user-card.featured:hover {
    transform: translateY(-8px);
  }

  .polling-comparison,
  .response-analysis,
  .accuracy-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

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

  .main-nav {
    display: none;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .trust-indicators {
    flex-direction: column;
    gap: 2rem;
  }

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

  .advantage-grid,
  .security-grid,
  .platform-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

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

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

  .polling-comparison,
  .response-analysis,
  .accuracy-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .bar-label {
    width: 100px;
    font-size: 0.8rem;
  }

  .age-label {
    width: 50px;
    font-size: 0.8rem;
  }

  .accuracy-label {
    width: 80px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-section {
    padding: 3rem 0;
  }

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

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

  .chart-card,
  .advantage-card,
  .security-card,
  .platform-card {
    padding: 1.5rem;
  }

  .user-card .card-header,
  .user-card .card-content,
  .user-card .card-footer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .democracy-data-card,
  .real-people-card,
  .predictive-intelligence-card {
    padding: 1.5rem;
  }

  .chart-container,
  .analysis-chart,
  .accuracy-chart {
    padding: 1.5rem;
  }

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

  .auth-section {
    flex-direction: column;
    gap: 0.5rem;
    margin-left: 0.5rem;
  }
}
